We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57978e5 commit 0708698Copy full SHA for 0708698
gpx.js
@@ -295,7 +295,7 @@ L.GPX = L.FeatureGroup.extend({
295
});
296
} else if (typeof(value) === 'string') {
297
markers[key] = iconize(value);
298
- } else if (typeof(value) === 'object') {
+ } else if (typeof(value) === 'object' && value !== null) {
299
markers[key] = this._prepare_markers(value);
300
}
301
0 commit comments