setInfoWindowAdapter

Deprecated

As of 7.0.0, use MapLibre Annotation Plugin instead

Sets a custom renderer for the contents of info window.

When set your callback is invoked when an info window is about to be shown. By returning a custom View, the default info window will be replaced.

Parameters

infoWindowAdapter

The callback to be invoked when an info window will be shown. To unset the callback, use null.