ignoreTapEvents property

Always* load/update/prune tiles on events

Ignores events where it is one of:

It is assumed (/guaranteed) that these events should not cause the map to move, and therefore, tile changes are not required.

Default transformer for TileLayer.

Implementation

static final ignoreTapEvents =
    TileUpdateTransformer.fromHandlers(handleData: (event, sink) {
  if (!wasTriggeredByTap(event)) sink.add(event);
});