Commit Graph

7615 Commits

Author SHA1 Message Date
Éric Lemoine
c4b654b26c Rename skippedFeaturesHash to skippedFeatureUids 2014-03-20 13:29:30 +01:00
Éric Lemoine
71484d9a53 Better API doc strings in ol.Map 2014-03-20 13:25:20 +01:00
Éric Lemoine
435e5e6916 Better type checking in ol.Map 2014-03-20 13:19:54 +01:00
Antoine Abt
6a4c2bccc5 Coding style 2014-03-20 13:08:10 +01:00
Antoine Abt
78039aceb8 Use a hash to store features uids 2014-03-20 13:03:31 +01:00
Frederic Junod
764d7aaaa4 Remove unused ol.pointer.PointerEvent#originalEvent 2014-03-20 12:38:14 +01:00
Frederic Junod
6af2d5ae47 Remove trailing newlines 2014-03-20 12:38:14 +01:00
Frederic Junod
6d4552c783 Cache the result of goog.object.getCount 2014-03-20 12:38:14 +01:00
Frederic Junod
a2375d58b6 Store touch coordinates as ol.Pixel instead of goog.math.Coordinate 2014-03-20 12:38:14 +01:00
Frederic Junod
395fdf9bbf Move function declaration out of the constructor 2014-03-20 12:38:13 +01:00
Andreas Hocevar
23e1e6e0f4 Merge pull request #1875 from ahocevar/modify-performance
Do not update RTree while dragging vertices
2014-03-20 10:43:47 +01:00
Antoine Abt
d0f2dd354b Trigger render on skippedFeatures change 2014-03-20 10:25:45 +01:00
Antoine Abt
e1e4969599 Name frameState skippedFeaturesIds as private 2014-03-20 10:24:39 +01:00
Antoine Abt
0d87516135 Map stores skippedFeatures instead of layers 2014-03-19 17:24:58 +01:00
Tom Payne
0ea102ae66 Merge pull request #1874 from twpayne/wfs-fixes
Miscellaneous GML and WFS fixes
2014-03-19 12:54:49 +01:00
Antoine Abt
e91db0f9af Check for null layers (for postcompose hitdetection) 2014-03-19 12:33:48 +01:00
Antoine Abt
c8de4d908d Skip features in select interaction 2014-03-19 12:33:32 +01:00
Antoine Abt
9f7cba0ac0 Skipped features replaces RenderGeometryFunction 2014-03-19 12:31:45 +01:00
ahocevar
878f7cc7c8 Do not update RTree while dragging vertices 2014-03-19 11:36:55 +01:00
Tom Payne
0b5f0d0c8e Add ol.Sphere#interpolate 2014-03-18 18:52:44 +01:00
Tom Payne
b3ac959d6a Parse coordinates in GML in a single pass 2014-03-18 16:18:54 +01:00
Tom Payne
84cb3c88ef Fix fixing of OGC stupidity 2014-03-18 16:18:49 +01:00
Tom Payne
1b2e9aa13d Fix return types 2014-03-18 16:18:44 +01:00
Frédéric Junod
1b6f0a3fd1 Merge pull request #1870 from fredj/has-touch
Fix ol.BrowserFeature.HAS_TOUCH detection code
2014-03-18 08:00:56 +01:00
Hadrien Tulipe
f325cc3d7a More syntax fix for OWS format 2014-03-17 21:15:03 +01:00
Hadrien Tulipe
58e74229d2 Rename ol.format.OWSCapabilities to ol.format.OWS 2014-03-17 21:10:47 +01:00
Hadrien Tulipe
149e5c9068 Fix syntax and private functions return values for OWS format 2014-03-17 21:03:41 +01:00
Bart van den Eijnden
5db19fc307 Merge pull request #1867 from bartvde/stability
Mark parts of control and overlay as stable
2014-03-17 20:06:52 +01:00
Tom Payne
84479a096f Merge pull request #1871 from twpayne/select-toggle
Replace ol.interaction.Select add with toggle
2014-03-17 17:10:45 +01:00
Tom Payne
395f1222a1 Add remove and toggle options to ol.interaction.Select 2014-03-17 16:43:41 +01:00
Tom Payne
29d1ee5e03 Add ol.events.condition.never 2014-03-17 16:40:38 +01:00
Tim Schaub
f57a0544a0 Merge pull request #1845 from tschaub/buffered
Track replay group resolution and buffer max extent to capture strokes.
2014-03-17 08:50:07 -06:00
Frederic Junod
f2d8ad34fa Fix ol.BrowserFeature.HAS_TOUCH detection code
Use goog.global instead goog.global.document.documentElement to avoid
false negative results when using the chrome development tools (Touch
Events emulation).

Code borrowed from https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touchevents.js
except for the DocumentTouch part which is deprecated (https://developer.mozilla.org/en-US/docs/Web/API/DocumentTouch)

Fixes #1869
2014-03-17 15:04:55 +01:00
Tom Payne
ade384f842 Merge pull request #1868 from twpayne/wrap-x
Add wrapX option to ol.source.XYZ
2014-03-17 14:16:56 +01:00
Tom Payne
27943d9ed6 Tidy up setting of default projection 2014-03-17 14:08:41 +01:00
Tom Payne
2100cd30df Add wrapX option to ol.source.XYZ 2014-03-17 14:08:41 +01:00
Bart van den Eijnden
83bf626e03 Mark parts of control and overlay as stable 2014-03-17 11:06:46 +01:00
Frédéric Junod
593bb46708 Merge pull request #1865 from fredj/device-orientation
Make ol.DeviceOrientation dispatch change events
2014-03-17 09:34:29 +01:00
Éric Lemoine
f019f3ed44 Merge pull request #1858 from elemoine/geolocation
Add change event to Geolocation
2014-03-17 09:32:08 +01:00
Frederic Junod
6df7d5afda Make ol.DeviceOrientation dispatch change events 2014-03-17 09:05:52 +01:00
Hadrien Tulipe
00da1405b6 Remove commented code 2014-03-16 20:18:14 +01:00
Hadrien Tulipe
fe2bee1577 Add basic reading support for OWS Capabilities document. 2014-03-16 19:47:13 +01:00
ahocevar
6de1636507 Initialize lastPixel_ properly 2014-03-14 15:24:58 +01:00
tsauerwein
155b9b3f86 Add comment about pointercancel listener 2014-03-14 10:16:27 +01:00
tsauerwein
b2a37b8244 Remove not needed require 2014-03-14 10:16:27 +01:00
tsauerwein
41df4e0a23 Remove assertion again
When doing a double tap, the timeout id might get overridden.
2014-03-14 10:16:27 +01:00
tsauerwein
599de6a44a Listen also to pointerdown on overlay container 2014-03-14 10:16:27 +01:00
tsauerwein
89da5debfa Fix order of olx.interaction.* types 2014-03-14 10:16:27 +01:00
tsauerwein
51a557efbb Replace goog.structs.Map with plain object 2014-03-14 10:16:27 +01:00
tsauerwein
8a26ac6e24 Set preventDefault in PointerEvent constructor 2014-03-14 10:16:27 +01:00