Skip to content

BUG : Many props are ignored (attributionEnabled, scrollEnabled...) #1740

@JB-CHAUVIN

Description

@JB-CHAUVIN

Hello,

With the following code, many props like :

  • attributionEnabled
  • zoomEnabled
    ...

Are ignored (not working...)

Code example :

import MapBox from "@rnmapbox/maps";
import { View } from "react-native";

export default function ZeroScreen() {
  return (
    <View style={{ flex: 1 }}>
      <MapBox.MapView
        style={{ flex: 1 }}
        attributionEnabled={false}
        compassEnabled={false}
        logoEnabled={false}
        scrollEnabled={false}
        zoomEnabled={false}
        pitchEnabled={false}
      ></MapBox.MapView>
    </View>
  );
}

Problem :

iScreen Shoter - 20250102084829248

Lib version :
"@rnmapbox/maps": "10.1.33",

Thanks for your help.
It used to work like 3/4 weeks ago...

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