Good morning,
I have a question how about to use the new "radius search" feature. How do I use it?
I'm currently writing an TYPO3 extension which uses WEC_map for showing addresses on GoogleMaps. The radius search comes where handy at the right time ;)
In the source code I found the function setRadius(), which looks like to be used like $map->setRadius(50,0) (=search within a 50 kilometer radius) ? I'm asking because in the API documentation this feature isn't mentioned, therefore I'm unsure how about using it.
Perhaps you could give me a hint how to use it?
If I specify some markes via $map->addMarkerByAddress, what happens if some of them would be out of the specified radius? Will they be simply ignored?
/Edit: I forgot to ask how I define the center point for the radius being created. Is it possible to pass a zip code entered via form to define this center point?
Greetings from Germany
Thomas
I have a question how about to use the new "radius search" feature. How do I use it?
I'm currently writing an TYPO3 extension which uses WEC_map for showing addresses on GoogleMaps. The radius search comes where handy at the right time ;)
In the source code I found the function setRadius(), which looks like to be used like $map->setRadius(50,0) (=search within a 50 kilometer radius) ? I'm asking because in the API documentation this feature isn't mentioned, therefore I'm unsure how about using it.
Perhaps you could give me a hint how to use it?
If I specify some markes via $map->addMarkerByAddress, what happens if some of them would be out of the specified radius? Will they be simply ignored?
/Edit: I forgot to ask how I define the center point for the radius being created. Is it possible to pass a zip code entered via form to define this center point?
Greetings from Germany
Thomas



Author: