Desarrollo Java Script Leaflet

Job ID: 33726331

Budget: $10 – $30 USD

Program the application according to the following specification:
o The application takes the number of points to be calculated as user input.
o It passes the number of points to a function that generates random point
coordinates and writes them into an array of points in the following syntax:
[[lat,lon][lat,lon]…].
o The points should vary +/- one degree around a central coordinate of your
choice.
o After all points have been generated, the “generate point” function calls a
“sort and count” function.
o The “sort and count” function checks in which quadrants the points fall:
north-west, north-east, south-west or south-east of your central coordinate.
o The sum of points for each quadrant are displayed on the website.

and the other task

Explore the data
o Access the JSON dataset from Movebank that is returned from this REST
URL:
https://www.movebank.org/movebank/service/public/json?study_id=2911040&indi
vidual_local_identifiers=4262-84830876&individual_local_identifiers=1163-
1163&individual_local_identifiers=2131-2131&sensor_type=gps
o explore the data with your browser and answer the following questions:
o The tracks of which species are the recorded in this file?
o How many individual animals (“individuals”) are present in the data?
o How can the latitude coordinate be accessed through the JSON hierarchy?
Finish the code line that assigns the latitude of the first data record of the
second animal in the file to your yCoord variable:
var yCoord = ajaxResponse.resposeJSON.
Related categories: JavaScript AJAX HTML