Pavel Penev
7dde3d5cff
Add circle support to {ol.interaction.Modify}
...
Circles are broken into two modifiable line segments: center and
circumference.
Method {@link ol.interaction.Modify#writeCircleGeometry_} has been
added for adding a circle to the R*-bush of modifiable segments.
Methods {handleDownEvent_}, {handleDragEvent_}, {handleUpEvent_} and
{handlePointerAtPixel_} have been updated to support circle segments.
Helper static methods
{@link ol.interaction.Modify.pointDistanceToSegmentDataSquared_} and
{@link ol.interaction.Modify.closestOnSegmentData_} with support for
circle line segments have been added.
Constants {@link ol.interaction.Modify.MODIFY_SEGMENT_CIRCLE_CENTER_INDEX}
and
{@link ol.interaction.Modify.MODIFY_SEGMENT_CIRCLE_CIRCUMFERENCE_INDEX}
have been added.
Conflicts:
src/ol/interaction/modify.js
2017-02-06 14:43:20 -05:00
Pavel Penev
8c6d15b877
Add an ol.coordinate.distance() helper method.
...
The method is a companion to {@link ol.coordinate.squaredDistance}.
The new method returns the Cartesian distance, instead of its square.
Conflicts:
src/ol/coordinate.js
2017-02-06 14:43:20 -05:00
Andreas Hocevar
ca23c7337f
Merge pull request #6361 from tchandelle/canvas-margin
...
Remove "margin" at the bottom of the canvas
2017-02-06 14:47:16 +01:00
Frederic Junod
20c039135b
Move updateSize test in the rendering tests
2017-02-06 14:25:55 +01:00
Andreas Hocevar
b69ed3a3de
Merge pull request #6450 from openlayers/greenkeeper/coveralls-2.11.16
...
Update coveralls to the latest version 🚀
2017-02-06 00:22:31 +01:00
greenkeeper[bot]
743627e578
chore(package): update coveralls to version 2.11.16
...
https://greenkeeper.io/
2017-02-05 20:43:13 +00:00
Tim Schaub
47bba9f698
Merge pull request #6302 from tschaub/mod
...
Publish a package for use with ES module bundlers
2017-02-05 06:32:17 -07:00
Tim Schaub
629d295e7a
Additional package documentation
2017-02-04 16:53:35 -07:00
Tim Schaub
c9365d8cd9
Merge pull request #6446 from openlayers/greenkeeper/eslint-3.15.0
...
Update eslint to the latest version 🚀
2017-02-03 20:14:20 -07:00
Tim Schaub
b59342b567
Note that the WebGL renderer is not available
2017-02-03 17:08:17 -07:00
Tim Schaub
490f42d528
Avoid extra assignment for default export
2017-02-03 17:05:30 -07:00
Tim Schaub
3eaa0f412e
Opinionated defines
2017-02-03 17:05:30 -07:00
Tim Schaub
b2a4b69d13
Transform all defines
2017-02-03 17:05:30 -07:00
Tim Schaub
b73ab8914a
Replace define assignment with variable declaration
2017-02-03 17:05:30 -07:00
Tim Schaub
91c1857d83
Update transform to generate ES-2015 modules
2017-02-03 17:05:30 -07:00
Tim Schaub
d17e809039
Rewrite boolean defines as globals
2017-02-03 17:05:30 -07:00
Tim Schaub
ea04523bb9
Sort and replace provide and requires in one pass
2017-02-03 17:05:29 -07:00
Tim Schaub
329ec70836
Handle ol provide
2017-02-03 17:05:29 -07:00
Tim Schaub
04639842f2
Safer relative paths
2017-02-03 17:05:29 -07:00
Tim Schaub
d20e9ca8df
Add a readme
2017-02-03 17:05:29 -07:00
Tim Schaub
815af723ea
Require ol.ext dependencies directly
2017-02-03 17:05:29 -07:00
Tim Schaub
386f94e0d4
Codemod for CommonJS package
2017-02-03 17:05:29 -07:00
Tim Schaub
35d254902f
Merge pull request #6445 from tschaub/fix-pinch
...
Fix pinch zooming
2017-02-03 15:04:59 -07:00
greenkeeper[bot]
10fd0141ce
chore(package): update eslint to version 3.15.0
...
https://greenkeeper.io/
2017-02-03 22:00:46 +00:00
Tim Schaub
67e2d02046
Resetting kinetic after one pointer up
2017-02-03 14:10:56 -07:00
Tim Schaub
14222e68e7
Removing side effects from logical expression
2017-02-03 14:10:56 -07:00
Thomas Chandelle
54c8beef4e
Stop handling down/up sequence when all fingers have been removed
2017-02-03 14:10:56 -07:00
Tim Schaub
bbf4c449e6
Merge pull request #6444 from tschaub/zoom-limits
...
Disallow pinch zooming beyond min/max resolution
2017-02-03 14:10:37 -07:00
Tim Schaub
d713c9fea6
Disallow pinch zooming beyond min/max resolution
2017-02-03 12:56:03 -07:00
Thomas Chandelle
ade0b7898b
Remove "margin" at the bottom of the canvas
2017-02-03 16:54:29 +01:00
Frédéric Junod
259fc356bc
Merge pull request #6443 from openlayers/goog.require
...
goog.require cleanup
2017-02-03 14:56:53 +01:00
Andreas Hocevar
a0e77dd955
Merge pull request #6439 from ahocevar/tile-render-performance
...
Improve tile render performance
2017-02-03 13:26:35 +01:00
Frederic Junod
9d263629e6
Add missing goog.require
2017-02-03 12:47:13 +01:00
Frederic Junod
5763e1d145
Remove unused goog.require
2017-02-03 12:40:53 +01:00
Frédéric Junod
265a83c389
Merge pull request #6442 from fredj/goog.require
...
Fix missing goog.require
2017-02-03 11:10:49 +01:00
Frederic Junod
17fb40f5e6
Fix missing goog.require
2017-02-03 10:29:05 +01:00
Frédéric Junod
d2cd01e024
Merge pull request #6441 from openlayers/greenkeeper/metalsmith-layouts-1.8.0
...
Update metalsmith-layouts to the latest version 🚀
2017-02-03 10:24:09 +01:00
greenkeeper[bot]
f82e00595f
fix(package): update metalsmith-layouts to version 1.8.0
...
https://greenkeeper.io/
2017-02-03 08:55:25 +00:00
Andreas Hocevar
ec8d8228cf
Less redraws while zooming in
2017-02-02 22:14:01 +01:00
Andreas Hocevar
72af545a4a
Avoid oversampling when view resolution lower than tile resolution
2017-02-02 22:13:25 +01:00
Andreas Hocevar
9af1000874
Merge pull request #6437 from tchandelle/fit-circle2
...
Fit on circle
2017-02-02 11:40:55 +01:00
Thomas Chandelle
c69efeb8ea
Fit on circle
2017-02-02 10:34:57 +01:00
Andreas Hocevar
ca7540fa3c
Merge pull request #6427 from ahocevar/wms-image-size
...
Ensure WMS width and height are always integers
2017-02-02 09:26:47 +01:00
Frédéric Junod
ea8d4b83d8
Merge pull request #6432 from fredj/3857_extent
...
Use ol.proj.EPSG3857.WORLD_EXTENT in ol.source.TileImage tests
2017-02-01 16:46:03 +01:00
Andreas Hocevar
47e1354610
Ensure WMS width and height are always integers
2017-02-01 14:00:20 +01:00
Frederic Junod
cff3447675
Use ol.proj.EPSG3857.WORLD_EXTENT in ol.source.TileImage tests
2017-02-01 11:53:24 +01:00
Frédéric Junod
bc1f067f46
Merge pull request #6424 from openlayers/greenkeeper/initial
...
Update dependencies to enable Greenkeeper 🌴
2017-02-01 09:18:29 +01:00
Frédéric Junod
f855102a3b
Merge pull request #6422 from fredj/zoomslider_touch
...
Don't listen twice to move and end events in ol.control.ZoomSlider
2017-02-01 09:12:11 +01:00
Frederic Junod
7b687be9e0
Don't listen twice to move and end events in ol.control.ZoomSlider
2017-02-01 08:32:34 +01:00
Frédéric Junod
ebce967ebd
Merge pull request #6426 from probins/patch-2
...
Add rewrite_polyfills to custom builds tutorial
2017-02-01 08:28:58 +01:00