ADI-Labs / density

wireless density API
13 stars 26 forks source link

fixing bug where map breaks on first load #168

Closed evantarrh closed 9 years ago

evantarrh commented 9 years ago

The problem was that even though we were checking to make sure the SVG could be resolved to a variable, not all of the elements of the SVG had actually loaded yet. This adds another check before running the JS to make sure that the SVG is 100% loaded.

closes #160 for real this time.

jzf2101 commented 9 years ago

:+1: yay

raymondxu commented 9 years ago

:+1: after resolving my comments

evantarrh commented 9 years ago

thanks @RaymondXu! good calls