Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne bf9b0b4dd2 Merge pull request #779 from twpayne/ch-projection
Add native support for Swiss projections
2013-06-18 06:36:29 -07:00
Tom Payne 7b9ac53ace Merge pull request #749 from openlayers/webgl-vector
Skeleton WebGL vector support
2013-06-17 07:08:33 -07:00
Tom Payne cbf88de606 Don't include Swiss projections in default build 2013-06-17 12:23:29 +02:00
Tom Payne 941432af75 Use rigorous Swiss grid / EPSG:4326 transforms 2013-06-17 12:23:29 +02:00
Tom Payne 826556775c Add ol.ellipsoid.BESSEL1841 2013-06-17 12:23:29 +02:00
Tom Payne 0968e2b00b Add ol.proj.EPSG2056 and factor out common code 2013-06-17 12:23:29 +02:00
Tom Payne c02e2530f1 Add ol.proj.EPSG21781 2013-06-17 12:23:28 +02:00
Tom Payne b08a086a11 Merge pull request #787 from twpayne/proj-related-clean-ups
Projection-related clean ups
2013-06-12 07:44:52 -07:00
Tom Payne e0dd15567c Add ol.Ellipsoid#e and #eSquared 2013-06-12 16:05:00 +02:00
Tom Payne 1e9ccab806 Make ol.Ellipsoid properties constant 2013-06-12 16:05:00 +02:00
Tom Payne 9751bde8d1 Clean up whitespace 2013-06-12 16:05:00 +02:00
Tom Payne bbb95e15fa Fix line collection arguments in tests, thanks @ahocevar 2013-06-10 14:43:01 +02:00
Tom Payne fc79a0ef3b Merge pull request #771 from ahocevar/leaner-webgl-vector
Removing canvas renderer stub for VectorLayer2
2013-06-10 05:11:19 -07:00
Tom Payne 85ca39cf0c Add warnings about internal classes and functions 2013-06-06 18:36:40 +02:00
Tom Payne a858664035 Add warning about internal API to example 2013-06-06 18:36:00 +02:00
Tom Payne 5850dff254 Use long LineString in ten-thousand-points example 2013-06-01 18:16:44 +02:00
Tom Payne 45572931a1 Draw LineStrings using drawElements
This enables drawing of LineStrings with more than two coordinates.
2013-06-01 18:16:43 +02:00
Tom Payne e260255ce8 Return Uint16Array from ol.geom2.LineStringCollection#getIndices 2013-06-01 18:16:43 +02:00
Tom Payne 38c0e24bcd Add Assertion#arreql
Needed because expect.js's eql does not support typed arrays.
2013-06-01 18:16:43 +02:00
Tom Payne 3225a07f6f Add ol.geom2.LineStringCollection#getIndices 2013-06-01 18:16:43 +02:00
Tom Payne db2f805ed9 Return split values in a single interleaved Float32Array 2013-06-01 18:16:43 +02:00
Tom Payne 42f15f000b Add ol.structs.Buffer#getSplit32 2013-06-01 18:16:43 +02:00
Tom Payne f61edacb5c Activate ol.renderer.canvas.VectorLayer2 bare skeleton 2013-06-01 18:16:43 +02:00
Tom Payne 674468268e Add ol.renderer.canvas.VectorLayer2 bare skeleton 2013-06-01 18:16:43 +02:00
Tom Payne f55fed9bc3 Add ten thousand points example 2013-06-01 18:16:42 +02:00
Tom Payne 2484cf2c55 Add line string rendering 2013-06-01 18:16:42 +02:00
Tom Payne 8f86288614 Add line string collections to ol.source.VectorSource2 2013-06-01 18:16:42 +02:00
Tom Payne 1690cb9cae Add ol.geom2.LineStringCollection 2013-06-01 18:16:42 +02:00
Tom Payne 4cc5441579 Activate ol.renderer.webgl.VectorLayer2 2013-06-01 18:16:42 +02:00
Tom Payne e4b5ec8f0b Add ol.renderer.webgl.VectorLayer2 2013-06-01 18:16:42 +02:00
Tom Payne bed8c44859 Add ol.layer.VectorLayer2 2013-06-01 18:09:29 +02:00
Tom Payne ac48fae0af Add ol.source.VectorSource2 2013-06-01 18:09:29 +02:00
Tom Payne 93ba55d357 Add ol.geom2.PointCollection 2013-06-01 18:09:29 +02:00
Tom Payne d51cdc0e48 Add ol.geom2 utility functions 2013-06-01 18:09:29 +02:00
Tom Payne 7fd2e1ffca Factor out ol.structs.Buffer#allocate 2013-06-01 18:09:29 +02:00
Tom Payne bcf7707b01 Factor out ol.structs.Buffer#markDirty 2013-06-01 18:09:28 +02:00
Tom Payne 075f4aadc7 Merge pull request #748 from twpayne/rename-projection-to-proj
Rename ol.projection to ol.proj
2013-05-31 04:34:22 -07:00
Tom Payne 46553c719c Rename ol.projection to ol.proj 2013-05-30 18:55:58 +02:00
Tom Payne 795ea69982 Merge pull request #722 from twpayne/unused-variable-check
More rigorous linting
2013-05-28 08:06:30 -07:00
Tom Payne 11672db967 Use === and !== for comparisons with 0 2013-05-28 16:07:48 +02:00
Tom Payne c0cfc7872e Add missing semicolons 2013-05-28 16:03:32 +02:00
Tom Payne e744a1b6e9 Enable all gjslint errors 2013-05-28 16:01:34 +02:00
Tom Payne 975e180b26 Fix typo in ol.style.Icon 2013-05-28 16:01:34 +02:00
Tom Payne 7046ebe261 Remove unused variables in tile range 2013-05-28 16:01:34 +02:00
Tom Payne f4d54ace1d Remove unused variables in structs 2013-05-28 16:01:34 +02:00
Tom Payne 8b539cd4cc Remove unused variables in sphere 2013-05-28 16:01:34 +02:00
Tom Payne 20982bba31 Remove unused variables in sources 2013-05-28 16:01:33 +02:00
Tom Payne f64e35e8bb Remove unused variables in renderers 2013-05-28 16:01:33 +02:00
Tom Payne 268c18988b Remove unused variables in parsers 2013-05-28 16:01:33 +02:00
Tom Payne 42b6ed5d2a Remove unused variables in interactions 2013-05-28 16:01:33 +02:00
Tom Payne b021bfd70f Remove unused variables in geom 2013-05-28 16:01:33 +02:00
Tom Payne 6900c90bc5 Remove unused variables in examples 2013-05-28 15:15:49 +02:00
Tom Payne 1c77fb2357 Merge pull request #740 from twpayne/rtree-clean-ups
R-tree clean-ups
2013-05-28 06:14:57 -07:00
Tom Payne a162b6fab3 Use empty extents and refactor for clarity 2013-05-25 20:39:55 -05:00
Tom Payne f0baf2efc2 Add ol.extent.empty 2013-05-25 20:38:11 -05:00
Tom Payne 18b1789512 Sort methods alphabetically 2013-05-25 19:50:44 -05:00
Tom Payne d80ded31ee Clean up some comments 2013-05-25 19:46:40 -05:00
Tom Payne aaa4fec141 Move insert into method 2013-05-25 19:39:51 -05:00
Tom Payne a871f29e75 Move remove into method 2013-05-25 19:35:59 -05:00
Tom Payne ea1ee73392 Move search and searchReturningObject into methods 2013-05-25 19:33:46 -05:00
Tom Payne 32c663cf2c Move more functions into private methods 2013-05-25 19:24:45 -05:00
Tom Payne 3cdb9f130b Make minWidth and maxWidth private member variables 2013-05-25 18:27:38 -05:00
Tom Payne 476e35c276 Move makeMBR into private static function 2013-05-25 18:17:38 -05:00
Tom Payne 7f22455eed Move squarifiedRatio into private static function 2013-05-25 18:14:52 -05:00
Tom Payne 0b09148fb5 Merge pull request #697 from twpayne/fix-nan-test
Fix NaN test
2013-05-08 05:59:16 -07:00
Tom Payne 9286d63133 Merge pull request #693 from twpayne/class-name
Add className option to control options
2013-05-08 05:35:37 -07:00
Tom Payne b4598aa5d9 Fix NaN test 2013-05-08 14:32:16 +02:00
Tom Payne 97510ba0be Use className in mouse position example 2013-05-07 17:33:33 +02:00
Tom Payne 2ad5dea737 Rename ol-mouseposition to ol-mouse-position 2013-05-07 17:31:26 +02:00
Tom Payne b698b1736f Add className option to ol.control.ZoomSlider 2013-05-07 16:36:25 +02:00
Tom Payne 9c59116dd1 Make zoom slider control options optional 2013-05-07 16:31:39 +02:00
Tom Payne ab9fc9cc71 Inline simple function that is only called once 2013-05-07 16:28:22 +02:00
Tom Payne b7e2a9b40e Add className option to ol.control.Zoom 2013-05-07 16:19:50 +02:00
Tom Payne 09feaedd00 Add className option to ol.control.ScaleLine 2013-05-07 16:19:21 +02:00
Tom Payne f31a4f8549 Add className option to ol.control.MousePosition 2013-05-07 16:18:05 +02:00
Tom Payne 525d5c5337 Add className option to ol.control.Logo 2013-05-07 16:17:51 +02:00
Tom Payne f08814250e Add className option to ol.control.FullScreen 2013-05-07 16:17:35 +02:00
Tom Payne 8c396e5afb Add className option to ol.control.Attribution 2013-05-07 16:17:13 +02:00
Tom Payne 331a5260c9 Merge pull request #679 from twpayne/rename-create-empty-extent
Rename ol.extent.createEmptyExtent to ol.extent.createEmpty
2013-05-01 03:45:51 -07:00
Tom Payne b070b572d0 Rename ol.extent.createEmptyExtent to ol.extent.createEmpty 2013-05-01 12:36:54 +02:00
Tom Payne 70fc6879db Merge pull request #676 from twpayne/testing-clean-ups
Testing clean-ups
2013-05-01 03:25:09 -07:00
Tom Payne a9b5f003e5 Merge pull request #677 from twpayne/improve-type-checking
Improve type checking
2013-04-30 15:55:34 -07:00
Tom Payne 1ab9de8b2c Improve type checking in ol.View2D 2013-04-30 22:00:22 +02:00
Tom Payne 0541053fa9 Improve type checking in ol.TileUrlFunction 2013-04-30 22:00:22 +02:00
Tom Payne 0e69af847e Improve type checking in ol.source.WMTS 2013-04-30 22:00:22 +02:00
Tom Payne 6e1f049456 Improve type checking in ol.source.StaticImage 2013-04-30 22:00:22 +02:00
Tom Payne 65f891a30d Improve type checking in ol.source.BingMaps 2013-04-30 22:00:22 +02:00
Tom Payne fe9fee1609 Improve type checking in ol.RotationConstraint 2013-04-30 22:00:22 +02:00
Tom Payne bd9d723315 Improve type checking in ol.ResolutionConstraint 2013-04-30 22:00:22 +02:00
Tom Payne 2690410cbe Improve type checking in ol.renderer.Layer 2013-04-30 22:00:22 +02:00
Tom Payne 070c286c54 Improve type checking in ol.ImageUrlFunction 2013-04-30 22:00:21 +02:00
Tom Payne 539529af59 Improve type checking in ol.coordinate 2013-04-30 21:29:56 +02:00
Tom Payne d2979fc4ff Improve type checking in ol.animation 2013-04-30 21:29:10 +02:00
Tom Payne f0df0d7bf2 Display test errors in Chrome's console, thanks @Turbo87 2013-04-30 18:44:09 +02:00
Tom Payne 984121e095 Remove Assertion#equalArray 2013-04-30 18:22:16 +02:00
Tom Payne efccede678 Use eql instead of equalArray 2013-04-30 18:21:58 +02:00
Tom Payne fcc079a5f2 Extend expect.js's eql to handle NaNs 2013-04-30 18:20:34 +02:00
Tom Payne c012afdbae Remove unused Assertion#intersect 2013-04-30 18:08:24 +02:00
Tom Payne 59a4155651 Merge pull request #665 from twpayne/fix-firefox-dom-renderer
Prevent Bootstrap's setting of max-width from infecting map
2013-04-30 06:46:41 -07:00
Tom Payne 2d83003b64 Merge pull request #671 from twpayne/refactor-tile-functions
Refactor tile functions
2013-04-30 06:39:25 -07:00