Fix javascript leaflet bug

  • Status: Closed
  • Hadiah: £240
  • Penyertaan Diterima: 1
  • Pemenang: kayecandy

Ringkasan Peraduan

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

Kemahiran Disyorkan

Maklum Balas Majikan

“@kayecandy won the contest on 12 May 2018”

Gambar Profil dumbledown, United Kingdom.

Penyertaan teratas dari peraduan ini

Lihat Lebih Banyak Entri

Papan Penjelasan Umum

  • dumbledown
    Penganjur Peraduan
    • 6 tahun yang lalu

    The geojson is fine, the offset javascript is not

    • 6 tahun yang lalu
    1. rohitagarberg
      rohitagarberg
      • 6 tahun yang lalu

      ok thanks, will get back

      • 6 tahun yang lalu
  • smallpig
    smallpig
    • 6 tahun yang lalu

    hello

    • 6 tahun yang lalu
    1. dumbledown
      Penganjur Peraduan
      • 6 tahun yang lalu

      Hi Di, that's great

      • 6 tahun yang lalu
    2. dumbledown
      Penganjur Peraduan
      • 6 tahun yang lalu

      Let me know if you've got any questions

      • 6 tahun yang lalu
  • smallpig
    smallpig
    • 6 tahun yang lalu

    i'm interested in your project

    • 6 tahun yang lalu

Tunjukkan lebih banyak komen

Bagaimana untuk mulakan dengan peraduan

  • Siarkan peraduan anda

    Siarkan Peraduan Anda Cepat dan mudah

  • Dapatkan berjuta penyertaan

    Dapatkan Bertan-tan Penyertaan Dari serata dunia

  • Anugerahkan penyertaan terbaik

    Anugerahkan penyertaan terbaik Muat turun fail - Mudah!

Siarkan Peraduan Sekarang atau Sertai kami Hari Ini!