Index
All Classes and Interfaces|All Packages
A
- add(Node) - Method in class it.tidalwave.mapviewer.javafx.MapView.OverlayHelper
-
Adds a
Node
to the overlay. - addAll(Collection<? extends Node>) - Method in class it.tidalwave.mapviewer.javafx.MapView.OverlayHelper
-
Adds multiple
Node
s to the overlay. - addOverlay(String, Consumer<MapView.OverlayHelper>) - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Adds an overlay, passing a callback that will be responsible for rendering the overlay, when needed.
- areaProperty() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the area rendered on the map.
C
- cacheFolder() - Method in record class it.tidalwave.mapviewer.javafx.MapView.Options
-
Returns the value of the
cacheFolder
record component. - Cartesian - Interface in it.tidalwave.mapviewer
-
An abstraction for things that have (x,y) coordinates.
- centerProperty() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the center property.
- contains(MapArea) - Method in class it.tidalwave.mapviewer.MapArea
-
Returns
true
if this area contains the given area. - contains(MapCoordinates) - Method in class it.tidalwave.mapviewer.MapArea
-
Returns
true
if this area contains the given coordinates. - coordinatesToMapPoint(MapCoordinates, double) - Method in interface it.tidalwave.mapviewer.Projection
-
Returns a
MapPoint
converted from the given coordinates and zoom level. - coordinatesToMapPoint(MapCoordinates, double) - Method in class it.tidalwave.mapviewer.spi.MercatorProjection
-
Returns a
MapPoint
converted from the given coordinates and zoom level. - coordinatesToPoint(MapCoordinates) - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns a point on the map corresponding to the given coordinates.
- coordinatesUnderMouseProperty() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the coordinates corresponding to the point where the mouse is.
D
- downloadAllowed() - Method in record class it.tidalwave.mapviewer.javafx.MapView.Options
-
Returns the value of the
downloadAllowed
record component.
E
- equals(Object) - Method in record class it.tidalwave.mapviewer.javafx.MapView.Options
-
Indicates whether some other object is "equal to" this one.
F
- fitArea(MapArea) - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Fits the zoom level and centers the map so that the two corners are visible.
G
- getArea() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the area rendered on the map.
- getArea() - Method in class it.tidalwave.mapviewer.javafx.MapView.OverlayHelper
-
Returns the area rendered in the map view.
- getCachePrefix() - Method in interface it.tidalwave.mapviewer.TileSource
-
Returns a prefix unique to this source to be used by the local tile cache.
- getCenter() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the center coordinates.
- getCenter() - Method in class it.tidalwave.mapviewer.MapArea
-
Returns the center of this area.
- getDefaultZoomLevel() - Method in interface it.tidalwave.mapviewer.TileSource
-
Returns the default zoom level of this source.
- getDisplayName() - Method in interface it.tidalwave.mapviewer.TileSource
-
Returns the display name of this object.
- getMaxZoom() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the max zoom level.
- getMaxZoomLevel() - Method in interface it.tidalwave.mapviewer.TileSource
-
Returns the maximum zoom level of this source.
- getMetersPerPixel() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the scale of the map in meters per pixel.
- getMinZoom() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the min zoom level.
- getMinZoomLevel() - Method in interface it.tidalwave.mapviewer.TileSource
-
Returns the minimum zoom level of this source.
- getTileSize() - Method in interface it.tidalwave.mapviewer.TileSource
-
Returns the size of the tiles created by this source.
- getTileSource() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the tile source.
- getTileUri(int, int, int) - Method in class it.tidalwave.mapviewer.OpenStreetMapTileSource
-
Returns the URI for the tile at the given position with the given zoom level.
- getTileUri(int, int, int) - Method in interface it.tidalwave.mapviewer.TileSource
-
Returns the URI for the tile at the given position with the given zoom level.
- getZoom() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the zoom level.
H
- hashCode() - Method in record class it.tidalwave.mapviewer.javafx.MapView.Options
-
Returns a hash code value for this object.
I
- isAcrossGreenwichAntimeridian() - Method in class it.tidalwave.mapviewer.MapArea
-
Returns
true
if this area spans across the Greenwich antimeridian (180° W). - it.tidalwave.mapviewer - package it.tidalwave.mapviewer
- it.tidalwave.mapviewer.javafx - package it.tidalwave.mapviewer.javafx
- it.tidalwave.mapviewer.spi - package it.tidalwave.mapviewer.spi
M
- MapArea - Class in it.tidalwave.mapviewer
-
A rectangular area on the map.
- MapArea() - Constructor for class it.tidalwave.mapviewer.MapArea
- MapCoordinates - Class in it.tidalwave.mapviewer
-
This class models a pair of coordinates.
- MapCoordinates() - Constructor for class it.tidalwave.mapviewer.MapCoordinates
- MapPoint - Class in it.tidalwave.mapviewer
-
This class represents a point on the map representing the world. (0, 0) corresponds to the crossing between the equator and the Greenwich meridian.
- MapPoint() - Constructor for class it.tidalwave.mapviewer.MapPoint
- mapPointToCoordinates(MapPoint, double) - Method in interface it.tidalwave.mapviewer.Projection
-
Returns
MapCoordinates
converted from the point coordinates and zoom level. - mapPointToCoordinates(MapPoint, double) - Method in class it.tidalwave.mapviewer.spi.MercatorProjection
-
Returns
MapCoordinates
converted from the point coordinates and zoom level. - MapView - Class in it.tidalwave.mapviewer.javafx
-
A JavaFX control capable to render a map based on tiles.
- MapView(MapView.Options) - Constructor for class it.tidalwave.mapviewer.javafx.MapView
-
Creates a new instance.
- MapView.Options - Record Class in it.tidalwave.mapviewer.javafx
-
Options for creating a
MapView
. - MapView.OverlayHelper - Class in it.tidalwave.mapviewer.javafx
-
This helper class provides methods useful for creating map overlays.
- MapViewPoint - Class in it.tidalwave.mapviewer
-
This class represents a point on the map. (0, 0) corresponds to the center of the map view.
- MapViewPoint() - Constructor for class it.tidalwave.mapviewer.MapViewPoint
- maxZoomProperty() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the max zoom level property.
- MercatorProjection - Class in it.tidalwave.mapviewer.spi
-
An implementation of the Mercator Projection.
- MercatorProjection() - Constructor for class it.tidalwave.mapviewer.spi.MercatorProjection
- metersPerPixel(MapCoordinates, double) - Method in interface it.tidalwave.mapviewer.Projection
-
Returns the map scale (expressed in meters per pixel) at the given zoom level.
- metersPerPixel(MapCoordinates, double) - Method in class it.tidalwave.mapviewer.spi.MercatorProjection
-
Returns the map scale (expressed in meters per pixel) at the given zoom level.
- minZoomProperty() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the min zoom level property.
O
- of(double, double, double, double) - Static method in class it.tidalwave.mapviewer.MapArea
-
Returns a new area.
- of(Cartesian) - Static method in class it.tidalwave.mapviewer.MapViewPoint
-
Returns a new point given a (x,y) source.
- of(MouseEvent) - Static method in class it.tidalwave.mapviewer.MapViewPoint
-
Returns a new point copying from a
MouseEvent
. - OpenStreetMapTileSource - Class in it.tidalwave.mapviewer
-
The OpenStreetMap source of map tiles.
- OpenStreetMapTileSource() - Constructor for class it.tidalwave.mapviewer.OpenStreetMapTileSource
-
Creates a new instance.
- OpenStreetMapTileSource(int, String, String, String) - Constructor for class it.tidalwave.mapviewer.OpenStreetMapTileSource
-
Constructor for subclasses.
- OpenTopoMapTileSource - Class in it.tidalwave.mapviewer
-
The OpenTopoMap source of map tiles.
- OpenTopoMapTileSource() - Constructor for class it.tidalwave.mapviewer.OpenTopoMapTileSource
-
Creates a new instance.
- options() - Static method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns a new set of default options.
- Options(Path, boolean, int, int) - Constructor for record class it.tidalwave.mapviewer.javafx.MapView.Options
-
Creates an instance of a
Options
record class. - OverlayHelper() - Constructor for class it.tidalwave.mapviewer.javafx.MapView.OverlayHelper
P
- pattern - Variable in class it.tidalwave.mapviewer.OpenStreetMapTileSource
-
The pattern, in
String.format(String, Object...)
syntax, of the URI. - pointToCoordinates(MapViewPoint) - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the coordinates corresponding to a given point on the map.
- poolSize() - Method in record class it.tidalwave.mapviewer.javafx.MapView.Options
-
Returns the value of the
poolSize
record component. - Projection - Interface in it.tidalwave.mapviewer
-
This class is responsible for converting (latitude, longitude) into rectilinear (x,y) coordinates (to be used by a map).
R
- removeAllOverlays() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Removes all overlays.
- removeOverlay(String) - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Removes an overlay.
S
- setCenter(MapCoordinates) - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Sets the coordinates to show at the center of the map.
- setTileSource(TileSource) - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Sets the tile source.
- setZoom(double) - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Sets the zoom level.
T
- tileQueueCapacity() - Method in record class it.tidalwave.mapviewer.javafx.MapView.Options
-
Returns the value of the
tileQueueCapacity
record component. - TileSource - Interface in it.tidalwave.mapviewer
-
This class represent a source for
Tile
s. - tileSourceProperty() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the tile source property.
- TileSourceSupport - Class in it.tidalwave.mapviewer.spi
-
A generic, basic implementation for
TileSource
. - TileSourceSupport() - Constructor for class it.tidalwave.mapviewer.spi.TileSourceSupport
- toMapViewPoint(MapCoordinates) - Method in class it.tidalwave.mapviewer.javafx.MapView.OverlayHelper
-
Returns a map view point corresponding to the given coordinates.
- toString() - Method in record class it.tidalwave.mapviewer.javafx.MapView.Options
-
Returns a string representation of this record class.
- toString() - Method in class it.tidalwave.mapviewer.MapArea
- toString() - Method in class it.tidalwave.mapviewer.MapCoordinates
- toString() - Method in class it.tidalwave.mapviewer.MapPoint
- toString() - Method in class it.tidalwave.mapviewer.MapViewPoint
- toString() - Method in class it.tidalwave.mapviewer.OpenStreetMapTileSource
- translated(double, double) - Method in class it.tidalwave.mapviewer.MapPoint
-
Returns a point translated of the specified amount.
- translated(double, double) - Method in class it.tidalwave.mapviewer.MapViewPoint
-
Returns a point translated of the specified amount.
X
Y
Z
- zoomProperty() - Method in class it.tidalwave.mapviewer.javafx.MapView
-
Returns the zoom level property.
All Classes and Interfaces|All Packages