src/main/resources/public/geolocation.js
//success for getting position in geolocation
success for getting position in geolocation
success for getting position in geolocation
function success(position) {
    latitude = position.coords.latitude;
    longitude = position.coords.longitude;
    createMap(); 
  }
function success ( position ) { latitude = position . coords . latitude ; longitude = position . coords . longitude ; createMap ( ) ; }
success for getting position in geolocation
success for getting position in geolocation
//if successful create the map