Andreas Hocevar
6826829786
Merge pull request #1971 from ahocevar/externs-instead-of-typedefs
...
"Cannot read property 'AttributionOptions' of undefined" error
2014-04-10 16:54:50 +02:00
Tim Schaub
12840aa49f
Merge pull request #1976 from tschaub/pointerup-return
...
Required return from event handler.
2014-04-10 06:52:13 -06:00
Antoine Abt
050f0cede6
Merge pull request #1974 from tonio/selectfeature
...
Automatically skip features on select’s collection changes
2014-04-10 14:41:52 +02:00
Andreas Hocevar
b80c6d5c61
Replace typedefs with externs
...
Since the compiler leaves externs untouched and learns the used
properties from object literals, this replaces the otherwise
required typedefs just fine.
2014-04-10 14:40:51 +02:00
Tim Schaub
e72b383976
Required return from event handler
2014-04-10 06:32:27 -06:00
Antoine Abt
5147a0b060
Automatically skipFeatures on select’s collection changes
2014-04-10 14:24:39 +02:00
Frédéric Junod
c2bd829a5f
Merge pull request #1975 from fredj/rotation-anchor
...
Rotate around arbitrary coordinate
2014-04-10 14:22:08 +02:00
Frédéric Junod
3946b92595
Merge pull request #1942 from elemoine/export-tileimage
...
Export ol.source.TileImage
2014-04-10 14:16:13 +02:00
Éric Lemoine
f9388749d4
undefined may be passed to ol.animation.rotate
2014-04-10 14:05:18 +02:00
Éric Lemoine
42adc23e86
Use ol.View2D#rotate in Interaction
2014-04-10 14:05:18 +02:00
Éric Lemoine
59c3857afd
Add rotateAroundRome to animation example
2014-04-10 14:05:18 +02:00
Éric Lemoine
3c86dba3a8
ol.animate.rotate takes an optional anchor
2014-04-10 14:05:17 +02:00
Éric Lemoine
00917b7262
Export ol.View2D#rotate
2014-04-10 14:05:17 +02:00
Éric Lemoine
7e604d6ed3
Merge pull request #1972 from elemoine/modifyinteraction
...
Fix bug at modify interaction construction time
2014-04-10 13:55:48 +02:00
Éric Lemoine
e03054f17f
Add ol.View2D#rotate
2014-04-10 12:40:47 +02:00
Éric Lemoine
00bc424098
Add ol.coordinate.sub
2014-04-10 12:40:47 +02:00
Frederic Junod
5248bb7a4b
Export ol.source.TileImage
2014-04-10 12:27:53 +02:00
Éric Lemoine
baca25ed95
Fix bug at modify interaction construction time
...
This fixes a bug that occurs when the modify interaction is configured with a non-empty collection of features.
2014-04-10 11:00:00 +02:00
Frédéric Junod
21d9aa2115
Merge pull request #1967 from fredj/tileUrlFunction-this
...
Don't use 'this' keyword in tileUrlFunction
2014-04-09 10:21:06 +02:00
Frederic Junod
6b1a4dc88b
Use WMTS server from services.arcgisonline.com
2014-04-09 09:22:20 +02:00
Frederic Junod
bbb3527ac7
Don't use 'this' keyword in tileUrlFunction
...
See a31ad69ec4
Fixes #1965
2014-04-09 09:00:25 +02:00
Tim Schaub
98ec656981
Merge pull request #1954 from tschaub/olx
...
Use externs/olx.js instead of objectliterals.jsdoc.
2014-04-08 20:36:38 -06:00
Tim Schaub
3c92b693c5
Adding comment about using externs/olx.js as a source file
...
The externs/olx.js script includes @typedef annotations for objects that are used in the library. When compiling the examples together with the library, we need these @typedef annotations. In this same case, we don't need the object property names to be treated as externs (they can be safely renamed).
2014-04-08 20:11:49 -06:00
Andreas Hocevar
04a33220a8
Parse olx.js and convert types into typedef properties
2014-04-08 11:41:24 -06:00
Tim Schaub
9e33672503
Unused externs and typedef generating code
2014-04-08 11:41:24 -06:00
Tim Schaub
acb0fd8f06
Use externs/olx.js instead of objectliterals.jsdoc
...
The single externs/olx.js file describes all of the "options" objects we accept in our constructors. The @typedef annotations are used by the compiler for type checking. The @type annotations include documentation for individual options and serve as externs when compiling a profile of the library. When compiling an application together with the library, the externs/olx.js file is included as one of the sources to provide the @typedef's without generating externs.
If we want to maintain multiple src/*.externs.js files instead of one large externs/olx.js file, we can. But while we are still using Plovr, it makes for easier build configurations to have one file.
This removes the build tasks that generated the build/src/external/src/externs/types.js and build/src/internal/src/types.js files as those are both replaced by the single externs/olx.js file.
2014-04-08 11:41:24 -06:00
Frédéric Junod
03cc1c5a01
Merge pull request #1966 from fredj/coding-style
...
Fix coding style
2014-04-08 19:37:41 +02:00
Paul Spencer
b4031efc71
Merge pull request #1964 from pagameba/node-jsdoc
...
Upgrade to jsdoc 3.3.
2014-04-08 13:31:58 -04:00
Paul Spencer
6d3bbe61ce
Upgrade to jsdoc 3.3.
2014-04-08 07:39:57 -04:00
Frederic Junod
17ed43d230
Fix coding style
...
Use `goog.isDef(x) ? x : {}` instead of `x || {}`
2014-04-08 11:40:04 +02:00
Frédéric Junod
aa6c188da6
Merge pull request #1962 from fredj/1961
...
Define ol.pointer.PointerEvent.createMouseEvent before using it
2014-04-07 18:18:21 +02:00
Frederic Junod
ffb61b49d0
Define ol.pointer.PointerEvent.createMouseEvent before using it
...
Fixes #1961
2014-04-07 17:48:14 +02:00
Éric Lemoine
4561e0b901
Merge pull request #1960 from elemoine/stopevent
...
Implement shouldStopEvent in DragBox interaction
2014-04-07 17:23:46 +02:00
Éric Lemoine
ce0b1d2a47
Use goog.functions.identity where it makes sense
2014-04-07 16:59:04 +02:00
Éric Lemoine
eac9b71b95
Set shouldStopEvent to identity in DragBox
...
This fixes a bug where the map is panned when boxes are drawn.
2014-04-07 16:57:02 +02:00
Frédéric Junod
de60b15e36
Merge pull request #1958 from fredj/renderer-order
...
Change renderer order in getRendererFromQueryString
2014-04-07 15:21:58 +02:00
Frederic Junod
1da40b6d02
Change renderer order in getRendererFromQueryString
...
To order should be the same as ol.DEFAULT_RENDERER_HINTS.
See #887
2014-04-07 14:56:56 +02:00
Andreas Hocevar
13e072cb63
Merge pull request #1955 from ahocevar/canvas-no-taint
...
Test canvas size with an untainted canvas
v3.0.0-beta.4
2014-04-07 13:52:09 +02:00
ahocevar
d685c79e02
Use ol.dom.createCanvasContext2D and remove canvas variable
2014-04-07 13:25:49 +02:00
Andreas Hocevar
5e7790d89c
Merge pull request #1956 from ahocevar/shrink-comment
...
Make comment about shrinking the canvas more descriptive
2014-04-06 23:55:31 +02:00
ahocevar
3848e7f823
Make comment about shrinking the canvas more descriptive
2014-04-06 23:54:59 +02:00
ahocevar
09021dffd4
Do not shrink test canvas
2014-04-06 14:29:32 +02:00
ahocevar
95795ea301
Test canvas size with an untainted canvas
2014-04-06 11:38:51 +02:00
Tim Schaub
732ec7c2db
Merge pull request #1952 from tschaub/shortdesc
...
No markup in shortdesc.
2014-04-04 13:14:48 -06:00
Tim Schaub
966317489e
Merge pull request #1951 from tschaub/gjslint
...
Externs lint.
2014-04-04 10:11:34 -06:00
Tim Schaub
6fc915ba7b
Strip tags from shortdesc (et al.) when parsing
...
This strips markup from elements with id attributes that we care about: title, shortdesc, tags. This will only work for people who use `npm install && npm start` to browse examples. The other example parser doesn't strip this markup, so it should still not be used in these elements.
2014-04-04 10:07:25 -06:00
Tim Schaub
2a4300085e
No markup in shortdesc
...
The example parser and index template don't handle markup in the shortdesc element. Use the docs element instead.
2014-04-04 10:07:02 -06:00
Tim Schaub
fe60d07ef0
Externs lint
2014-04-04 09:28:36 -06:00
Tim Schaub
f410a38c53
Merge pull request #1949 from tschaub/layer-state
...
Give layer state a reference to the layer.
2014-04-04 08:59:14 -06:00
Tim Schaub
7826036307
Make getLayerStatesArray return an array of layer states
2014-04-04 07:39:54 -06:00