Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unit tests for the point feature.
Fixed some issues with the pointFeature: - Setting the position on construction resulted in different behavior than setting it afterwards. - Setting the clustering on construction allowed non-default values, but during the setter would only allow defaults. - If set, the clustering could not be changed except by unsetting it and resetting it. - The maximum radius of any point is used when deciding where to search for points, but it was potentially not calculated until after it was used. Made some improvements: - The position function wraps the position in another function to handle clustering. If the position is not a function, then only one function call is made rather than two. - Removed the unused internal _boundingBox function from the pointFeature. - Added some comments about when you would want to use a different primitiveShape with the gl point feature.
- Loading branch information