Divide a bounding box into equal parts.

Përfunduar Postuar 5 vite mё parё Paguhet në dorëzim
Përfunduar Paguhet në dorëzim

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)

Algoritëm JavaScript

ID Projekti: #17256865

Rreth projektit

4 propozimet Projekti në distancë Aktiv 5 vite mё parё

Është zgjedhur fitues:

andreagiove

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

$15 USD për 1 ditë
(0 Përshtypje)
0.0

4 profesionistë freelancer dërguan një ofertë mesatare prej $19 për këtë punë

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 Më shumë

$25 USD për 1 ditë
(15 Përshtypje)
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 për 1 ditë
(0 Përshtypje)
0.0