Find Jobs
Hire Freelancers

Coordinate search function (Circle packing)

$30-250 USD

In Progress
Posted about 4 years ago

$30-250 USD

Paid on delivery
We are looking for someone who can solve our problem. We have multiple functions that return geo coordinates for a given start location in a radius that is unknown for us. We need to create a function that does the same, but in a specified radius search radius. Here an example code in typescript: ``` type LatLng = { lat: number; lng: number; } // --- CREATE A MOCK FUNCTION FOR TESTING --- function findLocationsNearbyStartLocationA(startLocation: LatLng): LatLng[] { const UNKOWN_SEARCH_RADIUS = 50; // This is constant but unknown. const numberOfFoundLocations = random(); // Between zero (inclusive) and infinity const locations: LatLng[] = []; for (let i = 0; i < numberOfFoundLocations; i++) { locations[i] = random(startLocation, UNKOWN_SEARCH_RADIUS); } return locations; } // --- CREATE A MOCK FUNCTION FOR TESTING function findLocationsNearbyStartLocationB(startLocation: LatLng, radius: number): LatLng[] { // --- YOUR CODE --- return findLocationsNearbyStartLocationA(startLocation); // --- YOUR CODE --- } // --- EXAMPLE OF USAGE --- findLocationsNearbyStartLocationB({ lat: -42.24564, lng: 150.13504 }, 900); // --- EXAMPLE OF USAGE --- ``` The programming language u use doesn't matter. Use what is best for u. If you a free of choice, then use typescript. Be aware that the function can also return zero locations.
Project ID: 24840917

About the project

7 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, I have gone through the requirements. Good experience in creating custom softwares. Will do this application using Laravel framework. I am immediately available for this job. Please contact for further discussions. Regards, Keval
$140 USD in 7 days
0.0 (0 reviews)
0.0
0.0
7 freelancers are bidding on average $203 USD for this job
User Avatar
Hi, I can give this a shot for you and probably be done within 5 days. Kindly reach out and let's you would like to get started and finalise offer. I look forward to reading from you
$300 USD in 5 days
5.0 (10 reviews)
5.0
5.0
User Avatar
I can help you with your research. After reading your project details, I feel, I am the best option for you to fulfill this project with 100% perfection. I am working in this industry since 2014 and I have served more than 1200 clients with full amount of satisfaction. I can deliver your work within your given deadline and budget. Please give me a chance. I PROMISE, You will find it GREAT. Thanks, please send me complete details via freelancer chat.
$30 USD in 1 day
5.0 (1 review)
2.6
2.6
User Avatar
hello, I am hardworking person. I know that how to complete my work very well and I try complete my work before given time. I do. You can see giving me a chance. thank you.
$222 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SWITZERLAND
Spiez, Switzerland
5.0
5
Payment method verified
Member since Mar 24, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.