Skip to content

v2.3.0 - Open POI on Load & Smart Popup Positioning

Choose a tag to compare

@dbreck dbreck released this 15 Apr 21:35
· 10 commits to main since this release

New Features

  • Open POI on Load — New dropdown in WPBakery Map Position tab lets you select a POI whose info panel automatically opens when the map loads
  • Smart Popup Positioning — Popups now prefer left/right placement over top/bottom, using available horizontal space and preventing vertical clipping

Files Changed

  • class-wpbakery.php — Added open_poi dropdown param
  • class-frontend.php — Added open_poi to shortcode whitelist
  • class-map-renderer.php — Passes openPoi to JS data
  • map.js — New openInitialPoi() method; rewritten anchor logic