3 Commits

Author SHA1 Message Date
Jonathan Huang
b340a2baa0 [MAPDC] fix examples (#2187) 2017-02-01 12:05:50 -08:00
Jonathan Huang
5d07bfb938 [MAP MIXIN] init map using async init method, fixes #1713, #1687 (#1885)
* [MAP MIXIN] init map using async init method, fixes #1713, #1687

* [V2] add pointmap tests

* [POINTMAP] load proper bounds for initial render call

* bump coverage

* [POINTMAP] update bounds if initial bounds is not equal to rendered map bounds

* fix map move

* remove console

* fix connection reducer test
2016-12-01 14:54:38 -08:00
Jonathan Huang
a8d5ea15fe Example 5 - Polygon Lasso (#1816)
* [DC] add example 5

[DC] update converGeoJSONtoSQL function

[DC] update dependencies to include sprintf

[DC] example 5, no hover on poly select

[DC] disable hover and clicks on polygon draw mode for lasso tool

[DC] wrap coord filter in parens

[DC] test map draw mixin

[DC] use unlikely statement optimization for polygon queries

* circle experiment

* [DC] add circle control to example 5

* update mapbox-gl-draw build process

* [DC] update circle query

* [DC] add tests for circle geojson to sql

* [DC] update circle lasso formula

* [DC] use distance_in_meters for circle query

* fix tests

* update example
2016-11-17 17:50:08 -08:00