Page MenuHomePhabricator

Draw smoothed polygons and lines
Open, LowestPublic

Description

A feature request. When a GeoJSON polygon or line is overlaid on the map, it would be nice to have an option in mapframe to generate a curve from a small number of points rather than a jagged outline - possibly using a spline or Bezier. See example here
https://runkit.com/roblabs/bezier-spline-from-geojson-linestring

Event Timeline

Shyamal created this task.May 11 2018, 7:54 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 11 2018, 7:54 AM
Vvjjkkii renamed this task from Draw smoothed polygons and lines to s5caaaaaaa.Jul 1 2018, 1:11 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from s5caaaaaaa to Draw smoothed polygons and lines.Jul 1 2018, 4:16 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.
01tonythomas added subscribers: Florian, 01tonythomas.

smoothFactor in lib/external/mapbox/mapbox-lib.js: 8768 can do what we want.

The thing is we find it difficult to make it configurable :-(

MSantos triaged this task as Lowest priority.Sep 25 2018, 3:19 PM
MSantos moved this task from Unsorted to Feature requests on the Maps (Kartographer) board.