Skip to content

Install

Install Underpass UI

yarn add https://github.com/hotosm/underpass-ui.git

Import styles and the UnderpassMap module

import "@hotosm/underpass-ui/dist/index.css";
import { UnderpassMap } from "@hotosm/underpass-ui";

Example

<UnderpassMap
    center={[44.39016, -89.79617].reverse()}
    tags={"building=yes"}
    zoom={18}
/>