Commit Graph
100 Commits
Author SHA1 Message Date
Frederic Junod fe216e3da1 Better vector style in tile-vector example 2014-04-03 15:12:23 +02:00
Frédéric Junod 72e5a347b9 Merge pull request #1937 from fredj/heatmap-render-order
Set render order to null in ol.layer.Heatmap
2014-04-02 12:06:26 +02:00
Frederic Junod 6469b6c889 Set render order to null in ol.layer.Heatmap
For performance reasons: the render order is not relevant for a
heatmap representation and this avoids to sort the features each frame.
2014-04-02 10:53:04 +02:00
Frédéric Junod 3c32f8b9e4 Merge pull request #1934 from fredj/ol.dom.createCanvasContext
Add ol.dom.createCanvasContext function
2014-04-02 10:52:29 +02:00
Frederic Junod 55de0a54b9 Add ol.dom.createCanvasContext2D function 2014-04-02 09:37:41 +02:00
Frédéric Junod e5d59fd7f1 Merge pull request #1933 from fredj/null-renderOrder
Don't sort the features when renderOrder is null
2014-04-01 14:47:44 +02:00
Frederic Junod ea28b3716c Don't sort the features when renderOrder is null 2014-04-01 14:11:51 +02:00
Frédéric Junod bbb39fc930 Merge pull request #1931 from fredj/popup-scroll
Stop 'mouseweel' events in ol-overlaycontainer-stopevent div
2014-04-01 12:31:58 +02:00
Frederic Junod 849b534159 Stop 'mouseweel' events in ol-overlaycontainer-stopevent div 2014-04-01 09:42:08 +02:00
Frederic Junod 13224fd479 Use ol.MapBrowserEvent.EventType.POINTERDOWN
Instaed of a hardcoded string
2014-04-01 09:35:34 +02:00
Frédéric Junod ac25c3ad57 Merge pull request #1930 from fredj/export
Export ol.coordinate.add
2014-03-31 23:24:38 +02:00
Frederic Junod ef74d8c5dc Export ol.coordinate.add 2014-03-31 17:03:58 +02:00
Frédéric Junod b2e4c4bc1a Merge pull request #1921 from fredj/text-offset
Scale the text offset by the device's pixel ratio
2014-03-28 15:37:12 +01:00
Frederic Junod e0278e0e9c Scale the text offset by the device's pixel ratio
Fixes #1918
2014-03-28 12:22:12 +01:00
Frédéric Junod 16054cb753 Merge pull request #1913 from fredj/heatmap-clamp
Optimize opacity clamping
2014-03-27 19:58:08 +01:00
Frederic Junod a5a7550930 Optimize opacity clamping 2014-03-27 19:31:30 +01:00
Frédéric Junod f4af416aa8 Merge pull request #1894 from fredj/heatmap-weight
Take the feature's weight into account
2014-03-27 17:57:46 +01:00
Frédéric Junod 00bae6a962 Merge pull request #1910 from fredj/api-links
Update links to W3C specs in doc
2014-03-27 14:16:36 +01:00
Frederic Junod 4886c1dcab Update links to W3C specs 2014-03-27 13:56:59 +01:00
Frédéric Junod 07775ae1ca Merge pull request #1909 from fredj/extern
Remove unneeded json.js extern
2014-03-27 11:48:09 +01:00
Frederic Junod f60854e63f Remove unneeded json.js extern 2014-03-27 11:21:20 +01:00
Frédéric Junod e1b05ca4ca Merge pull request #1902 from fredj/native-json
Use native JSON.parse function
2014-03-27 11:07:46 +01:00
Frederic Junod d36536b935 Better documentation for weight option 2014-03-27 10:53:11 +01:00
Frederic Junod 0043e39ee3 Clamp opacity value to (0, 1) 2014-03-27 10:53:05 +01:00
Frederic Junod 0461901a86 Add new 'weight' option to ol.layer.Heatmap 2014-03-27 10:52:48 +01:00
Frederic Junod 0c131ba931 Take the feature's weight into account 2014-03-27 10:52:35 +01:00
Frederic Junod 0062759f75 Use native JSON.parse function 2014-03-26 16:40:13 +01:00
Frédéric Junod 36305f7efe Merge pull request #1900 from fredj/topojson
ol.format.TopoJSON issues
2014-03-26 15:12:45 +01:00
Frederic Junod 5c4adebb7d Add more topojson tests 2014-03-26 14:59:08 +01:00
Frederic Junod 429a256fff Fix 'scale' and 'translate' tests 2014-03-26 14:59:08 +01:00
Frédéric Junod 185a655cdd Merge pull request #1881 from fredj/pointerevents-cleanups
Miscellaneous pointer events cleanups
2014-03-20 16:36:35 +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
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
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
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
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
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
Frederic Junod ee80238ed2 Use 'undefined' for undefined numbers
Conflicts:
	src/ol/pointer/touchsource.js
2014-03-14 10:16:27 +01:00
Frederic Junod f5b15f737f Move DEDUP_TIMEOUT and CLICK_COUNT_TIMEOUT constants out of the instance 2014-03-14 10:16:27 +01:00
Frederic Junod 028a183d11 Pass the mapping object to the ol.pointer.EventSource constructor
Conflicts:
	src/ol/pointer/mssource.js
2014-03-14 10:16:27 +01:00
Frederic Junod aee76c989d Change ol.BrowserFeature.HAS_POINTER feature detection
Because navigator.pointerEnabled will not be part of the final spec.
See https://www.w3.org/Bugs/Public/show_bug.cgi?id=22890
2014-03-14 10:16:27 +01:00
Frederic Junod a13ade90ad Simplify pointerType string conversion 2014-03-14 10:16:27 +01:00
Frederic Junod 08b297e628 Use goog.object.get instead of ol.pointer.PointerEvent#getValue_ 2014-03-14 10:16:27 +01:00
Frederic Junod b2e946794f Set ol.pointer.*Source#mapping_ properties to private 2014-03-14 10:16:27 +01:00
Frederic Junod a916e2500b Add ol.pointer.TouchSource.POINTER_TYPE constant 2014-03-14 10:16:26 +01:00
Frederic Junod a74ad0e459 Remove ol.pointer.*Source#events properties 2014-03-14 10:16:26 +01:00
Frederic Junod 6b4b62dd3a Use goog.object.get instead of ol.pointer.PointerEvent#getValueOr_ 2014-03-14 10:16:26 +01:00
Frederic Junod cbb875e504 Add extern for Navigator.prototype.pointerEnabled 2014-03-14 10:16:26 +01:00
Frédéric Junod 457d5635eb Merge pull request #1857 from fredj/doc
Add missing options in olx.layer.HeatmapOptions
2014-03-13 15:57:29 +01:00
Frederic Junod 9a4892bff3 Wrap long lines 2014-03-13 15:39:46 +01:00
Frederic Junod d1111bacf3 Add missing options in olx.layer.HeatmapOptions 2014-03-13 15:38:42 +01:00
Frédéric Junod 9f1b695747 Merge pull request #1855 from fredj/const
Add '@const' to ol.BrowserFeature.HAS_ARRAY_BUFFER
2014-03-13 11:24:11 +01:00
Frederic Junod 5f43fe6da0 Add '@const' to ol.BrowserFeature.HAS_ARRAY_BUFFER 2014-03-13 10:54:43 +01:00
Frédéric Junod 7b7bc78f57 Merge pull request #1610 from fredj/wms-capabilities
Add ol.format.WMSCapabilities format
2014-03-11 17:04:26 +01:00
Frédéric Junod 2ed3b93f34 Merge pull request #1553 from fredj/geolocation-geom
Add new 'accuracyGeometry'  property to ol.Geolocation
2014-03-11 16:40:24 +01:00
Frederic Junod a267ed4e52 Use ol.Sphere#circle to create the accuracy 'circle' 2014-03-11 15:42:08 +01:00
Frederic Junod e62842464c Use accuracyGeometry in geolocation example 2014-03-11 15:14:55 +01:00
Frederic Junod 962ed06717 Add new 'accuracyGeometry' property to ol.Geolocation 2014-03-11 15:13:54 +01:00
Frédéric Junod 7f46a293d2 Merge pull request #1839 from fredj/text-offset
Add offsetX and offsetY properties to ol.style.Text
2014-03-11 14:35:38 +01:00
Frederic Junod 4a893f7837 Add offsetX and offsetY properties to ol.style.Text 2014-03-11 14:06:51 +01:00
Frederic Junod 924ecba95c Fix coding style 2014-03-10 17:22:35 +01:00
Frederic Junod 2fdae368c2 Check if the EX_GeographicBoundingBox is correctly parsed 2014-03-10 17:18:04 +01:00
Frederic Junod ea8c004c76 Remove unneeded type cast 2014-03-10 17:13:16 +01:00
Frederic Junod 1c13d6ed69 Add ol.format.WMSCapabilities 2014-03-10 17:06:48 +01:00
Frederic Junod d7d2b3353d Add ol.xml.makeObjectPropertyPusher 2014-03-10 17:06:48 +01:00
Frederic Junod 2f53c4a3ad Add ol.format.XLink 2014-03-10 17:06:48 +01:00
Frederic Junod 13698d0d06 Add ol.format.XML 2014-03-10 17:06:48 +01:00
Frederic Junod 55a8f9a5ec Remove duplicate files 2014-03-10 17:06:48 +01:00
Frederic Junod 5fba2dd7d5 Move src/ol/parser/* and tests into old directory 2014-03-10 17:06:48 +01:00
Frédéric Junod 68f5adc284 Merge pull request #1687 from fredj/ol.layer.Heatmap
Add ol.layer.heatmap
2014-03-06 15:00:13 +01:00
Frédéric Junod 6fb98851d9 Merge pull request #1806 from fredj/overlays-events
Set map in 'add' and 'remove' event handler
2014-03-06 13:33:47 +01:00
Frederic Junod 3bc0a6e6f0 Don't use Uint32Array for IE compatibility 2014-03-06 13:28:18 +01:00
Frederic Junod c32d8a2e53 Add ol.layer.Heatmap class and example 2014-03-06 09:14:03 +01:00
Frederic Junod 9d05e08b49 Dispatch 'render' event in renderer.canvas.VectorLayer
The context property of the event only contains the vector rendering.
2014-03-06 09:14:03 +01:00
Frederic Junod f0f2a2d2b0 Set control map in 'add' and 'remove' event handler 2014-03-06 09:03:38 +01:00
Frederic Junod 3dc9d296eb Set interaction map in 'add' and 'remove' event handler 2014-03-06 09:01:50 +01:00
Frederic Junod 9d8243a772 Set overlay map in 'add' and 'remove' event handler 2014-03-06 09:00:00 +01:00
Frédéric Junod e0d7470dac Merge pull request #1804 from fredj/box-text
Fix ol.render.Box text
2014-03-05 13:58:05 +01:00
Frederic Junod db01363c10 Set text style in ol.render.Box 2014-03-05 10:33:34 +01:00
Frederic Junod 08d6e060fa Fix coding style 2014-03-05 10:33:07 +01:00
Frédéric Junod d7297795ee Merge pull request #1799 from fredj/mapquest-logo
Use protocol relative logo in ol.source.MapQuest
2014-03-04 11:45:18 +01:00
Frederic Junod 39427cf691 Use protocol relative logo in ol.source.MapQuest 2014-03-04 10:28:05 +01:00
Frédéric Junod 7fd3e2dc7e Merge pull request #1794 from fredj/osmxml-format
Add ol.format.OSMXML and ol.source.OSMXML
2014-03-03 14:39:56 +01:00
Frederic Junod 6ab3f6e175 Add ol.format.OSMXML and ol.source.OSMXML 2014-03-03 14:28:13 +01:00
Frederic Junod bca9512478 Use ol.geom.LineString#getCoordinateAtM in igc example 2014-02-28 16:33:02 +01:00
Frédéric Junod 56c45217df Merge pull request #1780 from fredj/unused-require
Remove unused ol.FeatureOverlay require
2014-02-28 10:42:46 +01:00
Frédéric Junod 88ea2bebbd Merge pull request #1777 from fredj/polyline-cleanup
ol.format.Polyline cleanup
2014-02-28 10:40:11 +01:00
Frederic Junod 01288618cf Remove unused ol.FeatureOverlay require 2014-02-28 10:35:10 +01:00
Frederic Junod 7f8d4937f5 Remove unused ol.format.Polyline.decodeUnsignedInteger function 2014-02-27 13:36:08 +01:00
Frederic Junod c31f70bf08 Remove unused ol.format.Polyline.encodeSignedInteger function 2014-02-27 13:36:08 +01:00
Frederic Junod 040b954e15 Remove unused ol.format.Polyline.encodeFloat function 2014-02-27 13:36:08 +01:00