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

Map layer options #249

Merged
merged 5 commits into from
Oct 7, 2021
Merged

Conversation

fschmenger
Copy link
Collaborator

This branch reworks some of the map layer configuration options. There should be no backward compability issues:

  • A new option zIndex is introduced - resolves Add support for zIndex when customizing layers. #230. Regarding default values, I decided to assign -1 to base layers and 0 to other layers, which seems to be the least invasive approach.
  • The extent option is now consistently supported across all layer types.
  • Filled some gaps in the map layer documentation.

… configured, zIndex will default to -1 for base layers and 0 for all other layers.
…ayer types. Options initialization order has been changed in layer factory, to use the same structure for all layer types.
Copy link
Collaborator

@JakobMiksch JakobMiksch left a comment

Choose a reason for hiding this comment

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

I tried the Z-Index. It works well.
The refactoring in the LayerFactory is very useful.
Ready to merge from my side.
Thanks @fschmenger

Copy link
Collaborator

@chrismayer chrismayer left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@chrismayer chrismayer merged commit 8894fcd into wegue-oss:master Oct 7, 2021
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.

Add support for zIndex when customizing layers.
3 participants