Tim Schaub
b383e0ecb2
Add view.getMaxZoom() and view.getMinZoom()
2017-02-19 18:11:04 -07:00
Tim Schaub
719fa6e004
Add view.getZoomForResolution()
2017-02-19 17:16:20 -07:00
Tim Schaub
9bd48d06c3
Complete animations at target values
2017-02-17 13:06:20 -07:00
Julien Enselme
5f5c906129
Add GML2 serializer for Envelope
2017-02-17 17:00:09 +01:00
Julien Enselme
fec279c460
Add GML2 serializer for MultiSurface and MultiPolygon
2017-02-17 16:57:45 +01:00
Julien Enselme
579ec3955e
Add GML2 MultiLineString serialiazer
2017-02-17 16:50:54 +01:00
Julien Enselme
650837b207
Add GML2 serializer for MultiPoint
2017-02-17 16:39:48 +01:00
Julien Enselme
f8c6863fa7
Add GML2 serializer for Point
2017-02-17 16:28:52 +01:00
Julien Enselme
dd90c90819
Add GML2 serializer for Surface and Polygon
...
- Adapt the code from ol.format.GML3.
- Create utility function to create coordinates nodes with proper
attributes
2017-02-17 16:23:16 +01:00
Julien Enselme
21394826b6
Add GML2 serializer for Curve and LineString
...
Adapt the code from ol.format.GML3.
2017-02-17 15:48:10 +01:00
Julien Enselme
7f0ed44828
Boostrap GML2 serializers
...
- Add writeFeatureElement (copied and adapted from ol.format.GML3)
- Add writeGeometryElement (copied and adapted from ol.format.GML3)
- Add related constants (GEOMETRY_SERIALIZERS_, GEOMETRY_NODE_FACTORY_)
- Add empty serialization methods
2017-02-17 15:38:19 +01:00
Thomas Chandelle
08a118cc94
Determine if we should handle the drawing when the pointer is moving
2017-02-16 16:52:04 +01:00
Andreas Hocevar
b05136ea53
Merge pull request #6499 from tchandelle/circle-modify
...
Be more tolerant when comparing vertices when modifying a circle
2017-02-16 13:49:42 +01:00
Thomas Chandelle
9bf6dcbdcb
Find the closest vertex on the circle from the pixel coordinates
2017-02-16 10:35:01 +01:00
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