Getting the nanometer precision we deserve with web mercator

This commit is contained in:
Tim Schaub
2013-01-21 10:52:17 -07:00
parent 3cf3ef629c
commit 216d30ddc1
7 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -17,9 +17,9 @@ describe('ol.geom.LinearRing', function() {
describe('coordinates', function() {
it('is a Float32Array', function() {
it('is a Float64Array', function() {
var ring = new ol.geom.LinearRing([[10, 20], [30, 40]]);
expect(ring.coordinates).toBeA(Float32Array);
expect(ring.coordinates).toBeA(Float64Array);
expect(ring.coordinates.length).toBe(4);
expect(ring.coordinates[0]).toBe(10);