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

CDC #113 - Place Layers #131

Merged
merged 5 commits into from
Feb 1, 2024
Merged

CDC #113 - Place Layers #131

merged 5 commits into from
Feb 1, 2024

Conversation

dleadbetter
Copy link
Contributor

@dleadbetter dleadbetter commented Jan 30, 2024

This pull request adds the place layers embedded list to the PlaceForm, as well as the PlaceLayerModal component to allow modifying a layer. It also updates the react-components packages to the latest version to:

  • Allow for adding custom controls to the MapDraw component
  • Fix a bug with the MapDraw component zooming in too far on Point geometries
  • Fix a bug with the MapDraw component where styles were not being applied properly

Note: This pull request is dependent on a PR in the react-components repo
Note: This pull request is dependent on a PR in the core-data-connector repo

Layers List

Layers can be added to the Place edit form via the "Layers" list

Screenshot 2024-01-30 at 7 35 31 AM

Layers Menu

Any added layers will display in the layer menu on the map component

Screenshot 2024-01-30 at 7 34 31 AM

Layer Types

We'll support adding Raster or GeoJSON layers

Screenshot 2024-01-30 at 11 09 32 AM

GeoJSON Layers

GeoJSON layers can be added as a URL to a hosted geojson file, or uploaded directly

Screenshot 2024-01-30 at 11 10 09 AM
Screenshot 2024-01-30 at 11 10 13 AM

Raster Layers

Raster layers can be added as a URL to a xyz or wms map

Screenshot 2024-01-30 at 11 10 32 AM

…eForm component to use new map controls
Copy link
Member

@jamiefolsom jamiefolsom left a comment

Choose a reason for hiding this comment

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

Awesome!

@dleadbetter dleadbetter marked this pull request as ready for review February 1, 2024 13:24
@dleadbetter dleadbetter merged commit b1b11f3 into develop Feb 1, 2024
@dleadbetter dleadbetter deleted the feature/cdc113_place_layers branch February 1, 2024 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants