Hi Max & James,
re:
> You need to set boolean parameter for getBoundingBox() function
> change this line to: bbox.pushPoint(input.item(i).getBoundingBox(false).center);
This is a bug where v4 has that marked as a required argument while v3 had it as optional with a default value of false. I've updated it so it will behave the same as v3 in the next beta.
- Michael
|