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

NavigationContol Prop Issue #327

Open
yooperjb opened this issue May 20, 2021 · 1 comment
Open

NavigationContol Prop Issue #327

yooperjb opened this issue May 20, 2021 · 1 comment

Comments

@yooperjb
Copy link

Setting showCompass or showZoom to false doesn't seem to do anything.

To reproduce
NavigationControl configuration

<NavigationControl
    showCompass = 'false'
    showZoom
   position='top-right'
/>

Expected behavior
Compass would not be shown.

Screenshots
compass

Additional context
This occurred after updating to the newest version 1.14.3

@KaiHuebner
Copy link

Hi,

Please use boolean values instead of string:

<NavigationControl
    showCompass={false}
    showZoom={true}
    position='top-right'
/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants