Use of transparency in WMS provider cause strange result
I m using modest from latest trunk version
I use it in Flex framework with uicomponent
I also put a WMSProvider in which i add "transparent : true" property with png format.
When i use zoom (mousewheel) not all tiles are refreshed some are stilled zoomed and i have to click on map to set them clear.
when i set the transparent property to false the problem disapear and things go fine.
I use it in Flex framework with uicomponent
I also put a WMSProvider in which i add "transparent : true" property with png format.
When i use zoom (mousewheel) not all tiles are refreshed some are stilled zoomed and i have to click on map to set them clear.
when i set the transparent property to false the problem disapear and things go fine.
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Transparent tiles will look weird unless they are overlaid on top of an opaque base layer.
The weirdness comes from the fact that Modest Maps will reuse tiles from different zoom levels to attempt to fill as much of the map area as possible with meaningful pixels. You might be able to turn this off by messing with maxChildSearch and maxParentSearch on map.grid (set them both to 1 or 0 and see what happens). This isn't recommended.
You can overlay transparent tiles on an opaque base layer by using MapProvider.getTileURLs() to return an array with two URLs in it - see YahooHybridMapProvider.as for how this works: http://modestmaps.mapstraction.com/tr... - this is recommended :)
Loading Profile...



EMPLOYEE