0.1.7 • Published 5 years ago
@cdltbisou/adversaries-lib v0.1.7
Adversaries Map
Map to display adversaries around a specific Decathlon store or address.
installation
To install, you can use npm or yarn
$ npm install adversaries-lib
$ yarn add adversaries-libusage exemple
all props are optional
import Adversaries from "adversaries-lib";
<Adversaries width="100%" height="100vh" mapStyle="terrain" />;acepted props
width is a string, accepts all values supported by CSS. Default is 100%
height is a string, accepts all values supported by CSS. Default is 100vh
mapStyle is a string, must be supported by Stamen Maps . Default is terrain.
for example terrain, toner, watercolor
release history
- 0.1.0
- first release
contribute & issues
- fork the project (
git@github.com:dktunited/map-for-adversaries.git) - create your feature branch (
git checkout -b feature/foo) - commit your changes (
git add / git commit -m "feat(<scope>): commit message") - push to the branch (
git push origin feature/foo) - create a new pull request
please report any issue here
roadmap
- add ability to select the source of adversaries (Google is used by default)
- allow to use a custom default location