Jump to content

Geomap - Addresses nearby


only1perky

Recommended Posts

Hi Guys,

 

I would like to implement a feature on my site showing places in my database nearby to a certain place.

 

I have implemented the googlemaps geocoding feature and I now can get the longitude and latitude or each address in my database when viewed.

 

How would I implement a feature that searches the database for places within say 0.5 miles and print out something like:

 

Places nearby: Place 1 (0.2 miles), Place 2 (0.4 miles), Place 3 (0.5 miles).

 

I really have no idea of what to do or where to start but have seen this feature on several sites so I know some of you genius' out there know how.

 

Any help would be hugely appreciated (especially if someone knows of a tutorial).

 

Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/143024-geomap-addresses-nearby/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.