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 BoundingBoxThis class declares a bounding box of coordinates on the map.
interface CameraChangeListenerReceives camera movement notifications from a MapSurface.
class CameraPositionAn 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 CircleA geodesic circle drawn on a map, described by a center and a radius in meters.
class CoordThis class declares a coordinate point on a map.
class LatLngAn immutable WGS84 geographic coordinate (latitude/longitude in degrees).
class MapBoundsAn immutable axis-aligned latitude/longitude rectangle delimited by its south-west and north-east corners.
class MapComponentAll communication with the map and layers should be done in WGS84, it takes care of coordinates transformation.
interface MapListenerInvoked when the map is panned or zoomed
class MapObjectCommon base for objects placed on a map (Marker, Polyline, Polygon, Circle).
interface MapSurfaceThe provider-agnostic map API shared by the pure-vector MapView and the native-peer NativeMap.
interface MapTapListenerReceives tap and long-press notifications from a MapSurface.
class MapViewA 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 MarkerA marker pinned to a geographic location on a map.
class MarkerOptionsA fluent builder describing a Marker before it is added to a MapSurface.
class MercatorRepresents a Mercator projection http://en.wikipedia.org/wiki/Mercator_projection
class NativeMapA native-rendered map.
class PolygonA filled, optionally stroked polygon drawn on a map.
class PolylineA connected sequence of line segments drawn on a map.
class PolylineCodecReads 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 ProjectionThis class represents a projection type.
class ProxyHttpTileThis Tile brings the tile image from a given http url.
class TileThis class represents a single tile on a map.
class WebMapProviderA cross-platform MapProvider that hosts a JavaScript map SDK (Google Maps JS, Azure Maps, …) inside a BrowserComponent.