Commit Graph

7949 Commits

Author SHA1 Message Date
Tim Schaub e9fa08fccb Use in-place transforms where possible 2013-03-03 20:53:13 +01:00
Tim Schaub 40bde4056b Accept a destination array for transforms
This allows in-place transforms.
2013-03-03 20:24:14 +01:00
Tim Schaub 7a5e6a06d8 Make transform functions work with arrays
Instead of working with ol.Coordinate instances, transform functions work with arrays.  This is in anticipation of using transform functions to transform large arrays of vertex coordinate values.  The ol.projection.transform and ol.projection.transformWithCodes are slightly more convenient functions for dealing with ol.Coordinate instances.  Whether we make this more consistent with the use of functions returned by ol.projection.getTransform is up for discussion.
2013-03-03 19:27:57 +01:00
Tim Schaub 0df692e159 Lint in the tests 2013-03-03 17:58:03 +01:00
Éric Lemoine bf50828a0d Merge pull request #251 from elemoine/remove-goog-references
Clean up examples
2013-03-03 08:12:57 -08:00
Éric Lemoine bbc9785b81 IE9 supports addEventListener (thanks @fredj) 2013-03-03 17:10:50 +01:00
Éric Lemoine d0c0231d98 Add exports for the canvas export feature 2013-03-03 17:10:50 +01:00
Éric Lemoine bd67a14389 Make wms-capabilities example work when hosted 2013-03-03 17:10:50 +01:00
Éric Lemoine 01d49ef9c9 Remove references to goog in examples 2013-03-03 17:01:37 +01:00
Éric Lemoine e6a42168d8 Merge pull request #249 from elemoine/playwithbuild
SIMPLE and WHITESPACE builds
2013-03-03 06:53:26 -08:00
Tom Payne 7126d63db5 Merge pull request #247 from twpayne/hyperbolic-functions
Add hyperbolic functions
2013-03-03 06:47:32 -08:00
Tom Payne 1c5e29f5a7 Merge pull request #246 from twpayne/xyztilegrid-tests
Add ol.tilegrid.XYZ tests
2013-03-03 06:47:16 -08:00
Tom Payne 183df560ad Merge pull request #245 from twpayne/projection-refactoring
Projection refactoring
2013-03-03 06:46:38 -08:00
Bruno Binet 302ba3a8e1 Merge pull request #248 from bbinet/prefer-canvas
Prefer the canvas renderer over dom.
2013-03-03 06:19:12 -08:00
Bruno Binet 0a462f1254 Prefer the canvas renderer over dom. 2013-03-03 15:11:27 +01:00
Éric Lemoine 6b9e79171b SIMPLE and WHITESPACE builds 2013-03-03 15:05:02 +01:00
Tom Payne a94418edab Add ol.tilegrid.XYZ tests 2013-03-03 14:48:37 +01:00
Tom Payne 00ce5c6a78 Add hyperbolic functions 2013-03-03 14:47:25 +01:00
Frédéric Junod b14912567b Merge pull request #244 from fredj/zoom-control
Zoom control
2013-03-03 04:37:44 -08:00
Tom Payne bf944e158a Make Proj4js classes and functions private 2013-03-03 13:14:08 +01:00
Tom Payne fcc620af7d Separate ol.projection module from ol.Projection class 2013-03-03 13:09:13 +01:00
Tom Payne 3e420313a2 Only require things that start with a capital letter 2013-03-03 13:08:34 +01:00
Frederic Junod 0fcc06b8ae Set ol-zoom content in css using :before pseudo class 2013-03-03 12:23:29 +01:00
Tom Payne f6575f3195 Add EPSG:4326 example 2013-03-03 12:22:24 +01:00
Tom Payne 17bd715495 Cope with axis orientation in single image WMS sources 2013-03-03 12:22:24 +01:00
Tom Payne 66e5b1d736 Cope with axis orientation for tiled WMS sources 2013-03-03 12:22:24 +01:00
Tom Payne 6b26cbfb38 Refactor projection architecture 2013-03-03 12:22:24 +01:00
Frederic Junod 7d79a77052 Remove css size dependent rule (hover color) 2013-03-03 12:10:12 +01:00
Bruno Binet 9053e1dfc8 Merge pull request #237 from bbinet/tilegrid_extent_cleanup
Remove extent property from ol.tilegrid.TileGridOptions
2013-03-03 02:20:52 -08:00
Bruno Binet 4bdf59bc6b Remove extent property from ol.tilegrid.TileGridOptions
This follows tilegrid extent_ property removal from #216.
2013-03-02 10:36:11 +01:00
Frédéric Junod 8a66d69d3b Merge pull request #235 from fredj/tilejson-externs
Fix 'grids' type declaration.
2013-03-01 01:17:59 -08:00
Tim Schaub ff27fd33a1 Merge pull request #232 from tschaub/projection-tests
Projection tests
2013-02-27 21:06:54 -08:00
Frédéric Junod 709b5f2e73 Merge pull request #236 from fredj/exports
Add some missing exports and fix side-by-side example
2013-02-27 12:51:43 -08:00
Frederic Junod 5ccf94a395 Do not use goog.now() in the examples (see #229) 2013-02-27 13:58:30 +01:00
Frederic Junod 90cb0e8fcb Export ol.easing.* 2013-02-27 13:52:39 +01:00
Frederic Junod dda4060d84 Export ol.animation.zoom 2013-02-27 13:35:32 +01:00
Frederic Junod 7a8b331213 Fix 'grids' type declaration.
grids property is optional.
see: https://github.com/mapbox/tilejson-spec/blob/master/2.0.0/README.md
2013-02-27 10:18:19 +01:00
Tim Schaub 52da64564c Tests for getting transforms
These are regression tests for #231.
2013-02-25 11:40:55 -07:00
Tim Schaub ca85c26537 Method for removing cached transforms 2013-02-25 11:28:14 -07:00
Tim Schaub 940ba8afa7 Stray debugger 2013-02-25 11:26:04 -07:00
Tim Schaub 72ba8c4cbd Smoke test for ol.Projection.getTransformFromCodes 2013-02-25 10:36:21 -07:00
Tim Schaub 48e69f7559 Unused var 2013-02-25 10:36:21 -07:00
Tim Schaub 86262bf17e Space for linter 2013-02-25 10:36:21 -07:00
Tim Schaub 6ceae978bf Merge pull request #231 from probins/projfix
Fix bug/typo in projection.getTransform
2013-02-25 09:33:10 -08:00
Peter Robins 343d52cff1 Fix bug/typo in projection.getTransform
Destination projection is currently using the source projection code
2013-02-25 15:18:51 +00:00
Éric Lemoine d716a2dec1 Merge pull request #228 from elemoine/fixcomments
Update comments in hosted examples loader
2013-02-22 14:24:20 -08:00
Éric Lemoine 31bcd2832e Update comments in hosted examples loader 2013-02-22 23:23:04 +01:00
Éric Lemoine a8bb782e99 Merge pull request #227 from elemoine/removestandalone
Remove examples/standalone dir
2013-02-22 14:22:08 -08:00
Éric Lemoine 981c1dcbd7 Remove examples/standalone dir 2013-02-22 23:16:36 +01:00
Tom Payne 6ce3ebba5b Merge pull request #226 from twpayne/preserve-low-resolution-tiles
Preserve low resolution tiles
2013-02-22 02:14:41 -08:00