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