Commit Graph

285 Commits

Author SHA1 Message Date
Tom Payne
022a7a03e0 Use oli.FrameState instead of ol.FrameState 2014-03-10 14:48:23 +01:00
Frederic Junod
f0f2a2d2b0 Set control map in 'add' and 'remove' event handler 2014-03-06 09:03:38 +01:00
Frederic Junod
3dc9d296eb Set interaction map in 'add' and 'remove' event handler 2014-03-06 09:01:50 +01:00
Frederic Junod
9d8243a772 Set overlay map in 'add' and 'remove' event handler 2014-03-06 09:00:00 +01:00
Tom Payne
9a7261d6b3 Remove ol.Map#withFrozenRendering 2014-02-27 19:01:39 +01:00
Tom Payne
dd83952c28 Make renderSync always force a render 2014-02-27 18:59:05 +01:00
Tom Payne
443e7d9a8c Add ol.Map#isRendered 2014-02-20 19:56:22 +01:00
Tom Payne
316c146613 Switch to asynchronous rendering by default 2014-02-20 19:42:00 +01:00
Tom Payne
a8f932fa07 Rename ol.Map#requestRenderFrame to ol.Map#render 2014-02-20 16:54:20 +01:00
Tom Payne
ebdb5dce22 Rename ol.Map#render to ol.Map#renderSync 2014-02-20 03:05:31 +01:00
Antoine Abt
04f1f2120b Merge pull request #1697 from tonio/remove_renderer_guess
Remove `ol.RendererHints.createFromQueryData` from the library
2014-02-17 08:21:18 +01:00
Antoine Abt
4dd8c248f5 Remove ol.RendererHints.createFromQueryData 2014-02-14 09:32:14 +01:00
ahocevar
adad57d481 Make the default effectively truthy 2014-02-13 22:52:48 +01:00
ahocevar
aa5a08a377 No typecast needed 2014-02-13 22:29:20 +01:00
ahocevar
3cc1dad2e0 Make loading parameters configurable 2014-02-13 22:08:26 +01:00
ahocevar
877e881a52 Do not load tiles while interacting
Especially on mobile devices, loading just a single tile can
cause major janks. During animations, it is fine to just skip
frames. But during user interaction (e.g. dragging), a more
instant visual feedback is desirable.
2014-02-13 21:03:21 +01:00
Éric Lemoine
09beba69ad Remove the map renderers option 2014-02-06 16:56:15 +01:00
Éric Lemoine
a91e6e2442 Accept string for keyboardEventTarget option 2014-02-04 15:48:44 +01:00
Éric Lemoine
cf5aada8cf Add a keyboardEventTarget option to the map
This option allows specifying the element to listen to keyboard events on.
2014-02-04 15:46:50 +01:00
Tom Payne
6455c920f6 Make ol.Map#isDef checking stricter 2014-02-04 11:47:49 +01:00
Tom Payne
c5dd7988c9 Use ol.ENABLE_* to help Compiler eliminate unreachable code 2014-01-30 11:20:59 +01:00
Tom Payne
18bbf5bcec Improve type checking in ol.Map 2014-01-30 11:20:59 +01:00
Tom Payne
318fc68159 Convert ol.MapBrowserEvent#get* methods into properties 2014-01-29 14:51:27 +01:00
Éric Lemoine
e83ec2976f Change forEachFeatureAtPixel arguments names 2014-01-17 11:38:06 +01:00
Tom Payne
010f643f8f Use opt_this instead of opt_obj in ol.Map 2014-01-15 14:52:53 +01:00
Tom Payne
4667dec7c3 Rename devicePixelRatio to pixelRatio in ol.FrameState 2014-01-15 09:46:27 +01:00
Éric Lemoine
e76ec3b292 Merge pull request #1504 from elemoine/vector-api-image-vector-hit-detection
[vector-api] Vector image hit detection
2014-01-14 03:33:47 -08:00
Éric Lemoine
f7be1c155e Hit detection refactoring
Get the frame state from the map instead of storing values in the layer renderers.
2014-01-14 12:26:49 +01:00
Tom Payne
610eefb932 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-13 16:07:39 +01:00
Tom Payne
3f851ad392 Use compressed logo URL 2014-01-13 14:45:13 +01:00
Tom Payne
b7e906fe09 Add ol3Logo option to ol.Map 2014-01-13 14:29:41 +01:00
Tom Payne
ab0268a8f1 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-10 15:00:27 +01:00
Tim Schaub
36e2e51899 Only create a frame state if the map has non-zero size 2014-01-09 18:23:53 -07:00
Tom Payne
2342f83a48 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-02 18:28:30 +01:00
Tom Payne
9ea44d10ce Use goog.style.getContentBoxSize to calculate map size
This takes into account any border.
2014-01-02 16:49:09 +01:00
Tom Payne
7cadb6824e Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-18 17:09:19 +01:00
Éric Lemoine
9466101a47 Remove ol.renderer.webgl.SUPPORTED 2013-12-18 11:45:23 +01:00
Éric Lemoine
ee9f50911c Remove ol.renderer.dom.SUPPORTED 2013-12-18 11:45:13 +01:00
Éric Lemoine
fb32a167b3 Remove ol.renderer.canvas.SUPPORTED 2013-12-18 11:44:54 +01:00
Éric Lemoine
7fe684a6d4 HAS_WEBGL is false if ENABLE_WEBGL is false 2013-12-18 11:20:14 +01:00
Éric Lemoine
3df49423ad HAS_DOM is false if ENABLE_DOM is false 2013-12-18 11:20:14 +01:00
Éric Lemoine
5bb6dbfef3 HAS_CANVAS is false if ENABLE_CANVAS is false 2013-12-18 11:20:14 +01:00
Éric Lemoine
5520cc530d Move ol.ENABLE_[CANVAS|DOM|WEBGL] @define's to browserfeature.js 2013-12-18 11:20:14 +01:00
Éric Lemoine
a97e115100 Use ol.BrowserFeature.HAS_* in map.js 2013-12-18 11:20:14 +01:00
Frederic Junod
bd1107f785 Add devicePixelRatio to ol.FrameState 2013-12-16 12:15:00 +01:00
Frederic Junod
01a246ca72 Add devicePixelRatio option to ol.Map constructor 2013-12-16 12:15:00 +01:00
Tom Payne
b59eec7a83 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-13 20:22:06 +01:00
Tom Payne
ee2098743d Correct types in ol.layer.Group 2013-12-13 19:16:31 +01:00
Tom Payne
d19ce18a31 Fix return type of ol.Map#getView 2013-12-13 18:59:26 +01:00
Tim Schaub
0ed59f7be3 Merge pull request #1348 from tschaub/beforechange
Add `ol.ObjectEvent` for changes to `ol.Object` properties.  Previously, `ol.Object` dispatched instances of `goog.events.Event` with type `change`.  Now `ol.ObjectEvent` instances will be dispatched on property changes.  The events include a `getKey` method to get the name of the property being changed.  The `beforepropertychange` type event is fired before a property value changes, and the `propertychange` type event fires after the property value changes.
2013-12-13 07:28:36 -08:00