Package org.openstreetmap.josm.gui.bbox
Class JosmMapViewer.DefaultOsmTileSourceProvider
- java.lang.Object
-
- org.openstreetmap.josm.gui.bbox.JosmMapViewer.DefaultOsmTileSourceProvider
-
- All Implemented Interfaces:
JosmMapViewer.TileSourceProvider
- Enclosing class:
- JosmMapViewer
public static class JosmMapViewer.DefaultOsmTileSourceProvider extends java.lang.Object implements JosmMapViewer.TileSourceProvider
TileSource provider - providing default OSM tile source
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringProperty
DEFAULT_OSM_TILE_URL
-
Constructor Summary
Constructors Constructor Description DefaultOsmTileSourceProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.openstreetmap.gui.jmapviewer.interfaces.TileSource
get()
Returns the default OSM tile source.java.util.List<org.openstreetmap.gui.jmapviewer.interfaces.TileSource>
getTileSources()
Gets the tile sources that can be displayed
-
-
-
Field Detail
-
DEFAULT_OSM_TILE_URL
protected static final StringProperty DEFAULT_OSM_TILE_URL
-
-
Constructor Detail
-
DefaultOsmTileSourceProvider
public DefaultOsmTileSourceProvider()
-
-
Method Detail
-
getTileSources
public java.util.List<org.openstreetmap.gui.jmapviewer.interfaces.TileSource> getTileSources()
Description copied from interface:JosmMapViewer.TileSourceProvider
Gets the tile sources that can be displayed- Specified by:
getTileSources
in interfaceJosmMapViewer.TileSourceProvider
- Returns:
- The tile sources
-
get
public static org.openstreetmap.gui.jmapviewer.interfaces.TileSource get()
Returns the default OSM tile source.- Returns:
- the default OSM tile source
-
-