Skip to content
New issue

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

[Bug]: abort mapbox #3568

Closed
ledinhthi opened this issue Jul 10, 2024 · 1 comment
Closed

[Bug]: abort mapbox #3568

ledinhthi opened this issue Jul 10, 2024 · 1 comment
Labels
bug 🪲 Something isn't working reopen-on-code-fixed

Comments

@ledinhthi
Copy link

Mapbox Implementation

Mapbox

Mapbox Version

11.4.1

React Native Version

0.73.6

Platform

Android

@rnmapbox/maps version

10.1.27

Standalone component to reproduce

<Mapbox.MapView ref={c => (this._map = c)} styleURL="xxxxxxxxxxxxxxxxxxxxxxx" showUserLocation style={styles.map}>
<Mapbox.UserLocation showsUserHeadingIndicator />

          <Mapbox.Camera
            zoomLevel={11}
            centerCoordinate={[xxx.xx, x.xx]}
            animationDuration={1500} />

          {this.state.isVesselLoaded && (
            <Mapbox.ShapeSource id="destination3" shape={this.state.vessels} hitbox={{ width: 100, height: 100 }} onPress={e => this.onSourceLayerVesselPress(e)}>
              <Mapbox.SymbolLayer
                id="destinationInnerCircle3"
                minZoomLevel={1}
                style={{
                  iconAllowOverlap: true,
                  iconRotate: ['get', 'hdg'],
                  iconSize: 0.4,
                  textFont: ['Century Gothic Bold', 'Open Sans Regular', 'Arial Unicode MS Regular'],
                  textColor: 'black',
                  textAllowOverlap: true,
                  textOffset: [0, 1.6],
                  textSize: 18,
                  textField: '{vessel_id}',
                }}
              />
            </Mapbox.ShapeSource>
          )}

          {this.state.isVesselLoaded && <PulseCircleLayer shape={this.state.vessels} aboveLayerID="destinationInnerCircle3" />}
        </Mapbox.MapView>

Observed behavior and steps to reproduce

Screenshot 2567-07-10 at 09 22 19

Expected behavior

device.event

{
data: {"action":"CONFIGURATION_CHANGED"}
}
Info
05:34:42
device.orientation

{
data: {"position":"landscape"}
}
Info
05:34:42
device.event

{
data: {"action":"CONFIGURATION_CHANGED"}
}
Info
05:34:42
device.orientation

{
data: {"position":"portrait"}

Notes / preliminary analysis

No response

Additional links and references

No response

@ledinhthi ledinhthi added the bug 🪲 Something isn't working label Jul 10, 2024
Copy link

No code example found in issue body - More info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working reopen-on-code-fixed
Projects
None yet
Development

No branches or pull requests

1 participant