Show empty map when there are no events
-
Hi,
I started using your plugin and works great. I found out that when there are no events to show in the map it is not displayed. In the code it makes the initial position of the map from the markers list. No markers means no position, thus the map can’t be initialized.
I’d like to show the map empty when there are no events, at least not have a transparent space in the site.
I can think of two ways to solve this:
1. Make position default to 0,0 when no events are found.
2. Make it possible to specify a position in the shortcode [events_map]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Show empty map when there are no events’ is closed to new replies.