Hi there,

Based on the WMS example by Javier de la Torre (in the API Demo
gallery) i have created a custom WMS layer for Vmap0 (DCW) to
demonstrate how to use a WMS in combination with the Google maps API.

This works pretty well, but when I give the name TileLayer a Alpha
value !=0 there is a rendering problem in Flex projects which does not
occur if i do the same thing in a actionscript-only project. The
problem is demonstrated here:

Flash version (actionscript only, no flex framework) is here:

http://www4.demis.nl/gwms

Flex version (mxml, flex framework) is here:

http://www4.demis.nl/gwms/flex

I posted the source code for both examples here:

http://www4.demis.nl/gwms/srcview/
http://www4.demis.nl/gwms/flex/srcview/

In the flex version when you zoom in/out, you can see that after the
API completes loading the new tiles, the old tiles sort of remain
visible in stretched view. So if you zoom out you will see a "darker"
rectangle appear for the previously loaded tiles and if you zoom in
you can see things like place names appear double.

I am aware the obvious solution to the issue is not to set Alpha != 0
on when extending TileLayerBase like this, but it puzzles my why the
flex version is acting differently then the actionscript-only version.
Maybe someone can come up with an explanation, it looks like a minor
bug to me ?

Thanx,

Bart

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