Hi everyone,
I’m working on a project that involves integrating a Google Maps component, and I’m trying to customize it by setting a custom icon for markers and assigning a custom ID to them for easier reference in my code. However, I’m running into some challenges and could use some guidance.
Here’s what I’m aiming to achieve:
-
Custom Icon: I want to use a custom image (e.g., a PNG file) as the marker icon instead of the default Google Maps pin.
-
Custom ID: I need to assign a unique ID to each marker to handle events (like clicks) or manipulate specific markers programmatically.
Guide Me Please

