Currently,在地图顶部分层图像的方法是:
import exampleIcon from '../assets/example.png';
const styles = MapboxGL.StyleSheet.create({
icon: {
iconImage: exampleIcon,
iconAllowOverlap: true,
iconSize: 0.5,
},
});
我想改用base64。如果该库不允许它,如何修改它以使其接受base64?