Quantcast
Channel: codefx.biz » example
Viewing all articles
Browse latest Browse all 13

Google Maps API v3: How to query the current viewport?

$
0
0
Basically…the business logic is like this: You need to get the boundaries from the map object and then pass these as parameters via AJAX to the SQL query which fetches the records, e.g minLat/maxLat & minLng/maxLng … these go into the WHERE condition. This will “cut out a rectangle” from your geo-data. You might adjust [...]

Viewing all articles
Browse latest Browse all 13

Trending Articles