Divide a bounding box into equal parts.

Ukończone Opublikowano 5 lat temu Płatność przy odbiorze
Ukończone Płatność przy odbiorze

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)

Algorytmy JavaScript

Numer ID Projektu: #17256865

O projekcie

4 ofert Zdalny projekt Aktywny 5 lat temu

Przyznany użytkownikowi:

andreagiove

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

$15 USD w 1 dzień
(0 ocen)
0.0

4 freelancerów złożyło ofertę za $19 w tym projekcie

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 Więcej

$25 USD w ciągu 1 dnia
(15 Oceny)
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 w ciągu 1 dnia
(0 Oceny)
0.0