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

Add roles for layer type, visibility, etc #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add roles for layer type, visibility, etc #23

wants to merge 1 commit into from

Conversation

m-mohr
Copy link
Contributor

@m-mohr m-mohr commented Jan 30, 2024

Add roles to specify the layer type, visibility and default layers

@m-mohr m-mohr changed the title Add roles to specify the layer type, visibility and default layers Add roles for layer type, visibility, etc Jan 30, 2024
| ------- | ----------- |
| basemap | A basemap. |
| overlay | An overlay with transparent background to show on top of basemaps. |
| data | A layer with the actual data to show on top of the other layer types. |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you provide an example of a "layer sandwich" including base, overlay and data? In general, I have the feeling that in some cases the overlay could be on top of the data layer. A basic example is Google Maps with its data layers (Public transit, Traffic etc.) which shows between the background (Default, Satellite or Terrain) and the overlay (street/POI names).
Or would you consider the e.g. traffic data as base layer on top of the other base layer and no data layer? 🤔

Copy link
Contributor Author

@m-mohr m-mohr Feb 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In your example the traffic/public transit is a second overlay, I think. Alternatively, we could argue that both belong to data.

Generally, this is not meant to cover all edge cases, but the most common ones that are supported by mapping libraries by default. Depending on the usecase, you may choose different layer types.

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

Successfully merging this pull request may close these issues.

2 participants