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
SymbolLayer
iconImage
const point_icon = require('@assets/icons/point/Group.png'); <MapLibreGL.SymbolLayer id={id + '_layer'} style={{ iconImage: point_icon }} />
where @assets/icons/point/Group.png has [email protected] and [email protected] variants point_asset_image.zip
[email protected]
Image stays same size as in debug build
Image is @3x.png scale size instead
Maybe related to facebook/react-native#28670
The text was updated successfully, but these errors were encountered:
workaround: remove @2 and @3 scales of the asset, make the @3 size default, but multiply iconSize by 0.3.
@2
@3
iconSize
0.3
Sorry, something went wrong.
No branches or pull requests
Steps to Trigger Behavior
Minimal Reproducible Example
where @assets/icons/point/Group.png has
[email protected]
and[email protected]
variantspoint_asset_image.zip
Expected Behavior
Image stays same size as in debug build
Actual Behavior
Image is @3x.png scale size instead
Screenshots (if applicable)
Version(s) affected
Additional context
Maybe related to facebook/react-native#28670
The text was updated successfully, but these errors were encountered: