SOLVED: Open Street Map is not displayed in the front end (external files)

Browser: Chrome 140.0.7339.128
OS: Windows

Hi team,

I add the new Map element and it displays fine in the Builder. But it doesn’t show up at all in the frontend. Am I doing something wrong?

Hey @HOSEIN,

for me the map shows as expected on the frontend: OSM – playground.andreslotta.dev.

Do you see any errors in the console?

Best,
André

Hi @aslotta,

Strange! No, there is no error, the codes are there on the page, they just aren’t displayed. The only thing I can think of is that the problem is with the server’s security protocols. Could this be involved?

Live link

Could be server related. That’s something the Bricks team has to check then.

Are you using any custom settings on the element? In my test I only added the element without changing any setting.

Update:

I see you’re using WP Fastest Cache. Does it work if you disable the plugin?

1 Like

Are you using any custom settings on the element? In my test I only added the element without changing any setting.

I have also just added the element. Without any settings.

I disabled it but it still doesn’t show up.

Hi @HOSEIN,

thank you for your report. I think I was able to replicate the issue. @HOSEIN, can you try with “inline” CSS loading method, does it work for you then?

The following CSS seems to not be applied if we use external loading method:

.brxe-map-leaflet {
	width: 100%;
	height: 300px;

	.leaflet-container {
		width: 100%;
		height: 100%;
	}
}

Let me know if “internal” works for you and int he meantime, I’ll open the internal bug report anyway.

Matej

1 Like

Hi Matej,

That’s right, inline CSS solves the problem.

Thanks :v:

Thank you for bringing it to our attention. Now it’s on our end to figure out why it’s happening. :slight_smile:

Matej

3 Likes

We fixed this issue in Bricks 2.1.4, now available as a one-click update in your WordPress Dashboard.

Changelog: Bricks 2.1.4 Changelog – Bricks

Please let us know if you are still experiencing issues.

Best regards,
timmse

1 Like