// This file will contain local agency-specific JavaScript, and will be an extension of the global _orgov object
// This file will contain local agency-specific JavaScript, and will be an extension of the global _orgov object
var _agency = {
parentSite : "/DEQ/",
subTopSites : [""], // Child subsites should entered after their parent subsites, i.e. "site1/", "site1/site2/" and not reverse.
mapIcons: {
Car_Testing_Station: {
icon: "/deq/style%20library/car.png"
},
Administrative_Office: {
icon: "/deq/style%20library/bank.png"
},
Laboratory: {
icon: "/deq/style%20library/flask.png"
},
mylocation: {
icon: "/SiteCollectionImages/branding/maps/mylocation.png"
}
},
createMap : function() {
this.mapContainer = document.getElementById("map_canvas");
var opts = {
center: new google.maps.LatLng(44.118202, -120.719484),
zoom: 7,
};
this.map = new google.maps.Map(this.mapContainer,opts);
this.setMapData();
},
/*attachSocialMedia : function() {
return; //override the base function in orgov.js for sites that do not have a social media assets list in place
},*/
initialize : function() {
this.agencyInitialization();
}
};
$.extend(_orgov, _agency);
$(document).ready(function(){
_orgov.initialize();
});