How to set the opacity of Tile Sources in Nokia Maps for WP8?

Viewed 678

I want to take advantage of some of the new features of the Windows Phone 8 Nokia Maps API (Microsoft.Phone.Maps.Controls namespace).

I have a sequence of TileSource classes, each with a different image. I play the images back in a loop on the map.

In Windows Phone 7, I would create several Microsoft.Phone.Controls.Maps.MapTileLayer classes, add a TileSource to each one, and add them to the map. Then, I would use a timer to go through the layers, setting the opacity of the current one to 1 and the opacities of the others to 0.

enter image description here

In Windows Phone 8, there is no MapTileLayer class. I can add all of the TileSource classes to the Map.TileSources collection, but I cannot change their opacities.

If I add only one source at a time, for each frame adding the current source and removing the last, there is considerable flicker, so this method will not work

Is there a class similar to WP7's MapTileLayer or Bing Maps AJAX's TileLayer in WP8 or some other way to change the opacities of Tile Sources?

1 Answers
Related