Changeset 688fb7d in OpenWorkouts-current for ow/static/js/ow.js
- Timestamp:
- Feb 5, 2019, 6:48:44 PM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- ded7d95
- Parents:
- 3169fe4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/static/js/ow.js
r3169fe4 r688fb7d 91 91 shadowUrl: shadow, 92 92 }, 93 polyline_options: { 94 color: '#EE4056', 95 opacity: 0.75, 96 weight: 5, 97 lineCap: 'round' 98 }, 93 99 }); 94 100 … … 107 113 108 114 var render = function render() { 109 // create the map, add elevation, load gpx 115 // create the map, add elevation, load gpx (only if needed, as the 116 // elevation plugin already loads the gpx data) 110 117 create_map(latitude, longitude, zoom); 111 118 if (elevation) { 112 119 add_elevation_chart(); 113 120 } 114 // load_gpx(gpx_url); 121 else { 122 load_gpx(gpx_url); 123 } 115 124 }; 116 125
Note: See TracChangeset
for help on using the changeset viewer.