Hermes David
unread,Apr 27, 2012, 10:44:54 AM4/27/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openscales-dev
Hi,
Im using a transparent PNG tile service over a solid tile map service.
When I pan, GRID.actualizeGrid is called and draws the current scene
on a bitmap for each layer, spliting it to the tiles for preload while
the real images are still loading. The problem is that its generating
a solid image, even for transparent tiles, wich makes the map tiles to
be covered by a white image.
To fix this all that must be done is to change the value from false to
true as showed bellow:
// Draw the current scene into a Bitmap
BMD = new BitmapData(drawnWidth, drawnHeight, false,
this.map.backTileColor);
to
// Draw the current scene into a Bitmap
BMD = new BitmapData(drawnWidth, drawnHeight, true,
this.map.backTileColor);
on GRID.actualizeGrid, line 323
I would appreciate if this change is included on the next release
Thanks in advance,
Hermes David