function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
shakib jahanshakib jahan 

I want to customize the color of map marker lightning:map?

The default color of map marker is red. I want to change the map marker's color to red when I click on the marker.
AbhishekAbhishek (Salesforce Developers) 
Hi,

Unfortunately, it's not possible to change marker color in lightning:map

Please refer to the below link which might help you further.

https://developer.salesforce.com/forums/?id=9060G0000005p5IQAQ

For your refernce,

https://success.salesforce.com/answers?id=9063A000000p6x6QAA

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.