Skip to content

html overlay

Georgios Karnas edited this page Mar 21, 2019 · 1 revision

HtmlOverlay

Use this class if you have HTML items that need to be displayed at specific geo coordinates on the map. If you need clustering see HtmlClusterOverlay. You need to subclass this class. Then use it as a react component inside Nebula.

<Deck ...>
  <YourNewClass />
</Deck>

Properties

zIndex

Default is 1. Set to 0 to move items under deck.gl layer.

Methods to override

getItems()

Provide an array of HtmlOverlayItem.

Sidebar

Clone this wiki locally