Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

static labels not working with leaflet labels and markercluster #36

Open
nmccready opened this issue Oct 29, 2015 · 1 comment
Open

Comments

@nmccready
Copy link
Contributor

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:
Leaflet/Leaflet.label#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
Copy link
Contributor Author

From @tombatossals on December 29, 2014 12:23

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant