5 Commits

Author SHA1 Message Date
ʈᵃᵢ
ee47aea4b4 [infra] change examples to use forge (#2283) 2017-02-16 10:20:18 -08:00
Jonathan Huang
7251f1d4e3 mapdc as ES6 Modules (#2255)
* [MAPDC] refactor using es6 modules

add logging module

add more charts and mixins

add bubble overlay, heatmap, boxplot

add more charts

finish moving to new folder

beging moving overrides to new folder

replace mapdc src/

update build script

fix tests

fix mapdc import

fix mapdc import

prebuild mapdc css styles

remove console

redrawAll on rangeFilter update

remove grunt, delete dead files

update tests

minor fixes

fix raster-mixin d3 import

lint

clear cache

fix mapdc style import

fix example styles

* remove dc from scatter-mixin
2017-02-13 15:20:37 -08:00
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