Optional options: JPanAndZoomOptionspan and zoom options
if browser doesn't support geolocation, if geolocation is disabled, if an unexpected error occurs while getting location from browser
// pan and zoom to the user location and start monitoring location updates
JMap.Geolocation.followMyLocation()
.then(location => console.info("Paned and zommed to user location ", location))
.error(error => console.error("Cannot get my location : ", error))
JMap.Geolocation.followMyLocation
Returns the user current location if promise succeed, pan and zoom to this location and starts monitoring the user location.