Reputation: 1319
I have a table in my database with about 1000 places. Instead of throwing the whole table into a javascript array to display on the map at once, how can I load markers near the current center of the map? And so that when you zoom out, any markers within the map boundaries would load as well?
Thanks in advance!
Upvotes: 0
Views: 1488
Reputation: 22486
I assume you have a DB with some coordinates, but your question is unclear so: Show the markers within x km/miles from your coordinates.
Possible duplicate of MySQL select coordinates within range
Upvotes: 1