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

View File

@@ -17,9 +17,9 @@ describe('ol.geom.LineString', function() {
describe('coordinates', function() {
it('is a Float32Array', function() {
it('is a Float64Array', function() {
var line = new ol.geom.LineString([[10, 20], [30, 40]]);
expect(line.coordinates).toBeA(Float32Array);
expect(line.coordinates).toBeA(Float64Array);
expect(line.coordinates.length).toBe(4);
expect(line.coordinates[0]).toBe(10);