components icon indicating copy to clipboard operation
components copied to clipboard

feat(@angular/google-maps): Add Custom HTML Marker Support

Open h-ghandour opened this issue 5 years ago • 9 comments

currently @angular/google-maps does not support creating your own html marker .

Use Case It will be helpful in customizing the marker and we will have more control over it

An Example of what I would love to see is : https://levelup.gitconnected.com/how-to-create-custom-html-markers-on-google-maps-9ff21be90e4b

h-ghandour avatar Dec 06 '20 02:12 h-ghandour

+1

vincentpare1 avatar Apr 02 '21 19:04 vincentpare1

Agreed with this. I got a pretty fair way with this but realised it couldn't do what I wanted, which was to be able to be able to map the markers individually to a particular object in an array of objects so that I could display just that objects content. I don't see any way to do this since you can't customise the markers one by one, you can only customise all the markers.

laraw avatar Apr 05 '21 05:04 laraw

+2

danilomr12 avatar Jul 14 '21 13:07 danilomr12

+1

mamzellejuu avatar Nov 11 '21 15:11 mamzellejuu

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] avatar Mar 13 '22 15:03 angular-robot[bot]

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.

angular-robot[bot] avatar Apr 01 '22 15:04 angular-robot[bot]

To solve this problem I used the @googlemaps/markerwithlabel library and passed a reference to map instance retrieved from the mapInitializedEvent. Good luck!

NCBloodhound avatar Aug 03 '22 18:08 NCBloodhound

I think this should be supported now using the map-advanced-marker and the content input.

crisbeto avatar Nov 25 '25 09:11 crisbeto

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.