Prototyping a lasso tool for selecting geographic points with an arbitrary polygon.
Using this point-in-polygon code to calculate which points are selected within the polygon. All calculations are done in the projected (pixel) space.
Built with blockbuilder.org
forked from enjalot's block: dots on a map: setup
forked from enjalot's block: dots on a map: lasso
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js
https://api.mapbox.com/mapbox.js/v2.2.3/mapbox.js