@datapunt/amsterdam-react-mapsdeprecated

A repo with components / utilities to be used in projects published by [Amsterdam](https://github.com/Amsterdam). It also contains an "example" directory where we put so-called "recipes" that developers at Amsterdam can basically copy/paste in their own p

Usage no npm install needed!

<script type="module">
  import datapuntAmsterdamReactMaps from 'https://cdn.skypack.dev/@datapunt/amsterdam-react-maps';
</script>

README

Amsterdam React Maps

A repo with components / utilities to be used in projects published by Amsterdam. It also contains an "example" directory where we put so-called "recipes" that developers at Amsterdam can basically copy/paste in their own projects

TypeScript Build Status code style: prettier style: styled-components

This is the link to the demo site with examples

Motivation

Currently we have a few applications that use leaflet with own developed components. The problem with this approach is that it's unable to share certain components / logic. Because we know we cannot create a one-size-fits-all leaflet application, we decided to create this repo that serves two responsibilities:

  1. Inspecting examples of implementations, so these can simply be copied to the user's project
  2. Providing compound-components / utilities / configurations for amsterdam-specific projects, so these can be maintained on one place: this repo.

Usage

  • With npm: npm install --save @datapunt/amsterdam-react-maps
  • With yarn: yarn add @datapunt/amsterdam-react-maps

Docs