Skip to main content

@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

ParameterTypeDescription
overlayI.OverlayThe overlay object to add to the map
position[number, number]Position to add the overlay in map coordinates
Returns:

void