new /readme structure
This commit is contained in:
parent
6145b889e5
commit
7302759ab0
11 changed files with 6 additions and 175 deletions
|
|
@ -48,7 +48,8 @@ Ox.load({UI: {showScreen: true}, Geo: {}}, function() {
|
|||
latSize = Math.sqrt(area) / Ox.EARTH_CIRCUMFERENCE * 360,
|
||||
lngSize = Math.sqrt(area) * Ox.getDegreesPerMeter(data.latitude);
|
||||
/*
|
||||
Our city object will look like this:<pre>
|
||||
Our city object will look like this:
|
||||
<pre>
|
||||
{
|
||||
"area": 1460851200,
|
||||
"capital": false,
|
||||
|
|
@ -65,7 +66,8 @@ Ox.load({UI: {showScreen: true}, Geo: {}}, function() {
|
|||
"region": "Asia, Eastern Asia, China",
|
||||
"south": 31.050547083986842,
|
||||
"west": 121.25731130524166
|
||||
}</pre>
|
||||
}
|
||||
</pre>
|
||||
Obviously, in a real-world scenario, you would make sure that the
|
||||
data already comes in this form.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue