package 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.
The mapping was contributed by Roman Kamyk
Types
class BoundingBox | This class declares a bounding box of coordinates on the map. |
interface CameraChangeListener | Receives camera movement notifications from a MapSurface. |
class CameraPosition | An immutable description of the map camera: where it looks (getTarget), how far it is zoomed in (getZoom), the compass bearing in degrees (getBearing) and the tilt away from nadir (getTilt). |
class Circle | A geodesic circle drawn on a map, described by a center and a radius in meters. |
class Coord | This class declares a coordinate point on a map. |
class LatLng | An immutable WGS84 geographic coordinate (latitude/longitude in degrees). |
class MapBounds | An immutable axis-aligned latitude/longitude rectangle delimited by its south-west and north-east corners. |
class MapComponent | All communication with the map and layers should be done in WGS84, it takes care of coordinates transformation. |
interface MapListener | Invoked when the map is panned or zoomed |
class MapObject | Common base for objects placed on a map (Marker, Polyline, Polygon, Circle). |
interface MapSurface | The provider-agnostic map API shared by the pure-vector MapView and the native-peer NativeMap. |
interface MapTapListener | Receives tap and long-press notifications from a MapSurface. |
class MapView | A pure-vector map component: it renders entirely through the Codename One Graphics API (the built-in VectorMapEngine) and never embeds a native peer, so it composes cleanly with the rest of the UI – dialogs, lists and overlays draw over it without the clipping limitations of a native view. |
class Marker | A marker pinned to a geographic location on a map. |
class MarkerOptions | A fluent builder describing a Marker before it is added to a MapSurface. |
class Mercator | Represents a Mercator projection http://en.wikipedia.org/wiki/Mercator_projection |
class NativeMap | A native-rendered map. |
class Polygon | A filled, optionally stroked polygon drawn on a map. |
class Polyline | A connected sequence of line segments drawn on a map. |
class PolylineCodec | Reads and writes the encoded polyline format – the compact ASCII representation of a coordinate sequence that virtually every directions and routing service uses for route geometry (Google Directions, OSRM, Mapbox Directions, GraphHopper, Valhalla, OpenRouteService). |
class Projection | This class represents a projection type. |
class ProxyHttpTile | This Tile brings the tile image from a given http url. |
class Tile | This class represents a single tile on a map. |
class WebMapProvider | A cross-platform MapProvider that hosts a JavaScript map SDK (Google Maps JS, Azure Maps, …) inside a BrowserComponent. |