Adjust layer ordering to draw touch targets above data layers

This commit is contained in:
Bryan Housel
2018-11-09 16:51:19 -05:00
parent 3e313cffe4
commit 3bc841e95b
18 changed files with 132 additions and 161 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ export function uiFieldRestrictions(field, context) {
.translate(geoVecSubtract(c, extentCenter))
.clipExtent([[0, 0], d]);
var drawLayers = svgLayers(projection, context).only('osm').dimensions(d);
var drawLayers = svgLayers(projection, context).only(['osm','touch']).dimensions(d);
var drawVertices = svgVertices(projection, context);
var drawLines = svgLines(projection, context);
var drawTurns = svgTurns(projection, context);