public class WMSRasterDataSource
extends com.nutiteq.rasterdatasources.HTTPRasterDataSource
Constructor and Description |
---|
WMSRasterDataSource(com.nutiteq.projections.Projection projection,
int minZoom,
int maxZoom,
String baseUrl,
String style,
String layer,
String format)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
protected String |
buildTileURL(com.nutiteq.components.MapTile tile) |
String |
getFeatureInfo(com.nutiteq.components.MapTile clickedTile,
com.nutiteq.components.MutableMapPos tilePos) |
int |
getTileSize() |
void |
setTileSize(int tileSize) |
loadTile, setConnectionTimeout, setHttpHeaders, setReadTimeout
buildTileTagMap, readTileBitmap, reloadTiles
public WMSRasterDataSource(com.nutiteq.projections.Projection projection, int minZoom, int maxZoom, String baseUrl, String style, String layer, String format)
projection
- Projection for your mapminZoom
- maxZoom
- baseUrl
- For geoserver example:
http://MYSERVER/geoserver/SERVICE/wms?transparent=true&style
- for Style parameter in WMS requestlayer
- for Layers parameterformat
- for Format parameterpublic int getTileSize()
public void setTileSize(int tileSize)
public String getFeatureInfo(com.nutiteq.components.MapTile clickedTile, com.nutiteq.components.MutableMapPos tilePos)
protected String buildTileURL(com.nutiteq.components.MapTile tile)
buildTileURL
in class com.nutiteq.rasterdatasources.HTTPRasterDataSource
Copyright © 2014. All rights reserved.