Guillaume Beraudo
cb539bce98
Untie feature loader and XML code
2018-03-01 09:14:45 +01:00
Guillaume Beraudo
6280941669
Remove window prefix from event listener functions
2018-02-28 23:28:38 +01:00
Guillaume Beraudo
f9a2780546
Do not assume window is defined
...
It is notably not the case in web workers.
2018-02-28 23:24:53 +01:00
Guillaume Beraudo
cfa9718df9
Remove window prefix
...
The prefix is unnecessary and prevent usage in web workers.
2018-02-28 23:22:18 +01:00
Frederic Junod
73b15ef8d7
Better code indentation
2018-02-28 16:46:45 +01:00
Andreas Hocevar
cf0c42ae7d
Merge pull request #7904 from ahocevar/focus-scroll
...
Add focus condition, e.g. for wheel zoom
2018-02-28 08:21:37 +01:00
Andreas Hocevar
2d67c15ea9
Add focus condition, e.g. for wheel zoom
2018-02-27 21:39:02 +01:00
Kevin Schmidt
791f8b9917
Don't assume fill for canvas polygon hit detection.
...
This brings canvas polygon hit detection in parity with WebGL, where an
unfilled polygon will not be hit detected hovering inside the polygon.
Fixes #4846
2018-02-27 13:12:46 -07:00
Andreas Hocevar
445c49c1eb
Add a unicode symbol for symbol font detection
2018-02-27 13:22:35 +01:00
Frederic Junod
8df89356f1
Better variables scoping
2018-02-26 08:51:33 +01:00
Tim Schaub
1404e9d61d
Remove remaining static members from Interaction
2018-02-25 12:46:57 -07:00
Tim Schaub
244fbbbb8d
Remove some of the static members from Interaction
2018-02-25 10:17:21 -07:00
Tim Schaub
3f944ef76e
Remove static members from Modify
2018-02-25 09:18:44 -07:00
Tim Schaub
78e0cb294c
Remove static members from Pointer
2018-02-25 09:10:51 -07:00
Tim Schaub
064c5644e7
Remove static members from Select
2018-02-25 09:06:57 -07:00
Tim Schaub
dfefe7d465
Remove static members from Snap
2018-02-25 09:03:46 -07:00
Tim Schaub
e0a99c43dc
Remove static members from Translate
2018-02-25 09:03:27 -07:00
Tim Schaub
4e6cf58de1
Remove static members from BaseObject
2018-02-25 08:49:28 -07:00
Tim Schaub
ef92649017
Remove static members from Units
2018-02-25 08:43:07 -07:00
Tim Schaub
c5bf6f1c6f
Remove static members from BingMaps
2018-02-25 08:43:06 -07:00
Tim Schaub
2188c5fa91
Remove static members from ImageSource
2018-02-25 08:43:01 -07:00
Tim Schaub
12eccdc52d
Remove static members from ImageMapGuide
2018-02-25 08:24:24 -07:00
Tim Schaub
42cf5f8511
Named exports from ol/source/OSM
2018-02-25 08:23:05 -07:00
Tim Schaub
33d91f1b89
Remove static members from Raster
2018-02-25 08:19:05 -07:00
Tim Schaub
7ab83f2722
Remove static members from Stamen
2018-02-25 08:17:07 -07:00
Tim Schaub
e3f15e1d24
Named exports from ol/source/Tile
2018-02-25 08:13:36 -07:00
Tim Schaub
57d2e7721d
Remove static member from TileImage
2018-02-25 08:13:36 -07:00
Tim Schaub
9b75dc949f
Named exports from ol/source/Vector
2018-02-25 08:13:31 -07:00
Tim Schaub
00f891c3f9
Named exports from ol/source/WMTS
2018-02-25 08:06:50 -07:00
Tim Schaub
d8934d8593
Merge pull request #7881 from fredj/cleanup
...
Better variables scoping
2018-02-25 07:00:57 -08:00
Björn Harrtell
6d1e8cb38b
Rework away static members from pointer related classes
2018-02-24 16:24:53 +01:00
Tim Schaub
a32d05e432
Merge pull request #7880 from tschaub/named-exports
...
Named exports from ol/style/Style
2018-02-23 09:04:03 -08:00
Frederic Junod
c50bc51534
Better variables scoping
2018-02-23 10:14:42 +01:00
Tim Schaub
580c2c6545
Named exports from ol/style/Style
2018-02-22 23:34:52 -08:00
Frédéric Junod
18ff892012
Merge pull request #7872 from fredj/named_export
...
More named export
2018-02-23 08:23:33 +01:00
Frederic Junod
e3deae940d
Named exports from ol/style/IconImage
2018-02-22 08:19:23 +01:00
Tim Schaub
7a0cbf0cb0
Remove static members from extent interaction
2018-02-21 15:56:21 -08:00
Tim Schaub
f81f3e2e9f
Remove static members from Draw interaction
2018-02-21 15:55:22 -08:00
Tim Schaub
afda1dc996
Remove static members from DragBox
2018-02-21 15:46:48 -08:00
Frederic Junod
fa1fcc79b6
Named exports from ol/interaction/Pointer
2018-02-21 16:52:00 +01:00
Frédéric Junod
190449e816
Merge pull request #7871 from fredj/optim
...
Memory optimization
2018-02-21 16:35:27 +01:00
Frédéric Junod
4b99060c26
Merge pull request #7870 from fredj/use_webgl_getContext
...
Use exported function from ol/webgl
2018-02-21 16:35:02 +01:00
Frederic Junod
17a799059c
Move the temporary array to the module level
...
No need to create a new variable for each instance.
2018-02-21 15:25:47 +01:00
Frederic Junod
ab28c48338
Only compute the viewState focus when it's needed
2018-02-21 14:42:45 +01:00
Frederic Junod
d9a6121058
Don't call view.getState in DragPan interaction
...
Reduce garbage generation from the function response (Object)
2018-02-21 14:42:45 +01:00
Frederic Junod
6f919032a4
Use exported function from ol/webgl
2018-02-21 14:25:59 +01:00
Frederic Junod
aaf3999e0d
Rename tileCoordCreateOrUpdate to createOrUpdateTileCoord
2018-02-21 09:23:51 +01:00
Frederic Junod
a92c08bf26
Named exports from ol/TileRange
2018-02-21 09:22:21 +01:00
Frederic Junod
2132229d68
Named exports from ol/render/canvas/ReplayGroup
2018-02-21 09:15:53 +01:00
Frederic Junod
16b732472f
Named exports from ol/render/canvas/TextReplay
2018-02-21 09:13:33 +01:00