On Dec 15, 9:39 am, Horace Vallas <[email protected]> wrote: > new so sorry if silly question but I'm beginning to play with the maps with > an eye to location aware stuff > - can get multiple locations and my location on the map > - can set locations so that click will get directions from my location to > the clicked location > - can also make it so when the location is clicked, THAT marker's infoWindow > is filled as I like. > So far ok. > > *Problem:* I use lng/lat pairs for locations because the addresses are not > all mapped well > - so, when I click on the destination icon (marked as B), I see only the > reversed address > which is usually an address range and not a club name etc. > > *How do I set the content of the destination marker (B)?*
http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsRendererOptions suppressMarkers: true and add your own marker, then add a click listener to open an infowindow with whatever content you want. Example: http://www.geocodezip.com/v3_directions_custom_iconsC.html (does more than that) -- Larry > > Here's my testbed FYI ... yes - nasty hard coded stuff - just getting > familiar ;)http://www.tennispensacola.com/clubs/maptest-wdirec.htm > > it uses the new location aware stuff - so maybe use chrome, FF or safari to > see it > - the pushpin is your current location (origin for directions) > - only one club (Roger Scott Tennis Center) - there are 3 markers almost > vertical - Roger Scott's marker if the middle of the 3 > > Thanks -- 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.
