Petr Sloup
3f567b0bf0
Use per-projection tilecaches and tilegrids (persistent instances)
2015-10-16 09:28:40 +02:00
Petr Sloup
bc74273208
Reproject every image only once per triangle
...
If the triangle has to be shifted, determine if the image has to be rendered shifted or not.
2015-10-16 09:28:40 +02:00
Petr Sloup
6e08fc9e13
Rename triangles to triangulation to be more precise
2015-10-16 09:28:40 +02:00
Petr Sloup
bf65b8a4fe
Stronger typing of triangles and triangulation
2015-10-16 09:28:40 +02:00
Petr Sloup
e14bede9e9
Make projection parameter of ol.source.Tile#getTile no longer optional
2015-10-16 09:28:40 +02:00
Petr Sloup
ac76989447
Detect and handle triangles (tiles) crossing the dateline (projection edge)
2015-10-16 09:28:40 +02:00
Petr Sloup
b221e1ac1f
Basic integration of raster reprojection for tiled sources
...
To allow for easier testing and debugging
2015-10-16 09:28:40 +02:00
Petr Sloup
ebc3f24671
Clamp the triangulation vertices if partially outside source extent
2015-10-16 09:28:40 +02:00
Petr Sloup
fcffce46b4
More robust way of handling non-global projections
...
If the target projection has specified extent, it is respected.
Also adds various checks to optimize performance and/or
prevent potential errors.
2015-10-16 09:28:40 +02:00
Petr Sloup
2cc2027353
More precise and robust way of calculating source resolution
2015-10-16 09:28:40 +02:00
Petr Sloup
c425b9c0e6
Verify triangulation against source/target extents
...
If we do this here, we can avoid some computations on triangles that will
be unused in the future anyway + reduce problems with non-global projections
without specified extents.
2015-10-16 09:28:40 +02:00
Petr Sloup
1222287f22
Add ol.reproj
2015-10-16 09:28:40 +02:00
Petr Sloup
44a64ba451
Add ol.math.solveLinearSystem
2015-10-16 09:28:40 +02:00
Andreas Hocevar
df6b90246a
Merge pull request #4280 from ahocevar/box-overlaycontainer
...
Use overlay container instead of viewport for ol.render.Box
2015-10-15 21:00:20 +02:00
Andreas Hocevar
2d50511527
Use overlay container instead of viewport for ol.render.Box
2015-10-15 20:22:14 +02:00
Andreas Hocevar
fcdff1c841
Merge pull request #4278 from ahocevar/css-box
...
Use DOM instead of map canvas for ol.render.Box
2015-10-15 17:59:59 +02:00
Andreas Hocevar
7a070dd859
Use DOM instead of map canvas for ol.render.Box
2015-10-15 17:34:16 +02:00
Frédéric Junod
afdd22bd1d
Merge pull request #4277 from fredj/box_select_example
...
Improve the box select example
2015-10-15 14:31:02 +02:00
Frederic Junod
a04022e8df
Use Ctrl key / Meta key to activate the selection drag box
2015-10-15 14:12:08 +02:00
Frederic Junod
c27bcd86d3
Change the selection drag box colors
2015-10-15 13:49:06 +02:00
Frédéric Junod
a3550a5b00
Merge pull request #4276 from fredj/platformModifierKeyOnly_doc
...
Better ol.events.condition.platformModifierKeyOnly documentation
2015-10-15 13:34:45 +02:00
Frederic Junod
b477367099
Better ol.events.condition.platformModifierKeyOnly documentation
...
See https://github.com/google/closure-library/blob/master/closure/goog/events/browserevent.js#L175-L180
2015-10-15 12:55:23 +02:00
Frédéric Junod
671f774593
Merge pull request #4102 from fredj/ol.Observable_dispatchEvent
...
Export ol.Observable#dispatchEvent function
2015-10-15 12:53:41 +02:00
Frédéric Junod
4d43fe3346
Merge pull request #4261 from fredj/mouseOnly
...
ol.events.condition.mouseOnly may be wrong
2015-10-15 10:42:46 +02:00
Andreas Hocevar
6ec5e9a07d
Merge pull request #4269 from adube/fix-zoomcontrol-duration
...
Fix Zoom control duration option - allow `0` as value
2015-10-14 22:43:05 +02:00
Andreas Hocevar
ee82fde184
Merge pull request #4268 from jonataswalker/get-overlay-by-id
...
Add method for retrieving ol.Overlay by id
2015-10-14 22:12:59 +02:00
jonataswalker
5dbaeb9ee5
Add method for retrieving ol.Overlay by id
2015-10-14 16:55:39 -03:00
Marc Jansen
93f371ab9f
Merge pull request #4257 from marcjansen/remove-unused-math
...
Remove unused ol.math-methods
2015-10-14 21:50:07 +02:00
Marc Jansen
2f5ccbd54d
Remove unused ol.math-methods
2015-10-14 21:40:42 +02:00
Alexandre Dubé
718f32b177
Fix Zoom control duration option - allow 0 as value
2015-10-14 15:19:16 -04:00
Andreas Hocevar
1f8ee3a5ae
Merge pull request #4270 from adube/fix-keyboardinteraction-options
...
Fix Keyboard zoom interation options
2015-10-14 21:08:57 +02:00
Andreas Hocevar
16b3893166
Merge pull request #4272 from adube/fix-interactiondefaults-zoomduration
...
Allow the DragZoom interaction created in defaults to use zoomDuration option.
2015-10-14 21:08:38 +02:00
jonataswalker
fce065e185
Add method for retrieving ol.Overlay by id
2015-10-14 16:01:48 -03:00
Alexandre Dubé
b54bc6cd42
Fix KeyboardZoom interation duration option, allow 0 value.
2015-10-14 14:43:04 -04:00
Andreas Hocevar
257313969c
Merge pull request #4271 from adube/fix-dragzoominteraction-duration
...
Fix DragZoom interaction duration, allow `0` value
2015-10-14 20:19:04 +02:00
Alexandre Dubé
657b9dc018
Fix 'Shift' DragZoom in default interactions, use zoomDuration
...
This fix allows the DragZoom interaction created in the default
interactions to use the zoom duration defined in the options, if
set.
2015-10-14 13:46:30 -04:00
Alexandre Dubé
bd4b7a890d
Fix DragZoom interaction duration, allow 0 value
2015-10-14 13:39:10 -04:00
jonataswalker
d29e5eaef1
Add method for retrieving ol.Overlay by id
2015-10-14 12:15:53 -03:00
Andreas Hocevar
a639291ea7
Merge pull request #4267 from ahocevar/example-improvements
...
Example usability improvements
2015-10-14 14:57:38 +02:00
Andreas Hocevar
53704379fa
Make relative urls work for jsfiddle
2015-10-14 14:46:33 +02:00
Andreas Hocevar
3d82da1c7e
Allow cloaking of API keys and apply to Bing keys
2015-10-14 14:31:42 +02:00
Frédéric Junod
b4061e7b35
Merge pull request #4263 from fredj/touchAction_extern
...
Add back CSSProperties.prototype.touchAction extern
2015-10-13 15:48:55 +02:00
Frederic Junod
00a6357c4d
Add back CSSProperties.prototype.touchAction extern
...
See #4262
2015-10-13 15:38:55 +02:00
Frederic Junod
0a76145a93
Relay on the pointerType property in ol.events.condition.mouseOnly
2015-10-13 14:37:52 +02:00
Marc Jansen
b75ef3ae18
Merge pull request #4259 from marcjansen/math-radians-degrees
...
Remove use of toDegrees/toRadians util functions
2015-10-12 23:27:20 +02:00
Marc Jansen
f2df971eb0
Merge pull request #4258 from marcjansen/no-tagname-enum
...
Remove usage of goog.dom.TagName enum
2015-10-12 21:18:11 +02:00
Marc Jansen
47a7b03e0e
Remove use of toDegrees/toRadians util functions
...
Instead of goog.math.toRadians and goog.math.toDegrees, we now use
our own implementations of these basic conversion functions.
2015-10-12 21:16:03 +02:00
Marc Jansen
9386415633
Remove usage of goog.dom.TagName enum
2015-10-12 20:45:49 +02:00
Andreas Hocevar
e111e30f33
Merge pull request #4255 from ahocevar/zoomslider-width
...
Fix zoom slider width for retina displays
2015-10-12 20:19:29 +02:00
Andreas Hocevar
61ce463cf9
Fix zoom slider width for retina displays
...
This also simplifies the css by using a button for the slider, like for other
controls.
2015-10-12 19:24:00 +02:00