conveyal / otp.js

OTP Javascript Client & Data Bindings
MIT License
19 stars 20 forks source link

Component rewriting of Leaflet CSS breaks IE8 #4

Closed demory closed 10 years ago

demory commented 10 years ago

Routes are not rendering properly on the map in IE8 due to how the Leaflet CSS is being rewritten when packaged by Component. Specifically, this attribute (local/leaflet/leaflet.css, line 73):

.lvml {
    behavior: url(#default#VML);

..is being rewritten to this in the final build.css:

.lvml {
    behavior: url("/leaflet/#default#VML");

..which causes line/marker overlays to not display at all in IE8. We need to somehow tell Component not to apply this transformation here.

kpwebb commented 10 years ago

Now including leaflet as an external dependency which resolves this problem.