Hiding Lon / Lat in Map Component

HI All,

Loving getting to know Glide! Have a quick question and a bit of a dichotomy.

To show a pin on the map the Location co-ordinates need to be used (and therefore displayed on the map pop up to then view the detail) in the address field of the map component. Can this be hidden with some CSS?

Thanks for any insight into this tricky little one. Do I just bite the bullet and go Google Maps?

Best

John

It can be hidden with CSS, yes.

  1. Give your map component a CSS class like no-lon-lat
  2. Go to settings → appearance → custom CSS and type the following:
.no-lat-lon [class*="map-collection-lazy___StyledDiv11"] {
display:none;
}

Let me know if this works.

2 Likes