mapbox / mapbox/mapbox-java

Add support for Turf transformScale

Open
#1,045 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Turf
Dominant language
Java
Stars
438
Forks
117
PR merge metrics
No merged PRs in 30d

Description

Have seen some maps examples in the wild that do some interesting data visualization with "radiating" Polygon `FillLayer`s. This is possible with Mapbox but it'd be a lot easier to do this with [the Turf transformScale method ](http://turfjs.org/docs/#transformScale)

Ancestry.com (Mapbox):
![Screen Shot 2019-06-10 at 4 47 33 PM](https://user-images.githubusercontent.com/4394910/59233984-a40eb900-8b9f-11e9-8ea5-1e6e90c4b56c.png)

Caviar food delivery (GMaps):
![Screen Shot 2019-06-10 at 4 47 30 PM](https://user-images.githubusercontent.com/4394910/59233986-a40eb900-8b9f-11e9-9cb9-e0f5928d8d50.png)
![Screen Shot 2019-06-10 at 4 47 25 PM](https://user-images.githubusercontent.com/4394910/59233987-a40eb900-8b9f-11e9-9dc3-2a49cbaabe06.png)

Port https://github.com/Turfjs/turf/blob/master/packages/turf-transform-scale/index.js to this repo's Turf package. Looks like [this method uses a lot of other ones](https://github.com/Turfjs/turf/blob/master/packages/turf-transform-scale/index.js#L1-L10)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read Turf's packages/turf-transform-scale/index.js, especially the listed dependencies, then locate the corresponding Turf package in this repository. Port the transformScale method and verify that the Java package provides equivalent scaling behavior to the referenced Turf implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.