@mapgear/geoapps > Map > AddOverlay
Map.AddOverlay() method
Add an overlay to the map at the specified position
Signature:AddOverlay(overlay: I.Overlay, position: [number, number]): void;
Parameters
Parameter | Type | Description |
---|---|---|
overlay | I.Overlay | The overlay object to add to the map |
position | [number, number] | Position to add the overlay in map coordinates |
void