Hi Laundryraccoon-
I'd suggest going the route of the custom overlay.
To get it below the markers, define getDefaultPane like this:
public override function getDefaultPane(map:IMap):IPane {
return map.getPaneManager().getPaneById(PaneId.PANE_OVERLAYS);
}
To get it to always display in a fixed location, then just position it
at an x/y and never change it.
Let me know if you run into issues implementing that.
- pamela
On Tue, Dec 9, 2008 at 7:42 AM, Landryraccoon <[email protected]> wrote:
>
> This is a fairly open ended question so vague responses are welcomed.
>
> I am working on a flash / google maps application that is fairly
> involved. Basically it involves tracking changes to a geographical
> area over time, so the whole map component is inside a display object
> with play controls, clock controls, and option controls.
>
> What I would like to be able to do is to simply place a Sprite /
> display object above the map layer, but below the markers and info
> windows. Right now I have to use home grown markers and info windows,
> because otherwise the info windows will occasionally be obscured by
> custom map controls, which I am trying to avoid.
>
> Ideally, I'd like to just create a custom overlay with the foreground
> set to a sprite that I have complete control over and aligned to some
> corner of the map at all times (not something aligned to a lat/lng
> which moves when the map moves.) I can then add markers and the info
> window on top of that.
>
> Is there a standard approach for doing this? Maybe I just missed
> something and there is an easy way to place a display object at a
> fixed screen coordinate above the map, but below the controls.
>
> I was thinking maybe there's a way to do this with a custom control,
> by setting the control to be a display object, and aligning it with
> part of the screen? Has anyone done this?
>
> Anyway, sorry for the vagueness. All responses appreciated.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" 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-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---