How can I get zoom property in jQuery Location Picker Plugin? I can get map coordinates using currentLocation.latitude
and currentLocation.longitude
, but does any body know how to get zoom property?
$('#the-map').locationpicker({
location: {latitude: 46.15242437752303, longitude: 2.7470703125},
radius: 300,
onchanged: function(currentLocation, radius, isMarkerDropped) {
alert("Location changed. New location (" + currentLocation.latitude + ", " + currentLocation.longitude + ")");
}
when I try currentLocation.zoom
I get undefined.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…