Removed routing client from isolines
This commit is contained in:
parent
dabd596271
commit
bc9dbdbb72
@ -37,9 +37,8 @@ class MapboxIsolines():
|
||||
Python wrapper for Mapbox services based isolines.
|
||||
'''
|
||||
|
||||
def __init__(self, matrix_client, routing_client):
|
||||
def __init__(self, matrix_client):
|
||||
self._matrix_client = matrix_client
|
||||
self._routing_client = routing_client
|
||||
|
||||
def _calculate_matrix_cost(self, origin, targets, isorange,
|
||||
profile=DEFAULT_PROFILE,
|
||||
|
@ -14,8 +14,7 @@ class MapboxIsolinesTestCase(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
matrix_client = MapboxMatrixClient()
|
||||
routing_client = MapboxRouting()
|
||||
self.mapbox_isolines = MapboxIsolines(matrix_client, routing_client)
|
||||
self.mapbox_isolines = MapboxIsolines(matrix_client)
|
||||
|
||||
def test_calculate_isochrone(self):
|
||||
time_range = 10 * 60 # 10 minutes
|
||||
|
Loading…
Reference in New Issue
Block a user