Éric Lemoine
167480bde6
context.fillStyle should be a string
...
The value we set context.fillStyle to should always be a string. This commit fixes a bug in circlestyle.js where we did set context.fillStyle to an array instead of a string.
2015-09-21 20:49:05 +02:00
Marc Jansen
73b67f7a74
Merge pull request #4111 from marcjansen/text-default-fill
...
Use a blackish default for filling texts
2015-09-18 07:28:17 +09:00
Marc Jansen
80995159b1
Use a blackish default for filling texts
2015-09-17 16:52:59 +02:00
Pierre GIRAUD
badf14e0f1
forEachFeatureAtPixel shouldn't fail if layer has no source
2015-09-16 13:27:01 +02:00
Andreas Hocevar
ea8ad4fc16
Make ol.control.OverviewMap's view configurable
...
This is useful for creating an OverviewMap in a different projection than
EPSG:3857.
2015-09-16 17:28:16 +09:00
Frederic Junod
139bcca26a
Use goog.array.forEach to unlisten the array of keys
2015-09-15 10:05:57 +02:00
Frederic Junod
946ef8878d
Export ol.Observable#dispatchEvent function
2015-09-15 09:56:26 +02:00
Frederic Junod
758118e00d
Prevent page zoom on IE Edge
...
The deprecated msTouchAction property was removed in IE Edge.
2015-09-14 13:38:35 +02:00
Samuel Lapointe
c2c4dbfc32
Add a zoom setting to MouseWheelZoomInteraction
...
By default, zooming in or out zooms using the mouse's location
as an anchor, which makes it possible to navigate the map
using scrolling only, and makes zooming in more intuitive.
This commit adds a new useAnchor option to the MouseWheelZoom
interaction. It is enabled by default, which changes nothing
to the current behavior of the interaction. When disabled,
the interaction stops registering its lastAnchor_ value. This
turns the zoom into a very basic one, that zooms to the center
of the screen.
To use the map center zoom, set the useAnchor option to
false when creating the MouseWheelZoomInteraction, or use its
setMouseAnchor function.
2015-09-11 16:20:10 -04:00
Éric Lemoine
a1da682722
Merge pull request #4055 from fgravin/graticulePerf
...
Improve graticule perf
2015-09-10 09:31:10 +02:00
Pierre GIRAUD
216be8a673
Merge pull request #4089 from pgiraud/select_interaction
...
SelectEventType in ol.interaction namespace
2015-09-10 09:24:54 +02:00
Tim Schaub
411419e45f
Merge pull request #4095 from tschaub/drag-zoom
...
Zoom to the extent of the drag box.
2015-09-09 11:21:49 -06:00
Tim Schaub
6838fdd4c9
Merge pull request #4084 from tschaub/circle-exports
...
Fewer circle exports.
2015-09-09 09:12:42 -06:00
Tim Schaub
085c2d7e33
Merge pull request #4094 from tschaub/set-attributions
...
Allow source.setAttributions() to be exported.
2015-09-09 09:12:08 -06:00
Frédéric Junod
d0b87ecd63
Merge pull request #4091 from fredj/cleanup
...
Remove unused ol.renderer.webgl.Map.DEFAULT_COLOR_VALUES_
2015-09-09 07:43:55 +02:00
Frédéric Junod
0469a31ea9
Merge pull request #4092 from fredj/coding_style
...
Minor coding style fixes
2015-09-09 07:43:42 +02:00
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