Monday, June 3, 2024
195
rated 0 times [  199] [ 4]  / answers: 1 / hits: 63582  / 12 Years ago, wed, march 21, 2012, 12:00:00

How to get coordinates using javascript Google Maps JavaScript API v3 of the center of the currently viewed area on google maps? Thanks


More From » google-maps-api-3

 Answers
13

You can call:



map.getCenter();


to return a LatLng object.


[#86691] Tuesday, March 20, 2012, 12 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
elijahm

Total Points: 674
Total Questions: 124
Total Answers: 79

Location: Northern Mariana Islands
Member since Fri, Jan 15, 2021
3 Years ago
elijahm questions
Thu, Dec 9, 21, 00:00, 3 Years ago
Mon, Aug 9, 21, 00:00, 3 Years ago
Fri, Mar 19, 21, 00:00, 3 Years ago
Wed, May 27, 20, 00:00, 4 Years ago
;