I'm developing a client-server platform. I use DeepEarth to build my client.
At first I define a baselayer: "MyMap.BaseLayer.Source = new GoogleTileSource(GoogleMapModes.Satellite);" "MyMap" is an instance of "DeepEarth.Client.MapControl", it was declared at "MainPage.xaml".
When I press a button, an event is generated and invokes to:
public void mostrarShape(string layer)
_capa = new WmsTileSource(WmsMapModes.WMS_superpuesto, "server", layer, "image/png", "EPSG:4326");
But it doesn't work. I get the same error than LionGG:
1) It doesn't display unless I zoom in the map;
2) When I zoom out it, the new overlay will disappear;
3) It must be zoomed in, you will see the overlay is removed. However, if zoom out after removing, the map displays again the removed layer.
You can see that I use " MyMap.RefreshSource();" but it also not works correctly.
Could you tell me some advice?
Thanks in advance,