Classes
This section contains all the classes available in the MapMetrics GL API.
Core Classes
- Actor - Handles communication between the main thread and workers
- AJAXError - Represents AJAX request errors
- AlphaImage - Image data with alpha channel
- AttributionControl - Control for displaying attribution information
- BoxZoomHandler - Handles box zoom interactions
- CanonicalTileID - Represents a canonical tile identifier
- CanvasSource - Source for canvas-based data
- CircleStyleLayer - Style layer for circle geometries
- ClickZoomHandler - Handles click zoom interactions
- CooperativeGesturesHandler - Handles cooperative gesture interactions
- DEMData - Digital Elevation Model data
- Dispatcher - Event dispatcher for handling events
- DoubleClickZoomHandler - Handles double-click zoom interactions
- DragPanHandler - Handles drag pan interactions
- DragRotateHandler - Handles drag rotate interactions
- EdgeInsets - Represents edge insets for padding
- ErrorEvent - Represents error events
- Event - Base event class
- Evented - Base class for objects that can emit events
- FeatureIndex - Index for features in a tile
- FullscreenControl - Control for fullscreen functionality
- GeoJSONFeature - Represents a GeoJSON feature
- GeoJSONSource - Source for GeoJSON data
- GeolocateControl - Control for geolocation functionality
- GlobeControl - Control for globe view
- Hash - Handles URL hash management
- HeatmapStyleLayer - Style layer for heatmap visualization
- ImageAtlas - Atlas for managing images
- ImageManager - Manages image loading and caching
- ImageSource - Source for image data
- KeyboardHandler - Handles keyboard interactions
- Layout - Layout configuration for style layers
- LngLat - Represents longitude and latitude coordinates
- LngLatBounds - Represents longitude/latitude bounds
- LogoControl - Control for displaying logo
- Map - Main map class
- MapMouseEvent - Mouse event on the map
- MapTouchEvent - Touch event on the map
- MapWheelEvent - Wheel event on the map
- Marker - Represents a marker on the map
- MercatorCoordinate - Represents Mercator projection coordinates
- NavigationControl - Control for navigation (zoom, rotate, pitch)
- OverscaledTileID - Represents an overscaled tile identifier
- Popup - Represents a popup on the map
- RasterDEMTileSource - Source for raster DEM tiles
- RasterTileSource - Source for raster tiles
- RGBAImage - Image data with RGBA channels
- ScaleControl - Control for displaying scale
- ScrollZoomHandler - Handles scroll zoom interactions
- Style - Manages the map style
- StyleLayer - Base class for style layers
- SubdivisionGranularityExpression - Expression for subdivision granularity
- SubdivisionGranularitySetting - Setting for subdivision granularity
- TapDragZoomHandler - Handles tap-drag zoom interactions
- TapZoomHandler - Handles tap zoom interactions
- TerrainControl - Control for terrain functionality
- ThrottledInvoker - Throttles function invocations
- Tile - Represents a map tile
- TouchPanHandler - Handles touch pan interactions
- TwoFingersTouchHandler - Base handler for two-finger touch interactions
- TwoFingersTouchPitchHandler - Handles two-finger touch pitch interactions
- TwoFingersTouchRotateHandler - Handles two-finger touch rotate interactions
- TwoFingersTouchZoomHandler - Handles two-finger touch zoom interactions
- TwoFingersTouchZoomRotateHandler - Handles two-finger touch zoom and rotate interactions
- VectorTileSource - Source for vector tiles
- VideoSource - Source for video data
- WorkerPool - Pool of worker threads