location_displayMap - jcobban/Genealogy GitHub Wiki

locationCommon.js function displayMap(latLng, locationname, button)

Up: locationCommon exports

displayMap(latLng, locationname, button) is called to display a map centered on the latitude and longitude.

parameters contents
latlng a Google Maps LatLng object identifying the centre of the map
location string describing the map
button the Button element which initiated the display

Next: function locationChanged(event)