Type Aliases
This section contains all the type aliases available in the MapMetrics GL API.
Map Configuration
- MapOptions - Options for map configuration
- MapEventType - Types of map events
- MapDataEvent - Data events from the map
- MapContextEvent - Context events from the map
- MapLibreEvent - Base MapLibre event
- MapLibreZoomEvent - Zoom events from the map
- MapProjectionEvent - Projection events from the map
- MapSourceDataEvent - Source data events from the map
- MapSourceDataType - Types of source data events
- MapStyleDataEvent - Style data events from the map
- MapStyleImageMissingEvent - Style image missing events
- MapTerrainEvent - Terrain events from the map
Layer and Source Types
- MapLayerEventType - Types of layer events
- MapLayerMouseEvent - Mouse events on layers
- MapLayerTouchEvent - Touch events on layers
- MapGeoJSONFeature - GeoJSON features on the map
- SourceClass - Base class for sources
- GeoJSONSourceOptions - Options for GeoJSON sources
- GeoJSONSourceDiff - Differences in GeoJSON source data
- GeoJSONFeatureDiff - Differences in GeoJSON features
- GeoJSONFeatureId - Identifier for GeoJSON features
- GeoJSONWorkerOptions - Options for GeoJSON workers
- GeoJSONWorkerSourceLoadDataResult - Result of loading GeoJSON data
Controls and UI
- AttributionControlOptions - Options for attribution control
- FullscreenControlOptions - Options for fullscreen control
- GeolocateControlOptions - Options for geolocate control
- LogoControlOptions - Options for logo control
- MarkerOptions - Options for markers
- NavigationControlOptions - Options for navigation control
- PopupOptions - Options for popups
- ScaleControlOptions - Options for scale control
Camera and Navigation
- CameraOptions - Camera configuration options
- CameraForBoundsOptions - Options for camera bounds
- CameraUpdateTransformFunction - Function for updating camera transform
- JumpToOptions - Options for jumping to a location
- EaseToOptions - Options for easing to a location
- FlyToOptions - Options for flying to a location
- FitBoundsOptions - Options for fitting bounds
- AroundCenterOptions - Options for operations around center
Gestures and Interactions
- DragPanOptions - Options for drag pan interactions
- DragRotateHandlerOptions - Options for drag rotate handler
- GestureOptions - Options for gesture interactions
- HandlerResult - Result of handler operations
Coordinates and Geometry
- LngLatLike - Longitude/latitude like coordinates
- LngLatBoundsLike - Longitude/latitude bounds like coordinates
- PointLike - Point-like coordinates
- PointProjection - Point projection
- Coordinates - Coordinate types
- CenterZoomBearing - Center, zoom, and bearing configuration
Styling and Rendering
- StyleOptions - Style configuration options
- StyleSetterOptions - Options for setting styles
- StyleSwapOptions - Options for swapping styles
- StyleImage - Style image type
- StyleImageData - Style image data
- StyleImageMetadata - Style image metadata
- StyleGlyph - Style glyph type
- SpriteOnDemandStyleImage - Sprite on-demand style image
- UpdateImageOptions - Options for updating images
- UpdateLayersParameters - Parameters for updating layers
- TransformStyleFunction - Function for transforming styles
Workers and Tiles
- WorkerTileParameters - Parameters for worker tiles
- WorkerTileResult - Result of worker tile operations
- WorkerDEMTileParameters - Parameters for DEM worker tiles
- TileMesh - Tile mesh type
- TileParameters - Parameters for tiles
- TileState - State of tiles
- CreateTileMeshOptions - Options for creating tile meshes
Data and Resources
- RequestParameters - Parameters for requests
- RequestTransformFunction - Function for transforming requests
- RequestResponseMessageMap - Map of request/response messages
- GetGlyphsParameters - Parameters for getting glyphs
- GetGlyphsResponse - Response for getting glyphs
- GetImagesParameters - Parameters for getting images
- GetImagesResponse - Response for getting images
- GetResourceResponse - Response for getting resources
- GetClusterLeavesParams - Parameters for getting cluster leaves
- LoadGeoJSONParameters - Parameters for loading GeoJSON
Utilities and Helpers
- Listener - Event listener type
- MessageData - Message data type
- ExpiryData - Expiry data type
- FeatureIdentifier - Feature identifier type
- PluginState - Plugin state type
- RTLPluginStatus - RTL plugin status type
- Unit - Unit type
- Offset - Offset type
- OverlapMode - Overlap mode type
- PositionAnchor - Position anchor type
- Rect - Rectangle type
- RemoveSourceParams - Parameters for removing sources
- SetClusterOptions - Options for setting clusters
- Serialized - Serialized type
- SerializedObject - Serialized object type
- SerializedStructArray - Serialized struct array type
- SymbolQuad - Symbol quad type
- PaddingOptions - Padding options type
- PossiblyEvaluatedValue - Possibly evaluated value type
- GridKey - Grid key type
- IndicesType - Indices type
- GlyphPosition - Glyph position type
- GlyphPositions - Glyph positions type
- GlyphMetrics - Glyph metrics type
- CustomRenderMethod - Custom render method type
- DistributiveOmit - Distributive omit type
- RequireAtLeastOne - Require at least one type
- ProjectionData - Projection data type
- ProjectionDataParams - Projection data parameters type
- QueryRenderedFeaturesOptions - Options for querying rendered features
- QuerySourceFeatureOptions - Options for querying source features