Commit Graph

13460 Commits

Author SHA1 Message Date
Tim Schaub
24ad507710 Merge pull request #1917 from tschaub/node-deps
Update node packages.
2014-03-28 17:44:13 -06:00
Tim Schaub
2dd3bd88ea Update node packages
* closure-util - Driving the compiler, not watching spurious files
 * async - Bugfixes not related to our use, but this may sidestep the Travis errors we're seeing
2014-03-28 17:27:41 -06:00
Éric Lemoine
2add376113 Merge pull request #1922 from elemoine/modify
Fixes to modify interaction
2014-03-28 16:43:05 +01:00
Éric Lemoine
c82d5ba88e Make the Modify interaction more robust
This prevents a JavaScript error when features are added while the interaction does not have a map.
2014-03-28 16:09:52 +01:00
Éric Lemoine
afa5f35cef Create the R-Tree in the Modify constructor
In this way features can be added/removed to/from the R-Tree even when the interaction does not have a map.
2014-03-28 16:07:03 +01:00
É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
Andreas Hocevar
37eea9340e Merge pull request #1283 from ahocevar/delete-vertex
Add a way to delete vertices with the Modify interaction
2014-03-28 12:39:28 +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
baab8dab63 Merge pull request #1916 from twpayne/fix-object-uid
Fix location of call to goog.getUid, thanks @elemoine
2014-03-27 22:57:29 +01:00
Tom Payne
7db06b61de Fix location of call to goog.getUid, thanks @elemoine 2014-03-27 22:22:54 +01:00
Tom Payne
f5e272fb3d Remove stray option in modify-features example 2014-03-27 21:54:41 +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
Tim Schaub
57b43e9822 Merge pull request #1912 from tschaub/modify-example
Add style and condition for multiple selection to modify example.
2014-03-27 11:53:36 -06:00
Tim Schaub
2da07f8837 Always toggle selection 2014-03-27 11:26:17 -06:00
Tim Schaub
02a7913c0f Add condition for selection 2014-03-27 11:07:06 -06:00
Tim Schaub
1e0d2af0f0 Add a style for selected features 2014-03-27 11:01:12 -06: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
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
Andreas Hocevar
47b82f0f11 Merge pull request #1906 from ahocevar/fix-event-docs
Do not delete event and fires doclets
2014-03-27 13:00:37 +01:00
ahocevar
d4eb5dd2ee Use a more visually appealing margin for descriptions 2014-03-27 13:00:08 +01:00
ahocevar
a5d8f463ff Clean up
Only mark symbol as unexported when it is not in the API, and
no longer extract links from fires annotations because all links
are handled now.
2014-03-27 12:37:01 +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
ahocevar
15b0bc719e Do not loop through parents
Now that we use the parseComplete event, we walk through all
doclets in the loop anyway.
2014-03-27 01:56:31 +01:00
ahocevar
a1d9491d62 Do not delete event and fires doclets 2014-03-27 01:18:59 +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
cc1fceab05 Do not query the array twice 2014-03-26 23:46:42 +01:00
Andreas Hocevar
d148d814b2 Merge pull request #1901 from ahocevar/canvasimmediate-less-exports
Do not export the ol.render.canvas.Immediate constructor
2014-03-26 18:43:16 +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
ahocevar
e5edb5c0e3 Also consider linked symbols as documented 2014-03-26 18:33:15 +01:00