Commit ff3037cb authored by Rodrigo Tapia-McClung's avatar Rodrigo Tapia-McClung

Handle multigeoms

parent 8c62f7b7
......@@ -8,7 +8,7 @@
/* global mapboxgl, turf */
const baseUrl = new URL(`/data`, window.location.href).href;
let queryGeom = `${baseUrl}/query/dim_municipio?columns=st_asgeojson(box2d(st_geometryn(municipio_geom_4326,1))) box,st_asgeojson(st_geometryn(municipio_geom_4326,1)) geom&filter=municipio_cvegeo='09002'`;
let queryGeom = `${baseUrl}/query/dim_municipio?columns=st_asgeojson(box2d(municipio_geom_4326)) box,st_asgeojson(municipio_geom_4326) geom&filter=municipio_cvegeo='09002'`;
let tiles, polygon, box;
// define MVT layer for given table and some attributes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment