angular-ui / ui-leaflet

AngularJS directive to embed an interact with maps managed by Leaflet library
http://angular-ui.github.io/ui-leaflet
Other
315 stars 137 forks source link

static labels not working with leaflet labels and markercluster #36

Open nmccready opened 8 years ago

nmccready commented 8 years ago

From @muuuub on December 25, 2014 2:42

Static labels won't show up in angular-leaflet-directive using markercluster.

Here is my marker:

m1: {
    lat: 51.5,
    lng: 0,
    focus: true,
    draggable: false,
    group: "my_cluster_group",
    label: {
        message: "Hi there",
        options: {
            noHide: true
        }
    }
}

If noHide: false then the label will show up if you over over the marker, but it won't be a static label.

There was an issue filed on the leaflet.label github related to this: https://github.com/Leaflet/Leaflet.label/issues/35

However the issue was marked as fixed (for desktop), so I think this problem might be something to do with angular-leaflet-directive.

I'm using:

leaflet.label 0.2.1 markercluster 0.4.0 leaflet 0.7.3 angular-leaflet-directive 0.7.9

Copied from original issue: tombatossals/angular-leaflet-directive#581

nmccready commented 8 years ago

From @tombatossals on December 29, 2014 12:23

Please, could you write a jsfiddle as an example of this issue?