discourse-umap
=======================
> Discourse plugin to support OSM via UMAP URL Oneboxing
_This is inspired by discourse-openstreetmap, but it covers umap URIs._
## Installation on top of Docker image
Add to your `/var/discourse/containers/app.yml`:
```ruby
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- mkdir -p plugins
- git clone https://code.cepheide.org/discourse-umap.git
```
Rebuild Discourse: `/var/discourse/launcher rebuild app`
## FAQ
### What URLs are oneboxed by this plugin?
https://umap.openstreetmap.{fr,org}/{fr,en}/map/[map-name]?mlat=[Marker Latitude]&mlon=[Marker Longitude]#map=[Zoom Level]/[Latitude]/[Longitude]&layers=[Layer code]
will be onboxed as a mini-map:
> ![onebox-sample](https://user-images.githubusercontent.com/157609/31852642-79ace722-b67b-11e7-848f-41ba85fd80ef.png)
### Can I just copy&paste `