For generating route path and estimated time
Project description
#COOLMAP ROUTE PATH ESTIMATION
Install
pip install cool-mapMapboxRoute
Instructions
from cool_mapMapboxRoute.route_mapbox import CoolmapRoutePath
obj = CoolmapRoutePath(<from_lat_log>,<to_lat_log>,<mapbox_api_key>)
#EXAMPLE:
obj = CoolmapRoutePath("34.01076,-117.44858","33.94559,-118.18381",<mapbox_api_key>)
#to get the path of route obj.get_mapbox_response()
#return estimated time of route obj.estimated_time_in_minute()
#return estimated distance of route obj.estimated_distance_in_mile
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cool_mapMapboxRoute-0.0.3.tar.gz.
File metadata
- Download URL: cool_mapMapboxRoute-0.0.3.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bd9f158da52420d52cb30a9c95a561a2027db8d30f9cf9cac43039c8d09d26e
|
|
| MD5 |
c89f736bbb8e9c83d048b5ba4fa230d2
|
|
| BLAKE2b-256 |
8d003e7c16339f7e1c0a7386b24b92f6d707389891a4bf75402056095b736d9b
|
File details
Details for the file cool_mapMapboxRoute-0.0.3-py3-none-any.whl.
File metadata
- Download URL: cool_mapMapboxRoute-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ccf1ddd4cc9485713d51e8fd80acd91b80adf04991c66f7dee8a335eb84f86c
|
|
| MD5 |
312ede6f6a54b232d36d98e09c70e555
|
|
| BLAKE2b-256 |
812be68c906933c8e1090d7e95ca2392e314674198c3faea86717a12013f1a2f
|