On Feb 20, 7:40 am, chadhietala <[email protected]> wrote: > Yes I am using the Google Maps API and I used this map as a starting > point so all of the code is very similar. I'm just not sure how you > turn the directions off of selected quick tips.
Look at the XML from the example I posted: http://www.geocodezip.com/exampleTabbed_noDir.xml The markers with the nodirections="yes" (or nodirections defined and equal to anything but "no") will not have a directions tab. This line of code defines that behavior: if (!markers[i].getAttribute("nodirections") || (markers [i].getAttribute("nodirections").toLowerCase() == "no")) { -- Larry > > On Feb 20, 10:04 am, "[email protected]" <[email protected]> > wrote: > > > > > On Feb 20, 6:30 am, chadhietala <[email protected]> wrote: > > > > Hello, > > > > I currently have my markers displaying a tab that gives the user the > > > ability to place there address in and gives them directions via > > > Google. My question is if there is a way to remove that tab from > > > selected markers. I just don't need them to have directions, because > > > they are within the grounds and you can not drive to them anyway. > > > Instead I have a link in those buildings to the closest parking > > > facility. > > > > Any help would be great. > > > How you do that depends on how you coded your > > map.http://groups.google.com/group/Google-Maps-API/web/suggested-posting-... > > > My tabbed infowindows with directions examples includes support for a > > "nodirections" > > attribute:http://www.geocodezip.com/mapXmlTabsDirections.asp?filename=exampleTa... > > > But you might not be using XML, you might not even be using the Google > > Maps API for all I can tell from your post. > > > -- Larry- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
