@mapgear/mapengine > Map > AddOverlay
Map.AddOverlay() method
Add the overlay to the map
Signature:AddOverlay(overlay: Overlay, position: [number, number]): void;
Parameters
Parameter | Type | Description |
---|---|---|
overlay | Overlay | The overlay to show on the map |
position | [number, number] | Position of the overlay |
void