Commit Graph

7777 Commits

Author SHA1 Message Date
Éric Lemoine
c33a3372d9 Fix initial state of the Modify interaction
Features that are in the features collection need to be added to the R-Tree.
2014-03-28 16:03:34 +01: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
Tom Payne
8545aa83a9 Merge pull request #1915 from twpayne/select-interaction
Restore select interaction behaviour
2014-03-28 14:07:26 +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
ahocevar
8b99fd9bc1 Updates to pass jshint validation 2014-03-28 12:02:08 +01:00
ahocevar
b9cd512ffc Lower pixel tolerance to avoid accidental vertex deltion 2014-03-28 11:37:06 +01:00
ahocevar
e612330dd7 Add a way to delete vertices with the Modify interaction
After this change, vertices can be deleted by simply clicking on
them. This is the same behaviour as e.g. in geojson.io.
2014-03-28 11:36:13 +01:00
Tom Payne
7db06b61de Fix location of call to goog.getUid, thanks @elemoine 2014-03-27 22:22:54 +01:00
Tom Payne
15efba8a23 Restore ol.interaction.Select options 2014-03-27 21:54:41 +01:00
Tom Payne
0ec6bc6325 Fix jsdoc 2014-03-27 21:54:40 +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
Tom Payne
ddac5c5725 Merge pull request #1888 from twpayne/draw-order
Optional fixed draw order
2014-03-27 19:50:13 +01:00
Frederic Junod
a5a7550930 Optimize opacity clamping 2014-03-27 19:31:30 +01:00
Tom Payne
192c97d52b Respect renderOrder in ol.renderer.canvas.Vector 2014-03-27 19:03:42 +01:00
Tom Payne
479472f6fe Add renderOrder option to ol.layer.Vector 2014-03-27 19:01:53 +01:00
Tom Payne
4e93fe2fbd Call goog.getUid in ol.Object constructor 2014-03-27 19:01:29 +01:00
ahocevar
7bfa15c0fd Add click event as responsive alternative to singleclick
The singleclick event makes the application feel slow because
of the 250 ms delay that is used to rule out a dblclick.
2014-03-27 18:33:17 +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
Tim Schaub
862deefa43 Merge pull request #1897 from tschaub/absolute
Don't use protocol relative URLs.
2014-03-27 09:56:27 -06:00
Frederic Junod
4886c1dcab Update links to W3C specs 2014-03-27 13:56:59 +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
Andreas Hocevar
0dcdd58396 Merge pull request #1904 from ahocevar/doc-improvements
API doc improvements
2014-03-26 23:47:02 +01:00
ahocevar
46ec3209bd Make ol.View2D available when exploring olx.MapOptions 2014-03-26 18:38:26 +01:00
ahocevar
19ed446f43 Make ol.render.canvas.Immediate available in the docs 2014-03-26 18:33:45 +01:00
Frederic Junod
0062759f75 Use native JSON.parse function 2014-03-26 16:40:13 +01:00
ahocevar
0c5e232d66 Do not export the ol.render.canvas.Immediate constructor 2014-03-26 15:25:30 +01:00
Tom Payne
9e6f35c62e Fix TopoJSON return type and line string parsing 2014-03-26 14:59:08 +01:00
Frederic Junod
429a256fff Fix 'scale' and 'translate' tests 2014-03-26 14:59:08 +01:00
Andreas Hocevar
b59fa4e8af Merge pull request #1898 from ahocevar/events
Document events
2014-03-26 14:13:59 +01:00
ahocevar
a3b5376520 Add missing event documentation and stability tags 2014-03-26 14:04:58 +01:00
ahocevar
932cab12af Document stability of MapBrowserEvent properties and events 2014-03-25 22:07:14 +01:00
ahocevar
7fa8bd6723 Document ol.MapEvent events 2014-03-25 18:25:05 +01:00
ahocevar
3227ce4a06 Document ol.ObjectEvent events 2014-03-25 18:24:57 +01:00
ahocevar
7e850ca33d Use JSDoc's stock event documentation 2014-03-25 18:21:08 +01:00
Tom Payne
901164df38 Merge pull request #1893 from twpayne/jshint-clean-ups
Check with JSHint
2014-03-25 17:04:14 +01:00
Tim Schaub
9ce7d6ea45 Avoid protocol relative URL to support apps using file protocol 2014-03-24 15:46:12 -06:00
ahocevar
f37245963c Document Map events 2014-03-24 21:53:42 +01:00
ahocevar
fcd737e62b Document MapBrowserEvent events 2014-03-24 21:53:32 +01:00
Tom Payne
b613c9cde7 Merge pull request #1859 from pgiraud/geolocation_tracking_orientation
Geolocation tracking with orientation example
2014-03-24 12:53:53 +01:00
Pierre GIRAUD
8e9ffb377e Geolocation tracking with orientation example 2014-03-24 12:26:17 +01:00
Tom Payne
369c20388e Use ol.array.safeExtend in ol.format.KML 2014-03-24 11:56:53 +01:00
Tom Payne
82b703f3f0 Use ol.array.safeExtend in ol.format.GML 2014-03-24 11:56:53 +01:00
Tom Payne
dbc4f4e621 Use ol.array.safeExtend in ol.geom.Polygon 2014-03-24 11:56:53 +01:00
Tom Payne
c1d37195f5 Use ol.array.safeExtend in ol.geom.MultiPolygon 2014-03-24 11:56:53 +01:00
Tom Payne
b9a6048791 Use ol.array.safeExtend in ol.geom.MultiPoint 2014-03-24 11:56:53 +01:00
Tom Payne
765985c5a9 Use ol.array.safeExtend in ol.geom.MultiLineString 2014-03-24 11:56:53 +01:00