I was trying to add text in the middle of circles drawn using sebm-google-map-circle angular2 component. It seems its not much easier. If any one know, please let me know. Thanks very much
Asked
Active
Viewed 787 times
0

Francesco Borzi
- 56,083
- 47
- 179
- 252

Rohitha
- 145
- 1
- 11
-
For multiple characters : http://jsfiddle.net/LLd4drvx/290/ – Chetann May 29 '17 at 07:25
-
For single Character https://developers.google.com/maps/documentation/javascript/examples/marker-labels – Chetann May 29 '17 at 07:25
-
Thanks @Chetann . Two thing here 1. I am expecting to do this in angular 2. but these example is not so 2. This shows maker. I need only to show text. – Rohitha May 29 '17 at 07:32
-
Got solve second part here which is showing maker. I just set icon: " " and now no more icon showing and only label shows to user. So then the only thing is that how to achieve same thing in angular 2 – Rohitha May 29 '17 at 07:51
1 Answers
0
This solved my issue :)
<sebm-google-map-marker
[latitude]="lat"
[longitude]="lng"
[label]="100 USD"
[iconUrl]="'{}'">
</sebm-google-map-marker>

Rohitha
- 145
- 1
- 11