Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several Layer on Single Source #14

Open
ilomon10 opened this issue Jul 21, 2018 · 1 comment
Open

Several Layer on Single Source #14

ilomon10 opened this issue Jul 21, 2018 · 1 comment
Assignees

Comments

@ilomon10
Copy link

How can i get multiple layers in the same source?

Example:
In tilesplash i can combine multiple query and getting multiple layer on the same source, like so

app.layer('multiLayer', function(tile, render){
  render({
    circles: 'SELECT ST_AsGeoJSON(the_geom) as the_geom_geojson FROM circles WHERE ST_Intersects(the_geom, !bbox_4326!)',
    squares: 'SELECT ST_AsGeoJSON(the_geom) as the_geom_geojson FROM squares WHERE ST_Intersects(the_geom, !bbox_4326!)'
  });
});
@Captain-Oski
Copy link

I back this issue

@stepankuzmin stepankuzmin self-assigned this Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants