Skip to main content

PointsOfInterest

Points of Interest Content Layer

Param

Options

Extends

Methods

addTo()

addTo(map: Map): PointsOfInterest

Add the layer to a map.

Parameters

Parameter Type Description
map Map Map. The map.

Returns

PointsOfInterest

  • PointsOfInterest. this

Overrides

ContentBase.addTo


isVisible()

isVisible(): boolean

Returns true if the layer is enabled. Visibility of layer content may be affected by other factors, such as zoom level.

Returns

boolean

  • boolean. A boolean indicating the visibility of the layer.

Overrides

ContentBase.isVisible


remove()

remove(): PointsOfInterest

Remove the layer from a map.

Returns

PointsOfInterest

  • PointsOfInterest. this

Overrides

ContentBase.remove


setVisibility()

setVisibility(isVisible: boolean): PointsOfInterest

Set the visibility of the layer. Visibility of layer content may be affected by other factors, such as zoom level.

Parameters

Parameter Type Description
isVisible boolean boolean. A boolean indicating the visibility of the layer.

Returns

PointsOfInterest

  • PointsOfInterest. this

Overrides

ContentBase.setVisibility


toggleVisibility()

toggleVisibility(): PointsOfInterest

Toggle the visibility of the layer. Visibility of layer content may be affected by other factors, such as zoom level.

Returns

PointsOfInterest

  • PointsOfInterest. this

Overrides

ContentBase.toggleVisibility

Last updated August 23, 2024.