Andreas Hocevar
7db5eea56b
Performance improvement: only create context when it is needed
2017-02-14 22:20:38 +01:00
Andreas Hocevar
302087b4ec
Reuse properties from ol.layer.TileProperty
2017-02-14 22:19:38 +01:00
Andreas Hocevar
db58db396f
Remove renderedResolution which is defined in superclass
2017-02-14 22:19:38 +01:00
Andreas Hocevar
6906046e9f
Merge pull request #6483 from nearmap/tile-render-issue
...
Fix renderer.canvas.TileLayer to calculate correct canvas height for drawing.
2017-02-14 21:49:34 +01:00
Thomas Chandelle
73ef345a2d
Abort drawing to clear the sketch feature
2017-02-14 09:26:35 +01:00
Thomas Chandelle
4575c4ab6f
Do not draw circle when pointer not moved AND freehand is on
2017-02-14 09:22:07 +01:00
Andreas Hocevar
676dda7ca6
Reset kinetic when number of touches changes
2017-02-14 01:15:16 +01:00
Andreas Hocevar
186935c147
Only update kinetic when number of touches has not changed
2017-02-14 00:48:59 +01:00
Andreas Hocevar
8e35b7a1ad
Do not set center when touches count has changed
2017-02-13 22:30:51 +01:00
Jan Klaas Kollhof
b152f06973
Fix rendered.canvas.TileLayer to calculate correct canvas height for drawing.
2017-02-13 13:50:09 +11:00
Andreas Hocevar
e6944c6664
Merge pull request #6477 from ahocevar/rotate-restore
...
Save and restore context when rotating
2017-02-10 16:58:18 +00:00
Andreas Hocevar
da4ddccad9
Allow Zoomify url without TileGroup, z, x and y placeholder
2017-02-10 12:01:56 +01:00
Andreas Hocevar
e561504d27
Save and restore context when rotating
2017-02-10 10:05:07 +00:00
Frederic Junod
a4a8d01bac
Use an url template for ol.source.Zoomify
2017-02-09 17:06:23 +01:00
Frederic Junod
c260e927a0
Round the DPI value in ol.source.ImageArcGISRest
2017-02-08 13:32:57 +01:00
Andreas Hocevar
c1af0de860
Merge pull request #6410 from rjackson64840/fix-toStringHDMS
...
fixed the degreesToStringHDMS_() function to promote a seconds value …
2017-02-08 11:36:25 +01:00
Frederic Junod
a6e17318d3
Remove ol.Observable#unByKey
2017-02-07 16:58:44 +01:00
Frederic Junod
5c731176b9
Use ol.coordinate.distance
2017-02-07 08:25:19 +01:00
Andreas Hocevar
bff6a14a16
Merge pull request #6457 from tst-ppenev/add-circle-support
...
Add Circle Modification
2017-02-06 21:14:49 +01:00
Tim Schaub
ac84e560bc
Merge pull request #6455 from tschaub/stable
...
Make all @api annotations imply stability
2017-02-06 12:46:47 -07:00
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
Tim Schaub
f5aea97d3b
All @api annotations imply stability
2017-02-06 09:22:05 -07:00
Tim Schaub
d96c7032ea
Remove deprecated map.beforeRender() method
2017-02-06 08:48:49 -07:00
Tim Schaub
79fdbab70f
Remove deprecated ol.animation functions
2017-02-06 08:44:09 -07: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
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
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
Frederic Junod
17fb40f5e6
Fix missing goog.require
2017-02-03 10:29:05 +01: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
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
Andreas Hocevar
47e1354610
Ensure WMS width and height are always integers
2017-02-01 14:00:20 +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
66722553a6
Merge pull request #6365 from gberaudo/public_enums_for_draw_modify_interactions
...
Make enums for draw and modify interactions public
2017-01-31 16:57:47 +01:00
Guillaume Beraudo
c16cc286cd
Prefer @override in the case there is no other annotations
...
See
https://github.com/google/closure-compiler/wiki/Annotating-JavaScript-for-the-Closure-Compiler#override
2017-01-31 09:31:34 +01:00
Guillaume Beraudo
1c353061fe
Consistently handle not implemented methods
2017-01-31 09:21:01 +01:00
Guillaume Beraudo
c9d33fb03a
Fix missing require
2017-01-30 17:18:30 +01:00
Frederic Junod
f72fd69ea6
Add empty ol.format.IGC.prototype.readGeometryFromText
2017-01-30 17:16:01 +01:00
Guillaume Beraudo
b54ea89395
Handle concrete classes with non implemented abstract methods
2017-01-30 17:16:01 +01:00
Frederic Junod
7a7c01a074
Add empty ol.geom.LinearRing.intersectsExtent
2017-01-30 17:16:01 +01:00
Frederic Junod
2713175e15
Add empty ol.format.OSMXML.prototype.write*
2017-01-30 17:16:01 +01:00