# Package com.codename1.maps

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

- Related Packages
  Package
  Description
  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.
  com.codename1.maps.spi
  The maps service-provider interface (SPI).
  com.codename1.maps.vector
  The pure-vector map rendering engine that backs `MapView`.
- Class
  Description
  BoundingBox
  This class declares a bounding box of coordinates on the map.
  CameraChangeListener
  Receives camera movement notifications from a `MapSurface`.
  CameraPosition
  An immutable description of the map camera: where it looks (`CameraPosition.getTarget()`), how far it is zoomed in (`CameraPosition.getZoom()`), the compass bearing in degrees (`CameraPosition.getBearing()`) and the tilt away from nadir (`CameraPosition.getTilt()`).
  Circle
  A geodesic circle drawn on a map, described by a center and a radius in meters.
  Coord
  This class declares a coordinate point on a map.
  LatLng
  An immutable WGS84 geographic coordinate (latitude/longitude in degrees).
  MapBounds
  An immutable axis-aligned latitude/longitude rectangle delimited by its south-west and north-east corners.
  MapComponent
  Deprecated.
  MapListener
  Invoked when the map is panned or zoomed
  MapObject
  Common base for objects placed on a map (`Marker`, `Polyline`, `Polygon`, `Circle`).
  MapSurface
  The provider-agnostic map API shared by the pure-vector `MapView` and the native-peer `NativeMap`.
  MapTapListener
  Receives tap and long-press notifications from a `MapSurface`.
  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.
  Marker
  A marker pinned to a geographic location on a map.
  MarkerOptions
  A fluent builder describing a `Marker` before it is added to a `MapSurface`.
  Mercator
  Represents a Mercator projection http://en.wikipedia.org/wiki/Mercator_projection
  NativeMap
  A native-rendered map.
  Polygon
  A filled, optionally stroked polygon drawn on a map.
  Polyline
  A connected sequence of line segments drawn on a map.
  Projection
  This class represents a projection type.
  ProxyHttpTile
  This Tile brings the tile image from a given http url.
  Tile
  This class represents a single tile on a map.
  WebMapProvider
  A cross-platform `MapProvider` that hosts a JavaScript map SDK (Google Maps JS, Azure Maps, ...) inside a `BrowserComponent`.