Distorted Custom Map Marker - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Distorted Custom Map Marker

MV

Manuel Valentin

SP Page Builder 3 years ago

Hello, With Sp Page Builder 3.8.6, the custom openstreetmap marker image is distorted, as Page Builder forces it to have the size 38x95, which is not really appriopriate for custom markers. Is it possible to fix this issue in the next page builder version and let the marker have the real dimensions of the custom image? It was working fine in the previous versions.

Thank you

0
9 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 years ago #76305

Use this custom CSS

img.leaflet-marker-icon.leaflet-zoom-animated.leaflet-interactive{
  height:38px !important;
}

Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 years ago #66430

Hi

Thanks for contacting us. And thanks for sharing your opinion with us. I will note it down and forward it to our team so that they will take care of it in near future update.

-Regards.

0
Yofie Setiawan
Yofie Setiawan
Accepted Answer
3 years ago #76111

Still no fix for this? I'm hitting the same problem here..

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 years ago #76127

If possible give me a screenshot of this please.

0
MV
Manuel Valentin
Accepted Answer
3 years ago #76263

Here is a screenshot, the two icons which I have inserted are given a forced size of 38x95, even though the icon real proportion would be 38x38.

Screenshot

You can also see the live example here: https://www.tenutaletrevirtu.it/it/contatti

0
Yofie Setiawan
Yofie Setiawan
Accepted Answer
3 years ago #76315

Thanks Mehtaz, that works on my side...

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 years ago #76434

Glad to know that. You are most welcome. You can now close this post by accepting the answer.

0
Yofie Setiawan
Yofie Setiawan
Accepted Answer
3 years ago #76436

Well unfortunately this thread started by someone else xD

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 years ago #76439

Oh I am sorry. I did not notice that LOL.

0