|
Here are a few comments and queries. 1.Is it possible to turn tile layers on and off on the server side? I have found a way of turning tile lyers of and on on the client side using map.HideTileLayer(mapnam) and map.ShowTileLayer(mapnam) where mapnam is the ID of the TileSourceSpecification. But I can't seem to do this from the server side. In G.I.S. applications turning on and off layers is quite important in order to give clarity to the back-ground mapping.
2. Opacity of tile layers ? when creating a tile layer one can set the opacity - is it possible to change the opacity after loading the tiles? - this code seems to set the opacity on the client side but has no effect on the map var tilee = $find("<%=TileLayerExtender1.ClientID%>"); tilee.tilesources(0).Opacity=0.1 on the server side the code TileLayerExtender1.TileSources(0).Opacity=0.1 sets the value but no effect on the screen. (same for maxzoom and minzoom)
Possible bug? using Map1.LatLong to center from a button works once but if you scroll the map and press the button again the Map1.LatLong is ignored. the only solution seems to be a zoom command before the Map1.LatLong command.
|