kaihendry / mrt

Sane SVG MRT map for Singapore public transit
http://mrt.dabase.com
16 stars 2 forks source link

Use different map source from Wikipedia #3

Closed kaihendry closed 8 years ago

kaihendry commented 9 years ago

https://commons.wikimedia.org/wiki/User:Aforl

Licensed under Creative Commons Attribution-Share Alike 3.0 Unported and best of all, you can actually select the text!

cheeaun commented 9 years ago

:scream: :+1:

kaihendry commented 8 years ago

I'm confused. When I open https://upload.wikimedia.org/wikipedia/commons/6/68/Singapore_MRT_and_LRT_System_Map.svg I can make text selections...

But once embedded in a Web page I can't. What the hell! :(

miccheng commented 8 years ago

Its an image when embedded.

On Sun, Sep 13, 2015 at 10:51 AM Kai Hendry notifications@github.com wrote:

I'm confused. When I open https://upload.wikimedia.org/wikipedia/commons/6/68/Singapore_MRT_and_LRT_System_Map.svg I can make text selections...

https://camo.githubusercontent.com/8479c882c39f7a73e109151c6087e5b235379ab7/687474703a2f2f732e6e6174616c69616e2e6f72672f323031352d30392d31332f313434323131323637305f3132343678313035382e706e67

But once embedded in a Web page I can't. What the hell! :(

— Reply to this email directly or view it on GitHub https://github.com/kaihendry/smrt/issues/3#issuecomment-139840648.

kaihendry commented 8 years ago

I understand that. So that means (I guess) that it can't be interacted with.

How does one work around that ?

jakearchibald commented 8 years ago

Include the SVG directly into the page (see the diagrams in https://jakearchibald.com/2015/anatomy-of-responsive-images/), or embed it as an iframe (see the flowchart in http://www.html5rocks.com/en/tutorials/forms/requestautocomplete/).