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

Inspection Mode #26

Closed
4 tasks done
lukasmartinelli opened this issue Dec 23, 2016 · 4 comments
Closed
4 tasks done

Inspection Mode #26

lukasmartinelli opened this issue Dec 23, 2016 · 4 comments

Comments

@lukasmartinelli
Copy link
Collaborator

lukasmartinelli commented Dec 23, 2016

As proposed in #24

Inspect: I want to be able to choose a layer by clicking onto the map. This could be onclick (interferes with zoom though, so we'd need +/- controls on the map) or on right click (context menu) or behind an "Inspect" button. (I had expected this behind the current inspect button.) Despite the zoom interference I'd probably prefer onclick.

  • Assign different colors for each layer
  • On click feature detection to show popup
  • Show properties and vector layers
  • Show style layers
@lukasmartinelli
Copy link
Collaborator Author

If one click on "Inspect" now it switches to a view where each layer has a random color and one can inspect features.

screenshot from 2016-12-24 23-09-39

This also works on the normal map when clicking on something (no clicking and automatically switching to that layer though).

screenshot from 2016-12-24 23-11-09

@lukasmartinelli
Copy link
Collaborator Author

Improved the popups.

screenshot from 2016-12-25 17-47-14
screenshot from 2016-12-25 17-47-01

@lukasmartinelli lukasmartinelli modified the milestone: v0.3.1 Style Editing Usable Dec 25, 2016
@lukasmartinelli
Copy link
Collaborator Author

The inspection mode is now contextual. With the current layer being highlighted and all others are much more transparent.

screenshot from 2016-12-29 17-37-29
screenshot from 2016-12-29 17-37-17
screenshot from 2016-12-29 17-36-47

@Yahia1018
Copy link

Hi !

First of all, thanks for this incredible tool, it is very ergonomic and pleasant to use !

I just have a question, is it possible to select multiple layers when we are in Inspect mode ? If not, could it be possible to add this functionality ?

Thanks already !

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

No branches or pull requests

2 participants