You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would I do app.layer('escapedLayer', function(tile, render){ render(['SELECT ST_AsGeoJSON(the_geom) as the_geom_geojson FROM $1 WHERE ST_Intersects(the_geom, !bbox_4326!) AND state=$2', 'points', 'California']); });
or app.layer('escapedLayer', function(tile, render){ render(['SELECT ST_AsGeoJSON(the_geom) as the_geom_geojson FROM $1 WHERE ST_Intersects(the_geom, !bbox_4326!) AND state=$2', ['points', 'California'] ]); });
or should I do something else other than these?
The text was updated successfully, but these errors were encountered:
Would I do
app.layer('escapedLayer', function(tile, render){ render(['SELECT ST_AsGeoJSON(the_geom) as the_geom_geojson FROM $1 WHERE ST_Intersects(the_geom, !bbox_4326!) AND state=$2', 'points', 'California']); });
or
app.layer('escapedLayer', function(tile, render){ render(['SELECT ST_AsGeoJSON(the_geom) as the_geom_geojson FROM $1 WHERE ST_Intersects(the_geom, !bbox_4326!) AND state=$2', ['points', 'California'] ]); });
or should I do something else other than these?
The text was updated successfully, but these errors were encountered: