hackgvl / open-map-data-multi-layers-demo

A bookmarkable map displaying all layers from HackGreenville Labs' Open Map Data
https://hackgvl.github.io/open-map-data-multi-layers-demo/
MIT License
2 stars 2 forks source link

Add Contribution Control to Map #23

Closed ThorntonMatthewD closed 8 months ago

ThorntonMatthewD commented 9 months ago

Fixes #11 and touches on #10.

Summary

Whenever at least one map layer is active a new icon will appear in the top-right corner of the map. Whenever it is hovered over (or tapped on mobile) a pop-up will appear showing the following:

Screenshots & Video

(Sorry - I tried putting them side-by-side in a couple of tables, but I could embed videos in there)

Desktop

Screenshot_2023-10-11_23-37-42

https://github.com/hackgvl/open-map-data-multi-layers-demo/assets/44626690/b4fdac3b-5abb-4799-acc6-db1e674631fa

Mobile

Screenshot_2023-10-13_17-03-03

https://github.com/hackgvl/open-map-data-multi-layers-demo/assets/44626690/c78d693b-b331-4a78-a736-a7811a854c8d

Testing Plan

This one is a bit more open-ended.