here's the thing

a) i have a simple map api that takes user location and puts it on a
map
b) i have another map which pulls x amount of markers from mysql
within a certain radius of a specified lat,long using a php file to
create the xml eg

at the moment i have to manually put in the lat & lng in a link like
this:

href="javascript:getMap('createxml.php?
lat=58.4&lng=5.66&radius=10&icontype=pubs')"

createxml.php is the msql query that forms the marker xml file

getMap is the function that uses: var request = GXmlHttp.create();
request.open("GET", url, true); and puts the markers on the map


i'm confident i can merge the maps j/script  but i'd like to create a
form action so that the user can click on options of the radius/
icontype for example but that the lat & lng is picked up from the var
lat & lng thats been stored previously and pass it to the
getMap(createxml.php file

if this makes any sense whatsoever ;) - not sure if this is an api
question or a javascript/php question or a mixture of both :)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
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-api?hl=en.

Reply via email to