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

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -