gsi-cyberjapan / cmp

Compare orthophotos
gsi-cyberjapan.github.io/cmp/joso.html
Creative Commons Zero v1.0 Universal
4 stars 3 forks source link

Need rework for IE #2

Open hfu opened 9 years ago

hfu commented 9 years ago

Need nicer HTML/JS to work with IE. This issue must first be more detailed.

frogcat commented 9 years ago

Try this one. Demo http://frogcat.github.io/cmp/ GitHub https://github.com/frogcat/cmp

hfu commented 9 years ago

@frogcat thank you! I am going to import your improvement!

hfu commented 9 years ago

Tried to import the improvements from @frogcat, and the result is at http://gsi-cyberjapan.github.io/cmp/fkanuma.html. I still see some problem with IE.

Although I will keep the production site with the old version, I will continue to improve the new version.

frogcat commented 9 years ago

Update http://frogcat.github.io/cmp/ . This version depends on leaflet-tilelayer-mask. IE10 and later will work fine. Previous version uses two map instance which may cause some conflict with IE, I think.

hfu commented 9 years ago

:+1:

frogcat commented 9 years ago

My conclusion : http://frogcat.github.io/leaflet-tilelayer-clip/

・leaflet 0.7.3 plugin to clip tile layer ・No CSS clip ・No SVG ・Tested with IE9 (emulator) and later

hfu commented 9 years ago

Great! Meanwhile we have updated our contents to include vector tiles and introduced more generic index.html (e.g. via http://gsi-cyberjapan.github.io/cmp/joso.html ) which takes query parameters for tileset id and map center. leaflet-tilelayer-clip might be our next powerful choice for us to proceed to be compatible with IE.

Yes, we need to introduce the concept of graceful degradation for at least IE8 because we have introduced vector tiles ;-) .