emilymerwin/PropertyTax

Map not working in mobile (Android)

Closed this issue · 1 comments

Map shows up but is not colored or clickable on Android (have not tested iPhone)

Fixed with 3ca7e0b
Android doesn’t support element.classList at all, IE10 does but not
for SVG elements. jQuery does not support .addClass() for SVG
elements, but using the attribute method to set the class of the SVG
element works. This also means we don’t have to check that an element
in the data exists in the SVG, since it’s a jQuery object and won’t
return undefined.