parse-my-map
v1.3.1
Published
Simplify your geographic data visualization with this easy-to-use RPM package. With just a single component integration, this package offers instant previews of GPX and Shape files. Designed for seamless incorporation into your projects, it eliminates the
Downloads
11
Readme
🌍 Parser MAP
This parser allows for the analysis of GPX, TXT (in CSV format), or XTML files, which are GPS trace file formats.
The parser returns a JavaScript object containing the file data displayed on a map.
🛠 Installation
To install the parser, run the following command:
npm install parse-my-map
or
yarn add parse-my-map
🚀 Usage
To use the parser, import it into your TypeScript code:
import 'parse-my-map'
And add the component:
<parse-my-map type="gpx" path="exemple.gpx" width="700" height="500"></parse-my-map>
🧪 Testing
The parser is accompanied by a set of unit tests. To run these tests, execute the following command:
npm run test
or
yarn run test
💼 Contributors
Quentin Drouet / Edgar Lecompte / Malaterre Romain ❤️
📜 License
MIT License - see the LICENSE file LICENSE for more details.