Tim Schaub bfc42ffa62 More realistic precision for cosine distance results
Chris Veness' discussion of using the spherical law of cosines (http://www.movable-type.co.uk/scripts/latlong.html) suggests it gives well-conditioned results "around 1 metre" in JavaScript (this assumes a sphere with 6,371km radius).

In Chrome 33, Math.pow(Math.cos(Math.PI / 4), 2) yields 0.4999999999999999.  When we take the arccosine of twice this, we get something significantly different than zero.  Multiplying by 6371 means we can't assert that this is within 1e-9 of zero.
2014-02-24 15:54:17 -07:00
2014-02-17 17:37:25 +01:00
2014-02-20 16:47:34 +01:00
2014-01-09 23:04:15 +01:00
2014-02-17 17:37:07 +01:00
2014-01-29 15:12:53 +01:00
2014-02-19 18:04:08 +01:00
2014-02-24 15:26:13 +01:00
2014-02-03 14:59:06 -07:00
2013-11-06 19:11:21 +01:00
2013-11-20 11:39:20 +01:00
2013-02-12 15:47:55 +01:00
2013-03-22 10:59:09 +01:00
2014-02-03 14:59:06 -07:00
2013-04-03 13:04:37 +02:00

OpenLayers 3

Travis CI Status

Welcome to OpenLayers 3!

Check out the hosted examples or poke around the evolving API docs.

Please don't ask questions in the github issue tracker but use the mailing list instead.

Please see our guide on contributing if you're interested in getting involved.

Description
Languages
JavaScript 99%
CSS 0.6%
Handlebars 0.3%
Shell 0.1%