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

map_zoom option in shortcode doesn't work #25

Closed
killianweid opened this issue Nov 2, 2023 · 1 comment
Closed

map_zoom option in shortcode doesn't work #25

killianweid opened this issue Nov 2, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@killianweid
Copy link

Hello,
I found one particular bug linked to map_zoom option in shortcode.
This option becomes useless because of "setup_hidden_checker" function in Waymark_Map_Viewer.js (call during the init) which call the reset_data_view function which also call Waymark.map.fitBounds() and so change the zoom of the map.
I don't know if it's the desired behavior but this prevents you from using the option map_zoom in shortcodes..

Best regards,
Killian

@morehawes morehawes self-assigned this Nov 4, 2023
@morehawes morehawes added the bug Something isn't working label Nov 4, 2023
@morehawes
Copy link
Collaborator

Hi @killianweid,

Thanks for letting me know about this and for drilling down into the cause, that helped save a lot of time 👍

I have just released v0.9.29.2 which should resolve this.

Please do let me know if you encounter any more issues.

Cheers,
Joe

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

No branches or pull requests

2 participants