开发者

How to link to database with coordinates to a Google Map

I have a huge database with geo-coordinates like -73.9637,40.7683 + a Google Map which shows some part of our world.

Now, how to select all coordinates from my database which 开发者_StackOverflow社区fit into the part of the map i can see? (Do i get a range from google? how to work with this range?)


You can use map.getBounds() to get the current viewport of your map and do some basic math to search for visible lat/lngs in your database.


you could use google marker manager

marker manager

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜