Mike's example is using querystring parameters to pass in options to the map. However, if you use this method, clicking on links will reload the page (which is probably not what you want). Instead, you might take GMail's approach and use fragments - it's the "#fragment" part of the url. If you choose fragment identifiers which are NOT the id's of anything on the page, then the page won't scroll. You'll still have to parse them out of the location object. Mike's example does that starting on line 49. If you use fragments, you'll be using "location.hash" instead of "location.search".
So your links might be formatted something like: http://mydomain.com/map/file.htm#link1 Chad Killingsworth -- 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.
