tina's google maps playground
todo: download and add libraries like markercluster, infobubble, etc
inject code
// insert code here then click on 'inject' button // global variables: map // html ids: mymap // convenience functions: newLatLng(float, float) // example: map.setCenter(new google.maps.LatLng(45, -74)); map.setZoom(6); var center = newLatLng(45, -74); var marker = new google.maps.Marker({ position: center }); marker.setMap(map); var marker2 = new google.maps.Marker({ position: newLatLng(44.2, -74) }); marker.setMap(map); marker2.setMap(map); var infoWindow = new google.maps.InfoWindow(); infoWindow.setContent("tina says hi"); infoWindow.open(map, marker); infoBubble2 = new InfoBubble({ map: map, content: 'some text
more text
more more text', position: new google.maps.LatLng(44.2, -74), shadowStyle: 1, padding: 0, backgroundColor: 'rgba(57,57,57,0.3)', borderRadius: 4, arrowSize: 10, borderWidth: 1, borderColor: '#2c2c2c', disableAutoPan: true, hideCloseButton: true, arrowPosition: 30, backgroundClassName: 'phoney', arrowStyle: 2 }); infoBubble2.open();