On Dec 16, 12:22 pm, 9h0s7 <[email protected]> wrote: > I see that it works on Mikes example. However it doesn't work when I > try it on my app. > (sorry for the long link) > > http://www.rbaproperties.com/idx/v2/results_residential.asp?mls=&area...
Mike's polys variable is global, so it works. Yours is local to your lmap() function, so it is not available in the global namespace. -- Larry > > On Dec 16, 3:04 pm, "[email protected]" <[email protected]> > wrote: > > > > > On Dec 16, 8:50 am, 9h0s7 <[email protected]> wrote: > > > > Hate to dredge up an old topic here. For some reason I didn't get an > > > "hey there's been a reply" message. Sorry.. anyway. I'm using some of > > > Mike's wonderful code to display my > > > polygonshttp://econym.googlepages.com/example_states2.htm. > > > I did look at both of those links you posted and I've tried some of > > > the examples but the function fails due to not being able to find the > > > "polys" variable. Using Mikes example, how would I toggle Ohio or the > > > whole thing? > > > Type this in the address bar to hide Ohio > > javascript:polys[34].hide() > > > This will show it again: > > javascript:polys[34].show() > > > -- Larry > > > > On Oct 25, 7:35 pm, "[email protected]" <[email protected]> > > > wrote: > > > > > On Oct 25, 3:36 pm, "[email protected]" <[email protected]> > > > > wrote: > > > > > > On Oct 25, 3:13 pm, 9h0s7 <[email protected]> wrote: > > > > > > > This there anyway to toggle showing polygons loaded from an xml > > > > > > file. > > > > > > Yes. > > > > > > > Specifically I have to sets of several polygons I have in the same > > > > > > xml > > > > > > file that I would like for the user to be able to toggle which set > > > > > > or > > > > > > both are showing. For example my data has: > > > > > > > <boxes> > > > > > > <box> > > > > > > <point etc...> > > > > > > ..... > > > > > > </box> > > > > > > <box> > > > > > > </boxes> > > > > > > > each set has several "box" in it > > > > > > I would suggest searching the group, this has been discussed many > > > > > times > > > > > before:http://groups.google.com/group/Google-Maps-API/search?group=Google-Ma... > > > > > > If you need help on _your_ map. Follow the posting guidelines and > > > > > post a link to it... > > > > > And here is an example (on one of my > > > > maps):http://www.geocodezip.com/GenericMapBrowser.asp?filename=RiverWalk080... > > > > > -- Larry- Hide quoted text - > > > > - Show quoted text -- 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 -~----------~----~----~----~------~----~------~--~---
