Closed streist closed 10 years ago
Do you have an example where it occurs ?
Wrong usage of for..in loop. i already contains the array element. Try
if (i.geometry.type === "Point")
No it contains the property name (in a array it's 1,2,3,4,5 ...) not the value of the property
oops. of course. stroke by big berta, I guess.
The for ...in loop triggers this error, when trying to get the tooltip :
Uncaught TypeError: Cannot read property 'type' of undefined