Added constant
This commit is contained in:
parent
16eb79cf32
commit
647ddfb2d8
|
@ -94,6 +94,9 @@ import ol.geom.Geometry;
|
|||
*/
|
||||
public class LayerManager {
|
||||
|
||||
private static final String ZOOM_TO_LAYERS_LABEL = "Zoom...";
|
||||
private static final String ZOOM_TO_LAYERS_TITLE = "Zoom to Layers";
|
||||
|
||||
/** The ol map. */
|
||||
private OpenLayerMap olMap;
|
||||
|
||||
|
@ -1010,9 +1013,9 @@ public class LayerManager {
|
|||
}
|
||||
});
|
||||
|
||||
final Button buttonViewLayers = new Button("Zoom in...");
|
||||
final Button buttonViewLayers = new Button(ZOOM_TO_LAYERS_LABEL);
|
||||
buttonViewLayers.getElement().setId("go-to-layers");
|
||||
buttonViewLayers.getElement().setTitle("Zoom in...");
|
||||
buttonViewLayers.getElement().setTitle(ZOOM_TO_LAYERS_TITLE);
|
||||
buttonViewLayers.setType(ButtonType.LINK);
|
||||
|
||||
if (olMap.getCurrentZoomLevel() >= OLMapManager.LAYER_DETAIL_MAX_RESOLUTION) {
|
||||
|
@ -1202,9 +1205,9 @@ public class LayerManager {
|
|||
}
|
||||
});
|
||||
|
||||
final Button buttonViewLayers = new Button("Zoom in...");
|
||||
final Button buttonViewLayers = new Button(ZOOM_TO_LAYERS_LABEL);
|
||||
buttonViewLayers.getElement().setId("go-to-layers");
|
||||
buttonViewLayers.getElement().setTitle("Zoom in...");
|
||||
buttonViewLayers.getElement().setTitle(ZOOM_TO_LAYERS_TITLE);
|
||||
buttonViewLayers.setType(ButtonType.LINK);
|
||||
|
||||
if (olMap.getCurrentZoomLevel() >= OLMapManager.LAYER_DETAIL_MAX_RESOLUTION) {
|
||||
|
|
Loading…
Reference in New Issue