We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mismatched image size
When I try to use the following code to add system UIImage to a MapboxMap called map:
UIImage
MapboxMap
map
try map.addImage( UIImage(systemName: "mappin")!, id: "pin" )
I get an error: StyleError(rawValue: "mismatched image size").
StyleError(rawValue: "mismatched image size")
I should be able to use this image the same way I can use images that come from my Assets.
Assets
The text was updated successfully, but these errors were encountered:
Hi, thank you for reporting this. This is a known issue (internal ticket MAPSIOS-817)
Sorry, something went wrong.
[cp] release v10.18.1 (#2164)
d5bd4d7
Co-authored-by: Roman Gardukevich <[email protected]>
No branches or pull requests
Environment
Observed behavior and steps to reproduce
When I try to use the following code to add system
UIImage
to aMapboxMap
calledmap
:I get an error:
StyleError(rawValue: "mismatched image size")
.Expected behavior
I should be able to use this image the same way I can use images that come from my
Assets
.Notes / preliminary analysis
Additional links and references
The text was updated successfully, but these errors were encountered: