Package | Description |
---|---|
org.openstreetmap.gui.jmapviewer |
This package and all sub-packages are belonging to the Java
component JMapViewer
|
org.openstreetmap.gui.jmapviewer.interfaces | |
org.openstreetmap.gui.jmapviewer.tilesources | |
org.openstreetmap.josm.data.imagery |
Provides the classes for JOSM imagery sources, coupled with
JMapViewer classes. |
org.openstreetmap.josm.gui.bbox |
Provides GUI classes for displaying a customizable and interactive bounding box.
|
org.openstreetmap.josm.gui.layer |
Provides classes for handling the different kinds of map layers.
|
org.openstreetmap.josm.gui.layer.imagery |
Provides classes for handling imagery background layers.
|
Modifier and Type | Class and Description |
---|---|
class |
Coordinate
This class encapsulates a Point2D.Double and provide access
via
lat and lon . |
class |
MapMarkerCircle
A simple implementation of the
MapMarker interface. |
class |
MapMarkerDot
A simple implementation of the
MapMarker interface. |
Modifier and Type | Field and Description |
---|---|
private java.util.List<? extends ICoordinate> |
MapPolygonImpl.points |
Modifier and Type | Method and Description |
---|---|
ICoordinate |
JMapViewer.getPosition()
Calculates the latitude/longitude coordinate of the center of the
currently displayed map area.
|
ICoordinate |
JMapViewer.getPosition(int mapPointX,
int mapPointY)
Converts the relative pixel coordinate (regarding the top left corner of
the displayed map) into a latitude / longitude coordinate
|
ICoordinate |
JMapViewer.getPosition(java.awt.Point mapPoint)
Converts the relative pixel coordinate (regarding the top left corner of
the displayed map) into a latitude / longitude coordinate
|
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends ICoordinate> |
MapPolygonImpl.getPoints() |
Modifier and Type | Method and Description |
---|---|
java.awt.Point |
JMapViewer.getMapPosition(ICoordinate coord,
boolean checkOutside)
Calculates the position on the map of a given coordinate
|
void |
AttributionSupport.paintAttribution(java.awt.Graphics g,
int width,
int height,
ICoordinate topLeft,
ICoordinate bottomRight,
int zoom,
java.awt.image.ImageObserver observer) |
void |
JMapViewer.setDisplayPosition(ICoordinate to,
int zoom)
Changes the map pane so that it is centered on the specified coordinate
at the given zoom level.
|
void |
JMapViewer.setDisplayPosition(java.awt.Point mapPoint,
ICoordinate to,
int zoom)
Changes the map pane so that the specified coordinate at the given zoom
level is displayed on the map at the screen coordinate
mapPoint . |
Constructor and Description |
---|
MapPolygonImpl(ICoordinate... points) |
MapPolygonImpl(Layer layer,
java.lang.String name,
ICoordinate... points) |
MapPolygonImpl(java.lang.String name,
ICoordinate... points) |
Constructor and Description |
---|
MapPolygonImpl(Layer layer,
java.util.List<? extends ICoordinate> points) |
MapPolygonImpl(Layer layer,
java.lang.String name,
java.util.List<? extends ICoordinate> points) |
MapPolygonImpl(Layer layer,
java.lang.String name,
java.util.List<? extends ICoordinate> points,
Style style) |
MapPolygonImpl(java.util.List<? extends ICoordinate> points) |
MapPolygonImpl(java.lang.String name,
java.util.List<? extends ICoordinate> points) |
Modifier and Type | Interface and Description |
---|---|
interface |
MapMarker
Interface to be implemented by all one dimensional elements that can be displayed on the map.
|
Modifier and Type | Method and Description |
---|---|
ICoordinate |
TileSource.tileXYToLatLon(int x,
int y,
int zoom)
Transforms tile indices to longitude and latitude.
|
ICoordinate |
TileSource.tileXYToLatLon(Tile tile)
Determines to longitude and latitude of a tile.
|
ICoordinate |
TileSource.tileXYToLatLon(TileXY xy,
int zoom)
Transforms tile indices to longitude and latitude.
|
ICoordinate |
TileSource.xyToLatLon(int x,
int y,
int zoom)
Transforms a point in pixel space to longitude/latitude (WGS84).
|
ICoordinate |
TileSource.xyToLatLon(java.awt.Point point,
int zoom)
Transforms a point in pixel space to longitude/latitude (WGS84).
|
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends ICoordinate> |
MapPolygon.getPoints() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Attributed.getAttributionText(int zoom,
ICoordinate topLeft,
ICoordinate botRight) |
TileXY |
TileSource.latLonToTileXY(ICoordinate point,
int zoom)
Transforms longitude and latitude to tile indices.
|
java.awt.Point |
TileSource.latLonToXY(ICoordinate point,
int zoom)
Transforms longitude and latitude to pixel space (as if all tiles at specified zoom level where joined).
|
Modifier and Type | Method and Description |
---|---|
ICoordinate |
ScanexTileSource.tileXYToLatLon(int x,
int y,
int zoom) |
ICoordinate |
TMSTileSource.tileXYToLatLon(int x,
int y,
int zoom) |
ICoordinate |
AbstractTMSTileSource.tileXYToLatLon(Tile tile) |
ICoordinate |
AbstractTMSTileSource.tileXYToLatLon(TileXY xy,
int zoom) |
ICoordinate |
ScanexTileSource.xyToLatLon(int x,
int y,
int zoom) |
ICoordinate |
TMSTileSource.xyToLatLon(int x,
int y,
int zoom) |
ICoordinate |
AbstractTMSTileSource.xyToLatLon(java.awt.Point point,
int zoom) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
OsmTileSource.TransportMap.getAttributionText(int zoom,
ICoordinate topLeft,
ICoordinate botRight) |
java.lang.String |
AbstractTileSource.getAttributionText(int zoom,
ICoordinate topLeft,
ICoordinate botRight) |
java.lang.String |
BingAerialTileSource.getAttributionText(int zoom,
ICoordinate topLeft,
ICoordinate botRight) |
java.lang.String |
AbstractOsmTileSource.getAttributionText(int zoom,
ICoordinate topLeft,
ICoordinate botRight) |
TileXY |
AbstractTMSTileSource.latLonToTileXY(ICoordinate point,
int zoom) |
java.awt.Point |
AbstractTMSTileSource.latLonToXY(ICoordinate point,
int zoom) |
Modifier and Type | Method and Description |
---|---|
static ICoordinate |
CoordinateConversion.llToCoor(LatLon ll)
Converts a
LatLon to an ICoordinate instance. |
ICoordinate |
AbstractWMSTileSource.tileXYToLatLon(int x,
int y,
int zoom) |
ICoordinate |
WMTSTileSource.tileXYToLatLon(int x,
int y,
int zoom) |
ICoordinate |
AbstractWMSTileSource.tileXYToLatLon(Tile tile) |
ICoordinate |
WMTSTileSource.tileXYToLatLon(Tile tile) |
ICoordinate |
AbstractWMSTileSource.tileXYToLatLon(TileXY xy,
int zoom) |
ICoordinate |
WMTSTileSource.tileXYToLatLon(TileXY xy,
int zoom) |
ICoordinate |
AbstractWMSTileSource.xyToLatLon(int x,
int y,
int zoom) |
ICoordinate |
AbstractWMSTileSource.xyToLatLon(java.awt.Point point,
int zoom) |
Modifier and Type | Method and Description |
---|---|
static LatLon |
CoordinateConversion.coorToLL(ICoordinate c)
Converts an
ICoordinate to a LatLon instance. |
java.lang.String |
ImageryInfo.getAttributionText(int zoom,
ICoordinate topLeft,
ICoordinate botRight) |
TileXY |
AbstractWMSTileSource.latLonToTileXY(ICoordinate point,
int zoom) |
TileXY |
WMTSTileSource.latLonToTileXY(ICoordinate point,
int zoom) |
java.awt.Point |
AbstractWMSTileSource.latLonToXY(ICoordinate point,
int zoom) |
java.awt.Point |
WMTSTileSource.latLonToXY(ICoordinate point,
int zoom) |
Modifier and Type | Field and Description |
---|---|
private ICoordinate |
SlippyMapBBoxChooser.iSelectionRectEnd |
private ICoordinate |
SlippyMapBBoxChooser.iSelectionRectStart |
Modifier and Type | Method and Description |
---|---|
private ICoordinate |
AbstractTileSourceLayer.getShiftedCoord(EastNorth en) |
Modifier and Type | Method and Description |
---|---|
private MapViewState.MapViewPoint |
TileCoordinateConverter.pos(ICoordinate ll) |