mike-000
9d8609dd08
Modify and snap to circle in user coordinates
...
Correct modify interaction at center and at drawn circle circumference
Correct snap interaction at drawn circle circumference
Test circle geometry in a user projection
2019-12-13 16:40:39 +00:00
Tim Schaub
07678d960a
User coordinates during snapping
2019-09-27 11:55:48 +02:00
Tobias Kohr
d4c1589a01
Seperate internal and API methods for the map
2019-09-24 17:58:56 +02:00
Frederic Junod
701e19c1c9
Remove type cast in ol/interaction/Snap
2018-12-12 14:43:51 +01:00
Niklas Alt
4bc9216e41
Add ': void' to non returning functions (error TS7014)
2018-12-06 19:57:45 +01:00
Frederic Junod
6d608c361a
Simplify import path in ol/interaction/
2018-11-05 16:26:45 +01:00
Frederic Junod
041836c645
Change getUid return type from number to string
2018-10-17 10:22:53 +02:00
ahocevar
9163558511
Replace instanceof checks with other logic
2018-10-12 20:35:59 +02:00
Kevin Schmidt
9d4821aafc
Fix type check errors in ol/interaction/Snap
2018-10-03 11:20:56 -06:00
Kevin Schmidt
942a0976be
Move interaction event handlers to class methods
2018-10-03 06:30:09 -06:00
Frederic Junod
ea616e7751
Don't import ourselves
2018-09-06 09:05:32 +02:00
Tim Schaub
ccfacc5ee6
Transformed types
...
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e ):
jscodeshift --transform ts.js src
2018-09-05 08:05:29 -06:00
Tim Schaub
2eb07aa081
Use Template<Foo> instead of Template.<Foo>
2018-07-25 18:37:08 -07:00
Tim Schaub
affbf59b77
Use Object<Foo, Bar> instead of Object.<Foo, Bar>
2018-07-25 18:33:49 -07:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
ahocevar
bbe0a66d07
Set api annotation on classdesc, not constructor
2018-07-21 17:25:22 +02:00
Tim Schaub
e5493d1288
Add ol/pixel module for Pixel type
2018-07-19 10:17:00 -06:00
ahocevar
e79add2e77
Use extends, super and proper constructor jsdoc for ol/interaction
2018-07-17 21:09:06 +02:00
Tim Schaub
7b4a73f3b9
Automated class transform
...
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
ahocevar
59d904e509
Fix some types
2018-04-27 09:30:51 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
ahocevar
417dd85f83
Fix some jsdoc path types
2018-04-21 10:17:53 +02:00
Frederic Junod
0477f6cfdf
Mark optional property with square brackets
2018-03-19 14:31:04 +01:00
ahocevar
c496b4edca
Fix type typos
2018-03-16 17:22:45 +01:00
ahocevar
bc33d871e1
No olx and ol types for ol/interaction/Snap
2018-03-16 17:12:14 +01:00
Tim Schaub
8907339963
Module type for ol/MapBrowserEvent
2018-03-12 08:32:09 -06:00
Tim Schaub
cf80733e41
Module type for ol/Feature
2018-03-12 08:32:09 -06:00
Tim Schaub
ef70d71636
Module types for ol/geom
2018-03-12 08:32:09 -06:00
Andreas Hocevar
95d6251dbb
Get rid of olx.js and typedef.js typedefs for ol
2018-03-08 18:57:24 +01:00
Frederic Junod
3435ac575e
Better type definition
...
Fixes the `Invalid type(s) for operator IN.` warnings from the closure compiler.
2018-03-07 16:45:46 +01:00
Tim Schaub
dfefe7d465
Remove static members from Snap
2018-02-25 09:03:46 -07:00
Tim Schaub
9b75dc949f
Named exports from ol/source/Vector
2018-02-25 08:13:31 -07:00
Tim Schaub
1be61fdb09
Only export handleEvent where it is used by other interactions
2018-02-19 14:00:59 -07:00
Tim Schaub
9aae8aeb26
Export CollectionEvent from ol/Collection
2018-02-18 22:29:50 -07:00
Frederic Junod
4cad77089a
Better code indentation
2018-02-16 14:34:00 +01:00
Tim Schaub
1c63234508
Remove private static members from Snap interaction
2018-02-12 07:12:02 -07:00
Tim Schaub
b97554f2f3
Named exports from ol/coordinate
2018-02-09 14:31:20 -07:00
Tim Schaub
7e7631c42a
Named exports from ol/events
2018-01-24 10:09:57 -07:00
Frederic Junod
4c5ca75ca6
Better variables scoping
2018-01-17 10:54:18 +01:00
Frederic Junod
31e30d28b7
Named exports from ol/obj
2018-01-16 14:14:17 +01:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
b8cf046b38
Rename _ol_interaction_Snap_ to Snap
2018-01-11 12:10:54 -07:00
Tim Schaub
dce1790886
Rename _ol_interaction_Pointer_ to PointerInteraction
2018-01-11 12:09:58 -07:00
Tim Schaub
176021e188
Rename _ol_Collection_ to Collection
2018-01-11 12:06:58 -07:00
Tim Schaub
ca6ea355e6
Rename _ol_source_Vector_ to VectorSource
2018-01-10 09:36:28 -07:00
Tim Schaub
c89738cadb
Named exports instead of static functions from ol/geom/Polygon
2017-12-20 23:48:35 -07:00
Tim Schaub
a06c8ebb6f
Merge pull request #7614 from KlausBenndorf/publicThisArgs
...
Remove opt_this from the API
2017-12-19 09:30:54 -08:00
simonseyock
3e82c37bed
removes opt_this from ol.Collection#forEach
...
this commit also removes all uses of the standard thisArg of
Array#forEach.
2017-12-19 13:14:20 +01:00
Frederic Junod
1e307c16ac
Rename _ol_source_VectorEventType_ to VectorEventType
2017-12-19 08:42:32 +01:00