Custom Layer Control Updated
For: MapXtreme for .Net
By: Jim Regan
This is an updated version of the Custom Layer control sample. It fixes a bug when the user put in spaces in the web.config key values. Also added a sample code section for using this with a streetpro MWS file (that\'s where a custom layer control like this would be of most benefit).
Using this Layer Control, you may link multiple layers and label layers to a single checkbox.
In this sample, one check box will toggle the visibility of both the Oceans and Grid map layers. The second checkbox will toggle the visibility for 2 cities layers and their associated labels. The third checkbox toggles the country layer and labels for the country layer.
File name: CustomLayerControlUpdated.zip
File size: 564KB
File type: zip
Rate & Review
You must be registered and logged in to submit a rating for this entry.