Skip to main content

MapDataLayers

Draws the layers that are on, and a shown affected area, through the map adapter, and turns a tap on a point into an open card. Renders nothing; put it inside MapView. Every layer is drawn from its definition, so nothing here names one.

This is a function exported by @mapcairn/map, checked against version 0.2.0.

Signature​

import { MapDataLayers } from "@mapcairn/map";

function MapDataLayers(input: MapDataLayersProps): null;

Parameters​

  • { layers, onFeatureTap, ignoreTaps, formatters, }
  • input (MapDataLayersProps)

Returns​

null

See also​

Source: packages/map/src/layers/MapDataLayers.tsx:225