evidence-dev / evidence

Business intelligence as code: build fast, interactive data visualizations in pure SQL and markdown
https://evidence.dev
MIT License
3.44k stars 167 forks source link

Add `InputMap` component #1951

Closed csjh closed 3 days ago

csjh commented 2 weeks ago

Description

Adapts @evidence-dev/labs LeafletMap component into an InputMap component

image

Checklist

changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: 348d339ab99f39c79ea9c2bdf0c2f3ee4bc22a01

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages | Name | Type | | ----------------------------- | ----- | | @evidence-dev/core-components | Minor | | @evidence-dev/evidence | Major | | my-evidence-project | Patch | | @evidence-dev/components | Patch | | evidence-test-environment | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

netlify[bot] commented 2 weeks ago

Deploy Preview for next-docs-evidence ready!

Name Link
Latest commit 348d339ab99f39c79ea9c2bdf0c2f3ee4bc22a01
Latest deploy log https://app.netlify.com/sites/next-docs-evidence/deploys/6633c71f45bf070008f6514e
Deploy Preview https://deploy-preview-1951--next-docs-evidence.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 2 weeks ago

Deploy Preview for evidence-development-workspace ready!

Name Link
Latest commit 348d339ab99f39c79ea9c2bdf0c2f3ee4bc22a01
Latest deploy log https://app.netlify.com/sites/evidence-development-workspace/deploys/6633c71ffb69ef0008d20ff8
Deploy Preview https://deploy-preview-1951--evidence-development-workspace.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Youssef-Harby commented 2 weeks ago

I will be happy if you support also the other geometry types like lines, polygons, multi-geometry.

hughess commented 2 weeks ago

This is awesome!

I think we should hold this one until we've got a final syntax we want to use for maps, and release it all at once. There's features for choropleths and tooltips I want to pull in from a custom prototype I've got, so I'll bring those changes into here