Skip to content

Commit

Permalink
fix(tiler): fix snapshot (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartolkaruza authored Dec 9, 2019
1 parent fba60e4 commit ec1b46f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/__test__/__snapshots__/queries.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ exports[`createClusterQuery should create a clustered Query with differentZoomTo
q as
(SELECT 1 as c1,
ST_AsMVTGeom(ST_Transform(center, 3857), TileBBox($7, $8, $9, 3857), $10, $11, false) AS geom,
jsonb_build_object('count', theCount, 'expansionZoom', expansionZoom, 'a', a) as attributes
jsonb_build_object('count', theCount, 'expansionZoom', expansionZoom,'lng', ST_X (ST_Transform(center, 4326)),'lat', ST_Y (ST_Transform(center, 4326)), 'a', a) as attributes
FROM tiled)
SELECT ST_AsMVT(q, $12, $13, 'geom') as mvt
from q
Expand Down

0 comments on commit ec1b46f

Please sign in to comment.