| Package | Description |
|---|---|
| org.jdesktop.swingx | |
| org.jdesktop.swingx.input | |
| org.jdesktop.swingx.mapviewer | |
| org.jdesktop.swingx.mapviewer.bmng | |
| org.jdesktop.swingx.mapviewer.util |
| Modifier and Type | Method and Description |
|---|---|
GeoPosition |
JXMapViewer.convertPointToGeoPosition(Point2D pt)
Converts the specified Point2D in the JXMapViewer's local coordinate space to a GeoPosition on the map.
|
GeoPosition |
JXMapViewer.getAddressLocation()
Gets the current address location of the map.
|
GeoPosition |
JXMapKit.getAddressLocation() |
GeoPosition |
JXMapViewer.getCenterPosition()
A property indicating the center position of the map
|
GeoPosition |
JXMapKit.getCenterPosition() |
| Modifier and Type | Method and Description |
|---|---|
Point2D |
JXMapViewer.convertGeoPositionToPoint(GeoPosition pos)
Converts the specified GeoPosition to a point in the JXMapViewer's local coordinate space.
|
void |
JXMapViewer.setAddressLocation(GeoPosition addressLocation)
Gets the current address location of the map
|
void |
JXMapKit.setAddressLocation(GeoPosition pos) |
void |
JXMapViewer.setCenterPosition(GeoPosition geoPosition)
A property indicating the center position of the map
|
void |
JXMapKit.setCenterPosition(GeoPosition pos) |
| Modifier and Type | Method and Description |
|---|---|
void |
JXMapViewer.calculateZoomFrom(Set<GeoPosition> positions)
Calculates a zoom level so that all points in the specified set will be visible on screen.
|
void |
JXMapViewer.zoomToBestFit(Set<GeoPosition> positions,
double maxFraction)
Zoom and center the map to a best fit around the input GeoPositions.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
MapClickListener.mapClicked(GeoPosition location)
This method needs to be implemented in the extending class to handle the
map clicked event.
|
| Modifier and Type | Method and Description |
|---|---|
GeoPosition |
GeoBounds.getNorthWest()
Gets the north west position.
|
GeoPosition |
Waypoint.getPosition()
Get the current GeoPosition of this Waypoint
|
GeoPosition |
DefaultWaypoint.getPosition() |
GeoPosition |
GeoBounds.getSouthEast()
Gets the south east position.
|
GeoPosition |
TileFactory.pixelToGeo(Point2D pixelCoordinate,
int zoom)
Convert a pixel in the world bitmap at the specified zoom level into a GeoPosition
|
| Modifier and Type | Method and Description |
|---|---|
Point2D |
TileFactory.geoToPixel(GeoPosition c,
int zoomLevel)
Convert a GeoPosition to a pixel position in the world bitmap a the specified zoom level.
|
void |
DefaultWaypoint.setPosition(GeoPosition coordinate)
Set a new GeoPosition for this Waypoint
|
| Constructor and Description |
|---|
DefaultWaypoint(GeoPosition coord) |
| Constructor and Description |
|---|
GeoBounds(Set<GeoPosition> geoPositions)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GeoPosition |
CylindricalProjectionTileFactory.pixelToGeo(Point2D pix,
int zoom) |
| Modifier and Type | Method and Description |
|---|---|
Point2D |
CylindricalProjectionTileFactory.geoToPixel(GeoPosition c,
int zoom) |
| Modifier and Type | Method and Description |
|---|---|
static GeoPosition |
GeoUtil.getPosition(Point2D pixelCoordinate,
int zoom,
TileFactoryInfo info)
Convert an on screen pixel coordinate and a zoom level to a geo position
|
| Modifier and Type | Method and Description |
|---|---|
static Point2D |
GeoUtil.getBitmapCoordinate(GeoPosition c,
int zoomLevel,
TileFactoryInfo info)
Given a position (latitude/longitude pair) and a zoom level, return the appropriate point in pixels.
|
Copyright © 2014. All Rights Reserved.