Commit Graph
100 Commits
Author SHA1 Message Date
Frédéric Junod c4e729a2bd Merge pull request #2086 from fredj/apidoc
Document ol.coordinate functions
2014-05-21 09:04:45 +02:00
Frederic Junod 8239a5c92a Document ol.coordinate functions 2014-05-20 14:15:28 +02:00
Frederic Junod ae7291d9f1 Add the jsdoc ol.coordinate namespace 2014-05-20 13:58:17 +02:00
Frédéric Junod 92a7f9112c Merge pull request #2073 from fredj/named-colors
Change ol.ENABLE_NAMED_COLORS to be false by default
2014-05-15 11:02:34 +02:00
Frederic Junod b42f4e1b0c Change ol.ENABLE_NAMED_COLORS to be false by default 2014-05-15 08:59:47 +02:00
Frederic Junod 84390da2e4 Rename ol.color.ENABLE_NAMED_COLORS in tests 2014-05-15 08:59:02 +02:00
Frédéric Junod 164922bd5f Merge pull request #2052 from fredj/apidoc
apidoc: display the event name in lower case
2014-05-09 07:38:20 +02:00
Frederic Junod 1b6a317bf9 Lower case the event name 2014-05-08 17:12:29 +02:00
Frédéric Junod 4e6e835c0e Merge pull request #2050 from fredj/has_webgl
Export ol.BrowserFeature.HAS_WEBGL
2014-05-08 09:53:13 +02:00
Frederic Junod e1436b25e0 Export ol.BrowserFeature.HAS_WEBGL 2014-05-08 08:57:29 +02:00
Frédéric Junod 0cd33ebfe9 Merge pull request #1926 from fredj/cache-anchor
Compute anchor value only once
2014-05-01 23:23:18 +02:00
Frédéric Junod 2e9cad730d Merge pull request #2032 from fredj/require
Remove unneeded goog.require
2014-05-01 17:10:30 +02:00
Frederic Junod c0d8fe4126 Remove unneeded goog.require 2014-05-01 13:41:16 +02:00
Frédéric Junod 3742b3c816 Merge pull request #1992 from fredj/select-layer-option
Remove layer option from ol.interaction.Select
2014-04-29 09:56:56 +02:00
Frederic Junod 3c308af91f Merge layerFilter option into layers 2014-04-29 08:58:55 +02:00
Frederic Junod 2c7282d4e9 Remove layer option from ol.interaction.Select
Fixes #1991
2014-04-29 08:56:29 +02:00
Frédéric Junod 1f3f1e1cc7 Merge pull request #2018 from fredj/featureoverlay-cleanup
Miscellaneous ol.FeatureOverlay cleanup
2014-04-28 15:24:35 +02:00
Frederic Junod b41ee35422 Use features.forEach instead of for loop 2014-04-28 13:54:26 +02:00
Frederic Junod 90c0944617 Fix coding style 2014-04-28 13:51:42 +02:00
Frederic Junod a5620fa46a Remove unneeded function binding 2014-04-28 13:50:54 +02:00
Frederic Junod 475be37ef4 Remove unused local variable 2014-04-28 13:49:14 +02:00
Frédéric Junod d7296602fc Merge pull request #2017 from fredj/feature-setgeom-change
Dispatch a change event when the geometry is set
2014-04-28 08:57:32 +02:00
Frédéric Junod 35715da4e6 Merge pull request #2010 from fredj/goog.array.contains
Use goog.array.contains instead of goog.array.indexOf
2014-04-28 07:40:56 +02:00
Frederic Junod 68773941d3 Use goog.array.contains instead of goog.array.indexOf 2014-04-26 08:31:40 +02:00
Frederic Junod 74d83f29d2 Dispatch a change event when the geometry is set
Fixes #2016
2014-04-26 08:09:28 +02:00
Frédéric Junod cd878e0ef8 Merge pull request #2009 from fredj/zoom-no-name
Remove name attributes from the zoom buttons
2014-04-24 15:10:03 +02:00
Frederic Junod d00e515412 Remove name attributes from the zoom buttons 2014-04-24 14:45:14 +02:00
Frédéric Junod a46f8647f9 Merge pull request #1998 from adube/fix-zoomcontrol
Fix zoomcontrol, set type button in button, not span
2014-04-24 14:35:53 +02:00
Frédéric Junod 16d7999deb Merge pull request #2007 from fredj/tilejson-jsonp
Use goog.net.Jsonp instead of goog.net.jsloader
2014-04-22 15:25:29 +02:00
Frederic Junod 1d688ad29d Use goog.net.Jsonp instead of goog.net.jsloader 2014-04-22 14:44:55 +02:00
Frédéric Junod 3ffed43834 Merge pull request #1995 from fredj/cleanup
Use ol.extent.getWidth and ol.extent.getHeight
2014-04-18 16:20:56 +02:00
Frédéric Junod 551dd94494 Merge pull request #1996 from probins/measure
Measure example: correct source link
2014-04-17 21:00:52 +02:00
Frederic Junod 663e7af0d2 Use ol.extent.getWidth and ol.extent.getHeight 2014-04-17 15:54:13 +02:00
Frédéric Junod cb1edd262d Merge pull request #1985 from fredj/named-color
Handle ol.color.ENABLE_NAMED_COLORS = false
2014-04-16 16:28:26 +02:00
Frédéric Junod b5873ff866 Merge pull request #1984 from fredj/export-circle
Export ol.Sphere.WGS84.circle function
2014-04-16 07:20:13 +02:00
Frederic Junod 251996f789 Use ol.color.ENABLE_NAMED_COLORS in tests 2014-04-15 17:22:58 +02:00
Frederic Junod 1da879ef06 Don't use a named color for defaultFillStyle
Named color support is optional (see ol.color.ENABLE_NAMED_COLORS)
2014-04-15 16:58:06 +02:00
Frederic Junod 4d548d99a7 Add Tissot indicatrix example 2014-04-15 14:35:27 +02:00
Frederic Junod 38f8774cc4 Export ol.Sphere#circle function 2014-04-15 14:35:20 +02:00
Frédéric Junod ce2b52d4fc Merge pull request #1983 from fredj/osgeo-url
Allow '{-y}' placeholder
2014-04-14 15:23:05 +02:00
Frederic Junod 9b5512c065 Allow '{-y}' placeholder 2014-04-14 14:27:18 +02:00
Frédéric Junod 738fe65268 Merge pull request #1982 from fredj/dnd-event
Add file propery to ol.interaction.DragAndDropEvent
2014-04-14 13:50:03 +02:00
Frederic Junod ef27f14376 Remove undefined type from opt_target and opt_file 2014-04-14 12:01:48 +02:00
Frederic Junod 756f407ef4 Add file propery to ol.interaction.DragAndDropEvent 2014-04-14 10:47:57 +02:00
Frédéric Junod c2bd829a5f Merge pull request #1975 from fredj/rotation-anchor
Rotate around arbitrary coordinate
2014-04-10 14:22:08 +02:00
Frédéric Junod 3946b92595 Merge pull request #1942 from elemoine/export-tileimage
Export ol.source.TileImage
2014-04-10 14:16:13 +02:00
Frederic Junod 5248bb7a4b Export ol.source.TileImage 2014-04-10 12:27:53 +02:00
Frédéric Junod 21d9aa2115 Merge pull request #1967 from fredj/tileUrlFunction-this
Don't use 'this' keyword in tileUrlFunction
2014-04-09 10:21:06 +02:00
Frederic Junod 6b1a4dc88b Use WMTS server from services.arcgisonline.com 2014-04-09 09:22:20 +02:00
Frederic Junod bbb3527ac7 Don't use 'this' keyword in tileUrlFunction
See a31ad69ec4
Fixes #1965
2014-04-09 09:00:25 +02:00
Frédéric Junod 03cc1c5a01 Merge pull request #1966 from fredj/coding-style
Fix coding style
2014-04-08 19:37:41 +02:00
Frederic Junod 17ed43d230 Fix coding style
Use `goog.isDef(x) ? x : {}` instead of `x || {}`
2014-04-08 11:40:04 +02:00
Frédéric Junod aa6c188da6 Merge pull request #1962 from fredj/1961
Define ol.pointer.PointerEvent.createMouseEvent before using it
2014-04-07 18:18:21 +02:00
Frederic Junod ffb61b49d0 Define ol.pointer.PointerEvent.createMouseEvent before using it
Fixes #1961
2014-04-07 17:48:14 +02:00
Frédéric Junod de60b15e36 Merge pull request #1958 from fredj/renderer-order
Change renderer order in getRendererFromQueryString
2014-04-07 15:21:58 +02:00
Frederic Junod 1da40b6d02 Change renderer order in getRendererFromQueryString
To order should be the same as ol.DEFAULT_RENDERER_HINTS.
See #887
2014-04-07 14:56:56 +02:00
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
Frederic Junod fa640cf094 Compute anchor value only once 2014-03-31 10:20:52 +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