google maps api 3 - how to fix the precision for lat/lng? -
with v2 version can fix precision tofixed example: point.y.tofixed(4) how can v3 version ?
tofixed
javascript function - not google maps api.
in api v3 can during latlng creating:
var latitude = -25.363882; var longitude = 131.044922; var latlng = new google.maps.latlng(latitude.tofixed(4), longitude.tofixed(4));
Comments
Post a Comment