I used the global variable and managed to (somehow) get something together that worked!!!!
hurrah! for future reference the working link is here: http://bit.ly/ffYFIl On Dec 13, 10:28 pm, "[email protected]" <[email protected]> wrote: > On Dec 13, 2:13 pm, Struggling Cartographer <[email protected]> > wrote: > > > No I had not seen those examples, ok so now I understand its just > > about firing my own google.maps.event.trigger(marker,"click"); > > > But how do I search my nested array for the value given in the URL? > > What nested array? > From my initial look at your code, you don't currently have a global > array of google.maps.Marker objects that you coudl search. > > One solution would be to implement either the gmarkers or the > idmarkers array in the example I referenced, then use the code in that > example that searches for the marker index or the id in that array > then "clicks" on it. > > -- Larry > > > > > > > > > > > On Dec 13, 5:56 pm, "[email protected]" <[email protected]> > > wrote: > > > > On Dec 13, 9:11 am, Struggling Cartographer <[email protected]> > > > wrote: > > > > > Hi guys (i'm back!) > > > > > OK so after some very useful help I have got my lovely map working! > > > > > Now, I would like to add links on other pages to the map, that would > > > > automatically open the relevant info window. > > > > > So for example I will have "see on map" user follows link and the > > > > relevant infowindow is open amongst the other markers! > > > > > The map is here:http://bit.ly/ffYFIl > > > > > I have seen Larry's "hello world" > > > > exampe:http://www.geocodezip.com/map-simple-helloworld.html > > > > But have you seen > > > these:http://www.geocodezip.com/v3_MW_example_linktomarker.html?marker=1htt...... > > > > From adapted from the example on this page on Mike Williams' v2 > > > tutorial:http://econym.org.uk/gmap/linktothis.htm > > > > You will need to do something similar. > > > > -- Larry > > > > > But am unsure how to adapt this to work with my array! > > > > > Thanks in advance- Hide quoted text - > > > - Show quoted text - -- 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.
