You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now tracks image success and failure. It uses this info to generate cleaner
svg tiles (with out the palceholder rect and text). Cleaning is done when an image
is loaded, and after that, if the tile is loaded again, the extra svg is never generated.
These changes unfortunately do not work with internet explorer (see #215).
Also fixed firefox incompatibility (Fixes#198).
Also fixed the rendering of extra tiles (Fixes#201 and Fixes#196).
Now tracks image success and failure. It uses this info to generate cleaner
svg tiles (with out the palceholder rect and text). Cleaning is done when an image
is loaded, and after that, if the tile is loaded again, the extra svg is never generated.
These changes unfortunately do not work with internet explorer (see #215).
Also fixed firefox incompatibility (Fixes#198).
Also fixed the rendering of extra tiles (Fixes#201 and Fixes#196).
We rely on the
onload
event to clean up the SVG in thedistributionVisualisation.js
after an image has loaded.Other advantages include storing successful image downloads so that we do not have to render all the extra stuff needed by empty tiles.
The ultimate result, is that in IE only, when tile images sucessfully load:
Only viable solution is to do HEAD requests to see if files exist before setting the
xlink:href
attribute on theimage
element.See http://stackoverflow.com/questions/30713535/load-svgload-event-for-svgimageelement-in-internet-explorer for progress
The text was updated successfully, but these errors were encountered: