Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Fix LocationIndicator not updating image sizes when image manager con… - #16388

Merged
galinelle merged 1 commit into
masterfrom
galinelle_locationIndicatorSizes
Apr 16, 2020
Merged

galinelle merged 1 commit into
masterfrom
galinelle_locationIndicatorSizes

Conversation

@galinelle

@galinelle galinelle commented Apr 10, 2020 •

Copy link
Copy Markdown
Contributor

…tent changes

Launch Checklist

  • briefly describe the changes in this PR
  • include before/after visuals or gifs if this PR includes visual changes
  • write tests for all new functionality
  • document any changes to public APIs
  • tagged @mapbox/maps-android @mapbox/maps-ios @mapbox/core-sdk if this PR adds or updates a public API
  • tagged @mapbox/gl-js if this PR includes shader changes or needs a js port
  • apply needs changelog label if a changelog is needed (remove label when added)

@LukasPaczos LukasPaczos left a comment

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.

I can confirm that the fix works 🎉 Can we add a render/unit test?

@galinelle
galinelle force-pushed the galinelle_locationIndicatorSizes branch 3 times, most recently from c828a86 to fff1cdb Compare April 10, 2020 11:58
}
},
{
"id": "puck123",

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.

Do we need this layer and the corresponding geojson source for this test?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not necessarily, but it was useful in the previous debugging cycle to assess whether something was rendered or nothing at all. Since background is sometimes simply a glClear, adding a proper layer helped verifying that something was actually rendered.
But it can be removed.

@galinelle
galinelle force-pushed the galinelle_locationIndicatorSizes branch from 00176b4 to d18f2c2 Compare April 15, 2020 16:22
@galinelle
galinelle force-pushed the galinelle_locationIndicatorSizes branch from d18f2c2 to 5a9d61e Compare April 15, 2020 17:11
@galinelle
galinelle merged commit 545a09f into master Apr 16, 2020
@galinelle
galinelle deleted the galinelle_locationIndicatorSizes branch April 16, 2020 08:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants