On Sep 9, 1:47 pm, paulp575 <[email protected]> wrote: > On Sep 8, 11:43 am, "[email protected]" <[email protected]> > wrote: > > > > > Are you trying to do something like > > this?http://www.geocodezip.com/GenericMapBrowser.asp?filename=F18CrashSite... > > > It handles tabbed infowindows, so might be a little more complicated than > > you are looking for, but most of it came from Mike's tutorials as well. > > For geocodezip - your suggestion is too complicated for what I'm > trying to do. I just want to add the "Directions: To here - From here" > line to the infoWindows, as in this example: > > http://econym.org.uk/gmap/example_map4.htm > > For Nathan - I've already got the infoWindows working. > > When I look at the above example's javascript, the code is so > different than mine here: > > http://www.dog-walker.us/WOHVA/Catalog-map-with-ELabels/catalog-map-w... > > In my javscript, the code for the picking up the click is: > > function myclick(i) > { > GEvent.trigger(gmarkers[i], "click"); > } > > In the above example, the javascript code for the same function is: > > function myclick(i) > { > gmarkers[i].openInfoWindowHtml(htmls[i]); > }
Do you understand what each of the above is doing? > > So far I have been able to cut and paste examples into my code - with > some help from this forum - but this is so different I don't know how > to modify my code to include the directions line. My suggestion would be to try it. You will get javascript errors. Understand them and fix them (looking at all the examples can help you do that). I have already done what you are asking, the result was (after much work and other features being added) the page I gave a link to. -- Larry > > Thanks, > > Paul -- 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.
