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

API calls seems to be hardcoded #3

Open
submarcos opened this issue Jun 15, 2020 · 1 comment
Open

API calls seems to be hardcoded #3

submarcos opened this issue Jun 15, 2020 · 1 comment
Labels
good first issue Good for newcomers

Comments

@submarcos
Copy link
Member

submarcos commented Jun 15, 2020

Without any data in backend,
Frontend call API tiles at (for example) /api/layer/1/tiles/6/32/31/

But layer 1 doesn't exists in backend. Maybe it's backend that send this settings

@dtrucs dtrucs added the good first issue Good for newcomers label Jun 16, 2020
@dtrucs
Copy link
Collaborator

dtrucs commented Jun 16, 2020

The map's style calls this settings https://github.com/Terralego/opp-front/blob/master/src/components/Visualizer/utils/customStyle.js

It must be completely overridden by the bakend config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants