Skip to content

Conversation

@JaffaKetchup
Copy link
Member

Fixes #2092.

Also added .coordinate demo to Polygons example.

I also removed FeatureLayerUtils.origin in favour of MapCamera.pixelOrigin. I'm not 100% if this is correct, but it seems to make sense.

Added `.coordinate` demo to Polygons example
Removed `FeatureLayerUtils.origin` in favour of `MapCamera.pixelOrigin`
@JaffaKetchup JaffaKetchup requested a review from a team May 16, 2025 10:36
@JaffaKetchup
Copy link
Member Author

@monsieurtanuki I believe it was while we were messing about with the feature layer painting that origin ended up in FeatureLayerUtils. In this PR, I've removed it because I couldn't see a difference to MapCamera.origin. They seem to work the same, but maybe you had something in mind to put origin in FeatureLayerUtils as well (caching messing something up?)? Does this change seem OK to you?

@monsieurtanuki
Copy link
Contributor

@JaffaKetchup I'll try to have a look at it this week. Sorry about the delay.

Copy link
Contributor

@monsieurtanuki monsieurtanuki left a comment

Choose a reason for hiding this comment

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

@JaffaKetchup JaffaKetchup requested a review from josxha July 8, 2025 20:36
@JaffaKetchup JaffaKetchup merged commit ec217c3 into master Jul 8, 2025
7 checks passed
@JaffaKetchup JaffaKetchup deleted the fix-2092 branch July 8, 2025 21:06
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.

Hit notifier returns incorrect LayerHitResult.coordinate when rotated

4 participants