Thomas Chandelle
33a8466913
Add API method abortDrawing and dispatch a DRAWABORT event
2020-02-13 17:22:39 +01:00
Thomas Chandelle
d8dba61b0a
Rounds if decimals options = 0
2017-06-08 12:08:02 +02:00
Thomas Chandelle
b8117b3931
This method will never be used with an extent and write = true
2017-06-08 12:08:02 +02:00
Thomas Chandelle
aface2f43e
Clone the geometry before applying the decimals transform
...
We may only do it if the geometry has not been previously transformed.
2017-06-08 12:08:02 +02:00
Thomas Chandelle
074fdeb212
Add snapping abilities on circles
2017-05-23 14:45:03 +02:00
Thomas Chandelle
a1355ee766
Changes snap example to allow Circle creations
2017-05-23 11:04:46 +02:00
Thomas Chandelle
051d5651a5
Complete previous cursor tests
...
"respects existing cursor value" wasn't actually testing anything
2017-04-11 09:15:02 +02:00
Thomas Chandelle
5c23123b6d
Reset cursor when translate interaction is removed or deactivated
2017-04-11 09:15:02 +02:00
Thomas Chandelle
b301760976
Update composeFrame test with should/shouldn't clip cases
2017-04-10 15:11:11 +02:00
Thomas Chandelle
76ddcd405d
Clip image only if the layer extent intersects the view extent
2017-04-10 14:42:57 +02:00
Thomas Chandelle
08a118cc94
Determine if we should handle the drawing when the pointer is moving
2017-02-16 16:52:04 +01:00
Thomas Chandelle
9bf6dcbdcb
Find the closest vertex on the circle from the pixel coordinates
2017-02-16 10:35:01 +01:00
Thomas Chandelle
0764be77c4
Failing test for "Circle Modification"
2017-02-15 09:46:51 +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
Thomas Chandelle
998e1705fa
Small XML error in KML test
2017-02-08 13:29:26 +01:00
Thomas Chandelle
89dd4af9cb
Remove JSFiddle
2017-02-08 09:04:16 +01:00
Thomas Chandelle
54c8beef4e
Stop handling down/up sequence when all fingers have been removed
2017-02-03 14:10:56 -07:00
Thomas Chandelle
ade0b7898b
Remove "margin" at the bottom of the canvas
2017-02-03 16:54:29 +01:00
Thomas Chandelle
c69efeb8ea
Fit on circle
2017-02-02 10:34:57 +01:00
Thomas Chandelle
1965bff8b7
Add newline to move the default value below the list
2017-01-24 16:10:38 +01:00
Thomas Chandelle
8a440b0c20
Listen only to change event triggered by the feature
...
ol.Feature catch change event from its geometry and trigger a change
event itself. ol.Feature will also trigger change event when its
geometryName has changed
2017-01-20 13:01:28 +01:00
Thomas Chandelle
b7922b365a
Check if interaction is active before drawing modifying vertex
2017-01-19 14:51:20 +01:00
Thomas Chandelle
0850e612c5
Add link to codepen in examples
2017-01-16 11:58:58 +01:00
Thomas Chandelle
deacb0aae3
set(Id|Style) don't trigger change:(id|style) events
2017-01-13 09:43:41 +01:00
Thomas Chandelle
5938db1459
Set highlight style to the active anchor
2017-01-11 13:13:04 +01:00
Thomas Chandelle
dec39151a0
Consider pointerdown only if the last pointerup has been emitted
2017-01-11 10:21:21 +01:00
Thomas Chandelle
f5785549ae
Constrain center in DragZoom interaction
2017-01-09 09:05:51 +01:00
Thomas Chandelle
7f1f3fd6fe
Constraint center when using trackpad to zoom
2017-01-06 15:28:38 +01:00
Thomas Chandelle
395d833dd6
Constrain the center in zoomByDelta
2017-01-06 09:31:00 +01:00
Thomas Chandelle
8956a492eb
Remove unused map parameter from several interaction methods
2017-01-05 15:34:47 +01:00
Thomas Chandelle
7a4ae3a6ac
Line Dash offset
2017-01-04 11:19:47 +01:00
Thomas Chandelle
3b64133f21
Add tests for linedash for HiDPI display
2016-12-05 09:26:06 +01:00
Thomas Chandelle
7ee04ec200
Compare current linedash and new linedash as arrays
2016-12-05 09:24:13 +01:00
Thomas Chandelle
a0e310700c
Apply pixelRatio to line dash
2016-12-05 09:24:13 +01:00
Thomas Chandelle
510076290d
Always stop event propagation when removing vertex
2016-12-01 10:27:47 +01:00
Thomas Chandelle
b77b5e5a55
Replace the anchor by an empty div element
2016-11-29 17:00:29 +01:00
Thomas Chandelle
5b04771d3f
Add duration and easing options to view.fit() for animations
2016-11-28 13:55:40 +01:00
Thomas Chandelle
c4af981b01
easing option is optional
...
jsdoc was probably interpreting function(number):number|undefined as
a function that returns a number or undefined.
2016-11-28 13:07:02 +01:00
Thomas Chandelle
c898cda2e6
Generate projection transform function only when requested
2016-11-28 09:50:41 +01:00
Thomas Chandelle
9ffa103a79
Image rotation in WebGL was anti-clockwise
2016-11-25 09:02:20 +01:00
Thomas Chandelle
d8c428a8a2
Remove also carriage return after goog.require in examples
2016-11-22 16:49:12 +01:00
Thomas Chandelle
800c6f53a9
Merge ol.style.Circle and RegularShape together
2016-11-18 15:17:35 +01:00
Thomas Chandelle
5d214567ab
Add test for Translate interaction, without features option
2016-11-09 14:36:25 +01:00
Thomas Chandelle
af82f972da
Check for middle events
...
Most of the times, there is only 3 events. This loop is supposed to
check the middle one, but never does;
2016-11-09 14:25:33 +01:00
Thomas Chandelle
60e352fa09
Make Translate options optional
2016-11-09 13:54:10 +01:00
Thomas Chandelle
741494098e
Fix link anchor to static members
2016-11-09 13:30:57 +01:00
Thomas Chandelle
5b00095bd0
Rotate the arrows with the view
2016-11-09 09:42:08 +01:00
Thomas Chandelle
5d61218134
Keep the other dim from the original segment when modifying vertex
2016-11-04 09:47:30 +01:00
Thomas Chandelle
2420ad56c1
If there is no features option, all features will be translated.
2016-11-03 14:03:11 +01:00
tchandelle
dc9770911f
Wrong link to errors
2016-10-17 09:45:47 +02:00
Thomas Chandelle
32f112659f
Typo for MultiLineString style
2016-10-13 16:58:41 +02:00