Tim Schaub
d8a845de39
Merge pull request #3076 from tschaub/changelog
...
Add script to standardize changelog ceation.
2014-12-22 14:07:58 -05:00
Tim Schaub
ffea25fd6f
Merge pull request #3074 from fredj/misplaced-function-annotation
...
Remove misplaced function annotation.
2014-12-22 13:30:44 -05:00
Bart van den Eijnden
aee37c4f90
Merge pull request #3075 from bartvde/remove-projlike-undefined
...
Remove unneeded undefined from ol.proj.ProjectionLike definitions (r=@tschaub)
2014-12-22 19:10:20 +01:00
Tim Schaub
62854f6e32
Add script to standardize changelog ceation
2014-12-22 13:02:27 -05:00
Bart van den Eijnden
ab76c2cae3
Remove unneeded undefined from ol.proj.ProjectionLike definitions
2014-12-22 18:28:04 +01:00
Frederic Junod
eabb795624
Remove misplaced function annotation
2014-12-22 11:12:01 +01:00
Tim Schaub
0ae00fb277
Merge pull request #3071 from tschaub/publish
...
Add task for publishing to npm.
2014-12-20 09:46:28 -07:00
Tim Schaub
9b0349f2d5
Variable for builds directory
2014-12-20 02:55:56 -07:00
Tim Schaub
d4763a0fe7
Set CLOSURE_NO_DEPS globally
2014-12-20 02:35:05 -07:00
Tim Schaub
3582445755
Add task for publishing to npm
...
This task publishes an existing tag to the npm registry. To publish a new release, create a commit that updates the version number in package.json (e.g. to "3.1.0"). Then create a tag, push to GitHub, and run the publish task. Assuming "openlayers" is the remote for the canonical repo, this would look like the following:
git tag -a v3.1.0 -m "3.1.0"
git push --tags openlayers
./tasks/publish.sh 3.1.0
The task creates a build for each of the `PROFILES` in `publish.sh` (these correspond to `.json` files in the `config` directory). Builds are generated in the `dist` directory. Our `package.json` specifies `dist/ol.js` as the "main" build. So when people use a module loader to `require('openlayers')`, they get the full build. It is also possible to load a debug build (e.g. `require('openlayers/dist/ol-debug')`), and we can publish additional builds by adding `config` files and updating `PROFILES` in `publish.sh`.
The `.npmignore` file determines what is *not* included in the package (note that `node_modules` are always ignored). So if additional items are added to `.gitignore` that should not be included in the npm package, they need to go in `.npmignore` as well (ideally, we don't need to generate anything else outside of the `build` directory that doesn't belong in the package).
2014-12-19 17:45:48 -07:00
Tim Schaub
27b5036c62
Merge pull request #3070 from tschaub/umd-debug
...
Define goog and assign to global when generating UMD debug builds.
2014-12-19 16:53:45 -07:00
Tim Schaub
a95327f18e
Define goog and assign to global
...
When concatenating the Closure Library, base.js creates a new `goog` object if there is not already one in scope. Later, `goog.global` is assigned the value of `this`. Calls to `goog.provide` create "namespace" objects by assigning to `goog.global`. To ensure that `goog` is the same as `goog.global.goog`, we need to create a new `goog` object in the scope of base.js and assign it to `this.goog`.
2014-12-19 14:41:47 -07:00
Tim Schaub
95972b354e
Merge pull request #3068 from tschaub/pre-3
...
Update pre-release version.
2014-12-19 11:29:31 -07:00
Tim Schaub
b7e0acf4fa
Update pre-release version
2014-12-19 11:05:29 -07:00
Tim Schaub
3d86339b88
Merge pull request #3039 from tschaub/umd
...
Support for UMD builds.
2014-12-19 11:02:54 -07:00
Bart van den Eijnden
3bc84c7288
Merge pull request #3038 from acanimal/master
...
Update attribution CSS #2803
2014-12-19 11:35:10 +01:00
Éric Lemoine
85a6de0ed6
Merge pull request #3061 from elemoine/render-bug2
...
Add a renderBuffer option to ol.layer.Vector
2014-12-19 08:58:38 +01:00
Éric Lemoine
a24716ac8a
Merge pull request #3048 from elemoine/drag-features
...
Add a drag-features example
2014-12-19 08:49:11 +01:00
Éric Lemoine
f1bf782133
Change "recreate batch" strategy
...
Only recreate batch when the (buffered) rendered extent contains the **buffered** viewport extent.
2014-12-19 08:43:47 +01:00
acanimal
2f5999529a
Removed unnecessary max-width from CSS .ol-attribution ul
2014-12-18 20:49:01 +01:00
acanimal
fa68410e5d
Merge remote-tracking branch 'upstream/master'
2014-12-18 20:45:12 +01:00
Éric Lemoine
33cf4e6179
Add a drag-feature example
...
This example also demonstrates how to implement a custom interaction that inherits from ol.interaction.Pointer.
2014-12-18 18:42:36 +01:00
Éric Lemoine
14ea2bf413
Add ol.geom.Geometry#translate
2014-12-18 18:42:36 +01:00
Éric Lemoine
374f916b3a
Add ol.geom.flat.transform.translate
2014-12-18 18:42:36 +01:00
Frédéric Junod
6d3103d4a9
Merge pull request #3060 from fredj/update-closure-library
...
Update closure-library version
2014-12-18 15:32:37 +01:00
Éric Lemoine
4a311e66d7
Add ol.Map#getTargetElement
...
ol.Map#getTarget returns an element or a string, depending on what was passed to setTarget. This commit adds a getTargetElement method that always returns an Element.
2014-12-18 14:13:44 +01:00
Éric Lemoine
6b46d5c76a
Make shouldStopEvent default to the identity func
2014-12-18 14:13:44 +01:00
Éric Lemoine
1907de667a
Make ol.interaction.Pointer call handleMoveEvent
2014-12-18 14:13:44 +01:00
Éric Lemoine
711ec705b7
Add handle*Event options to ol.interaction.Pointer
...
More specifically: handleDownEvent, handleDragEvent, handleMoveEvent, and handleUpEvent.
2014-12-18 14:13:44 +01:00
Éric Lemoine
8e8fc9977c
Add a renderBuffer option to ol.layer.Vector
2014-12-18 13:20:32 +01:00
Éric Lemoine
ddc51ee267
Unconditionally draw Replay's
2014-12-18 13:04:29 +01:00
Andreas Hocevar
cd0bed6291
Merge pull request #3058 from ahocevar/extend-coordinate
...
Use an API function to extend the extent
2014-12-18 11:22:29 +01:00
Frederic Junod
440a85c6f4
Update closure-library version
...
fixes #3034
2014-12-18 11:18:37 +01:00
Andreas Hocevar
5ca6b5dd81
Use an API function to extend the extent
2014-12-18 11:02:41 +01:00
Andreas Hocevar
fe0e17fdaf
Merge pull request #3010 from ahocevar/style-geometry
...
Allow styles to override feature geometries
2014-12-18 10:45:50 +01:00
Andreas Hocevar
784701641d
Add a getGeometry method
2014-12-18 10:28:21 +01:00
Andreas Hocevar
2bf191b5e3
Assert that feature.get('foo') returns a geometry
2014-12-18 10:08:35 +01:00
Andreas Hocevar
19015d2ca9
Create typedef
2014-12-18 10:07:57 +01:00
Frédéric Junod
e95a350203
Merge pull request #3056 from fredj/memory-extent
...
Reuse previousExtent_ local variable
2014-12-17 13:53:16 +01:00
Frédéric Junod
b0cba674bc
Merge pull request #3055 from fredj/coding-style
...
ol.tilecoord.createOrUpdate: add 'opt_' prefix to optional param
2014-12-17 10:40:34 +01:00
Frederic Junod
7c6ccca572
Reuse previousExtent_ local variable
2014-12-17 10:36:31 +01:00
Frederic Junod
2ea685e18f
Add 'opt_' prefix to optional param
2014-12-17 10:29:49 +01:00
Bart van den Eijnden
13ce41a1d5
Merge pull request #3044 from gberaudo/api_image_style_constructor_properties
...
Mark Image style constructor properties `@api`
2014-12-17 10:25:20 +01:00
Bart van den Eijnden
5192257a6d
Merge pull request #3052 from bartvde/tests-2888
...
Add a testcase for parsing GML feature with only boundedBy
2014-12-16 18:09:43 +01:00
Éric Lemoine
0bc96bb769
Merge pull request #3051 from elemoine/compile-wfs
...
Remove // NOCOMPILE from vector-wfs
2014-12-16 10:32:12 +01:00
Bart van den Eijnden
1bf4ddac6d
Add a testcase for parsing GML feature with only boundedBy
2014-12-16 10:22:37 +01:00
Éric Lemoine
d3365fb3a5
Remove // NOCOMPILE from vector-wfs
2014-12-16 09:43:34 +01:00
Andreas Hocevar
af30b88413
Allow geometryFunction to return undefined
2014-12-16 01:12:08 +01:00
Andreas Hocevar
6478454a93
Use getGeometryFunction() in immediate API
2014-12-15 23:22:26 +01:00
Andreas Hocevar
49f9690786
Add tests for setGeometry
2014-12-15 23:21:02 +01:00