Many thanks for replying, Paulo.

I think it will be more clear with this example:
http://www.sifyqa.org.es/gmaps/maptype_vs_overlay/maptype_vs_overlay.html

There is a list displaying the Map Types in the map, so they can be
moved up and down by using the Up and Down buttons. A Polyline is
added by clicking the corresponding button, just to show that Overlays
are always displayed above Map Types.

I would like to play with the Polylines (or any other Overlay) as I'm
doing with the Map Types. Is it possible to insert an Overlay between
two Map Types?

On Feb 7, 1:54 pm, Paulo Fernandes <[email protected]> wrote:
> Hi
>
> I never tried that, but I think you can add a Polygon and remove it when a
> mapType was clicked.
>
> Try this and post your acheivements.
>
> :)
>
> Paulo 
> Fernandeshttp://www.google.com/profiles/paulofernandesjrhttp://twitter.com/paulofernandesj
> +55 11 9797-5974
>
> On Sun, Feb 6, 2011 at 11:00 PM, Pablo Gallardo <[email protected]>wrote:
>
> > I'm working on a page where there is a Base Map and some Overlay Map Types
> > attached to it. When I need to sort the Map Types collection, I just modify
> > the overlayMapTypes object as explained in the tutorials.
>
> >http://code.google.com/apis/maps/documentation/javascript/maptypes.ht...
>
> > Now I'd like to add some Overlays (e. g. Polylines) to the map, so Overlays
> > and Map Types can be alternated. As far as I have read, Overlays are always
> > above Map Types. Is there a way to insert an Overlay between Map Types?
>
> > --
> > 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.
>
>

-- 
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.

Reply via email to