> Here's the link:http://www.prism.gatech.edu/~jfuller7/UlyssesMap/index.html
Okay, we're not really dealing with 'multiple maps', but with multiple webpages, each with a map, re-using the same javascript. That's fine, although there are other fancier ways. > What I would like to be able to do is execute an episode specific > function on the each episode's page to pan the map and show only > relevant markers. I have been unsuccessful so far, any attempts > simply resulting in either no effect on the smaller maps or a blank > map. The current 'blank map' is due to calling map.panTo(new GLatLng(0,0)); in your panMap() function, which looks at the ocean off Africa (zoom out!) If you rewrite your panMap() to accept parameters, you could specify a different panMap(yy,xx) in each of your pages <body onload=...> calls. Likewise, if you create a new function similar to your showAll(), lets say showSome(n,m) you could have it do something like start by showing path 'n', then if m>1 wait for a timeout remove that and show path 'n +1'.... Calling that by putting a different showSome(n,m) in each of your pages onload calls. Start off easy and get showing just one path to begin with! cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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 -~----------~----~----~----~------~----~------~--~---
