Open hfu opened 9 years ago
Try this one. Demo http://frogcat.github.io/cmp/ GitHub https://github.com/frogcat/cmp
@frogcat thank you! I am going to import your improvement!
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.
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.
:+1:
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
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 ;-) .
Need nicer HTML/JS to work with IE. This issue must first be more detailed.