-
Notifications
You must be signed in to change notification settings - Fork 1.1k
need example of markerlabel #820
Comments
In examples or the website or both? |
Just website - super easy |
ok i'll take care of it. |
BTW just got a private email asking for help on the same window/windows problem you had last week. Is there a ticket for an example for that as well? @aesnyder |
@nmccready I don't see a ticket for it - I think we should make it to update the website to only use a template. As we will be deprecating the non-template approach in the near future. |
Hi. I try to use the marker with label and i cant get it working. My controller code var latitude = 10;
var longitude = 10;
var latLng = new google.maps.LatLng(latitude,longitude);
$scope.map = { center: { latitude: latitude, longitude: longitude}, zoom: 15 };
$scope.marker = {
id: 0,
coords:{
latitude:latitude,
longitude: longitude
},
options:{
labelContent:"Commerzbank Hamburg",
position:latLng
}
}; in the html file <ui-gmap-google-map center='map.center' zoom='map.zoom'>
<ui-gmap-marker coords="marker.coords" idkey="marker.id" options="marker.options">
</ui-gmap-marker>
</ui-gmap-google-map> ther marker occurs, but there is no text. can you give me here a little example ? |
Dig into the marker-child-model.coffee code and see what is required for a marker-label to occur. |
Also your |
Now that markerlabel directive has been deprecated. I think it would behoove us to have an example of using marker to acheive the same results.
The text was updated successfully, but these errors were encountered: