Is there a way to turn off the grid that is displayed when you don't have a background image/service?
Some of clients just want to display their data with no background and when they zoom to full extent they get the grid in the background.
The pink grid is actual data. This Gray background and darker gray grid lines are the canvas that I would like to change.
Solved! Go to Solution.
You can do it changing MapView.MapBackground definition
<esri:MapView x:Name="MyMapView" LayerLoaded="MyMapView_LayerLoaded"> <esri:MapView.MapBackground> <esri:MapBackground GridColor="Transparent"/> </esri:MapView.MapBackground> <esri:Map > <esri:ArcGISDynamicMapServiceLayer ID="Basemap" ServiceUri="http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer"/> </esri:Map> </esri:MapView>
You can do it changing MapView.MapBackground definition
<esri:MapView x:Name="MyMapView" LayerLoaded="MyMapView_LayerLoaded"> <esri:MapView.MapBackground> <esri:MapBackground GridColor="Transparent"/> </esri:MapView.MapBackground> <esri:Map > <esri:ArcGISDynamicMapServiceLayer ID="Basemap" ServiceUri="http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer"/> </esri:Map> </esri:MapView>
Worked like a charm. Thanks Antti!