public final class TileLayerWMS extends TileLayer
Constructor and Description |
---|
TileLayerWMS(String urlTemplate,
TileLayerWMSOptions options)
Instantiates a WMS tile layer object given a base URL of the WMS service
and a WMS parameters/options object.
|
Modifier and Type | Method and Description |
---|---|
void |
setParams(TileLayerWMSOptions options)
Merges an object with the new parameters and re-requests tiles on the
current screen.
|
void |
setParams(TileLayerWMSOptions options,
boolean noRedraw)
Merges an object with the new parameters,but does not re-requests tiles
on the current screen.
|
addEventListener, addTileListener, clearAllEventListeners, removeEventListener, removeTileListener
public TileLayerWMS(String urlTemplate, TileLayerWMSOptions options)
urlTemplate
- The URL to the WMS serviceoptions
- The TileLayerWMSOptions
public void setParams(TileLayerWMSOptions options)
options
- The new TileLayerWMSOptions
public void setParams(TileLayerWMSOptions options, boolean noRedraw)
options
- The new TileLayerWMSOptions
noRedraw
- noRedraw flagCopyright © 2017. All rights reserved.