Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polyline not created #10

Open
jax79sg opened this issue Apr 25, 2020 · 1 comment
Open

Polyline not created #10

jax79sg opened this issue Apr 25, 2020 · 1 comment

Comments

@jax79sg
Copy link

jax79sg commented Apr 25, 2020

Hi was trying out your plugin and noted that the polyline could not be created.
This is the code i used, and attached is the outcome.

var standingIcon = L.icon({
    iconUrl: 'man-standing.png',
    iconSize:     [30, 30], 
    iconAnchor:   [15, 29],
    popupAnchor:  [-10, -76],
    tooltipAnchor:[15, -15]
});
solMarker= L.marker(sol,{icon: icon});
solMarker.addTo(map0);
marker.bindTooltip("test");
L.tooltipLayout.resetMarker(marker);
L.tooltipLayout.initialize(map0);

Untitled

Please advise.

Thank you.

@hankerspace
Copy link

Hi, it looks like you use "solMarker" as marker var and then you deal with the "marker" variable... Replace it by solMarker too

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

No branches or pull requests

2 participants