Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cool_mapMapboxRoute-0.0.3.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

cool_mapMapboxRoute-0.0.3-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page