From 88f108f551836399b8f79b434a24e63db8d43d21 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Sat, 21 Oct 2017 16:52:36 +0200 Subject: Remove legacy code and update README Closes #2 --- README.md | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index c06b373..52cd9c9 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ discourse-openstreetmap ======================= -Discourse plugin to support OSM via URL Oneboxing and iframe whitelisting - +> Discourse plugin to support OSM via URL Oneboxing ## Installation on top of Docker image @@ -24,9 +23,21 @@ Rebuild Discourse: `/var/discourse/launcher rebuild app` ### What URLs are oneboxed by this plugin? -`http://www.openstreetmap.org/?mlat=[Marker Latitude]&mlon=[Marker Longitude]#map=[Zoom Level]/[Latitude]/[Longitude]&layers=[Layer code]` + https://www.openstreetmap.org/?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 `