This PR makes a small change to the way the /tiles endpoint generates vector tiles.
Before, we were getting a WGS84 bounding box for a tile using sphericalmercator in node, then using those bounds to find the intersecting geometries.
This was causing a subtle shift in the point rendering when moving between zoom levels, (when zoomed out the points were all shifted north, not showing in the correct place)
Now it uses a webmercator bounding box, and transforms the all geometries to webmercator to find the intersecting features.
This PR makes a small change to the way the
/tiles
endpoint generates vector tiles.Before, we were getting a WGS84 bounding box for a tile using
sphericalmercator
in node, then using those bounds to find the intersecting geometries.This was causing a subtle shift in the point rendering when moving between zoom levels, (when zoomed out the points were all shifted north, not showing in the correct place)
Now it uses a webmercator bounding box, and transforms the all geometries to webmercator to find the intersecting features.