ShowBuildings Property toggles

Mar 25, 2010 at 5:49 PM

Hi!
I want to set the "ShowBuildings" Property to false.

If I do this in XAML i get a Parse Exception, if I do this in "Map_Loaded" the property switches back to false.

Any hints to overcome this?

Regards

Robert

Coordinator
Mar 26, 2010 at 6:31 AM

I just checked this. Not sure why the XAML doesn't parse. When I set map.ShowBuildings = false in map_MapLoaded method after setting MapLoaded="map_MapLoaded" in XAML, it is preserved and the buildings don't show.