Skip to content

Issue with mapCenterPosition on IOS #52

@dokselblackbit

Description

@dokselblackbit

I have some problems with mapCenterPosition on IOS. I set default values lat and lng for mapCenterPosition. I'm in Europe, but get view of the map in USA. When I open the app first time, I see USA on the map, because "mapCenterPosition": {"lat": 36.56, "lng": -76.17} by default.

 const [coordinates, setCoordinates] = useState<LatLng>({lat: 53.07672712223532, lng: 8.807126412404715});


<LeafletView
    mapCenterPosition={coordinates}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions