Functions
This section contains all the functions available in the MapMetrics GL API.
Core Functions
- addProtocol - Add a custom protocol for loading resources
- addSourceType - Add a custom source type
- clearPrewarmedResources - Clear prewarmed resources
- createTileMesh - Create a tile mesh for rendering
- getMaxParallelImageRequests - Get the maximum number of parallel image requests
- getRTLTextPluginStatus - Get the status of the RTL text plugin
- getVersion - Get the current version of MapMetrics GL
- getWorkerCount - Get the number of worker threads
- getWorkerUrl - Get the URL for worker scripts
- importScriptInWorkers - Import a script in worker threads
- prewarm - Prewarm resources for better performance
- removeProtocol - Remove a custom protocol
- setMaxParallelImageRequests - Set the maximum number of parallel image requests
- setRTLTextPlugin - Set the RTL text plugin
- setWorkerCount - Set the number of worker threads
- setWorkerUrl - Set the URL for worker scripts