Class OsmTileServer
java.lang.Object
org.eclipse.nebula.widgets.geomap.internal.URLService
org.eclipse.nebula.widgets.geomap.TileServer
org.eclipse.nebula.widgets.geomap.OsmTileServer
public final class OsmTileServer extends TileServer
This class encapsulates a tileserver, which has the concept of a baseurl and
a maximum zoom level.
-
Field Summary
Fields Modifier and Type Field Description static OsmTileServer[]
TILESERVERS
A default OSM tile server -
Constructor Summary
Constructors Constructor Description OsmTileServer(java.lang.String url, int maxZoom)
Initializes an Open Streat Map TileServer -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.geomap.TileServer
createZXYMap, getMaxZoom, getMinZoom, getTileURL, getTileURL, getTileURL, getURLFormatArguments, getURLFormatMap, toString
Methods inherited from class org.eclipse.nebula.widgets.geomap.internal.URLService
getServiceURL, getServiceURL, getURL, parseUrl
-
Field Details
-
TILESERVERS
A default OSM tile server
-
-
Constructor Details
-
OsmTileServer
public OsmTileServer(java.lang.String url, int maxZoom)Initializes an Open Streat Map TileServer- Parameters:
url
- the url to the servermaxZoom
- the max zoom level supported by this server
-