Tim Schaub
b7f199c8cd
Zoom to the extent of the drag box
2015-09-08 23:07:47 -06:00
Tim Schaub
d3a4fd115b
Merge pull request #4083 from tschaub/missing-description
...
Add API descriptions.
2015-09-08 22:35:31 -06:00
Tim Schaub
0fec4c5ff7
Allow source.setAttributions() to be exported
2015-09-08 21:41:57 -06:00
Frederic Junod
d0722cab6a
Use bracket notation instead of goog.object.get
2015-09-08 16:33:15 +02:00
Frederic Junod
f02ad3e584
Use bracket notation instead of goog.object.set
2015-09-08 16:33:12 +02:00
Frederic Junod
bb5b711dac
Remove unused ol.renderer.webgl.Map.DEFAULT_COLOR_VALUES_
2015-09-08 15:40:35 +02:00
Pierre GIRAUD
7c2fffed68
SelectEventType in ol.interaction namespace
2015-09-08 14:26:39 +02:00
Frédéric Junod
1e78c45466
Merge pull request #4078 from fredj/jscomp_error
...
Enable all the compiler checks
2015-09-07 15:32:43 +02:00
Frederic Junod
4aa2369244
Add missing type annotation in ol.format.WMSCapabilities
...
The error reported by the compiler was:
```
ERR! compile src/ol/format/wmscapabilitiesformat.js:160: ERROR - inconsistent return type
ERR! compile found : Array
ERR! compile required: (null|ol.Extent|undefined)
ERR! compile return [
ERR! compile ^
ERR! compile
```
2015-09-07 14:48:48 +02:00
oterral
dba6e04a1b
Parse nested document tag
2015-09-07 13:14:24 +02:00
Frédéric Junod
cb9054f7fd
Merge pull request #4060 from fredj/unnecessary_cast
...
Remove unnecessary cast
2015-09-07 09:33:03 +02:00
Frederic Junod
529f869803
Remove unnecessary cast
...
Found by the latest version of closure-compiler (v20150729)
2015-09-07 09:15:34 +02:00
Frederic Junod
5371d8dd34
Use a private variable to cache the default style array
...
See #1815
Fixes #4063
2015-09-07 09:12:52 +02:00
Tim Schaub
053538cc42
Anchor, origin, and size are neither settable nor gettable for circle
2015-09-06 09:57:25 -06:00
Tim Schaub
8311f090de
Missing ol.render.webgl.Immediate#drawAsync description
2015-09-06 09:46:33 -06:00
Tim Schaub
a09c07a427
Missing vector context description
2015-09-06 09:41:56 -06:00
Tim Schaub
eed926fa94
Missing ol.control.OverviewMap#getCollapsed description
2015-09-06 09:36:00 -06:00
Tim Schaub
fe153b94fb
Missing drag and drop event description
2015-09-06 09:31:51 -06:00
Tim Schaub
fce931afbe
Missing ol.render.Event#frameState description
2015-09-06 08:39:50 -06:00
Tim Schaub
d036602cec
Missing ol.source.WMTS.optionsFromCapabilities description
2015-09-06 08:37:39 -06:00
Tim Schaub
1a240ccf9d
Missing image style method descriptions
2015-09-06 08:35:38 -06:00
Tim Schaub
91f47a876c
Missing ol.Observable#getRevision description
2015-09-06 07:57:41 -06:00
Tim Schaub
9f5d8d3901
Missing ol.ImageTile#getImage description
2015-09-06 07:56:15 -06:00
Tim Schaub
0bfd22b235
Missing ol.Feature#getId description
2015-09-06 07:54:38 -06:00
Frédéric Junod
cc6e0f1b3c
Merge pull request #4062 from fredj/rm_ol.xml.makeParsersNS
...
Remove ol.xml.makeParsersNS and use ol.xml.makeStructureNS instead
2015-09-04 17:03:17 +02:00
Éric Lemoine
0001e0989b
Merge pull request #3986 from alvinlindstam/feature/url-function
...
Modify 'url' option of ol.source.Vector to accept a function
2015-09-04 14:23:00 +02:00
Frédéric Junod
6d87fffb73
Merge pull request #4077 from fredj/jsdoc_const
...
Add missing const jsdoc annotation
2015-09-04 07:02:52 +02:00
Éric Lemoine
c4d4962806
Merge pull request #4041 from elemoine/custom-build-issue
...
Fix custom build issue
2015-09-03 18:41:19 +02:00
Éric Lemoine
fd4eff7292
Merge pull request #4069 from gberaudo/layer_zindex
...
Add Z-index to layers
2015-09-03 16:38:50 +02:00
Frederic Junod
6f40544732
Add missing const jsdoc annotation
2015-09-03 12:06:33 +02:00
Andreas Hocevar
4e58ebd360
Merge pull request #4076 from weskamm/projectiondocs
...
Add assertion for required option 'code' on ol.proj.Projection
2015-09-03 11:33:27 +02:00
Guillaume Beraudo
3811228ac7
Add Z-index to layers
...
This commit allows setting a z-index property on the layers and uses
it in the canvas, WEBGL and DOM map renderers for ordering the layers
before rendering.
Default z-index is 0 for managed layers and 1000 for unmanaged ones.
It allows always on bottom, always on top and more complex layer layouts.
2015-09-03 11:31:57 +02:00
Johannes Weskamm
c57f5e5f0a
Add assertion for required option 'code' on ol.proj.Projection
...
Additionally clarify docs.
2015-09-03 11:15:41 +02:00
Bart van den Eijnden
6a0fa114da
Make setOpacity on ol.style.Image API
2015-09-03 08:58:50 +02:00
Éric Lemoine
7b805ead9e
Merge pull request #4044 from elemoine/continue-drawing
...
Add ol.interaction.Draw#continueDrawing
2015-09-02 17:36:50 +02:00
É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
Frederic Junod
813afe1e3f
Better skippedFeaturesHash type definition
2015-09-02 14:18:34 +02:00
Frederic Junod
8b6ab65ca7
Better ol.Map#logos_ type definition
2015-09-02 14:02:56 +02:00
Frederic Junod
af553366d4
Remove ol.xml.makeParsersNS and use ol.xml.makeStructureNS instead
2015-08-31 14:06:49 +02:00
Alvin Lindstam
e41ba12445
Modify ol.featureloader (and consequently ol.source.Vector) to accept a function as a url.
2015-08-28 21:57:48 +02:00
Florent gravin
31a074daf5
Improve graticule perf
2015-08-27 17:04:43 +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
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
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
b3860a8fd5
Fix custom build issue
...
This fixes a custom build issue by adding a goog.require to imagestaticsource.js.
Fixes #4012 .
2015-08-24 16:41:44 +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