Commit 543256e
committed
Fix for #87: gpx files should be .gpx$
The osm_get_gps function generates a sql query which retrieves all files
containing "gpx".
Instead it should retrieves files with a filename ending with ".gpx".
Otherwise the map won't display anything because of a JS error
"TypeError: omnivore.png is not a function" (in the case of a png file).1 parent 0e8e374 commit 543256e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments