Commit Graph

15151 Commits

Author SHA1 Message Date
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
c2c3798087 Update select-features example styles 2014-03-19 12:31:45 +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
1fc1cd0b2f Merge pull request #1873 from twpayne/sphere-interpolate
Add ol.Sphere#interpolate
2014-03-19 00:13:46 +01:00
Tom Payne
f41a4dc543 Add EPSG:4326 tests 2014-03-18 19:12:27 +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
Tom Payne
088a748d70 Remove tests for spherical geometry on poorly defined points 2014-03-18 14:58:39 +01:00
Frédéric Junod
f50451698a Merge pull request #1872 from fredj/vbarray
Fix vbarray extern
2014-03-18 09:01:43 +01:00
Frederic Junod
b04639ccc5 Fix vbarray extern
dimension argument is optional.
See http://msdn.microsoft.com/en-us/library/3kk8f869(v=vs.94).aspx
and http://msdn.microsoft.com/en-us/library/0kbz883e(v=vs.94).aspx
2014-03-18 08:14:34 +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
Frédéric Junod
38009e1984 Merge pull request #1866 from fredj/pointerevents-tests
Fix simulated touch event in tests
2014-03-17 12:18:36 +01:00
Frederic Junod
9a51557dec Increase simulated clientY value
The the difference in position must be greater than
ol.pointer.MouseSource.DEDUP_DIST
2014-03-17 12:04:10 +01:00
Bart van den Eijnden
83bf626e03 Mark parts of control and overlay as stable 2014-03-17 11:06:46 +01:00
Frederic Junod
391f81f838 Fix simulated touch event in tests 2014-03-17 10:35:13 +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
2e390794ed Use change event in device-orientation example 2014-03-17 09:06:25 +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
Andreas Hocevar
c3cc4af453 Merge pull request #1861 from ahocevar/init-lastpixel
Initialize lastPixel_ properly
2014-03-14 15:44:52 +01:00