Calculate how many cells in longitude should be used, so that the search square is roughly 0.1 * 0.1 km^2
earthCircumfKmCircumference of the Earth, in km
length1DegLatKmLength of one degree of latitude, in km
resKmDesired spatial resolution, in km
resDegMeridional spatial resolution, in degrees
nlatNumber of latitude cells that go from 90N to 90S
nlonNumber of longitude cells that go from 180W to 180E
latArray of latitudes (in decreasing order)
lonArray of longitudes (in increasing order)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.