hholzgra / maposmatic

Mirror of maposmatic repository at savannah.nongnu.org
GNU Affero General Public License v3.0
75 stars 13 forks source link

Replace Leavelet Omnivore plugin #84

Closed hholzgra closed 1 year ago

hholzgra commented 2 years ago

The Mapbox Leaflet Omnivor plugin is basically unmaintained, and cause of most (all?) github dependency warnings for the maposmatic repository.

It is used for rendering the GPX outline of city admin boundaries only anyway, and we can get rid of it by making the /apis/polygon call return GeoJSON instead of WKT, then render using leaflet geoJSON objects directly instead of having to use a plugin to display the data.

hholzgra commented 1 year ago

Actually already fixed by

https://github.com/hholzgra/maposmatic/commit/a9ecf7b0156d4cce83a8a559ac969b94ae3b1957