On 7 November 2011 23:51, Christopher Watson <[email protected]> wrote: > > hey all, > fixed the creating the dashed url's to > thisĀ http://creativemaps.vism.ag/1c.htm?Jimmys-place > yay. but it doesnt automatically display the infowindow after the url is > accessed like this would have:
That's because this test fails: if (newtarg==gmarkers[i].title) You need to test things that are actually going to be equal, so it looks like this might work: if (newtarg==dasherize(gmarkers[i].title)) because the result of the function is "Jimmys-place" which is what newtarg is. -- 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.
