- Home >
- Documentation >
- Layers >
- groundoverlay
groundoverlay
This function allows to add a google.maps.GroundOverlay.
Usage
Parameters
- options {object}
- url {string} Url of the picture to display
- bounds {google.maps.LatLngBounds}
- opts {google.maps.GroundOverlayOptions}
Example
$("#test").gmap3( { map:{ options:{ center: [40.740,-74.18], zoom: 12 } }, groundoverlay:{ options:{ url: "http://www.lib.utexas.edu/maps/historical/newark_nj_1922.jpg", bounds: { ne:{lat:40.765641, lng:-74.139235}, sw:{lat:40.716216, lng:-74.213393} }, opts:{ opacity: 0.8 } }, events: { click: function(overlay){ alert('clicked on '+ overlay.url); } } } } );