CMU-CREATE-Lab / data-visualization-tools

EarthTime, and various data visualization libraries
Other
14 stars 5 forks source link

Logic needed to assign outlines Draw order of 585 #219

Open jjkohler opened 3 years ago

jjkohler commented 3 years ago

Since both static points and lines/outlines are of "Map Type": "point", it is suggested the the way to disambiguate the two for the purpose of assigning different draw orders may be through their Draw Functions:

WebGLVectorTile2.basicDrawPoints in the case of points

_WebGLVectorTile2.prototype._drawLineString_ in the case of outlines

jjkohler commented 3 years ago

https://earthtime.org/explore#v=40.42026,-79.96625,10.4,latLng&t=11.80&ps=100&l=bdrk_detailed,allegheny_county_pgh,allegheny_county_outline,allegheny_school_district_outlines,allegheny_county_housing_bltyr_lead_epoch,ACHD_Elevated_Blood_Lead_Level_2015_18_total&forceLegend=true&bt=20180101&et=20180101&startDwell=0&endDwell=2.01

This is an example that would be impacted by this change. Layers should be on top of points and choropleths.

jjkohler commented 3 years ago

Low priority as most of these current layers have now been manually assigned 585 in the spreadsheet.