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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

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

Hashes for cool_mapMapboxRoute-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2bd9f158da52420d52cb30a9c95a561a2027db8d30f9cf9cac43039c8d09d26e
MD5 c89f736bbb8e9c83d048b5ba4fa230d2
BLAKE2b-256 8d003e7c16339f7e1c0a7386b24b92f6d707389891a4bf75402056095b736d9b

See more details on using hashes here.

File details

Details for the file cool_mapMapboxRoute-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for cool_mapMapboxRoute-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5ccf1ddd4cc9485713d51e8fd80acd91b80adf04991c66f7dee8a335eb84f86c
MD5 312ede6f6a54b232d36d98e09c70e555
BLAKE2b-256 812be68c906933c8e1090d7e95ca2392e314674198c3faea86717a12013f1a2f

See more details on using hashes here.

Supported by

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