mapping_library library

Classes

BoundingBox
Circle
DefaultMarker
DefaultMarkerRenderer
FixedObject
FixedObjects<FixedObject>
FixedObjectsLayer
GeomBase
GeoPoint
GeoPoints
HttpTileSource
Layer
LayerPainter
Line
MapPosition
MapPosition Class This class holds variables and functions to manage the position, zoomlevel, bearing, tilt and roll of a map
MapView
MapViewGestures
MapViewport
MarkerBase
MarkerRenderer
Markers<MarkerBase>
MarkersLayer
OverlayImage
OverlayLayer
Polygon
Polyline
ScaleBar
ScreenTile
SimpleMarker
SimpleMarkerRenderer
SimpleMarkerRenderer is a test render class [...]
Tile
TileImage
TilesBoundingBox
TilesLayer
TileSource
VectorLayer

Properties

CONVERSION_FACTOR double
final
defaultMarkers Map<DefaultMarkerType, List>
read / write

Functions

fromPixels(double pixelX, double pixelY, int mapSize) GeoPoint
** [...]
fromPixelsWithScale(double pixelX, double pixelY, double scale) GeoPoint
An implementation of the spherical Mercator projection. [...]
getMapSize(int zoomLevel) int
** [...]
getMapSizeWithScale(double scale) int
** [...]
getPixel(GeoPoint geoPoint, int mapSize) Point<num>
getPixelAbsolute(GeoPoint geoPoint, int mapSize) Point<num>
** [...]
getPixelRelative(GeoPoint geoPoint, int mapSize, double x, double y) Point<num>
** [...]
getPixelRelativeByPoint(GeoPoint geoPoint, int mapSize, Point<num> origin) Point<num>
** [...]
getPixelsPosition(GeoPoint location, int zoomLevel) Point<num>
getPixelWithScale(GeoPoint geoPoint, double scale) Point<num>
getTileId(int x, int y, int z) String
Generate a TileID based on its X., Y en Z values [...]
groundResolution(double latitude, int mapSize) double
** [...]
groundResolutionWithScale(double latitude, double scale) double
** [...]
latitudeDistance(int meters) double
latitudeToPixelYMapSize(double latitude, int mapSize) double
** [...]
latitudeToPixelYWithScale(double latitude, double scale) double
** [...]
latitudeToPixelYZoomLevel(double latitude, int zoomLevel) double
** [...]
latitudeToTileY(double latitude, int zoomLevel) int
** [...]
latitudeToTileYWithScale(double latitude, double scale) int
** [...]
latitudeToY(double latitude) double
** [...]
limitLatitude(double latitude) double
** [...]
limitLongitude(double longitude) double
** [...]
longitudeDistance(int meters, double latitude) double
longitudeToPixelXMapSize(double longitude, int mapSize) double
Converts a longitude coordinate (in degrees) to a pixel X coordinate at a certain map size. [...]
longitudeToPixelXWithScale(double longitude, double scale) double
Converts a longitude coordinate (in degrees) to a pixel X coordinate at a certain scale factor. [...]
longitudeToPixelXZoomLevel(double longitude, int zoomLevel) double
Converts a longitude coordinate (in degrees) to a pixel X coordinate at a certain zoom level. [...]
longitudeToTileX(double longitude, int zoomLevel) int
Converts a longitude coordinate (in degrees) to the tile X number at a certain zoom level. [...]
longitudeToTileXWithScale(double longitude, double scale) int
Converts a longitude coordinate (in degrees) to the tile X number at a certain scale factor. [...]
longitudeToX(double longitude) double
Projects a longitude coordinate (in degrees) to the range 0.0,1.0 [...]
metersToPixels(double meters, double latitude, int mapSize) double
Converts meters to pixels at latitude for zoom-level. [...]
metersToPixelsWithScale(double meters, double latitude, double scale) double
Converts meters to pixels at latitude for zoom-level. [...]
pixelXToLongitude(double pixelX, int mapSize) double
Converts a pixel X coordinate at a certain map size to a longitude coordinate. [...]
pixelXToLongitudeWithScale(double pixelX, double scale) double
Converts a pixel X coordinate at a certain scale to a longitude coordinate. [...]
pixelXToTileX(double pixelX, int zoomLevel) int
Converts a pixel X coordinate to the tile X number. [...]
pixelXToTileXWithScale(double pixelX, double scale) int
Converts a pixel X coordinate to the tile X number. [...]
pixelYToLatitude(double pixelY, int mapSize) double
Converts a pixel Y coordinate at a certain map size to a latitude coordinate. [...]
pixelYToLatitudeWithScale(double pixelY, double scale) double
Converts a pixel Y coordinate at a certain scale to a latitude coordinate. [...]
pixelYToTileY(double pixelY, int zoomLevel) int
Converts a pixel Y coordinate to the tile Y number. [...]
pixelYToTileYWithScale(double pixelY, double scale) int
Converts a pixel Y coordinate to the tile Y number. [...]
scaleToZoomLevel(double scale) double
Converts a scale factor to a zoomLevel. Note that this will return a double, as the scale factors cover the intermediate zoom levels as well. [...]
tileToPixel(int tileNumber) int
@param tileNumber the tile number that should be converted. @return the pixel coordinate for the given tile number.
tileXToLongitude(int tileX, int zoomLevel) double
Converts a tile X number at a certain zoom level to a longitude coordinate. [...]
tileXToLongitudeWithScale(int tileX, double scale) double
Converts a tile X number at a certain scale to a longitude coordinate. [...]
tileYToLatitude(int tileY, int zoomLevel) double
Converts a tile Y number at a certain zoom level to a latitude coordinate. [...]
tileYToLatitudeWithScale(int tileY, double scale) double
Converts a tile Y number at a certain scale to a latitude coordinate. [...]
tileYToTMS(int tileY, int zoomLevel) int
Converts a tile Y number at a certain zoom level to TMS notation. [...]
toDegrees(double rad) double
toLatitude(double y) double
Converts y map position to latitude in degrees. [...]
toLongitude(double x) double
Converts x map position to longitude in degrees. [...]
toRadians(double deg) double
wrapLongitude(double longitude) double
Return a longitude wrapped by LONGUTUDE_MIN and LONGITUDE_MAX [...]
zoomLevelToScale(int zoomLevel) double
Convert from zoomlevel (int) to scale via a bitshift function in general this is a power of 2 function note: only for integer values [...]
zoomLevelToScaleD(double zoomlevel) double
Convert from zoomlevel (double) to scale via math.pow function [...]

Enums

DefaultMarkerType
FixedObjectPosition