Skip to content

feat: query & display features that intersect with lon,lat#24

Merged
jessicamcinchak merged 4 commits intomainfrom
jess/feature-at-address
Aug 10, 2021
Merged

feat: query & display features that intersect with lon,lat#24
jessicamcinchak merged 4 commits intomainfrom
jess/feature-at-address

Conversation

@jessicamcinchak
Copy link
Copy Markdown
Member

@jessicamcinchak jessicamcinchak commented Aug 6, 2021

creeping into the "future" features with this one, but the logic was basically already on hand from our first implementation! this will let us show a border around the address point in FindProperty component & move towards having a more accurate polygon/geojson to make more accurate planning constraint queries in the future.

example implementation:

<my-map latitude="51.4858363" longitude="-0.0761246" showFeaturesAtPoint featureColor="#8a2be2" />

@netlify
Copy link
Copy Markdown

netlify Bot commented Aug 6, 2021

✔️ Deploy Preview for oslmap ready!

🔨 Explore the source changes: 1497391

🔍 Inspect the deploy log: https://app.netlify.com/sites/oslmap/deploys/61126ed7b91d5b0007daa7fb

😎 Browse the preview: https://deploy-preview-24--oslmap.netlify.app

@jessicamcinchak jessicamcinchak marked this pull request as ready for review August 10, 2021 08:29
Comment thread src/my-map.ts

@property({ type: Boolean })
drawMode = true;
drawMode = false;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this is a slightly extraneous, but key change! made the decision here that our various feature modes should each be "off" by default. once this is merged & published, we should update the codesandbox demo to explicitly turn on 'drawMode'.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yeah that makes sense!

If this gets published we'll need to notify bops of this change too, or get them to work with a previous fixed version number for now until the API is a bit more settled

Copy link
Copy Markdown
Contributor

@johnrees johnrees left a comment

Choose a reason for hiding this comment

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

Very coooooooool 😎

@jessicamcinchak jessicamcinchak merged commit fb722af into main Aug 10, 2021
@jessicamcinchak jessicamcinchak deleted the jess/feature-at-address branch August 10, 2021 12:22
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.

2 participants