[OpenStreetMap] #4291: embed.html does not handle Transport and MaqQuest base layers
OpenStreetMap
trac at openstreetmap.org
Mon Mar 12 21:11:46 GMT 2012
#4291: embed.html does not handle Transport and MaqQuest base layers
----------------------+-----------------------------------------------------
Reporter: thirteen | Owner: rails-dev@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: website | Version:
Keywords: |
----------------------+-----------------------------------------------------
[http://www.openstreetmap.org/export/embed.html] [[BR]]
is lacking support for `layer=transportmap` and `layer=mapquest` arguments
in the embedded javascript function `init()`.
Suggested fix:
See the attached patch file. The added map layer code is taken from the
slippy map code.
Reproduction steps:[[BR]]
1. Goto [http://www.openstreetmap.org] [[BR]]
2. Open sidebar and choose either `Transport Map` or `MapQuest Open` as
base layer[[BR]]
3. Click on `Export` and select format `Embeddable HTML`[[BR]]
4. Paste the generated HTML in some website and open it[[BR]]
5. Result: The embedded map is empty[[BR]]
--
Ticket URL: <https://trac.openstreetmap.org/ticket/4291>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the rails-dev
mailing list