Not sure; I'll chat with the team.

- pamela

On Tue, Jun 23, 2009 at 12:28 AM, Sébastien
Varlet<[email protected]> wrote:
>
> Hi,
>
> This is exactly what I am doing right now since it is the only working
> solution. I actually learnt how panes work with the demo you gave me.
>
> Is there a problem with what the documentation says about
> getDefaultPane in the Marker/OverlayBase class ?
>
> On Jun 21, 11:26 pm, "pamela (Google Employee)" <[email protected]>
> wrote:
>> Hey Sebastien -
>>
>> Check out this demo, which shows how panes can be 
>> used:http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/WorldOfPane...
>>
>> In the demo, the overlays are added by calling addOverlay on the desired 
>> pane:
>> pane.addOverlay(overlay);
>>
>> I haven't used getDefaultPane, but it looks like that's not
>> accomplishing what you want.
>>
>> - pamela
>>
>> On Mon, Jun 22, 2009 at 12:21 AM, Sébastien
>>
>> Varlet<[email protected]> wrote:
>>
>> > The documentation says :
>> > getDefaultPane(map:IMap): IPane
>> > Retrieves the default pane that this overlay should be placed on if
>> > none is explicitly specified (when the overlay is added through the
>> > IMap.addOverlay() call).
>>
>> > Are there any differences between what the documentation says and what
>> > is really done (or not !) with this method ?
>>
>> > On Jun 21, 4:16 pm, Sébastien Varlet <[email protected]>
>> > wrote:
>> >> Oh, I forgot to tell that after the call to
>> >> mymap.addOverlay(/* my marker / my overlay */);
>>
>> >> If I put a breakpoint on a call to :
>> >> mymarker.pane;
>>
>> >> I see that the id of the pane where it has been added is 4
>> >> (PaneId.PANE_MARKER).
>>
>> >> On Jun 21, 4:13 pm, Sébastien Varlet <[email protected]>
>> >> wrote:
>>
>> >> > Hi,
>>
>> >> > I made a custom Marker class and I would like to add those in a
>> >> > specific pane.
>>
>> >> > Therefore, I overrode the getDefaultPane method in my custom marker
>> >> > class.
>> >> > It currently looks like this:
>> >> > override public function getDefaultPane(map:IMap):IPane
>> >> > {
>> >> >     return map.getPaneManager.getPaneById(MyPanes.MY_CUSTOM_PANE);}
>>
>> >> > I did the same with a custom overlay I wanted to be visually under
>> >> > those markers.
>>
>> >> > This is how I add my Marker/Overlays :
>> >> > mymap.addOverlay(/* a marker / an overlay */);
>>
>> >> > The problem is I always see my markers visually under my overlays. I
>> >> > changed the order of my createPane calls to test and the same problem
>> >> > occurred.
>> >> > So, I decided to put a breakpoint in my getDefaultPane method in the
>> >> > custom marker class. It never stops on it ! (Yes I used the debug mod
>> >> > of FlexBuilder :D)
>>
>> >> > So, what should I do ?
> >
>

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

Reply via email to