About my post on the V3 group, I suppose it's waiting for an approval from the moderators because I posted it yesterday.
I'll follow your advice for the local variable. Thanx! Le mercredi 30 mai 2012 01:39:33 UTC-4, [email protected] a écrit : > > On May 29, 9:55 pm, klinik <[email protected]> wrote: > > I know it's a V2 forum but I posted the same question on Stack > > Overflow and on the V3 forum and but I received no answer :O(. > > Where is your post on the v3 group? > > > My question is not about polylines, Larry, but markers. > > I looked at your v2 example and all I saw polylines, looking again, I > see I missed the markers. > > You aren't getting function closure on the "marker" variable inside > your createMarker function (you need to make it a local variable by > adding "var" in front of it). > > -- Larry > > > I also sawhttp://www.geocodezip.com/v3_MW_example_categories.htmlandI'll > > probably try to something around this solution if I can't find better. > > > > Thanx. > > > > On 29 mai, 18:23, "[email protected]" <[email protected]> wrote: > > > > > > > > > > > > > > > > > On May 29, 11:02 am, klinik <[email protected]> wrote: > > > > > > Hi! > > > > > > In this v3 map(not finished): > http://pp.gestion.webconcepteur.com/webconcepteur/styles/villerimousk..., > > > > I want to be able to display just the markers I choose from a > category > > > > in the right sidebar (select box). Like this V2 version: > http://www.ville.rimouski.qc.ca/styles/carte/carte.jsp. > > > > > > Does anybody have an idea? > > > > > It would probably be better to ask this question either in the v3 > > > group: > > > > >http://groups.google.com/group/google-maps-js-api-v3 > > > > > or on Stack Overflow: > > > > >http://groups.google.com/group/google-maps-js-api-v3/browse_frm/threa... > > > > > > I ported some of Mike Williams' v2 tutorial maps to v3, including his > > > "categories" example: > > > > >http://www.geocodezip.com/v3_MW_example_categories.html > > > > > but that is markers, not polylines, so I'm not sure if that will help > > > you or not. > > > > > -- Larry > > > > > > Thanx in advance! -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-api/-/BtgJ8i1VF7YJ. 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.
