This repository was archived by the owner on Nov 30, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Styling agm-marker labels #2021
Comments
+1 |
Mention the styles property of Google Maps? To be implemented in AGM? |
Not yet, if you finally find some way to solve it, let me know please. |
I'm using the new version of the package @agm/core, and I'm able to do something like this:
|
I'm using *ngFor in the marker tag, and this worked for me: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
Is there a way to style the labels that appear just on top the agm-marker? In my case, I would like to add a shadow to the text, but this doesn't seem to work. If I add the styling for the whole agm-map, I get the desired result, but some text like addresses and street view is also affected.
I've also tried this approach, but it doesn't work either:
agm-marker { text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff; }
Some suggestions?
Here is part of the actual HTML code that I'm currently using.
Thanks!
The text was updated successfully, but these errors were encountered: