Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simon04/osm-gadget-leaflet

A map visualizing a spatial object within a Wikipedia article plus displaying other articles in the surrounding.
https://github.com/simon04/osm-gadget-leaflet

toolforge

Last synced: 3 days ago
JSON representation

A map visualizing a spatial object within a Wikipedia article plus displaying other articles in the surrounding.

Awesome Lists containing this project

README

        

# osm-gadget-leaflet

A map visualizing a spatial object within a Wikipedia article plus displaying other articles in the surrounding.

This implementation is based on [LeafletJS](https://leafletjs.com/) and might, eventually, replace the [current implementation](https://de.wikipedia.org/wiki/Wikipedia:WikiProjekt_Georeferenzierung/Anwendungen/OpenStreetMap/en) which is based on OpenLayers 2.

## Examples

- https://osm-gadget-leaflet.toolforge.org/#/?lang=wikidata&article=Q40
- https://osm-gadget-leaflet.toolforge.org/#/?lang=wikidata&article=Q40&article=Q183

## Building

1. Run `yarn` to obtain the libraries and build the project
2. Open `dist/index.html` in the browser and specify a query, e.g., `dist/index.html#/?lang=en&article=Q40`