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]: Broken Camera centerCoordinate #3371

Closed
scharron opened this issue Feb 12, 2024 · 1 comment · Fixed by #3372
Closed

[Bug]: Broken Camera centerCoordinate #3371

scharron opened this issue Feb 12, 2024 · 1 comment · Fixed by #3372
Labels
bug 🪲 Something isn't working

Comments

@scharron
Copy link

Mapbox Implementation

Mapbox

Mapbox Version

default

Platform

Android

@rnmapbox/maps version

10.1.11

Standalone component to reproduce

import React from 'react';
import {
  MapView,
  ShapeSource,
  LineLayer,
  Camera,
} from '@rnmapbox/maps';


class BugReportExample extends React.Component {
  render() {
    return (
      <MapView style={{flex: 1}}>
        <Camera centerCoordinate={[-74.00597, 40.71427]} zoomLevel={14} />
      </MapView>
    );
  }
}

Observed behavior and steps to reproduce

The map is displayed at coordinates 0, 0

Expected behavior

The map should be at coordinates -74.00597, 40.71427

Notes / preliminary analysis

The bug appears in version 10.1.9

Additional links and references

No response

@scharron
Copy link
Author

Thanks @mfazekas !

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

Successfully merging a pull request may close this issue.

1 participant