Strapi plugin for use Google Maps API services.
- Directions service https://developers.google.com/maps/documentation/directions/intro
- Directions to GPX using https://github.com/tyrasd/togpx ( just a first hand, needs improvement )
- Distance Matrix service https://developers.google.com/maps/documentation/distance-matrix/start
- /config/custom.json
"googleMapsClient": {
"key": "",
"mode": {
"DRIVING": "driving",
"WALKING": "walking",
"BICYCLING": "bicycling",
"TRANSIT": "transit"
},
"avoid": {
"TOLLS": "tolls",
"HIGHWAYS": "highways",
"FERRIES": "ferries",
"INDOOR": "indoor"
},
"traffic_model": {
"BEST_GUESS": "best_guess",
"PESSIMISTIC": "pessimistic",
"OPTIMISTIC": "optimistic"
},
"transit_mode": {
"BUS": "bus",
"SUBWAY": "subway",
"TRAIN": "train",
"TRAM": "tram",
"RAIL": "rail"
},
"transit_routing_preference": {
"LESS_WALKING": "less_walking",
"FEWER_TRANSFERS": "fewer_transfers"
},
"units": "metric",
"language": "pt-BR",
"region": "BR",
"alternatives": false,
"optimize": false
}
- node >=10.0.0
- npm >=6.0.0
## Author
👤 **Augustus Costa**
* Twitter: [@augustuscosta](https://twitter.com/augustuscosta)
* Github: [@augustuscosta](https://github.com/augustuscosta)
## 🤝 Contributing
Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/AugustusCosta/strapi-plugin-gmaps-api-services/issues).
## Show your support
Give a ⭐️ if this project helped you!