[Google Maps API v2] Re: Displaying markers on click from the sidebar's elements
On May 29, 9:55 pm, klinik <vincent.cout...@telus.com> 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.htmland I'll
> probably try to something around this solution if I can't find better.
>
> Thanx.
>
> On 29 mai, 18:23, "geocode...@gmail.com" <geocode...@gmail.com> wrote:
>
>
>
>
>
>
>
> > On May 29, 11:02 am, klinik <vincent.cout...@telus.com> 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 post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home