﻿function load() {
    
    var newMap = new makeMap();    
    newMap.load(northBeach);
}

var northBeach = {
    mapCenter: {  
            lat: 45.577,
            lng: -122.7438
    },
    
    zoom: 14,
    
    markers: {
        cathedralParkBeach: {
            point: {
                lat: 45.5861,
                lng: -122.7616
            },
            
            view: {
                root: {
                    parentDiv: {
                        title: {},
                        titleTextNode: {},
                        picture: {},
                        caption: {
                            blurbTextNode: {}
                        }
                    }
                }
            },
            
            nodes: {
                parentDiv: {
                    tag: "div",
                    type: "element",
                    style: {
                        properties: {
                            backgroundColor: "#f1f5ef",
                            padding: "5px"
                        }
                    }
                },
                
                title: {
                    tag: "p",
                    type: "element",
                    style: {
                        properties: {
                            margin: "0", 
                            padding: "2px",
                            textAlign: "left",
                            width: "500px",
                            fontWeight: "bolder",
                            fontSize: "14px"
                        }
                    }
                },
                
                titleTextNode: {
                    type: "text",
                    text: "Cathedral Park",
                    noReference: {}                
                },
                
                picture: {
                    tag: "img",
                    type: "element",
                    style: {
                        properties: {
                            display: "block",
                            marginRight: "auto",
                            marginLeft: "auto"
                        }
                    },
                    properties: {
                        src: "images/northbeach/CathPkBeach.jpg"
                    }
                },
                
                caption: {
                    tag: "p",
                    type: "element",
                    style: {
                        properties: {
                            margin: "0", 
                            padding: "2px",
                            textAlign: "center",
                            width: "500px"
                        }
                    }
                },
                
                blurbTextNode: {
                    type: "text",
                    text: "Cathedral Park in the summer time.",
                    noReference: {}
                }
            }
        },
        
        lampros: {
            point: {
                lat: 45.5841,
                lng: -122.7565
            },
            
            view: {
                root: {
                    parentDiv: {
                        title: {},
                        titleTextNode: {},
                        picture: {},
                        caption: {
                            blurbTextNode: {}
                        }
                    }
                }
            },
            
            nodes: {
                parentDiv: {
                    tag: "div",
                    type: "element",
                    style: {
                        properties: {
                            backgroundColor: "#f1f5ef",
                            padding: "5px"
                        }
                    }
                },
                
                title: {
                    tag: "p",
                    type: "element",
                    style: {
                        properties: {
                            margin: "0", 
                            padding: "2px",
                            textAlign: "left",
                            width: "500px",
                            fontWeight: "bolder",
                            fontSize: "14px"
                        }
                    }
                },
                
                titleTextNode: {
                    type: "text",
                    text: "Lampros Steel",
                    noReference: {}                
                },
                
                picture: {
                    tag: "img",
                    type: "element",
                    style: {
                        properties: {
                            display: "block",
                            marginRight: "auto",
                            marginLeft: "auto"
                        }
                    },
                    properties: {
                        src: "images/northbeach/Lampros.jpg"
                    }
                },
                
                caption: {
                    tag: "p",
                    type: "element",
                    style: {
                        properties: {
                            margin: "0", 
                            padding: "2px",
                            textAlign: "center",
                            width: "500px"
                        }
                    }
                },
                
                blurbTextNode: {
                    type: "text",
                    text: "Property Owned by Lampros Steel looking towards the BES Water Pollution Control lab.",
                    noReference: {}
                }
            }
        },
        
        willametteCove: {
            point: {
                lat: 45.5812,
                lng: -122.7488
            },
            
            view: {
                root: {
                    parentDiv: {
                        title: {},
                        titleTextNode: {},
                        picture: {},
                        caption: {
                            blurbTextNode: {}
                        }
                    }
                }
            },
            
            nodes: {
                parentDiv: {
                    tag: "div",
                    type: "element",
                    style: {
                        properties: {
                            backgroundColor: "#f1f5ef",
                            padding: "5px"
                        }
                    }
                },
                
                title: {
                    tag: "p",
                    type: "element",
                    style: {
                        properties: {
                            margin: "0", 
                            padding: "3px",
                            textAlign: "left",
                            width: "500px",
                            fontWeight: "bolder",
                            fontSize: "14px"
                        }
                    }
                },
                
                titleTextNode: {
                    type: "text",
                    text: "Willamette Cove",
                    noReference: {}                
                },
                
                picture: {
                    tag: "img",
                    type: "element",
                    style: {
                        properties: {
                            display: "block",
                            marginRight: "auto",
                            marginLeft: "auto"
                        }
                    },
                    properties: {
                        src: "images/northbeach/willamettecove.jpg"
                    }
                },
                
                caption: {
                    tag: "p",
                    type: "element",
                    style: {
                        properties: {
                            margin: "0", 
                            padding: "2px",
                            textAlign: "center",
                            width: "500px"
                        }
                    }
                },
                
                blurbTextNode: {
                    type: "text",
                    text: "Willamette Cove is a 27-acre site owned and managed by Metro since 1994. Future plans include Portland Parks and Recreation taking over management of the property as a greenway.",
                    noReference: {}
                }
            }
        },
        
        mccormickbaxter: {
            point: {
                lat: 45.5784,
                lng: -122.7412
            },
            
            view: {
                root: {
                    parentDiv: {
                        title: {},
                        titleTextNode: {},
                        picture: {},
                        caption: {
                            blurbTextNode: {}
                        }
                    }
                }
            },
            
            nodes: {
                parentDiv: {
                    tag: "div",
                    type: "element",
                    style: {
                        properties: {
                            backgroundColor: "#f1f5ef",
                            padding: "5px"
                        }
                    }
                },
                
                title: {
                    tag: "p",
                    type: "element",
                    style: {
                        properties: {
                            margin: "0", 
                            padding: "2px",
                            textAlign: "left",
                            width: "500px",
                            fontWeight: "bolder",
                            fontSize: "14px"
                        }
                    }
                },
                
                titleTextNode: {
                    type: "text",
                    text: "McCormick & Baxter",
                    noReference: {}                
                },
                
                picture: {
                    tag: "img",
                    type: "element",
                    style: {
                        properties: {
                            display: "block",
                            marginRight: "auto",
                            marginLeft: "auto"
                        }
                    },
                    properties: {
                        src: "images/northbeach/mccormickbaxter.jpg"
                    }
                },
                
                caption: {
                    tag: "p",
                    type: "element",
                    style: {
                        properties: {
                            margin: "0", 
                            padding: "2px",
                            textAlign: "center",
                            width: "500px"
                        }
                    }
                },
                
                blurbTextNode: {
                    type: "text",
                    text: "Former McCormick & Baxter Superfund site",
                    noReference: {}
                }
            }
        },
        
        triangleProperty: {
            point: {
                lat: 45.5745,
                lng: -122.7347
            },
            
            view: {
                root: {
                    parentDiv: {
                        title: {},
                        titleTextNode: {},
                        picture: {},
                        caption: {
                            blurbTextNode: {}
                        }
                    }
                }
            },
            
            nodes: {
                parentDiv: {
                    tag: "div",
                    type: "element",
                    style: {
                        properties: {
                            backgroundColor: "#f1f5ef",
                            padding: "5px"
                        }
                    }
                },
                
                title: {
                    tag: "p",
                    type: "element",
                    style: {
                        properties: {
                            margin: "0", 
                            padding: "2px",
                            textAlign: "left",
                            width: "500px",
                            fontWeight: "bolder",
                            fontSize: "14px"
                        }
                    }
                },
                
                titleTextNode: {
                    type: "text",
                    text: "Triangle Properties",
                    noReference: {}                
                },
                
                picture: {
                    tag: "img",
                    type: "element",
                    style: {
                        properties: {
                            display: "block",
                            marginRight: "auto",
                            marginLeft: "auto"
                        }
                    },
                    properties: {
                        src: "images/northbeach/triangleproperty.jpg"
                    }
                },
                
                caption: {
                    tag: "p",
                    type: "element",
                    style: {
                        properties: {
                            margin: "0", 
                            padding: "2px",
                            textAlign: "center",
                            width: "500px"
                        }
                    }
                },
                
                blurbTextNode: {
                    type: "text",
                    text: "The Triangle Property is currently owned by Zeidel",
                    noReference: {}
                }
            }
        },
        
        waudBluff: {
            point: {
                lat: 45.5698,
                lng: -122.7278
            },
            
            view: {
                root: {
                    parentDiv: {
                        title: {},
                        titleTextNode: {},
                        picture: {},
                        caption: {
                            blurbTextNode: {}
                        }
                    }
                }
            },
            
            nodes: {
                parentDiv: {
                    tag: "div",
                    type: "element",
                    style: {
                        properties: {
                            backgroundColor: "#f1f5ef",
                            padding: "5px"
                        }
                    }
                },
                
                title: {
                    tag: "p",
                    type: "element",
                    style: {
                        properties: {
                            margin: "0", 
                            padding: "2px",
                            textAlign: "left",
                            width: "500px",
                            fontWeight: "bolder",
                            fontSize: "14px"
                        }
                    }
                },
                
                titleTextNode: {
                    type: "text",
                    text: "Waud Bluff Curve",
                    noReference: {}                
                },
                
                picture: {
                    tag: "img",
                    type: "element",
                    style: {
                        properties: {
                            display: "block",
                            marginRight: "auto",
                            marginLeft: "auto"
                        }
                    },
                    properties: {
                        src: "images/northbeach/waudbluffcurve.jpg"
                    }
                },
                
                caption: {
                    tag: "p",
                    type: "element",
                    style: {
                        properties: {
                            margin: "0", 
                            padding: "2px",
                            textAlign: "center",
                            width: "500px"
                        }
                    }
                },
                
                blurbTextNode: {
                    type: "text",
                    text: "A narrow strip of land below the bluff following the Union Pacific rail way.",
                    noReference: {}
                }
            }
        }
    }
}