Package globus.glmap
package globus.glmap
Core map rendering APIs.
GLMap uses several coordinate spaces:
MapGeoPoint: geographic coordinates (WGS84 degrees).MapPoint: internal map coordinates used by the renderer (range[0, MapPoint.Max], origin at the top-left corner of the world).
Many API parameters that describe on-screen sizes (e.g. hit-test distances, paddings, radii)
are expressed in screen points (density-independent pixels, dp). The renderer exposes the
conversion scale via GLMapViewRenderer.screenScale (pixels per point).
Methods that work with raw display coordinates explicitly mention pixels in their
documentation (for example, GLMapViewRenderer.convertDisplayToInternal(double, double)).
-
ClassDescription
GLMapAnimationdefines animation of objects parameters that will be executed synchronously.Type of transitionDrawable that displays text in balloon.A rectangular bounding box in internal map coordinates.Storage implementation for document tree.The FileInfo class represents a file in the GLMapDocumentTreeStorage.GLMapDownloadTaskdownloads map and extracts it at the same timeGLMapDrawableis a bridge class that displays single object on map.Determines how to use scale and offset of drawableGLMapDrawObjectis a base class for GLMapDrawable, GLMapTrack, GLMapMarkerLayer, GLMapImageGroupGLMapErrorcontains information about the error and its origin.The GLMapFileStorage class provides an implementation of GLMapStorage that uses the file system for storage.The FileInfo class represents a file in the GLMapFileStorage.Detector of gestures for map viewDrawable with imageDisplays a large number of images using a small set of shared bitmaps.GLMapImageGroupCallbacktells the image group about its contents.GLMapInfois information object about an offline map.Resource associated with mapMask for data setsState of map resourceDrawable that displays a text label.Drawable that displays arrow on line.Sets language priority for localized map labels and unit preferences.Unit systemGLMapManageris a singleton object that manages offline mapsCallbacks for download taskCallback for elevation queryCallback for map list updateCalled to notify about GLMapManager initialization progress updatesCallbacks for map stateCallbacks for bulk tile operationGLMapMarkerImageholds information of image used by GLMapMarkerStyleCollectionDisplays markers with a given style and optional clustering.GLMapMarkerStyleCollectionholds collection of styles, used to draw marker layer.GLMapMarkerStyleCollectionDataCallbackis called for each marker or cluster to get display dataSets up a custom raster tile source.GLMapRelationis a bridge class, to work with GLMap internal representation of relation.Draws a scale ruler overlay on the map.Interface for storage of dataAbstract class representing a file in storage.Parses MapCSS style sources and produces aGLMapVectorCascadeStyle.Called when the style parser needs to load a resource (for example, an SVG icon).GLMapTagsContainerinterface for objects that contains tagsPossible alignments of the textHelper class to display map in texture viewBase interface for raster and vector tile sources.GLMapTrackis a bridge class, to work with GLMap internal representation of track on map.Holds track geometry and precomputed information used to optimize drawing at different zoom levels.Callback for filling track dataBridge class for working with GLMap's internal representation of track layers on the map.Callback called to fetch tracks to displayHolds a string value and optional highlight ranges.GLMapVectorCascadeStyledefines appearance ofGLMapVectorObject.Tint function for svg filesDrawable with vector objectsA bridge class for working with GLMap's internal representation of a vector object.Defines the types of vector objects.A bridge container for a native list ofGLMapVectorObjectinstances.Defines resolved style parameters for text/icons used by map drawables (for example,GLMapMarkerLayerandGLMapLabel).Represents a vector tile source that can be used to set layers in aGLMapView.GLMapViewis a custom SurfaceView that renders and presents vector mapRenderer of mapCallback that is called to automatically create animationPlacement of screen-bound objectsState of tileScreen capture callbackRaw screen capture callbackCreated by destman on 10/28/16.A geographic point in WGS84 latitude/longitude degrees.A point in GLMap's internal map coordinate system.A set ofMapPointinstances backed by a native spatial index.Network task that works via curl.Callbacks of taskImageManagerrenders images from svg format.Callbacks to transform SVG data