Place entry points playground

Draw the entrances of places for all of them, or only the hovered or clicked ones

View on GitHub
SDK 1.0.0

Searched places and a reverse-geocoded address draw their entrances the same way, because both carry them in properties.entryPoints.

  • The entryPoints option on PlacesModule decides which places get their entrances drawn and from which zoom. The module tracks hover and click for you.
  • updateConfig({ entryPoints }) swaps those criteria on the places already shown.
  • events.entryPoints hands a clicked entrance back as a point, with the place it belongs to attached.

Related examples