Still no clue ? I really need help on that matter !
thanks in advance
On 19 juil, 13:55, "|03T3R" <[email protected]> wrote:
> Thanks for the answer ..nevertheless, I tried many things and none
> worked. So I 'm gonna reformulate the problem & the situation hopping
> someone 'll have the solution. Here it is :
> I have set up 2 panes. The first one contains a groundoverlay. On top
> of this pane, the other pane contains a TileLayerOverlay ( my custom
> tiles ).
>
> // ** I start by creating the panes in the right order ( the
> paneGroundOverlay must be behind the paneTileLayerOverlay **
> var paneGroundOverlay:IPane = getPaneManager().createPane
> (getPaneManager().paneCount); // the groundoverlay pane
> var paneTileLayerOverlay:IPane = getPaneManager().createPane
> (getPaneManager().paneCount); /the TileLayerOverlay pane
>
> // ** The groundOverlay contains a flash movieClip as its foreground
> (cf: myFlashMovieClip). **
> var myGroundOverlay:GroundOverlay = new GroundOverlay
> (myFlashMovieClip ,new LatLngBounds(new LatLng(45.244136,4.191284),new
> LatLng(46.164387,5.509644)));
> // ** I assign an eventListener to the groundoverlay foreground **
> myFlashMovieClip .addEventListener
> (MouseEvent.ROLL_OVER,onRTCLrollOver);
>
> // ** I create the tileLayerOverlay **
> var myTileLayerOverlay:TileLayerOverlay = new TileLayerOverlay(new
> MyTileLayerBase(), Map.TILE_SIZE, MERCATOR_PROJECTION); // the
> TileLayerOverlay
>
> // ** I then add the overlays to their corresponding panes **
> paneGroundOverlay.addOverlay(myGroundOverlay);
> paneTileLayerOverlay.addOverlay(myTileLayerOverlay);
>
> My problem is the fact that the function "onRTCLrollOver" is never
> fired when a tile is present of the above pane that is to say the
> paneTileLayerOverlay. When there isn't any tile everything works
> perfectly. Maybe I should also point out the fact that I'm using
> "Change mouse cursor over data in a TileLayerOverlay " technique on my
> tiles
> (cf:http://groups.google.com/group/google-maps-api-for-flash/browse_threa...).
> thanks in advance!
>
> On 24 juin, 18:30, Juguang XIAO <[email protected]> wrote:
>
> > it sounds fine as you described. Are you sure the TileLayerOverlay instance
> > does not cover whole are of groundOverlay? One way you can try is to add
> > these overlay on the same pane.
>
> > From offical API docs, we cannot find any idea how the event is routed. From
> > someone's blog, I do not remember where, it is guessed that even a pane
> > actually contains any layer in its underneath display object list. So my
> > advice is before Google share more the internal mechanism on how pane is
> > realized, do not try anything too fancy.
>
> > my 2 cents.
>
> > Juguang
>
> > On Wed, Jun 24, 2009 at 8:56 PM, |03T3R <[email protected]> wrote:
>
> > > Still no clue ? any help would be greatly appreciated ...
>
> > > On 11 juin, 14:08, "|03T3R" <[email protected]> wrote:
> > > > Hi!
> > > > I didn't find anything about it 'round here; So, here is my problem:
> > > > - I 've created a pane which contains a groundOverlay. The
> > > > groundOverlay foreground (displayObject) is made of a swf representing
> > > > lines in color for which I set up rollOver/rollOut actions.
> > > > - On top of this pane, there is another pane containing a
> > > > TileLayerOverlay ( my custom tiles ).
>
> > > > the mouseOver events are never captured by the groundOverlay when
> > > > there 's a tile in front of it. But when there's no tile, everything
> > > > 's right ... I can't find a way to make that work.
>
> > > > Any clue? thanks in advance
>
> > --
> > =============
> > Juguang XIAO
> > Beijing, China(+86) 13810607806
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---