Divide a bounding box into equal parts.

Completed Posted 5 years ago Paid on delivery
Completed Paid on delivery

I just need a simple function that when given a set of bounding box coordinates it will split it into X number of equal parts and return an array of each newly calculated bounding box.

Example:

const boundingBox = {minX: -74.0365, minY: 40.7034, maxX: -73.8299, maxY: 40.8916}

function split(bbox, numberOfEqualParts){

// calculate X amount of equally sized bounding boxes

// return an array of each newly calculated bounding box

}

split(boundingBox, 4)

Algorithm JavaScript

Project ID: #17256865

About the project

4 proposals Remote project Active 5 years ago

Awarded to:

andreagiove

I can deal with this problem. The calculated bounding boxes must equal sized both in X and Y coordinates?

$15 USD in 1 day
(0 Reviews)
0.0

4 freelancers are bidding on average $19 for this job

testotorko

Hi, I read carefully your project, and I wanna do it for you. If you wanna work together, send me a message to discuss details. I am an experienced Web Developer and Web Designer, and have worked with wide variety of s More

$25 USD in 1 day
(15 Reviews)
4.1
ajay79220

I have read your description and I can do this for you. But I need more details about it. If you like we can discuss it on the chat. -Thanks

$10 USD in 1 day
(0 Reviews)
0.0