Skip to content

map_zoom option in shortcode doesn't work #25

@killianweid

Description

@killianweid

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions