Fix javascript leaflet bug

  • Status: Closed
  • Prize: £240
  • Entries Received: 1
  • Winner: kayecandy

Contest Brief

I have some javascript applied to leaflet that produces an offset to polylines reasonably well. It is used to show traffic on the left side of the road (in this case the UK).
https://github.com/bbecquet/Leaflet.PolylineOffset

It works ok, but to any level that is zoomed out often creates circles where there shouldn't be. Other people get this too:
https://github.com/bbecquet/Leaflet.PolylineOffset/issues/1

The competition is for the first person to come up with a solution to remove these bugs, or come up with a workaround in leaflet that shows the same offset for a similar input.

Attached is a typical geojson input (Treegeojson).
Also attached is a powerpoint with different zoom levels showing the issue.

Thanks

Recommended Skills

Employer Feedback

“@kayecandy won the contest on 12 May 2018”

Profile image dumbledown, United Kingdom.

Top entries from this contest

View More Entries

Public Clarification Board

  • dumbledown
    Contest Holder
    • 6 years ago

    The geojson is fine, the offset javascript is not

    • 6 years ago
    1. rohitagarberg
      rohitagarberg
      • 6 years ago

      ok thanks, will get back

      • 6 years ago
  • smallpig
    smallpig
    • 6 years ago

    hello

    • 6 years ago
    1. dumbledown
      Contest Holder
      • 6 years ago

      Hi Di, that's great

      • 6 years ago
    2. dumbledown
      Contest Holder
      • 6 years ago

      Let me know if you've got any questions

      • 6 years ago
  • smallpig
    smallpig
    • 6 years ago

    i'm interested in your project

    • 6 years ago

Show more comments

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!