After clicking on one of the locations' 'map this location' link and it zooms into the map, is there a way to disable infoboxes from popping up when you click on one of the default locations like parks or hospitals? Clicking on the San Luis Obispo location is a good example.
It would be nice to just not show those types of locations at all, but disabling clicking on them would work as well.
vta = new google.maps.LatLng(34.27769077512316, -119.23962461534421);
carlsbad = new google.maps.LatLng(33.1311222, -117.32910609999999);
monterey = new google.maps.LatLng(36.5988237, -121.89021359999998);
riverside = new google.maps.LatLng(33.9906032, -117.3431761);
slo = new google.maps.LatLng(35.2863309, -120.6543499);
oakland = new google.maps.LatLng(37.811326, -122.26293800000002);
reset_link = new google.maps.LatLng(36.29524930031744, -120.67883359971916);
demo.add(function() {
$('#map_canvas').gmap({
'center': '35.5, -120.3',
'zoom': 10,
'disableDefaultUI': false,
'styles':[{'featureType': "poi.business",
'elementType': "labels",
'stylers': [
{ 'visibility': "off" }
]
}],
'mapTypeId': google.maps.MapTypeId.TERRAIN, //The initial Map mapTypeId. Required.
'callback': function() {
var self = this;
self.addMarker({'position': oakland, 'id': 'oakland' ,'icon': markerImage });
self.addMarker({'position': slo, 'id': 'slo', 'icon': markerImage });
self.addMarker({'position': vta, 'id': 'vta', 'icon': markerImage });
self.addMarker({'position': carlsbad, 'id': 'carlsbad', 'icon': markerImage });
self.addMarker({'position': monterey, 'id': 'monterey', 'icon': markerImage });
self.addMarker({'position': riverside, 'id': 'riverside', 'icon': markerImage });
}
});
$('#map_canvas').gmap('option', 'zoom', 7);
}).load();