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

fix(map): add support for new and missing mapOptions #501

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

usefulthink
Copy link
Collaborator

@usefulthink usefulthink commented Aug 30, 2024

This fixes #471 and a related issue with the new colorScheme option.

The cache-key used by the reuseMaps functionality only contained the mapId and not the other map options that can't be changed after the map has been created (colorScheme and renderingType).

  • add support for renderingType
  • add support for colorScheme
  • add missing options to mapOptionKeys
  • update docs with new props
  • update tests for props that can't be changed after map creation

Fixes #471

@usefulthink usefulthink force-pushed the fix/new-map-options branch 3 times, most recently from 2d1412f to e239660 Compare August 30, 2024 07:36
- add support for colorScheme
- add support for renderingType
- add missing options to mapOptionKeys
- update docs with new props
- update tests for props that can't be changed after map creation
@usefulthink usefulthink merged commit f22af50 into visgl:main Sep 2, 2024
2 checks passed
@usefulthink usefulthink deleted the fix/new-map-options branch September 2, 2024 09:27
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.

[Bug] renderingType is incompatible with reuseMaps
1 participant