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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -