Skip to content

Commit

Permalink
folium viz
Browse files Browse the repository at this point in the history
  • Loading branch information
mxndrwgrdnr committed Aug 22, 2017
1 parent b6b3c27 commit 67150e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions validator/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1362,15 +1362,15 @@ def generate_route_map_2(pathToGeojsonOrFeatureCollection, zoomLevel=11):
folium.GeoJson(trueRouteCoords).add_to(m)
folium.GeoJson(gpsMatchShape).add_to(m)
for coords in resampledCoords['geometry']['coordinates']:
cm = folium.CircleMarker(
folium.CircleMarker(
location=coords[::-1], radius=3, weight=1, color='#0000ff',
fill_opacity=0.4, fill_color='#0000ff').add_to(m)
for coords in gpsRouteCoords['geometry']['coordinates']:
cm = folium.CircleMarker(
folium.CircleMarker(
location=coords[::-1], radius=3, weight=1, color='#ff0000',
fill_opacity=0.4, fill_color='#ff0000').add_to(m)
m.add_child(folium.GeoJson(displacementLines))
m
return m


def getLineFromPoints(point1, point2):
Expand Down

0 comments on commit 67150e4

Please sign in to comment.