c# - Disabling labels in Windows Phone 8 Map Control -


is there way disable place names, road names, etc. showing on microsoft.phone.maps.controls.map control?

i'm showing custom tilesource on top of bing basemap labels still showing through on top of custom tile source.

ideally i'd turn bing base map off , replace own under impression that's not possible control. i'm using next best approach.

thanks in advance ideas!

even though it's marked depreciated, i've gone wp7 microsoft.phone.controls.maps.map has functionality require. i've encapsulated control , functionality within usercontrol it's easy swap out once new microsoft.phone.maps.controls.map control has caught functionality wise.

/// <summary> /// sets tilesource exclusive maptilelayer /// </summary> private void refreshtilesource() {     (var = map.children.count - 1; >= 0; i--)     {         maptilelayer tilelayer = map.children[i] maptilelayer;         if (tilelayer != null)         {             map.children.removeat(i);         }     }      // tiles     maptilelayer layer = new maptilelayer();     layer.tilesources.add(viewmodel.tilesource);     map.children.add(layer);      // constrain map area custom tiles     mapmode mode = new mapmode();     mode.setzoomrange(viewmodel.tilesource.zoomrange);     if (viewmodel.mapbounds.north > viewmodel.mapbounds.south)         mode.latituderange = new range<double>(viewmodel.mapbounds.south, viewmodel.mapbounds.north);     else         mode.latituderange = new range<double>(viewmodel.mapbounds.north, viewmodel.mapbounds.south);     if (viewmodel.mapbounds.west > viewmodel.mapbounds.east)         mode.longituderange = new range<double>(viewmodel.mapbounds.east, viewmodel.mapbounds.west);     else         mode.longituderange = new range<double>(viewmodel.mapbounds.west, viewmodel.mapbounds.east);     map.mode = mode; } 

Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -