Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X Y Z 

A

Align - Enum in org.mapsforge.core.graphics
 

B

Bitmap - Interface in org.mapsforge.core.graphics
 
bottom - Variable in class org.mapsforge.core.model.Rectangle
 
boundary - Variable in class org.mapsforge.core.mapelements.MapElementContainer
 
boundaryAbsolute - Variable in class org.mapsforge.core.mapelements.MapElementContainer
 
BoundingBox - Class in org.mapsforge.core.model
A BoundingBox represents an immutable set of two latitude and two longitude coordinates.
BoundingBox(double, double, double, double) - Constructor for class org.mapsforge.core.model.BoundingBox
 
BoundingBox(List<LatLong>) - Constructor for class org.mapsforge.core.model.BoundingBox
 

C

calculateGroundResolution(double, long) - Static method in class org.mapsforge.core.util.MercatorProjection
Calculates the distance on the ground that is represented by a single pixel on the map.
calculateGroundResolutionWithScaleFactor(double, double, int) - Static method in class org.mapsforge.core.util.MercatorProjection
Calculates the distance on the ground that is represented by a single pixel on the map.
Canvas - Interface in org.mapsforge.core.graphics
 
Cap - Enum in org.mapsforge.core.graphics
Specifies the shape to be used for the endpoints of a line.
capacity - Variable in class org.mapsforge.core.util.LRUCache
 
clashesWith(MapElementContainer) - Method in class org.mapsforge.core.mapelements.MapElementContainer
Returns if MapElementContainers clash with each other
clashesWith(MapElementContainer) - Method in class org.mapsforge.core.mapelements.PointTextContainer
 
clear() - Method in interface org.mapsforge.core.graphics.Path
 
clipToRectangle(Rectangle) - Method in class org.mapsforge.core.model.LineSegment
Intersection of this LineSegment with the Rectangle as another LineSegment.
close() - Method in interface org.mapsforge.core.graphics.Path
 
closeQuietly(Closeable) - Static method in class org.mapsforge.core.util.IOUtils
Invokes the Closeable.close() method on the given object.
Color - Enum in org.mapsforge.core.graphics
 
compareTo(MapElementContainer) - Method in class org.mapsforge.core.mapelements.MapElementContainer
Compares elements according to their priority.
compareTo(LatLong) - Method in class org.mapsforge.core.model.LatLong
This method is necessary for inserting LatLongs into tree data structures.
compareTo(Point) - Method in class org.mapsforge.core.model.Point
 
compareTo(Tag) - Method in class org.mapsforge.core.model.Tag
Compares this tag to the specified tag.
compress(OutputStream) - Method in interface org.mapsforge.core.graphics.Bitmap
 
contains(double, double) - Method in class org.mapsforge.core.model.BoundingBox
 
contains(LatLong) - Method in class org.mapsforge.core.model.BoundingBox
 
contains(Point) - Method in class org.mapsforge.core.model.Rectangle
 
contains(LatLong[], LatLong) - Static method in class org.mapsforge.core.util.LatLongUtils
Find if the given point lies within this polygon.
contains(List<LatLong>, LatLong) - Static method in class org.mapsforge.core.util.LatLongUtils
Find if the given point lies within this polygon.
CorruptedInputStreamException - Exception in org.mapsforge.core.graphics
At least on Android, loading graphic resources can fail because the input stream is corrupted.
CorruptedInputStreamException(String, Throwable) - Constructor for exception org.mapsforge.core.graphics.CorruptedInputStreamException
 
createBitmap(int, int) - Method in interface org.mapsforge.core.graphics.GraphicFactory
 
createBitmap(int, int, boolean) - Method in interface org.mapsforge.core.graphics.GraphicFactory
 
createCanvas() - Method in interface org.mapsforge.core.graphics.GraphicFactory
 
createColor(Color) - Method in interface org.mapsforge.core.graphics.GraphicFactory
 
createColor(int, int, int, int) - Method in interface org.mapsforge.core.graphics.GraphicFactory
 
createMatrix() - Method in interface org.mapsforge.core.graphics.GraphicFactory
 
createMonoBitmap(int, int, byte[], int, BoundingBox) - Method in interface org.mapsforge.core.graphics.GraphicFactory
Create a single channel bitmap for hillshading, may include a buffer.
createPaint() - Method in interface org.mapsforge.core.graphics.GraphicFactory
 
createPaint(Paint) - Method in interface org.mapsforge.core.graphics.GraphicFactory
 
createPath() - Method in interface org.mapsforge.core.graphics.GraphicFactory
 
createPointTextContainer(Point, Display, int, String, Paint, Paint, SymbolContainer, Position, int) - Method in interface org.mapsforge.core.graphics.GraphicFactory
 
createResourceBitmap(InputStream, int) - Method in interface org.mapsforge.core.graphics.GraphicFactory
 
createTileBitmap(InputStream, int, boolean) - Method in interface org.mapsforge.core.graphics.GraphicFactory
 
createTileBitmap(int, boolean) - Method in interface org.mapsforge.core.graphics.GraphicFactory
 

D

decrementRefCount() - Method in interface org.mapsforge.core.graphics.Bitmap
 
degreesToMicrodegrees(double) - Static method in class org.mapsforge.core.util.LatLongUtils
Converts a coordinate from degrees to microdegrees (degrees * 10^6).
destinationPoint(double, float) - Method in class org.mapsforge.core.model.LatLong
Returns the destination point from this point having travelled the given distance on the given initial bearing (bearing normally varies around path followed).
destinationPoint(LatLong, double, float) - Static method in class org.mapsforge.core.util.LatLongUtils
Returns the destination point from this point having travelled the given distance on the given initial bearing (bearing normally varies around path followed).
destroy() - Method in interface org.mapsforge.core.graphics.Canvas
 
Dimension - Class in org.mapsforge.core.model
 
Dimension(int, int) - Constructor for class org.mapsforge.core.model.Dimension
 
Display - Enum in org.mapsforge.core.graphics
The enum Display governs whether map elements should be displayed.
display - Variable in class org.mapsforge.core.mapelements.MapElementContainer
 
distance(LatLong) - Method in class org.mapsforge.core.model.LatLong
Calculate the Euclidean distance from this LatLong to another.
distance(Point) - Method in class org.mapsforge.core.model.Point
 
distance(LatLong, LatLong) - Static method in class org.mapsforge.core.util.LatLongUtils
Calculate the Euclidean distance between two LatLongs in degrees using the Pythagorean theorem.
distanceSegmentPoint(double, double, double, double, double, double) - Static method in class org.mapsforge.core.util.LatLongUtils
Returns the distance between the given segment and point.
draw(Canvas, Point, Matrix, Filter) - Method in class org.mapsforge.core.mapelements.MapElementContainer
Drawing method: element will draw itself on canvas shifted by origin point of canvas and using the matrix if rotation is required.
draw(Canvas, Point, Matrix, Filter) - Method in class org.mapsforge.core.mapelements.SymbolContainer
 
draw(Canvas, Point, Matrix, Filter) - Method in class org.mapsforge.core.mapelements.WayTextContainer
 
drawBitmap(Bitmap, int, int) - Method in interface org.mapsforge.core.graphics.GraphicContext
 
drawBitmap(Bitmap, int, int, Filter) - Method in interface org.mapsforge.core.graphics.GraphicContext
 
drawBitmap(Bitmap, Matrix) - Method in interface org.mapsforge.core.graphics.GraphicContext
 
drawBitmap(Bitmap, Matrix, Filter) - Method in interface org.mapsforge.core.graphics.GraphicContext
 
drawCircle(int, int, int, Paint) - Method in interface org.mapsforge.core.graphics.GraphicContext
 
drawLine(int, int, int, int, Paint) - Method in interface org.mapsforge.core.graphics.GraphicContext
 
drawPath(Path, Paint) - Method in interface org.mapsforge.core.graphics.GraphicContext
 
drawText(String, int, int, Paint) - Method in interface org.mapsforge.core.graphics.GraphicContext
 
drawTextRotated(String, int, int, int, int, Paint) - Method in interface org.mapsforge.core.graphics.GraphicContext
 

E

EARTH_CIRCUMFERENCE - Static variable in class org.mapsforge.core.util.MercatorProjection
The circumference of the earth at the equator in meters.
end - Variable in class org.mapsforge.core.model.LineSegment
 
enlarge(double, double, double, double) - Method in class org.mapsforge.core.model.Rectangle
Enlarges the Rectangle sides individually
envelope(double) - Method in class org.mapsforge.core.model.Rectangle
 
equals(Object) - Method in class org.mapsforge.core.mapelements.MapElementContainer
 
equals(Object) - Method in class org.mapsforge.core.mapelements.PointTextContainer
 
equals(Object) - Method in class org.mapsforge.core.mapelements.SymbolContainer
 
equals(Object) - Method in class org.mapsforge.core.model.BoundingBox
 
equals(Object) - Method in class org.mapsforge.core.model.Dimension
 
equals(Object) - Method in class org.mapsforge.core.model.LatLong
 
equals(Object) - Method in class org.mapsforge.core.model.LineSegment
 
equals(Object) - Method in class org.mapsforge.core.model.MapPosition
 
equals(Object) - Method in class org.mapsforge.core.model.Point
 
equals(Object) - Method in class org.mapsforge.core.model.Rectangle
 
equals(Object) - Method in class org.mapsforge.core.model.Tag
 
equals(Object) - Method in class org.mapsforge.core.model.Tile
 
equals(Object, Object) - Static method in class org.mapsforge.core.util.Utils
Null safe equals.
EQUATORIAL_RADIUS - Static variable in class org.mapsforge.core.util.LatLongUtils
The equatorial radius as defined by the WGS84 ellipsoid.
extendBoundingBox(BoundingBox) - Method in class org.mapsforge.core.model.BoundingBox
 
extendCoordinates(double, double) - Method in class org.mapsforge.core.model.BoundingBox
Creates a BoundingBox extended up to coordinates (but does not cross date line/poles).
extendCoordinates(LatLong) - Method in class org.mapsforge.core.model.BoundingBox
Creates a BoundingBox extended up to LatLong (but does not cross date line/poles).
extendDegrees(double, double) - Method in class org.mapsforge.core.model.BoundingBox
Creates a BoundingBox that is a fixed degree amount larger on all sides (but does not cross date line/poles).
extendMargin(float) - Method in class org.mapsforge.core.model.BoundingBox
Creates a BoundingBox that is a fixed margin factor larger on all sides (but does not cross date line/poles).
extendMeters(int) - Method in class org.mapsforge.core.model.BoundingBox
Creates a BoundingBox that is a fixed meter amount larger on all sides (but does not cross date line/poles).

F

fillColor(Color) - Method in interface org.mapsforge.core.graphics.GraphicContext
 
fillColor(int) - Method in interface org.mapsforge.core.graphics.GraphicContext
 
FillRule - Enum in org.mapsforge.core.graphics
 
Filter - Enum in org.mapsforge.core.graphics
 
filterColor(int, Filter) - Static method in class org.mapsforge.core.graphics.GraphicUtils
Color filtering.
FontFamily - Enum in org.mapsforge.core.graphics
 
FontStyle - Enum in org.mapsforge.core.graphics
 
FRAME_BUFFER_HA2 - Static variable in class org.mapsforge.core.util.Parameters
If true the FrameBufferHA2 will be used instead of default FrameBufferHA.
fromMicroDegrees(int, int) - Static method in class org.mapsforge.core.model.LatLong
Constructs a new LatLong with the given latitude and longitude values, measured in microdegrees.
fromPixels(double, double, long) - Static method in class org.mapsforge.core.util.MercatorProjection
Get LatLong from Pixels.
fromPixelsWithScaleFactor(double, double, double, int) - Static method in class org.mapsforge.core.util.MercatorProjection
Get LatLong from Pixels.
fromString(String) - Method in enum org.mapsforge.core.graphics.Align
 
fromString(String) - Static method in enum org.mapsforge.core.graphics.Cap
 
fromString(String) - Static method in enum org.mapsforge.core.graphics.Display
 
fromString(String) - Static method in enum org.mapsforge.core.graphics.FontFamily
 
fromString(String) - Static method in enum org.mapsforge.core.graphics.FontStyle
 
fromString(String) - Static method in enum org.mapsforge.core.graphics.Join
 
fromString(String) - Static method in enum org.mapsforge.core.graphics.Position
 
fromString(String) - Static method in class org.mapsforge.core.model.BoundingBox
Creates a new BoundingBox from a comma-separated string of coordinates in the order minLat, minLon, maxLat, maxLon.
fromString(String) - Static method in class org.mapsforge.core.model.LatLong
Constructs a new LatLong from a comma-separated String containing latitude and longitude values (also ';', ':' and whitespace work as separator).
fromString(String) - Static method in class org.mapsforge.core.util.LatLongUtils
Creates a new LatLong from a comma-separated string of coordinates in the order latitude, longitude.

G

getAbove() - Method in class org.mapsforge.core.model.Tile
Returns the tile above this tile.
getAboveLeft() - Method in class org.mapsforge.core.model.Tile
Returns the tile above left
getAboveRight() - Method in class org.mapsforge.core.model.Tile
Returns the tile above right
getAlpha(int) - Static method in class org.mapsforge.core.graphics.GraphicUtils
 
getAreaRect() - Method in interface org.mapsforge.core.graphics.HillshadingBitmap
Return geo bounds of the area within the padding.
getBelow() - Method in class org.mapsforge.core.model.Tile
Returns the tile below this tile.
getBelowLeft() - Method in class org.mapsforge.core.model.Tile
Returns the tile below left
getBelowRight() - Method in class org.mapsforge.core.model.Tile
Returns the tile below right
getBoundaryAbsolute() - Method in class org.mapsforge.core.mapelements.MapElementContainer
Gets the pixel absolute boundary for this element.
getBoundaryAbsolute(Tile, Tile) - Static method in class org.mapsforge.core.model.Tile
Extend of the area defined by the two tiles in absolute coordinates.
getBoundaryAbsolute() - Method in class org.mapsforge.core.model.Tile
Extend of this tile in absolute coordinates.
getBoundaryRelative() - Method in class org.mapsforge.core.model.Tile
Extend of this tile in relative (tile) coordinates.
getBoundingBox(Tile, Tile) - Static method in class org.mapsforge.core.model.Tile
Return the BoundingBox of a rectangle of tiles defined by upper left and lower right tile.
getBoundingBox() - Method in class org.mapsforge.core.model.Tile
Gets the geographic extend of this Tile as a BoundingBox.
getCenter() - Method in class org.mapsforge.core.model.Dimension
Gets the center point of the dimension.
getCenter() - Method in class org.mapsforge.core.model.Rectangle
 
getCenterPoint() - Method in class org.mapsforge.core.model.BoundingBox
 
getCenterX() - Method in class org.mapsforge.core.model.Rectangle
 
getCenterY() - Method in class org.mapsforge.core.model.Rectangle
 
getColor() - Method in interface org.mapsforge.core.graphics.Paint
 
getDimension() - Method in interface org.mapsforge.core.graphics.Canvas
 
getHeight() - Method in interface org.mapsforge.core.graphics.Bitmap
 
getHeight() - Method in interface org.mapsforge.core.graphics.Canvas
 
getHeight() - Method in class org.mapsforge.core.model.Rectangle
 
getLatitude() - Method in class org.mapsforge.core.model.LatLong
Returns the latitude value of this coordinate.
getLatitudeE6() - Method in class org.mapsforge.core.model.LatLong
Returns the latitude value in microdegrees of this coordinate.
getLatitudeSpan() - Method in class org.mapsforge.core.model.BoundingBox
 
getLeft() - Method in class org.mapsforge.core.model.Tile
Returns the tile to the left of this tile.
getLongitude() - Method in class org.mapsforge.core.model.LatLong
Returns the longitude value of this coordinate.
getLongitudeE6() - Method in class org.mapsforge.core.model.LatLong
Returns the longitude value in microdegrees of this coordinate.
getLongitudeSpan() - Method in class org.mapsforge.core.model.BoundingBox
 
getMapSize(byte, int) - Static method in class org.mapsforge.core.util.MercatorProjection
 
getMapSizeWithScaleFactor(double, int) - Static method in class org.mapsforge.core.util.MercatorProjection
 
getMaxTileNumber(byte) - Static method in class org.mapsforge.core.model.Tile
 
getNeighbours() - Method in class org.mapsforge.core.model.Tile
Returns a set of the eight neighbours of this tile.
getOrigin() - Method in class org.mapsforge.core.model.Tile
Returns the top-left point of this tile in absolute coordinates.
getPadding() - Method in interface org.mapsforge.core.graphics.HillshadingBitmap
Optional padding (lies outside of areaRect).
getParent() - Method in class org.mapsforge.core.model.Tile
 
getPixel(LatLong, long) - Static method in class org.mapsforge.core.util.MercatorProjection
 
getPixelAbsolute(LatLong, long) - Static method in class org.mapsforge.core.util.MercatorProjection
Calculates the absolute pixel position for a map size and tile size
getPixelRelative(LatLong, long, double, double) - Static method in class org.mapsforge.core.util.MercatorProjection
Calculates the absolute pixel position for a map size and tile size relative to origin
getPixelRelative(LatLong, long, Point) - Static method in class org.mapsforge.core.util.MercatorProjection
Calculates the absolute pixel position for a map size and tile size relative to origin
getPixelRelativeToTile(LatLong, Tile) - Static method in class org.mapsforge.core.util.MercatorProjection
Calculates the absolute pixel position for a tile and tile size relative to origin
getPixelWithScaleFactor(LatLong, double, int) - Static method in class org.mapsforge.core.util.MercatorProjection
 
getPoint() - Method in class org.mapsforge.core.mapelements.MapElementContainer
Gets the center point of this element.
getPositionRelativeToTile(Tile) - Method in class org.mapsforge.core.model.BoundingBox
Computes the coordinates of this bounding box relative to a tile.
getPriority() - Method in class org.mapsforge.core.mapelements.MapElementContainer
 
getRight() - Method in class org.mapsforge.core.model.Tile
Returns the tile to the right of this tile.
getShiftX(Tile) - Method in class org.mapsforge.core.model.Tile
 
getShiftY(Tile) - Method in class org.mapsforge.core.model.Tile
 
getStrokeWidth() - Method in interface org.mapsforge.core.graphics.Paint
 
getTextHeight(String) - Method in interface org.mapsforge.core.graphics.Paint
 
getTextWidth(String) - Method in interface org.mapsforge.core.graphics.Paint
 
getTimestamp() - Method in interface org.mapsforge.core.graphics.TileBitmap
Returns the timestamp of the tile in milliseconds since January 1, 1970 GMT or 0 if this timestamp is unknown.
getWidth() - Method in interface org.mapsforge.core.graphics.Bitmap
 
getWidth() - Method in interface org.mapsforge.core.graphics.Canvas
 
getWidth() - Method in class org.mapsforge.core.model.Rectangle
 
GraphicContext - Interface in org.mapsforge.core.graphics
 
GraphicFactory - Interface in org.mapsforge.core.graphics
 
GraphicUtils - Class in org.mapsforge.core.graphics
Utility class for graphics operations.

H

hashCode() - Method in class org.mapsforge.core.mapelements.MapElementContainer
 
hashCode() - Method in class org.mapsforge.core.mapelements.PointTextContainer
 
hashCode() - Method in class org.mapsforge.core.mapelements.SymbolContainer
 
hashCode() - Method in class org.mapsforge.core.model.BoundingBox
 
hashCode() - Method in class org.mapsforge.core.model.Dimension
 
hashCode() - Method in class org.mapsforge.core.model.LatLong
 
hashCode() - Method in class org.mapsforge.core.model.LineSegment
 
hashCode() - Method in class org.mapsforge.core.model.MapPosition
 
hashCode() - Method in class org.mapsforge.core.model.Point
 
hashCode() - Method in class org.mapsforge.core.model.Rectangle
 
hashCode() - Method in class org.mapsforge.core.model.Tag
 
hashCode() - Method in class org.mapsforge.core.model.Tile
 
height - Variable in class org.mapsforge.core.model.Dimension
 
HillshadingBitmap - Interface in org.mapsforge.core.graphics
 
HillshadingBitmap.Border - Enum in org.mapsforge.core.graphics
 

I

incrementRefCount() - Method in interface org.mapsforge.core.graphics.Bitmap
 
intersects(Rectangle) - Method in class org.mapsforge.core.mapelements.MapElementContainer
 
intersects(BoundingBox) - Method in class org.mapsforge.core.model.BoundingBox
 
intersects(Rectangle) - Method in class org.mapsforge.core.model.Rectangle
 
intersectsArea(LatLong[][]) - Method in class org.mapsforge.core.model.BoundingBox
Returns if an area built from the latLongs intersects with a bias towards returning true.
intersectsCircle(double, double, double) - Method in class org.mapsforge.core.model.Rectangle
 
intersectsRectangle(Rectangle, boolean) - Method in class org.mapsforge.core.model.LineSegment
Returns a fast computation if the line intersects the rectangle or bias if there is no fast way to compute the intersection.
INVERSE_FLATTENING - Static variable in class org.mapsforge.core.util.LatLongUtils
The flattening factor of the earth's ellipsoid is required for distance computation.
IOUtils - Class in org.mapsforge.core.util
A utility class with IO-specific helper methods.
isClosedWay(LatLong[]) - Static method in class org.mapsforge.core.util.LatLongUtils
Find if this way is closed.
isDestroyed() - Method in interface org.mapsforge.core.graphics.Bitmap
 
isEmpty() - Method in interface org.mapsforge.core.graphics.Path
 
isExpired() - Method in interface org.mapsforge.core.graphics.TileBitmap
Whether the TileBitmap has expired.
isTransparent() - Method in interface org.mapsforge.core.graphics.Paint
 
isVisible - Variable in class org.mapsforge.core.mapelements.PointTextContainer
 

J

Join - Enum in org.mapsforge.core.graphics
Specifies the shape to be used for the endpoints of a line.

K

key - Variable in class org.mapsforge.core.model.Tag
The key of this tag.
KEY_VALUE_SEPARATOR - Static variable in class org.mapsforge.core.model.Tag
 

L

latitude - Variable in class org.mapsforge.core.model.LatLong
The internal latitude value.
LATITUDE_MAX - Static variable in class org.mapsforge.core.util.LatLongUtils
Maximum possible latitude coordinate.
LATITUDE_MAX - Static variable in class org.mapsforge.core.util.MercatorProjection
Maximum possible latitude coordinate of the map.
LATITUDE_MIN - Static variable in class org.mapsforge.core.util.LatLongUtils
Minimum possible latitude coordinate.
LATITUDE_MIN - Static variable in class org.mapsforge.core.util.MercatorProjection
Minimum possible latitude coordinate of the map.
latitudeDistance(int) - Static method in class org.mapsforge.core.util.LatLongUtils
Calculates the amount of degrees of latitude for a given distance in meters.
latitudeToPixelY(double, byte, int) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a latitude coordinate (in degrees) to a pixel Y coordinate at a certain zoom level.
latitudeToPixelY(double, long) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a latitude coordinate (in degrees) to a pixel Y coordinate at a certain map size.
latitudeToPixelYWithScaleFactor(double, double, int) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a latitude coordinate (in degrees) to a pixel Y coordinate at a certain scale.
latitudeToTileY(double, byte) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a latitude coordinate (in degrees) to a tile Y number at a certain zoom level.
latitudeToTileYWithScaleFactor(double, double) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a latitude coordinate (in degrees) to a tile Y number at a certain scale.
LatLong - Class in org.mapsforge.core.model
This immutable class represents a geographic coordinate with a latitude and longitude value.
LatLong(double, double) - Constructor for class org.mapsforge.core.model.LatLong
Constructs a new LatLong with the given latitude and longitude values, measured in degrees.
LatLong(String) - Constructor for class org.mapsforge.core.model.LatLong
Constructs a new LatLong from a Well-Known-Text (WKT) representation of a point.
latLong - Variable in class org.mapsforge.core.model.MapPosition
The geographical coordinates of the map center.
LatLongUtils - Class in org.mapsforge.core.util
A utility class to convert, parse and validate geographical latitude/longitude coordinates.
left - Variable in class org.mapsforge.core.model.Rectangle
 
length() - Method in class org.mapsforge.core.model.LineSegment
Euclidian distance between start and end.
LineSegment - Class in org.mapsforge.core.model
A directed line segment between two Points.
LineSegment(Point, Point) - Constructor for class org.mapsforge.core.model.LineSegment
Ctor with given start and end point
LineSegment(Point, Point, double) - Constructor for class org.mapsforge.core.model.LineSegment
Ctor with given start point, a point that defines the direction of the line and a length
lineTo(float, float) - Method in interface org.mapsforge.core.graphics.Path
 
longitude - Variable in class org.mapsforge.core.model.LatLong
The internal longitude value.
LONGITUDE_MAX - Static variable in class org.mapsforge.core.util.LatLongUtils
Maximum possible longitude coordinate.
LONGITUDE_MIN - Static variable in class org.mapsforge.core.util.LatLongUtils
Minimum possible longitude coordinate.
longitudeDistance(int, double) - Static method in class org.mapsforge.core.util.LatLongUtils
Calculates the amount of degrees of longitude for a given distance in meters.
longitudeToPixelX(double, byte, int) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a longitude coordinate (in degrees) to a pixel X coordinate at a certain zoom level.
longitudeToPixelX(double, long) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a longitude coordinate (in degrees) to a pixel X coordinate at a certain map size.
longitudeToPixelXWithScaleFactor(double, double, int) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a longitude coordinate (in degrees) to a pixel X coordinate at a certain scale factor.
longitudeToTileX(double, byte) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a longitude coordinate (in degrees) to the tile X number at a certain zoom level.
longitudeToTileXWithScaleFactor(double, double) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a longitude coordinate (in degrees) to the tile X number at a certain scale factor.
LRUCache<K,V> - Class in org.mapsforge.core.util
An LRUCache with a fixed size and an access-order policy.
LRUCache(int) - Constructor for class org.mapsforge.core.util.LRUCache
 

M

MapElementContainer - Class in org.mapsforge.core.mapelements
The MapElementContainer is the abstract base class for annotations that can be placed on the map, e.g.
MapElementContainer(Point, Display, int) - Constructor for class org.mapsforge.core.mapelements.MapElementContainer
 
MapPosition - Class in org.mapsforge.core.model
A MapPosition represents an immutable pair of LatLong and zoom level.
MapPosition(LatLong, byte) - Constructor for class org.mapsforge.core.model.MapPosition
 
mapSize - Variable in class org.mapsforge.core.model.Tile
the map size implied by zoom level and tileSize, to avoid multiple computations.
Matrix - Interface in org.mapsforge.core.graphics
 
MAXIMUM_BUFFER_SIZE - Static variable in class org.mapsforge.core.util.Parameters
Maximum buffer size for map files.
maxLatitude - Variable in class org.mapsforge.core.model.BoundingBox
The maximum latitude coordinate of this BoundingBox in degrees.
maxLongitude - Variable in class org.mapsforge.core.model.BoundingBox
The maximum longitude coordinate of this BoundingBox in degrees.
maxTextWidth - Variable in class org.mapsforge.core.mapelements.PointTextContainer
 
MercatorProjection - Class in org.mapsforge.core.util
An implementation of the spherical Mercator projection.
metersToPixels(float, double, long) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts meters to pixels at latitude for zoom-level.
metersToPixelsWithScaleFactor(float, double, double, int) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts meters to pixels at latitude for zoom-level.
microdegreesToDegrees(int) - Static method in class org.mapsforge.core.util.LatLongUtils
Converts a coordinate from microdegrees (degrees * 10^6) to degrees.
minLatitude - Variable in class org.mapsforge.core.model.BoundingBox
The minimum latitude coordinate of this BoundingBox in degrees.
minLongitude - Variable in class org.mapsforge.core.model.BoundingBox
The minimum longitude coordinate of this BoundingBox in degrees.
moveTo(float, float) - Method in interface org.mapsforge.core.graphics.Path
 

N

nearestSegmentPoint(double, double, double, double, double, double) - Static method in class org.mapsforge.core.util.LatLongUtils
Returns a point on the segment nearest to the specified point.
NUMBER_OF_THREADS - Static variable in class org.mapsforge.core.util.Parameters
The default number of threads is one greater than the number of processors, as one thread is likely to be blocked on I/O reading map data.

O

offset(double, double) - Method in class org.mapsforge.core.model.Point
 
org.mapsforge.core.graphics - package org.mapsforge.core.graphics
 
org.mapsforge.core.mapelements - package org.mapsforge.core.mapelements
 
org.mapsforge.core.model - package org.mapsforge.core.model
 
org.mapsforge.core.util - package org.mapsforge.core.util
 

P

Paint - Interface in org.mapsforge.core.graphics
 
paintBack - Variable in class org.mapsforge.core.mapelements.PointTextContainer
 
paintFront - Variable in class org.mapsforge.core.mapelements.PointTextContainer
 
Parameters - Class in org.mapsforge.core.util
 
parseCoordinateString(String, int) - Static method in class org.mapsforge.core.util.LatLongUtils
Parses a given number of comma-separated coordinate values from the supplied string.
Path - Interface in org.mapsforge.core.graphics
 
pixelXToLongitude(double, long) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a pixel X coordinate at a certain map size to a longitude coordinate.
pixelXToLongitudeWithScaleFactor(double, double, int) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a pixel X coordinate at a certain scale to a longitude coordinate.
pixelXToTileX(double, byte, int) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a pixel X coordinate to the tile X number.
pixelXToTileXWithScaleFactor(double, double, int) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a pixel X coordinate to the tile X number.
pixelYToLatitude(double, long) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a pixel Y coordinate at a certain map size to a latitude coordinate.
pixelYToLatitudeWithScaleFactor(double, double, int) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a pixel Y coordinate at a certain scale to a latitude coordinate.
pixelYToTileY(double, byte, int) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a pixel Y coordinate to the tile Y number.
pixelYToTileYWithScaleFactor(double, double, int) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a pixel Y coordinate to the tile Y number.
platformSpecificSources(String, String) - Method in interface org.mapsforge.core.graphics.GraphicFactory
 
Point - Class in org.mapsforge.core.model
A Point represents an immutable pair of double coordinates.
Point(double, double) - Constructor for class org.mapsforge.core.model.Point
 
pointAlongLineSegment(double) - Method in class org.mapsforge.core.model.LineSegment
Computes a Point along the line segment with a given distance to the start Point.
PointTextContainer - Class in org.mapsforge.core.mapelements
 
PointTextContainer(Point, Display, int, String, Paint, Paint, SymbolContainer, Position, int) - Constructor for class org.mapsforge.core.mapelements.PointTextContainer
Create a new point container, that holds the x-y coordinates of a point, a text variable, two paint objects, and a reference on a symbolContainer, if the text is connected with a POI.
POLAR_RADIUS - Static variable in class org.mapsforge.core.util.LatLongUtils
Polar radius of earth is required for distance computation.
Position - Enum in org.mapsforge.core.graphics
 
position - Variable in class org.mapsforge.core.mapelements.PointTextContainer
 
priority - Variable in class org.mapsforge.core.mapelements.MapElementContainer
 

R

Rectangle - Class in org.mapsforge.core.model
A Rectangle represents an immutable set of four double coordinates.
Rectangle(double, double, double, double) - Constructor for class org.mapsforge.core.model.Rectangle
 
removeEldestEntry(Map.Entry<K, V>) - Method in class org.mapsforge.core.util.LRUCache
 
renderSvg(InputStream, float, int, int, int, int) - Method in interface org.mapsforge.core.graphics.GraphicFactory
 
reset() - Method in interface org.mapsforge.core.graphics.Matrix
 
resetClip() - Method in interface org.mapsforge.core.graphics.GraphicContext
 
ResourceBitmap - Interface in org.mapsforge.core.graphics
 
reverse() - Method in class org.mapsforge.core.model.LineSegment
New line segment with start and end reversed.
right - Variable in class org.mapsforge.core.model.Rectangle
 
rotate(float) - Method in interface org.mapsforge.core.graphics.Matrix
 
rotate(float, float, float) - Method in interface org.mapsforge.core.graphics.Matrix
 

S

scale(float, float) - Method in interface org.mapsforge.core.graphics.Matrix
 
scale(float, float, float, float) - Method in interface org.mapsforge.core.graphics.Matrix
 
scaleFactorToZoomLevel(double) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a scaleFactor to a zoomLevel.
scaleTo(int, int) - Method in interface org.mapsforge.core.graphics.Bitmap
 
setBackgroundColor(int) - Method in interface org.mapsforge.core.graphics.Bitmap
 
setBitmap(Bitmap) - Method in interface org.mapsforge.core.graphics.Canvas
 
setBitmapShader(Bitmap) - Method in interface org.mapsforge.core.graphics.Paint
 
setBitmapShaderShift(Point) - Method in interface org.mapsforge.core.graphics.Paint
 
setClip(int, int, int, int) - Method in interface org.mapsforge.core.graphics.GraphicContext
 
setClipDifference(int, int, int, int) - Method in interface org.mapsforge.core.graphics.GraphicContext
 
setColor(Color) - Method in interface org.mapsforge.core.graphics.Paint
 
setColor(int) - Method in interface org.mapsforge.core.graphics.Paint
The default value is Color.BLACK.
setDashPathEffect(float[]) - Method in interface org.mapsforge.core.graphics.Paint
 
setExpiration(long) - Method in interface org.mapsforge.core.graphics.TileBitmap
Sets the timestamp when this tile will be expired in milliseconds since January 1, 1970 GMT or 0 if this timestamp is unknown.
setFillRule(FillRule) - Method in interface org.mapsforge.core.graphics.Path
 
setStrokeCap(Cap) - Method in interface org.mapsforge.core.graphics.Paint
The default value is Cap.ROUND.
setStrokeJoin(Join) - Method in interface org.mapsforge.core.graphics.Paint
 
setStrokeWidth(float) - Method in interface org.mapsforge.core.graphics.Paint
 
setStyle(Style) - Method in interface org.mapsforge.core.graphics.Paint
The default value is Style.FILL.
setTextAlign(Align) - Method in interface org.mapsforge.core.graphics.Paint
 
setTextSize(float) - Method in interface org.mapsforge.core.graphics.Paint
 
setTimestamp(long) - Method in interface org.mapsforge.core.graphics.TileBitmap
Sets the timestamp of the tile in milliseconds since January 1, 1970 GMT.
setTypeface(FontFamily, FontStyle) - Method in interface org.mapsforge.core.graphics.Paint
 
setWorkingSet(Set<K>) - Method in class org.mapsforge.core.util.WorkingSetCache
Sets the current working set, ensuring that elements in this working set will not be ejected in the near future.
shadeBitmap(Bitmap, Rectangle, Rectangle, float) - Method in interface org.mapsforge.core.graphics.GraphicContext
Shade whole map tile when tileRect is null (and bitmap, shadeRect are null).
shift(Point) - Method in class org.mapsforge.core.model.Rectangle
 
sphericalDistance(LatLong) - Method in class org.mapsforge.core.model.LatLong
Calculate the spherical distance from this LatLong to another.
sphericalDistance(LatLong, LatLong) - Static method in class org.mapsforge.core.util.LatLongUtils
Calculate the spherical distance between two LatLongs in meters using the Haversine formula.
SQUARE_FRAME_BUFFER - Static variable in class org.mapsforge.core.util.Parameters
If square frame buffer is enabled, the frame buffer allocated for drawing will be large enough for drawing in either orientation, so no change is needed when the device orientation changes.
start - Variable in class org.mapsforge.core.model.LineSegment
 
Style - Enum in org.mapsforge.core.graphics
 
subSegment(double, double) - Method in class org.mapsforge.core.model.LineSegment
LineSegment that starts at offset from start and runs for length towards end point
symbol - Variable in class org.mapsforge.core.mapelements.SymbolContainer
 
symbolContainer - Variable in class org.mapsforge.core.mapelements.PointTextContainer
 
SymbolContainer - Class in org.mapsforge.core.mapelements
 
SymbolContainer(Point, Display, int, Bitmap) - Constructor for class org.mapsforge.core.mapelements.SymbolContainer
 
SymbolContainer(Point, Display, int, Bitmap, float, boolean) - Constructor for class org.mapsforge.core.mapelements.SymbolContainer
 

T

Tag - Class in org.mapsforge.core.model
A tag represents an immutable key-value pair.
Tag(String) - Constructor for class org.mapsforge.core.model.Tag
 
Tag(String, String) - Constructor for class org.mapsforge.core.model.Tag
 
text - Variable in class org.mapsforge.core.mapelements.PointTextContainer
 
textHeight - Variable in class org.mapsforge.core.mapelements.PointTextContainer
 
textWidth - Variable in class org.mapsforge.core.mapelements.PointTextContainer
 
theta - Variable in class org.mapsforge.core.mapelements.SymbolContainer
 
Tile - Class in org.mapsforge.core.model
A tile represents a rectangular part of the world map.
Tile(int, int, byte, int) - Constructor for class org.mapsforge.core.model.Tile
 
tileAreasOverlap(Tile, Tile, Tile, Tile) - Static method in class org.mapsforge.core.model.Tile
Returns true if two tile areas, defined by upper left and lower right tiles, overlap.
TileBitmap - Interface in org.mapsforge.core.graphics
 
tileSize - Variable in class org.mapsforge.core.model.Tile
 
tileToPixel(long, int) - Static method in class org.mapsforge.core.util.MercatorProjection
 
tileX - Variable in class org.mapsforge.core.model.Tile
The X number of this tile.
tileXToLongitude(long, byte) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a tile X number at a certain zoom level to a longitude coordinate.
tileXToLongitudeWithScaleFactor(long, double) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a tile X number at a certain scale to a longitude coordinate.
tileY - Variable in class org.mapsforge.core.model.Tile
The Y number of this tile.
tileYToLatitude(long, byte) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a tile Y number at a certain zoom level to a latitude coordinate.
tileYToLatitudeWithScaleFactor(long, double) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a tile Y number at a certain scale to a latitude coordinate.
top - Variable in class org.mapsforge.core.model.Rectangle
 
toString() - Method in class org.mapsforge.core.mapelements.MapElementContainer
 
toString() - Method in class org.mapsforge.core.mapelements.PointTextContainer
 
toString() - Method in class org.mapsforge.core.mapelements.WayTextContainer
 
toString() - Method in class org.mapsforge.core.model.BoundingBox
 
toString() - Method in class org.mapsforge.core.model.Dimension
 
toString() - Method in class org.mapsforge.core.model.LatLong
 
toString() - Method in class org.mapsforge.core.model.LineSegment
 
toString() - Method in class org.mapsforge.core.model.MapPosition
 
toString() - Method in class org.mapsforge.core.model.Point
 
toString() - Method in class org.mapsforge.core.model.Rectangle
 
toString() - Method in class org.mapsforge.core.model.Tag
 
toString() - Method in class org.mapsforge.core.model.Tile
 
translate(float, float) - Method in interface org.mapsforge.core.graphics.Matrix
 

U

Utils - Class in org.mapsforge.core.util
 

V

validateLatitude(double) - Static method in class org.mapsforge.core.util.LatLongUtils
 
validateLongitude(double) - Static method in class org.mapsforge.core.util.LatLongUtils
 
value - Variable in class org.mapsforge.core.model.Tag
The value of this tag.
valueOf(String) - Static method in enum org.mapsforge.core.graphics.Align
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mapsforge.core.graphics.Cap
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mapsforge.core.graphics.Color
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mapsforge.core.graphics.Display
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mapsforge.core.graphics.FillRule
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mapsforge.core.graphics.Filter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mapsforge.core.graphics.FontFamily
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mapsforge.core.graphics.FontStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mapsforge.core.graphics.HillshadingBitmap.Border
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mapsforge.core.graphics.Join
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mapsforge.core.graphics.Position
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mapsforge.core.graphics.Style
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.mapsforge.core.graphics.Align
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mapsforge.core.graphics.Cap
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mapsforge.core.graphics.Color
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mapsforge.core.graphics.Display
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mapsforge.core.graphics.FillRule
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mapsforge.core.graphics.Filter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mapsforge.core.graphics.FontFamily
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mapsforge.core.graphics.FontStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mapsforge.core.graphics.HillshadingBitmap.Border
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mapsforge.core.graphics.Join
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mapsforge.core.graphics.Position
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mapsforge.core.graphics.Style
Returns an array containing the constants of this enum type, in the order they are declared.
vertical - Variable in enum org.mapsforge.core.graphics.HillshadingBitmap.Border
 
vincentyDistance(LatLong) - Method in class org.mapsforge.core.model.LatLong
Calculate the spherical distance from this LatLong to another.
vincentyDistance(LatLong, LatLong) - Static method in class org.mapsforge.core.util.LatLongUtils
Calculates geodetic distance between two LatLongs using Vincenty inverse formula for ellipsoids.

W

WayTextContainer - Class in org.mapsforge.core.mapelements
 
WayTextContainer(Point, Point, Display, int, String, Paint, Paint, double) - Constructor for class org.mapsforge.core.mapelements.WayTextContainer
 
width - Variable in class org.mapsforge.core.model.Dimension
 
WorkingSetCache<K,V> - Class in org.mapsforge.core.util
Cache that maintains a working set of elements in the cache, given to it by setWorkingSet(Set) in addition to other elements which are kept on a LRU basis.
WorkingSetCache(int) - Constructor for class org.mapsforge.core.util.WorkingSetCache
 

X

x - Variable in class org.mapsforge.core.model.Point
The x coordinate of this point.
xy - Variable in class org.mapsforge.core.mapelements.MapElementContainer
 

Y

y - Variable in class org.mapsforge.core.model.Point
The y coordinate of this point.

Z

zoomForBounds(Dimension, BoundingBox, int) - Static method in class org.mapsforge.core.util.LatLongUtils
Calculates the zoom level that allows to display the BoundingBox on a view with the Dimension and tile size.
zoomLevel - Variable in class org.mapsforge.core.model.MapPosition
The zoom level of the map.
zoomLevel - Variable in class org.mapsforge.core.model.Tile
The zoom level of this tile.
zoomLevelToScaleFactor(byte) - Static method in class org.mapsforge.core.util.MercatorProjection
Converts a zoom level to a scale factor.
A B C D E F G H I J K L M N O P R S T U V W X Y Z 
Skip navigation links