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

EnviroAtlas Layers added via the "Add Web Map" tool should behave like EnviroAtlas layers #243

Closed
torrin47 opened this issue Oct 14, 2016 · 5 comments
Assignees

Comments

@torrin47
Copy link
Contributor

Somehow the code should recognize the URL for EnviroAtlas layers added via web maps and add the icons and menu options should be added.

@torrin47 torrin47 added the MVP label Oct 14, 2016
@torrin47 torrin47 added this to the Milestone 27 milestone Nov 30, 2016
@Baohong
Copy link
Contributor

Baohong commented Dec 12, 2016

Could you specify which widget add "layers via web maps"? There are three widgets grouped in "Add Data Tools"----They are: "Add Online Data", "Add Data from Web Map" and "Upload Data". I have tested each of the widget and the URLs could be recognized/opened. Also, what icon and menu options should be added, and for which widget?

@torrin47
Copy link
Contributor Author

torrin47 commented Dec 12, 2016 via email

@Baohong
Copy link
Contributor

Baohong commented Dec 12, 2016

The current metadata, datafactsheet information for added layers all comes from config.json file.
If a layer is added via web maps, one way to get its metadata and datafactsheet is to find a mapping from its URL to our exist config.json. But I cannot figure out a way to find such mapping.
For example, layer "https://enviroatlas.epa.gov/arcgis/rest/services/Communities/ESC_DNC_CleanAir/MapServer/2" could be added through widget "Add Data from Web Map" and select the first item. But I cannot find any layer in config.json whose URL contains words "ESC_DNC_CleanAir". How to resolve this issue?

@torrin47
Copy link
Contributor Author

torrin47 commented Dec 12, 2016 via email

@torrin47
Copy link
Contributor Author

This issue was moved to USEPA/EnviroAtlas_JSApp#16

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