I am working on a page that has a custom google map, that checks mysql for current longitude and latitude, and centers the map on that. I would like to be able to show markers that are a certain distance away from the center marker, from other locations in the database I have a mysql database that has locations. and another table that includes the center location, which changes. I currently have a little green marker that shows where the center location is, and moves when the long and lat changes. Example. Lets say I am at 0/0 Long/Lat and I want only the markers shown if their coordinates are within 5/5 -5/5 -5/-5 5/-5
<https://lh6.googleusercontent.com/-05j9Ez9JLtY/Tigb_FlphjI/AAAAAAAAABk/d54m27WxSCk/samplecoor.jpg> Is there anyway to use php, or javascript to check inside those coordinates everytime the page loads and place a marker where is a location? Thank you in advance -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/oaT2AyBedtkJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
