Hi all, 

This is my first time to use google maps and I am having problems with 
changing the example to suit my needs.  This is the example I am working 
with

http://code.google.com/apis/maps/articles/phpsqlajax.html

My page displays 5 mysql rows per page, I have this code working and 
formatted with CSS, no problem.  I can load previous/next pages without 
problem but when I load the map is were problems start.  I have modified 
downloadUrl("phpsqlajax_xml.php", function(data) to reflect the correct 
database location to pull markers from by changing  
downloadUrl("phpsqlajax_xml.php?offset=10", function(data).

In phpsqlajax_xml.php I use $_GET to point the proper location in the db.  
This works fine when I hard code the values but I can't figure out how to 
pass the 'offset' value from php to javascript when I change pages with 
previous/next buttons.

Any suggestions would be much appreciated.

Thanks

Vern


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

Reply via email to