Skip to content

v2.7.0 - Boundary Shapes: KMZ polygon import with selective preview

Latest

Choose a tag to compare

@dbreck dbreck released this 16 Jul 12:56
· 1 commit to main since this release

New Features

Boundary Shapes

  • KML/KMZ polygons now import as boundary shapes — a new concept alongside POIs. Supports MultiGeometry (multi-part boundaries) and polygon holes.
  • Shapes render on every map as Mapbox fill + outline layers beneath the POI pins.
  • New Shapes tab (Clear Map → Categories & POIs → Shapes): edit name, color, outline width, fill on/off + opacity, visibility, or delete.
  • Re-importing a boundary updates its geometry but keeps your styling (merge by name).
  • New WPBakery "Show Boundary Shapes" toggle in the Map Display group (default on).

Selective Import Preview

  • The KML import no longer auto-saves after parsing. New flow: Upload & Preview → check/uncheck items → Import Selected.
  • POIs are grouped by category with select-all group checkboxes; shapes get their own group.
  • A shapes-only import never touches existing POIs or categories.

Fixes

  • KMZ upload via the browser never worked — PHP uploads land in an extensionless temp file, so KMZ archives were parsed as raw XML ("Invalid KML format"). The parser now detects zip content by magic bytes.