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.Point', function() {
describe('coordinates', function() {
it('is a Float32Array', function() {
it('is a Float64Array', function() {
var point = new ol.geom.Point([10, 20]);
expect(point.coordinates).toBeA(Float32Array);
expect(point.coordinates).toBeA(Float64Array);
expect(point.coordinates.length).toBe(2);
expect(point.coordinates[0]).toBe(10);