1

Explaining my question: I want to be able to remove, and-or change the green icons in the "listview" field. (circled in red) Would this be possible?

enter image description here

My HTML Code:

<template>
   
   <!-- Mapping. -->
   <lightning-map 

       map-markers={mapMarkers}
       zoom-level={zoomLevel}
       options={mapOptions}
       list-view={listView}
   
   >

   </lightning-map>

</template>

1 Answer 1

2

From the documentation, this only appears to be possible by building the list view element of the map yourself. This would allow you to control the rendering of each of those elements.

If you were to do this, you'd also need to rebuild the interaction between the list view elements and the map itself. You can either wrap both the map and your list view in a parent component or use the Lightning Message Service use events from the list view/map to handle user interaction such as selecting a map marker.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .