Éric Lemoine
95030cd838
Add ol.interaction.Draw#extend
...
This commit adds an `extend` method to the draw interaction. This method makes it possible to extend (continue drawing) an existing line string feature. It only works on line string features, where this functionality makes the most sense.
Here's an example on how to use `extend`:
```js
var vectorSource = vectorLayer.getSource();
vectroSource.removeFeature(feature);
drawInteraction.extend(feature);
```
2015-09-02 17:21:10 +02:00
Éric Lemoine
f5df71ba70
Merge pull request #4072 from elemoine/closure-util-1-7
...
Update to closure-util 1.7.0
2015-09-02 10:01:18 +02:00
Éric Lemoine
1553dce3dc
Remove extern definition duplicates
2015-09-02 09:48:43 +02:00
Éric Lemoine
055df25c58
Update to closure-util 1.7.0
2015-09-02 09:48:03 +02:00
Tim Schaub
4dddf4c3d9
Merge pull request #4070 from tschaub/debug-server
...
Make the debug server work regardless of the current working directory.
2015-09-01 22:14:20 -06:00
Tim Schaub
4d5cf372b0
Always look for ol deps in the root of the ol repo
2015-09-01 21:43:22 -06:00
Frédéric Junod
34f65a8908
Merge pull request #4067 from fredj/alert-error
...
Fix bootstrap class name in examples
2015-09-01 16:24:22 +02:00
Frederic Junod
b4dec522f1
Fix bootstrap class name in examples
...
`alert-error` was renamed to `alert-danger`
2015-09-01 15:28:25 +02:00
Frédéric Junod
4045e06aa9
Merge pull request #4050 from fredj/view_getState
...
Use view.getRotation and view.getResolution instead of view.getState
2015-08-26 14:15:31 +02:00
Frédéric Junod
61fe8a8418
Merge pull request #4051 from fredj/wrench_devDependencies
...
Move wrench node package to devDependencies
2015-08-26 14:15:00 +02:00
Frederic Junod
954c1c313e
Move wrench node package to devDependencies
...
This package is only used by tasks/test-coverage.js (code coverage with istanbul)
Fixes #4048
2015-08-26 13:42:17 +02:00
Frederic Junod
c1575e810b
Use view.getRotation and view.getResolution instead of view.getState
...
view.getState calls 4 functions and creates an object and an array.
It's more efficient to use view.getRotation and view.getResolution.
2015-08-26 13:37:30 +02:00
Frédéric Junod
16d687205d
Merge pull request #4047 from fredj/rm_pystache
...
Remove pystache dependency
2015-08-26 11:35:34 +02:00
Frederic Junod
15ef7eec85
Remove pystache dependency
...
And use the mustache node module instead.
2015-08-26 10:36:55 +02:00
Frédéric Junod
db68c09e4d
Merge pull request #4027 from fredj/20150729_compatibility
...
closure-compiler v20150729 compatibility
2015-08-26 10:17:02 +02:00
Frederic Junod
9d07300e71
Rename ol.SelectEvent to ol.interaction.SelectEvent
2015-08-25 09:26:10 +02:00
Frederic Junod
ffc24e892e
Rename ol.ModifyEvent to ol.interaction.ModifyEvent
2015-08-25 09:26:10 +02:00
Frederic Junod
49b8f90e66
Add missing goog.provide
...
The new version of the closure-compiler (version 20150729) wants that all the classes
tagged with `@constructor` to be provided (with `goog.provide`).
2015-08-25 09:26:10 +02:00
Frederic Junod
eb4dab90e5
Better type for ol.interaction.Modify#rBush_
2015-08-25 09:26:10 +02:00
Éric Lemoine
7b9828a7a7
Merge pull request #4040 from elemoine/has-enable
...
Better docs for ol.ENABLE_[WEBGL|CANVAS|DOM]
2015-08-24 17:26:56 +02:00
Éric Lemoine
727586ecb9
Merge pull request #4032 from gberaudo/improve_overlay_extensibility
...
Improve ol.Overlay extensibility
2015-08-24 16:46:36 +02:00
Guillaume Beraudo
e189667d20
Improve ol.Overlay extensibility
...
- make autoPan_ protected;
- split updatePixelPosition_() and make it protected;
- use a protected setVisible() function.
2015-08-24 16:15:26 +02:00
Éric Lemoine
fe69c0e354
Better docs for ol.ENABLE_[WEBGL|CANVAS|DOM]
2015-08-24 16:05:43 +02:00
Frédéric Junod
1c549b4df3
Merge pull request #4037 from fredj/travis_pip_install
...
Don't install python packages in before_install
2015-08-24 14:19:35 +02:00
Éric Lemoine
931100e030
Merge pull request #4028 from elemoine/closure-util-1-6
...
Update to closure-util 1.6
2015-08-24 14:16:27 +02:00
Éric Lemoine
6c13de715e
Update to closure-util 1.6.1
2015-08-24 14:02:23 +02:00
Frederic Junod
37cdbcc72f
Don't install python packages in before_install
...
Travis already installs the packages by default.
See http://docs.travis-ci.com/user/languages/python/#Travis-CI-uses-pip
2015-08-24 10:03:07 +02:00
Frédéric Junod
da5bf46dbf
Merge pull request #4014 from fredj/rm_checkStructDictInheritance
...
Remove deprecated checkStructDictInheritance
2015-08-24 09:08:12 +02:00
Frédéric Junod
2c8e5600ce
Merge pull request #3987 from fredj/unnecessary_cast
...
Remove unnecessary cast
2015-08-24 09:07:27 +02:00
Tim Schaub
0194c8e3c2
Merge pull request #4035 from tschaub/remove-unused
...
Remove unused sphere and ellipsoid methods.
2015-08-23 13:06:13 -06:00
Tim Schaub
980dbc121a
Remove unused ol.Ellipsoid
2015-08-23 12:27:57 -06:00
Tim Schaub
d09506f5b1
Remove unused ol.ellipsoid.WGS84
2015-08-23 12:26:51 -06:00
Tim Schaub
13a9d2f6af
Remove unused ellipsoid.vincenty() method
2015-08-23 12:26:43 -06:00
Tim Schaub
d91f5ecc48
Remove unused ellipsoid.vincentyDistance() method
2015-08-23 12:11:46 -06:00
Tim Schaub
b180149100
Remove unused ellipsoid.vincentyFinalBearing() method
2015-08-23 12:08:39 -06:00
Tim Schaub
6bbc411521
Remove unused ellipsoid.vincentyInitialBearing() method
2015-08-23 12:06:31 -06:00
Tim Schaub
0ba7856d49
Remove FIXMEs
2015-08-23 11:59:39 -06:00
Tim Schaub
90ec289c89
Remove unused sphere.midpoint() method
2015-08-23 11:56:23 -06:00
Tim Schaub
b724ce6c0d
Remove unused sphere.interpolate() method
2015-08-23 11:54:08 -06:00
Tim Schaub
9cccbd0712
Remove unused sphere.maximumLatitude() method
2015-08-23 11:51:00 -06:00
Tim Schaub
3852be0d7e
Remove unused sphere.initialBearing() method
2015-08-23 11:50:00 -06:00
Tim Schaub
daa4781072
Remove unused sphere.equirectangularDistance() method
2015-08-23 11:48:09 -06:00
Tim Schaub
8ec2bcef17
Remove unused sphere.finalBearing() method
2015-08-23 11:46:20 -06:00
Tim Schaub
c74277cae8
Remove unused sphere.cosineDistance() method
2015-08-23 11:43:26 -06:00
Tim Schaub
bc1328528a
Remove unused sphere.crossTrackDistance() method
2015-08-23 11:41:06 -06:00
Pierre GIRAUD
ff01bba55a
Merge pull request #4031 from pgiraud/popup_size
...
Fixing size of popup
2015-08-21 13:08:33 +02:00
Pierre GIRAUD
8329da8d1c
Fixing size of popup
2015-08-21 11:28:08 +02:00
Éric Lemoine
5865d5bc55
Merge pull request #4023 from elemoine/4003
...
Render map when layer.setMap(map) called
2015-08-20 15:31:07 +02:00
Frédéric Junod
6d7f51f111
Merge pull request #4026 from fredj/fa_css_class
...
Fix Font Awesome CSS class in examples
2015-08-20 12:15:16 +02:00
Frederic Junod
da4b863ad8
Fix Font Awesome CSS class in examples
2015-08-20 11:49:19 +02:00