---
title: "Louis Chancé · 2026-11-03"
description: "I needed to dynamically display markers on an openstreetmap map for a WordPress website using Bricks, so I created a plugin just for that.\\"
url: https://vutuv.de/louischance/posts/01a1a0d9-725b-754f-a17a-d5366a57ed79
type: post
schema_version: 3
generated_at: 2026-11-07T17:54:13Z
---

# Post by [Louis Chancé](https://vutuv.de/louischance) · 2026-11-03

I needed to dynamically display markers on an openstreetmap map for a WordPress website using Bricks, so I created a plugin just for that.\
\
It extends the functionalities of the Leaflet Map element in Bricks Builder, to query loop markers from a local post type (currently Bricks only supports this for Google map).\
\
The plugin also allows to automatically merge markers sharing the same location into a single element (and show all the data in the clickable tooltip). Or to dispatch them in a little circular area around the shared location.\
\
You can also use the value of another dynamic data (like an ACF toggle field) to decide if the post marker has to show up on the map or not.\
\
It's fully compatible with native posts and custom fields, as well as with plugins like ACF (and it supports the ACF Openstreetmap field too).\
\
If you're a Bricks user like me and prefer to use Openstreet maps over Google maps, you can try it out in the official repo: https://wordpress.org/plugins/query-markers-for-bricks-leaflet-map/

Tags: #wordpress, #OpenStreetMap, #bricksbuilder

Likes: 2 · Reposts: 1 · Bookmarks: 0 · Reactions from other networks: 3 (@emue@mastodon.design liked this, @mateitudor@kolektiva.social liked this, @louis@social.ikacode.com shared this) · Already counted in the numbers above.

## Images

- ![A banner showing a map of Europe with 4 blue markers on it, and next to it the heading "Query Markers for Bricks Leaflet Map", with the subheading "One marker per post, straight from your query".](https://vutuv.de/post_images/zVNgI21VBcW_pwCuxIeNqg/feed.avif)
  Plugin banner

- ![A website section showing an openstreetmap with multiple markers, and a tooltip with some text inside showing up above one of the markers.](https://vutuv.de/post_images/r1gsVVVLoP_bE_LC5WYWXA/feed.avif)
  Example of a map
