Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/metamediatechnology/longdo-map-demo-reactjs
A demonstration code of how to use Longdo Map in ReactJS
https://github.com/metamediatechnology/longdo-map-demo-reactjs
Last synced: about 1 month ago
JSON representation
A demonstration code of how to use Longdo Map in ReactJS
- Host: GitHub
- URL: https://github.com/metamediatechnology/longdo-map-demo-reactjs
- Owner: MetamediaTechnology
- Created: 2019-09-16T02:54:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-05T02:09:14.000Z (8 months ago)
- Last Synced: 2024-06-05T03:28:41.324Z (8 months ago)
- Language: JavaScript
- Size: 3.55 MB
- Stars: 0
- Watchers: 7
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Longdo Map Demo for ReactJS
Longdo Map Demo for ReactJS is a sample project of how to use Longdo Map Javascript API in a project using ReactJS.
## Steps
1. [Request API key for Longdo Map](https://map.longdo.com/api)
2. Replace obtained API key on a variable `mapKey` in `src/App.js`
3. Run `yarn install`
4. Run `yarn start`## LongdoMap Component Props
- `id`(required) -> HTML id of map container
- `mapKey`(required) -> Obtained API key from [https://map.longdo.com/api](https://map.longdo.com/api)
- `callback` -> Callback function after a map is initialized, use this for [map customiztion](https://api.longdo.com/map/doc/)## Bugs and feature requests
Have a bug or a feature request? Please feel free to contact us at [[email protected]]([email protected]).
## Longdo Map Javascript API Reference
- [Javascript API](https://api.longdo.com/map/doc/)