To use this layer, list it as a layer in the openmap.properties file in the openmap.layers properties, as you would add any other layer. Then, add these properties to the openmap.properties file. The layers added to the ScaleFilterLayer do not get added to the openmap.layers property, but instead get added to the scaledFilterLayer.layers property listed here. Then, the properties for these layers are added to the openmap.properties file like any other layer.
The properties for this layer look like this:
####################################### # Properties for ScaleFilterLayer ####################################### scaledFilterLayer.class=com.bbn.openmap.layer.ScaleFilterLayer scaledFilterLayer.prettyName=<Pretty name used on menu&ge # List 2 or more layers, larger scale layers first scaledFilterLayer.layers=layer_1 layer_2 layer_3 ... # List the transition scales to switch between layers scaledFilterLayer.transitionScales= (transition scale from layer 1 to 2) (transition scale from layer 2 to 3) (...) #######################################
|
|