Frédéric Junod
9a83db1c85
Merge pull request #4110 from fredj/cleanup
...
Minor cleanups
2015-09-23 09:55:33 +02:00
Éric Lemoine
9894ceda2a
Remove bogus assertion
...
This commit removes an incorrect assertion from the modify interaction, which currently triggers when adding vertices to a line string. A new condition is added to the `if` statement to prevent a compilation error. In practice, `depth` and `segmentDataMatch.depth` are either both defined or both undefined.
2015-09-23 09:42:02 +02:00
Frédéric Junod
7a38a8945c
Merge pull request #4150 from fredj/rm-goog.object.remove
...
Remove use of goog.object.remove
2015-09-23 09:01:02 +02:00
Tim Schaub
cdf6fe44d8
Merge pull request #4145 from tschaub/simplified-geom
...
API method for simplifying geometries.
2015-09-22 11:45:42 -06:00
Tim Schaub
483f567d26
Working Wikipedia links
2015-09-22 10:39:19 -06:00
Tim Schaub
436561d9dd
Make geom.simplify() exportable
2015-09-22 10:34:43 -06:00
Éric Lemoine
5162fda686
Merge pull request #4153 from elemoine/select-features
...
Add a "features" option to ol.interaction.Select
2015-09-22 17:53:39 +02:00
Tim Schaub
250e86e5f2
Update simplification docs
2015-09-22 09:49:42 -06:00
Éric Lemoine
0bc8858760
Add a "features" option to ol.interaction.Select
2015-09-22 17:02:14 +02:00
Éric Lemoine
0def9728bb
Merge pull request #4144 from elemoine/feature-animation
...
Set context.fillStyle to a string
2015-09-22 12:13:12 +02:00
Frederic Junod
b128675e60
Remove use of goog.object.remove
2015-09-22 12:08:09 +02:00
Frederic Junod
0d23ab44b3
Remove use of goog.array.isEmpty
2015-09-22 11:25:04 +02:00
Tim Schaub
e81b68ce8b
API method for simplifying geometries
2015-09-21 14:20:16 -06:00
É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