@raruto/leaflet-elevation 1.7.2 → 1.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -3
- package/dist/leaflet-elevation.js +273 -233
- package/dist/leaflet-elevation.js.map +1 -1
- package/dist/leaflet-elevation.min.js +3 -1
- package/dist/leaflet-elevation.min.js.map +1 -1
- package/libs/leaflet-gpxgroup.js +48 -39
- package/libs/leaflet-gpxgroup.min.js +14 -13
- package/package.json +1 -1
- package/src/acceleration.js +1 -1
- package/src/altitude.js +6 -0
- package/src/chart.js +3 -24
- package/src/components.js +36 -24
- package/src/control.js +10 -6
- package/src/distance.js +5 -0
- package/src/index.js +12 -1
- package/src/marker.js +3 -20
- package/src/options.js +2 -0
- package/src/slope.js +1 -1
- package/src/speed.js +2 -2
- package/src/time.js +9 -4
- package/src/utils.js +37 -25
package/README.md
CHANGED
|
@@ -158,10 +158,13 @@ _For a working example see one of the following demos:_
|
|
|
158
158
|
// Toggle "leaflet-distance-markers" integration
|
|
159
159
|
distanceMarkers: false,
|
|
160
160
|
|
|
161
|
-
// Display track
|
|
161
|
+
// Display track datetimes: true || false
|
|
162
|
+
timestamps: false,
|
|
163
|
+
|
|
164
|
+
// Display track waypoints: true || "markers" || "dots" || false
|
|
162
165
|
waypoints: true,
|
|
163
166
|
|
|
164
|
-
//
|
|
167
|
+
// Toggle custom waypoint icons: true || { associative array of <sym> tags } || false
|
|
165
168
|
wptIcons: {
|
|
166
169
|
'': L.divIcon({
|
|
167
170
|
className: 'elevation-waypoint-marker',
|
|
@@ -171,8 +174,11 @@ _For a working example see one of the following demos:_
|
|
|
171
174
|
}),
|
|
172
175
|
},
|
|
173
176
|
|
|
177
|
+
// Toggle waypoint labels: true || "markers" || "dots" || false
|
|
178
|
+
wptLabels: true,
|
|
179
|
+
|
|
174
180
|
// Render chart profiles as Canvas or SVG Paths
|
|
175
|
-
preferCanvas: true
|
|
181
|
+
preferCanvas: true,
|
|
176
182
|
|
|
177
183
|
};
|
|
178
184
|
|