Commit Graph

10316 Commits

Author SHA1 Message Date
Bruno Binet
cf4799e87c Add support for layer min/maxResolution 2013-09-19 16:59:38 +02:00
Frédéric Junod
9a8269f780 Merge pull request #1040 from fredj/goog_global
Use goog.global instead of window
2013-09-19 06:46:34 -07:00
Marc Jansen
346fe30a1b Merge pull request #1038 from marcjansen/example-compression-selection
examples: remove social links / include tool to switch compression
2013-09-19 06:10:53 -07:00
Marc Jansen
9e0b560cf6 Remove now obsolete file social-link.js. 2013-09-19 15:05:31 +02:00
Frederic Junod
4666f64673 Use goog.global instead of window
See f1f319d6ad
2013-09-19 15:03:17 +02:00
Frédéric Junod
58693be9e6 Merge pull request #1039 from fredj/perf
Only reset canvas transformation matrix when it has changed
2013-09-19 02:37:57 -07:00
Frederic Junod
9906497cb8 Only reset canvas transformation matrix when it has changed 2013-09-18 19:12:36 +02:00
Frédéric Junod
8a97535d93 Merge pull request #1037 from fredj/perf
ol.TileCoord.getKeyZXY optimization
2013-09-18 09:16:28 -07:00
Marc Jansen
6d40b170d6 Examples: Remove social links. 2013-09-18 17:39:52 +02:00
Marc Jansen
886e38a69b Examples: Add switch compilation level tool. 2013-09-18 17:26:46 +02:00
Frederic Junod
e30d0fefb0 Concatenate keys instead of joining it
For performances reasons, see http://jsperf.com/array-join-string-concat
2013-09-18 17:19:50 +02:00
Frederic Junod
42f7288d73 Assign function instead of calling it 2013-09-18 17:19:50 +02:00
Tom Payne
0e4c5d10c5 Merge pull request #1024 from pagameba/doc-interactions
Documentation for Interactions
2013-09-18 08:05:46 -07:00
Marc Jansen
9deffc9d87 Merge pull request #1035 from marcjansen/jsdoc
Fix spelling on API-doc index page.
2013-09-18 04:50:25 -07:00
Marc Jansen
67f2e57635 Fix spelling on API-doc index page. 2013-09-18 13:48:47 +02:00
Tom Payne
578e83d80a Merge pull request #1033 from twpayne/no-coffee
Remove dependency on CoffeeScript
2013-09-18 03:39:10 -07:00
Tom Payne
fef6f5c0a5 Use compiled mocha-phantomjs.js instead of CoffeScript 2013-09-18 11:25:55 +01:00
Tom Payne
98ba6b63a4 Add compiled version of mocha-phantomjs.js 2013-09-18 11:25:28 +01:00
Frédéric Junod
c0486f6f65 Merge pull request #1031 from fredj/unused_requires
Remove unused goog.requires
2013-09-17 01:40:56 -07:00
Frederic Junod
7de0e79c62 Remove unused goog.requires 2013-09-17 09:41:22 +02:00
Éric Lemoine
ddc8fbcff7 Merge pull request #1001 from elemoine/keyhandler
Don't register for keyboard events on the document
2013-09-16 13:59:42 -07:00
Éric Lemoine
aa5214d3a1 Add an "accessible" example 2013-09-16 22:51:57 +02:00
Éric Lemoine
b81a4e875b Remove noModifierKeys condition for keyboad zoom
Refs #917. With the key hanler now attached to the map target by default we can remove the noModifierKeys condition for the keyboard zoom interaction. This will prevent the back button shortcut (alt + <back arrow>) to work, but it's ok, the map is focused so it's the one with the highest priority.
2013-09-16 22:51:44 +02:00
Éric Lemoine
f863ee9e37 Attach key handler to map target 2013-09-16 22:43:26 +02:00
Éric Lemoine
4abdac2abf Merge pull request #1030 from elemoine/touches
Exclude tiles that touches the source extent
2013-09-16 10:00:11 -07:00
Éric Lemoine
4990c797d1 WMTS tiles touching the extent are excluded 2013-09-16 15:53:13 +02:00
Éric Lemoine
832be21c0f WMS tiles touching the extent are excluded 2013-09-16 15:52:52 +02:00
Éric Lemoine
70c66d4cf1 Add ol.extent.touches 2013-09-16 15:51:12 +02:00
Tim Schaub
f54a54a432 Merge pull request #1029 from tschaub/tilejson-extent
Use proper extent structure for TileJSON.
2013-09-16 06:47:29 -07:00
Tim Schaub
7caaed4218 Merge pull request #1017 from tschaub/provide-objects-only
Never use goog.provide with primitives (especially with falsely values).
2013-09-16 06:46:26 -07:00
Tim Schaub
8b25e2a63e Merge pull request #955 from tschaub/proj
Move projection to ol.proj namespace and limit exports.
2013-09-16 06:42:38 -07:00
Tim Schaub
97d614285e New extent structure for TileJSON
The change in e806f51b3d neglected to correct the extent handling for the TileJSON source.
2013-09-15 22:22:20 -06:00
Tim Schaub
e1bafd2f6e Export ol.proj.Projection.prototype.getExtent for use in WMTS example 2013-09-15 22:04:51 -06:00
Tim Schaub
9a2dac7182 Limit ol.proj exports 2013-09-15 22:04:51 -06:00
Tim Schaub
b524de417b Rename ol.ProjectionUnits to ol.proj.Units 2013-09-15 22:04:51 -06:00
Tim Schaub
9a29c0e22d Rename ol.ProjectionLike to ol.proj.ProjectionLike 2013-09-15 22:01:56 -06:00
Tim Schaub
3b20cc7b53 Rename ol.Projection to ol.proj.Projection 2013-09-15 22:01:56 -06:00
Tim Schaub
b192335e56 Merge pull request #1027 from tschaub/closure-util
Use the closure-util package.  Documentation will come when this is a more complete solution.  See #1027 for basic usage instructions.
2013-09-15 15:36:13 -07:00
Tim Schaub
591f022e9a Merge pull request #956 from tschaub/extent
Change structure for ol.Extent.  This makes extent use `[minX, minY, maxX, maxY]` order.
2013-09-15 15:28:35 -07:00
Tim Schaub
13c84b0523 Export ol.Geolocation.SUPPORTED and provide ol.Geolocation 2013-09-15 15:54:41 -06:00
Tim Schaub
589c6f8a0b Export ol.DeviceOrientation.SUPPORTED and provide ol.DeviceOrientation 2013-09-15 15:54:41 -06:00
Tim Schaub
210b489a6c Provide ol.renderer.dom instead of ol.renderer.dom.SUPPORTED 2013-09-15 15:54:41 -06:00
Tim Schaub
a2c70dba85 Provide ol.canvas instead of ol.canvas.SUPPORTED
This is not currently used outside the library, so it is not exported.
2013-09-15 15:54:01 -06:00
Tim Schaub
54738e29eb Export ol.webgl.SUPPORTED and provide ol.webgl 2013-09-15 15:51:17 -06:00
Éric Lemoine
bbe4417be5 Merge pull request #1025 from elemoine/notify
Remove ol.Object#bindTo noNotify option
2013-09-15 14:28:58 -07:00
Tim Schaub
f1f319d6ad Preemptively set global properties
As mentioned in the comments, calling goog.getUid and goog.events.listen on the global object (as done in map.js and deviceorientation.js) set global properties.  To let Mocha check for other leaks, we preemptively set these properties.
2013-09-15 14:22:41 -06:00
Tim Schaub
13b55b04a8 Unnecessary spy 2013-09-15 10:41:44 -06:00
Éric Lemoine
009172951c WebGL image layer tests require the common proj 2013-09-15 10:37:22 -06:00
Éric Lemoine
ecd82297a0 Better setup/teardown for ol.proj tests 2013-09-15 10:37:01 -06:00
Tim Schaub
e806f51b3d Changing extent structure back to single array: [minX, minY, maxX, maxY]
This means we'll have to have a new structure and new methods for 3D envelopes.
2013-09-15 00:31:32 -06:00