Steps to Trigger Behavior
- create a MGLSymbolStyleLayer with some image
- observe image size differs based on build configuration
Minimal Reproducible Example
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 Group@2x.png and Group@3x.png variants
point_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)
| release |
debug |
 |
 |
Version(s) affected
- Platform: iOS
- OS version: 16.4.1
- Device type: iPhone 14 Pro Max
- Development OS: macOS 13.3.1 (22E261)
- maplibre-react-native Version 9.0.1
- React Native Version: 0.71.6
Additional context
Maybe related to facebook/react-native#28670
Steps to Trigger Behavior
Minimal Reproducible Example
where @assets/icons/point/Group.png has
Group@2x.pngandGroup@3x.pngvariantspoint_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