Skip to content

Add map bridge lifecycle events for Listings With Map sync#2928

Open
RabbiIslamRony wants to merge 2 commits into
developmentfrom
codex/lwm-map-sync-core
Open

Add map bridge lifecycle events for Listings With Map sync#2928
RabbiIslamRony wants to merge 2 commits into
developmentfrom
codex/lwm-map-sync-core

Conversation

@RabbiIslamRony

@RabbiIslamRony RabbiIslamRony commented Jul 16, 2026

Copy link
Copy Markdown
Member

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Security fix
  • Improvement
  • New Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Text changes
  • Other... Please describe:

Description

Adds the Directorist core map bridge needed by the Listings With Map extension sync work.

What changed:

  1. Adds a provider-neutral DirectoristMapBridge API.
  2. Dispatches public map events for map ready, viewport changed, and marker click.
  3. Wires Google Maps and OpenStreetMap/Leaflet map flows into the bridge.
  4. Preserves existing legacy map behavior while exposing new lifecycle data.
  5. Includes rebuilt legacy JS bundles.

How to test:

  1. Install this core branch with the paired Listings With Map extension branch.
  2. Open /map-bi-directional-filtering-demo/.
  3. Confirm map ready, viewport movement, and marker click behavior works with the extension.
  4. Confirm legacy map pages still render without console errors.

Dependency note:

YAML/template check:

  • Core .github YAML files were parsed successfully.
  • Core PR body follows .github/pull_request_template.md.

Any linked issues

Fixes #

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant