nitaliano / react-native-mapbox-gl

A Mapbox GL react native module for creating custom maps
Other
2.16k stars 697 forks source link

symbolPlacement with iconIgnorePlacement #1530

Closed onitzschke closed 5 years ago

onitzschke commented 5 years ago

iconIgnorePlacement is not working with symbolPlacement: 'line',

https://github.com/mapbox/mapbox-gl-native/issues/13969 describes my issue with direction arrow on line.

  directionIcon: {
    iconImage: '{icon}', // icon is tinted in AppColor.red
    iconIgnorePlacement: true, // not working with symbolPlacement: 'line'
    iconAllowOverlap: true,
    symbolPlacement: 'line',
    iconSize: Platform.OS === 'ios' ? 0.4 : 0.2
  }
kristfal commented 5 years ago

This is an upstream issue and will be fixed when 7.0.0 lands. Closing for now.