| Package | Description |
|---|---|
| com.codename1.maps |
The mapping API allows developers to use maps in their applications, add layers
on top of the map and to enhance the API with additional Layers, Providers and functionality.
|
| com.codename1.maps.layers |
The Layers are elements that are displayed on the map.
|
| com.codename1.maps.providers |
These are the map providers, currently http://www.openstreetmap.org/ is supported.
|
| Modifier and Type | Method and Description |
|---|---|
static BoundingBox |
BoundingBox.create(Coord[] coords)
create a smallest bounding box that contains all of the given coordinates
|
static BoundingBox |
BoundingBox.create(Vector coords)
/**
create a smallest bounding box that contains all of the given coordinates
|
BoundingBox |
BoundingBox.extend(BoundingBox other)
create a new bounding box that extends this bounding box with the given
bounding box
|
BoundingBox |
Projection.extent()
Gets the projection bounding box
|
BoundingBox |
Projection.fromWGS84(BoundingBox bbox)
Converts a WGS84 bounding box to the projection system bounding box
|
BoundingBox |
Tile.getBoundingBox()
Gets the tile bounding box.
|
BoundingBox |
Projection.toWGS84(BoundingBox bbox)
Converts a projected bounding box to a WGS84 bounding box
|
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
BoundingBox.extend(BoundingBox other)
create a new bounding box that extends this bounding box with the given
bounding box
|
BoundingBox |
Projection.fromWGS84(BoundingBox bbox)
Converts a WGS84 bounding box to the projection system bounding box
|
BoundingBox |
Projection.toWGS84(BoundingBox bbox)
Converts a projected bounding box to a WGS84 bounding box
|
void |
MapComponent.zoomTo(BoundingBox boundingBox)
Deprecated.
Zoom the map the the giving bounding box
|
| Constructor and Description |
|---|
Projection(BoundingBox extent)
Creates a projection to the given bounding box
|
ProxyHttpTile(Dimension tileSize,
BoundingBox bbox,
String url)
Creates an Http Tile
|
Tile(Dimension dimension,
BoundingBox boundingBox,
Image image)
Creates a new Tile.
|
| Modifier and Type | Method and Description |
|---|---|
abstract BoundingBox |
AbstractLayer.boundingBox()
The bounding box of this Layer
|
BoundingBox |
LinesLayer.boundingBox()
The bounding box of this Layer
|
BoundingBox |
Layer.boundingBox()
The bounding box of this Layer
|
BoundingBox |
PointsLayer.boundingBox()
The bounding box of this Layer
|
BoundingBox |
PointLayer.boundingBox()
The bounding box of this Layer
|
| Modifier and Type | Method and Description |
|---|---|
void |
PointsLayer.fireActionEvent(BoundingBox box)
Trigger an event for the points that in contained in the BoundingBox
|
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
TiledProvider.bboxFor(Coord position,
int zoomLevel)
Returns the bounding box of a position ina given zoom level
|
abstract BoundingBox |
MapProvider.bboxFor(Coord position,
int zoomLevel)
Returns the bounding box of a position ina given zoom level
|
| Modifier and Type | Method and Description |
|---|---|
Tile |
TiledProvider.tileFor(BoundingBox bbox)
Gets a tile for the given bounding box
|
Tile |
GoogleMapsProvider.tileFor(BoundingBox bbox)
Gets a tile for the given bounding box
|
abstract Tile |
MapProvider.tileFor(BoundingBox bbox)
Gets a tile for the given bounding box
|
Copyright © 2021. All rights reserved.