0.0.7 • Published 3 years ago

react-simple-mapy-cz v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

React Simple Mapy.cz

Unit tests Linter codecov

Mapy.cz for React, easy to lazy load

Getting started

Install

npm install --save react-simple-mapy-cz

or

yarn add react-simple-mapy-cz

Use it

import Map from 'react-simple-mapy-cz';

...

<Map style={{ width: 400, height: 400 }} center={{ lat: 50.0674706, lon: 14.4715394 }} />

Demo

Another examples

More examples are in examples dir and you can explore Storybook.

Mapy.cz docs

Mapy.cz Docs (in Czech)

For English developers: Mapy.cz documentation is only available in Czech.

Tips

Tailwind

If you are using Tailwind on your project, you need to add the following code to tailwind.css, otherwise the map backgrounds will not be visible

/* Mapy.cz */
.smap img {
  max-width: none;
}
0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago