[openstreetmap/openstreetmap-website] Add microcosms to the website (#2390)

Tom Hughes notifications at github.com
Tue Oct 15 08:03:17 UTC 2019


tomhughes commented on this pull request.



> +    <%= form.text_field :location, id: :microcosm_location %>
+  </div>
+
+  <div class="field">
+    <%= form.label :lat %>
+    <%= form.text_field :lat, id: :microcosm_lat %> (decimal)
+  </div>
+
+  <div class="field">
+    <%= form.label :lon %>
+    <%= form.text_field :lon, id: :microcosm_lon %> (decimal)
+  </div>
+
+  <p>
+    To get a bounding box use Geofabrik's <a href="http://tools.geofabrik.de/calc/#type=geofabrik_standard&bbox=-120.848658,31.674368,-79.375023,49.413863&tab=1&proj=EPSG:4326&places=2">Tile Calculator</a> tool.
+  </p>

We already have leaflet-location filter installed - it is used for selecting the area to export.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2390#discussion_r334804068
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191015/5007f2f9/attachment-0001.html>


More information about the rails-dev mailing list