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

When drawing GeoJson layer, the ends connect sometimes. #605

Closed
facultymatt opened this issue Jan 16, 2015 · 4 comments
Closed

When drawing GeoJson layer, the ends connect sometimes. #605

facultymatt opened this issue Jan 16, 2015 · 4 comments

Comments

@facultymatt
Copy link

I have a map with a GeoJson layer using the geojson directive. Here is generally what happens:

  • I set geojson = LineString1, it draws normally.
  • Then I set geojson = {} to "clear" the layer,
  • Then I set geojson = LineString2.
  • It draws, but the end points of the LineString are connected!

Any thoughts? Am I not clearing properly?

@tombatossals
Copy link
Owner

Hi @facultymatt, can you provide a jsfiddle showing this behaviour?

@facultymatt
Copy link
Author

I was not able to successfully isolate this issue in jsFiddle. Here is my attempt: http://jsfiddle.net/mL6s2wdb/3/, but as you see the drawing works fine.

Closing for now - I will reopen if things change.

@nmccready
Copy link
Contributor

This issue was moved to angular-ui/ui-leaflet#41

@nmccready nmccready reopened this Oct 29, 2015
@tombatossals
Copy link
Owner

I'm going to rework&redesign angular-leaflet-directive to be compatible with Leaflet v1.0. It will mantain almost all its functionality, and will be compatible with the current features of the directive, but I must start from a fresh point, so I'm going to close this issue. If you think it must be worked with the new version, please reopen it.

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

3 participants