1
0
Fork 0
forked from 0x2620/oxjs

new /readme structure

This commit is contained in:
rolux 2012-06-20 11:06:15 +02:00
commit 7302759ab0
11 changed files with 6 additions and 175 deletions

View file

@ -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.
*/