Jump to content

map mod


Chris Pimlott

Recommended Posts

I had an idea for a workaround that could possibly display the markers that are closeby a listing

i think geomaps really needs this imo,

 

OK so i am a beginner at web developing but  i have learned a little, so can i ask if you think this could be done:

 

I see on the geomaps module there is an option to center a map on a latitue/longtitude

 

you could make a page on a website that only shows a large geomaps module - call it www.mysite.com/nearbymap

 

every listing on my site has a lat/long custom field. i could make a link like <a href="www.mysite.com/nearbymap?lat={echo lat field}&long={echo long field}

 

 

this would go to a page with a map, and the latitude and longtitude will be in the GET array

 

so now you can, instead of centering the map on a static position, you could center it on whatever is in the GET variable

 

so this map would be centered on the listing and because its the standard geomaps module, would show not only a single marker - it will show all markers

 

 

would that work?

Link to comment
×
×
  • Create New...