- Home >
- Documentation >
- Services >
- getgeoloc
getgeoloc
This function provides geolocation of the visitor using the HTML5 Geolocation API.
Usage
Parameters
- None
Example
$('#test').gmap3({
getgeoloc:{
callback : function(latLng){
if (latLng){
$(this).gmap3({
marker:{
latLng:latLng
},
map:{
options:{
zoom: 5
}
}
});
}
}
}
});


