Compare commits
1 Commits
v4.6.1
...
v3.19.0-be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8046a2acc1 |
@@ -1,3 +1,2 @@
|
|||||||
examples/Jugl.js
|
examples/Jugl.js
|
||||||
examples/resources/
|
examples/resources/
|
||||||
build/package/**/*webgl*
|
|
||||||
|
|||||||
8
.github/ISSUE_TEMPLATE.md
vendored
8
.github/ISSUE_TEMPLATE.md
vendored
@@ -1,8 +0,0 @@
|
|||||||
Thank you for your interest in making OpenLayers better!
|
|
||||||
|
|
||||||
To keep this project manageable for maintainers, we ask you to please check all boxes below before submitting an issue.
|
|
||||||
|
|
||||||
- [ ] I am submitting a bug or feature request, not a usage question. Go to https://stackoverflow.com/questions/tagged/openlayers for questions.
|
|
||||||
- [ ] I have searched GitHub to see if a similar bug or feature request has already been reported.
|
|
||||||
- [ ] I have verified that the issue is present in the latest version of OpenLayers (see 'LATEST' on https://openlayers.org/).
|
|
||||||
- [ ] If reporting a bug, I have created a [CodePen](https://codepen.io) or prepared a stack trace (using the latest version and unminified code, so e.g. `ol-debug.js`, not `ol.js`) that shows the issue.
|
|
||||||
9
.github/PULL_REQUEST_TEMPLATE.md
vendored
9
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -1,9 +0,0 @@
|
|||||||
Thank you for your interest in making OpenLayers better!
|
|
||||||
|
|
||||||
In order to get your proposed changes merged into the master branch, we ask you to please make sure the following boxes are checked *before* submitting your pull request.
|
|
||||||
|
|
||||||
- [ ] This pull request addresses an issue that has been marked with the 'Pull request accepted' label & I have added the link to that issue.
|
|
||||||
- [ ] It contains one or more small, incremental, logically separate commits, with no merge commits.
|
|
||||||
- [ ] I have used clear commit messages.
|
|
||||||
- [ ] Existing tests pass for me locally & I have added or updated tests for new or changed functionality.
|
|
||||||
- [ ] The work herein is covered by a valid [Contributor License Agreement (CLA)](https://github.com/openlayers/cla).
|
|
||||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,4 +1,4 @@
|
|||||||
/build/
|
/build/
|
||||||
/coverage/
|
|
||||||
/dist/
|
|
||||||
/node_modules/
|
/node_modules/
|
||||||
|
/dist/
|
||||||
|
/coverage/
|
||||||
|
|||||||
34
.travis.yml
34
.travis.yml
@@ -1,22 +1,30 @@
|
|||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
language: node_js
|
language: node_js
|
||||||
|
|
||||||
node_js:
|
node_js:
|
||||||
- '8'
|
- "6"
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
env:
|
||||||
|
- DISPLAY=:99.0
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- "npm prune"
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- rm src/ol/renderer/webgl/*shader.js
|
- "rm src/ol/renderer/webgl/*shader.js"
|
||||||
- rm src/ol/renderer/webgl/*shader/locations.js
|
- "sh -e /etc/init.d/xvfb start"
|
||||||
script: make ci
|
- "npm ls"
|
||||||
|
|
||||||
|
script: "make ci"
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- cat coverage/lcov.info | coveralls
|
- "make test-coverage"
|
||||||
|
- "cat coverage/lcov.info | ./node_modules/.bin/coveralls"
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
addons:
|
|
||||||
hosts:
|
|
||||||
- travis.dev
|
|
||||||
jwt:
|
|
||||||
# This is the encrypted SAUCE_ACCESS_KEY
|
|
||||||
secure: bb2Ibzu9RLe6ZlIG7JVcuH7IoLMxa/i3LTM7t8mbsPjVOGs5ycyJ7M9MbvqB/F2EzbeV4XB2c9ufI4TkaLYceY5kdWjfZVN8iasr+GFqKMv1uR4i6bpu8KmHJ+blxwfY1QOQ/cGwEx+fbeycMtpTc3Y3GyXaPlCQLhbZvesMg88=
|
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
# Contributing to OpenLayers
|
# Contributing to OpenLayers 3
|
||||||
|
|
||||||
Thanks for your interest in contributing to OpenLayers.
|
Thanks for your interest in contributing to OpenLayers 3.
|
||||||
|
|
||||||
## Asking Questions
|
## Asking Questions
|
||||||
|
|
||||||
Please ask questions about using the library on [Stack Overflow using the tag 'openlayers'](http://stackoverflow.com/questions/tagged/openlayers).
|
Please ask questions about using the library on [stackoverflow using the tag 'openlayers-3'](http://stackoverflow.com/questions/tagged/openlayers-3).
|
||||||
|
|
||||||
When you want to get involved and discuss new features or changes, please use [the mailing list](https://groups.google.com/forum/#!forum/openlayers-dev).
|
When you want to get involved and discuss new features or changes, please use [the mailing list](https://groups.google.com/forum/#!forum/ol3-dev).
|
||||||
|
|
||||||
|
|
||||||
## Submitting Bug Reports
|
## Submitting Bug Reports
|
||||||
|
|
||||||
Please use the [GitHub issue tracker](https://github.com/openlayers/openlayers/issues). Before creating a new issue, do a quick search to see if the problem has been reported already.
|
Please use the [GitHub issue tracker](https://github.com/openlayers/ol3/issues). Before creating a new issue, do a quick search to see if the problem has been reported already.
|
||||||
|
|
||||||
|
|
||||||
## Getting Familiar with the Code in the Repository
|
## Getting Familiar with the Code in the Repository
|
||||||
@@ -21,12 +21,12 @@ Look for `readme.md` files! Several directories contain a `readme.md` file that
|
|||||||
|
|
||||||
## Contributing Code
|
## Contributing Code
|
||||||
|
|
||||||
See [`DEVELOPING.md`](https://github.com/openlayers/openlayers/blob/master/DEVELOPING.md) to learn how to get started developing.
|
See [`DEVELOPING.md`](https://github.com/openlayers/ol3/blob/master/DEVELOPING.md) to learn how to get started developing.
|
||||||
|
|
||||||
Our preferred means of receiving contributions is through [pull requests](https://help.github.com/articles/using-pull-requests). Make sure
|
Our preferred means of receiving contributions is through [pull requests](https://help.github.com/articles/using-pull-requests). Make sure
|
||||||
that your pull request follows our pull request guidelines below before submitting it.
|
that your pull request follows our pull request guidelines below before submitting it.
|
||||||
|
|
||||||
This page describes what you need to know to contribute code to OpenLayers as a developer.
|
This page describes what you need to know to contribute code to ol3 as a developer.
|
||||||
|
|
||||||
|
|
||||||
## Contributor License Agreement
|
## Contributor License Agreement
|
||||||
@@ -45,7 +45,7 @@ Before working on a pull request, create an issue explaining what you want to co
|
|||||||
|
|
||||||
Your pull request must:
|
Your pull request must:
|
||||||
|
|
||||||
* Follow OpenLayers's coding style.
|
* Follow OpenLayers 3's coding style.
|
||||||
|
|
||||||
* Pass the integration tests run automatically by the Travis Continuous
|
* Pass the integration tests run automatically by the Travis Continuous
|
||||||
Integration system.
|
Integration system.
|
||||||
@@ -77,9 +77,9 @@ include:
|
|||||||
* Tests
|
* Tests
|
||||||
|
|
||||||
|
|
||||||
### Follow OpenLayers's coding style
|
### Follow OpenLayers 3's coding style
|
||||||
|
|
||||||
OpenLayers follows [Google's JavaScript Style
|
OpenLayers 3 follows [Google's JavaScript Style
|
||||||
Guide](https://google.github.io/styleguide/javascriptguide.xml).
|
Guide](https://google.github.io/styleguide/javascriptguide.xml).
|
||||||
This is checked using [ESLint](http://eslint.org/), you
|
This is checked using [ESLint](http://eslint.org/), you
|
||||||
can run the linter locally on your machine before committing using the `lint`
|
can run the linter locally on your machine before committing using the `lint`
|
||||||
@@ -88,7 +88,7 @@ target:
|
|||||||
$ make lint
|
$ make lint
|
||||||
|
|
||||||
In addition to fixing problems identified by the linter, please also follow the
|
In addition to fixing problems identified by the linter, please also follow the
|
||||||
style of the existing OpenLayers code, which includes:
|
style of the existing OpenLayers 3 code, which includes:
|
||||||
|
|
||||||
* Always wrap the body of `for`, `if`, and `while` statements in braces.
|
* Always wrap the body of `for`, `if`, and `while` statements in braces.
|
||||||
|
|
||||||
@@ -114,7 +114,7 @@ http://editorconfig.org/#download) site links to plugins for various editors.
|
|||||||
### Pass the integration tests run automatically by the Travis CI system
|
### Pass the integration tests run automatically by the Travis CI system
|
||||||
|
|
||||||
The integration tests contain a number of automated checks to ensure that the
|
The integration tests contain a number of automated checks to ensure that the
|
||||||
code follows the OpenLayers style and does not break tests or examples. You
|
code follows the OpenLayers 3 style and does not break tests or examples. You
|
||||||
can run the integration tests locally using the `ci` target:
|
can run the integration tests locally using the `ci` target:
|
||||||
|
|
||||||
$ make ci
|
$ make ci
|
||||||
@@ -199,7 +199,7 @@ Microsoft Visual Studio's javascript debugger may be used to debug the
|
|||||||
build/hosted/your-branch/examples. It will be convenient to set
|
build/hosted/your-branch/examples. It will be convenient to set
|
||||||
build/hosted/your-branch/examples/index.html as the startup page.
|
build/hosted/your-branch/examples/index.html as the startup page.
|
||||||
|
|
||||||
Your OpenLayers source tree need not be under the Cygwin root.
|
Your ol3 source tree need not be under the Cygwin root.
|
||||||
if you checkout to c:/openlayers then you can build under Cygwin at /cygdrive/c/openlayers .
|
if you checkout to c:/ol3 then you can build under Cygwin at /cygdrive/c/ol3 .
|
||||||
However, keep the path to the OpenLayers files short otherwise you may see
|
However, keep the path to the ol3 files short otherwise you may see
|
||||||
`ENAMETOOLONG` errors.
|
`ENAMETOOLONG` errors.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
## Setting up development environment
|
## Setting up development environment
|
||||||
|
|
||||||
You will obviously start by
|
You will obviously start by
|
||||||
[forking](https://github.com/openlayers/openlayers/fork) the OpenLayers repository.
|
[forking](https://github.com/openlayers/ol3/fork) the ol3 repository.
|
||||||
|
|
||||||
### Travis CI
|
### Travis CI
|
||||||
|
|
||||||
@@ -17,7 +17,7 @@ The minimum requirements are:
|
|||||||
|
|
||||||
* GNU Make
|
* GNU Make
|
||||||
* Git
|
* Git
|
||||||
* [Node.js](http://nodejs.org/) (version 8 and above)
|
* [Node.js](http://nodejs.org/) (higher than 0.12.x)
|
||||||
* Python 2.6 or 2.7
|
* Python 2.6 or 2.7
|
||||||
* Java 7 (JRE and JDK)
|
* Java 7 (JRE and JDK)
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ To install the Node.js dependencies run
|
|||||||
|
|
||||||
## Working with the build tool
|
## Working with the build tool
|
||||||
|
|
||||||
As an OpenLayers developer you will use `make` to run build targets defined in the
|
As an ol3 developer you will use `make` to run build targets defined in the
|
||||||
`Makefile` located at the root of the repository. The `Makefile` includes
|
`Makefile` located at the root of the repository. The `Makefile` includes
|
||||||
targets for running the linter, the compiler, the tests, etc.
|
targets for running the linter, the compiler, the tests, etc.
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ latter is a meta-target that basically runs `lint`, `build`, and `test`.
|
|||||||
|
|
||||||
The `serve` target starts a node-based web server, which we will refer to as the *dev server*. You'll need to start that server for running the examples and the tests in a browser. More information on that further down.
|
The `serve` target starts a node-based web server, which we will refer to as the *dev server*. You'll need to start that server for running the examples and the tests in a browser. More information on that further down.
|
||||||
|
|
||||||
Other targets include `apidoc` and `ci`. The latter is the target used on Travis CI. See OpenLayers's [Travis configuration file](https://github.com/openlayers/openlayers/blob/master/.travis.yml).
|
Other targets include `apidoc` and `ci`. The latter is the target used on Travis CI. See ol3's [Travis configuration file](https://github.com/openlayers/ol3/blob/master/.travis.yml).
|
||||||
|
|
||||||
## Running the `check` target
|
## Running the `check` target
|
||||||
|
|
||||||
@@ -77,7 +77,7 @@ Then, just point your browser <http://localhost:3000/build/examples> in your bro
|
|||||||
Run examples against the `ol.js` standalone build:
|
Run examples against the `ol.js` standalone build:
|
||||||
|
|
||||||
The examples can also be run against the `ol.js` standalone build, just like
|
The examples can also be run against the `ol.js` standalone build, just like
|
||||||
the examples [hosted](https://openlayers.org/en/master/examples/) on GitHub.
|
the examples [hosted](http://openlayers.org/en/master/examples/) on GitHub.
|
||||||
Start by executing the `host-examples` build target:
|
Start by executing the `host-examples` build target:
|
||||||
|
|
||||||
$ make host-examples
|
$ make host-examples
|
||||||
@@ -126,11 +126,11 @@ You can use `simple.js` and `simple.html` as templates for new examples.
|
|||||||
|
|
||||||
### Use of the `goog` namespace in examples
|
### Use of the `goog` namespace in examples
|
||||||
|
|
||||||
Short story: the OpenLayers examples should not use the `goog` namespace, except
|
Short story: the ol3 examples should not use the `goog` namespace, except
|
||||||
for `goog.require`.
|
for `goog.require`.
|
||||||
|
|
||||||
Longer story: we want that the OpenLayers examples work in multiple modes, with the
|
Longer story: we want that the ol3 examples work in multiple modes, with the
|
||||||
standalone lib (which has implications of the symbols and properties we
|
standalone lib (which has implications of the symbols and properties we
|
||||||
export), and compiled together with the OpenLayers library.
|
export), and compiled together with the ol3 library.
|
||||||
|
|
||||||
Compiling the examples together with the library makes it mandatory to declare dependencies with `goog.require` statements.
|
Compiling the examples together with the library makes it mandatory to declare dependencies with `goog.require` statements.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Copyright 2005-present OpenLayers Contributors. All rights reserved.
|
Copyright 2005-2016 OpenLayers Contributors. All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification,
|
Redistribution and use in source and binary forms, with or without modification,
|
||||||
are permitted provided that the following conditions are met:
|
are permitted provided that the following conditions are met:
|
||||||
|
|||||||
80
Makefile
80
Makefile
@@ -3,10 +3,12 @@ BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
|||||||
|
|
||||||
SRC_GLSL := $(shell find src -type f -name '*.glsl')
|
SRC_GLSL := $(shell find src -type f -name '*.glsl')
|
||||||
SRC_SHADER_JS := $(patsubst %shader.glsl,%shader.js,$(SRC_GLSL))
|
SRC_SHADER_JS := $(patsubst %shader.glsl,%shader.js,$(SRC_GLSL))
|
||||||
SRC_SHADERLOCATIONS_JS := $(patsubst %shader.glsl,%shader/locations.js,$(SRC_GLSL))
|
SRC_JS := $(filter-out $(SRC_SHADER_JS),$(shell find src -name '*.js'))
|
||||||
SRC_JS := $(filter-out $(SRC_SHADER_JS) $(SRC_SHADERLOCATIONS_JS),$(shell find src -name '*.js'))
|
|
||||||
SRC_JSDOC = $(shell find src -type f -name '*.jsdoc')
|
SRC_JSDOC = $(shell find src -type f -name '*.jsdoc')
|
||||||
|
|
||||||
|
SPEC_JS := $(shell find test/spec -type f -name '*.js')
|
||||||
|
SPEC_RENDERING_JS := $(shell find test_rendering/spec -name '*.js')
|
||||||
|
|
||||||
EXAMPLES := $(shell find examples -type f)
|
EXAMPLES := $(shell find examples -type f)
|
||||||
EXAMPLES_HTML := $(filter-out examples/index.html,$(shell find examples -maxdepth 1 -type f -name '*.html'))
|
EXAMPLES_HTML := $(filter-out examples/index.html,$(shell find examples -maxdepth 1 -type f -name '*.html'))
|
||||||
EXAMPLES_JS := $(patsubst %.html,%.js,$(EXAMPLES_HTML))
|
EXAMPLES_JS := $(patsubst %.html,%.js,$(EXAMPLES_HTML))
|
||||||
@@ -54,6 +56,7 @@ help:
|
|||||||
@echo "Other less frequently used targets are:"
|
@echo "Other less frequently used targets are:"
|
||||||
@echo
|
@echo
|
||||||
@echo "- build Build ol.js, ol-debug.js, ol.js.map and ol.css"
|
@echo "- build Build ol.js, ol-debug.js, ol.js.map and ol.css"
|
||||||
|
@echo "- lint Check the code with the linter"
|
||||||
@echo "- ci Run the full continuous integration process"
|
@echo "- ci Run the full continuous integration process"
|
||||||
@echo "- apidoc Build the API documentation using JSDoc"
|
@echo "- apidoc Build the API documentation using JSDoc"
|
||||||
@echo "- cleanall Remove all the build artefacts"
|
@echo "- cleanall Remove all the build artefacts"
|
||||||
@@ -67,7 +70,7 @@ apidoc: build/timestamps/jsdoc-$(BRANCH)-timestamp
|
|||||||
build: build/ol.css build/ol.js build/ol-debug.js build/ol.js.map
|
build: build/ol.css build/ol.js build/ol-debug.js build/ol.js.map
|
||||||
|
|
||||||
.PHONY: check
|
.PHONY: check
|
||||||
check: build/ol.js test
|
check: lint build/ol.js test
|
||||||
|
|
||||||
.PHONY: check-examples
|
.PHONY: check-examples
|
||||||
check-examples: $(CHECK_EXAMPLE_TIMESTAMPS)
|
check-examples: $(CHECK_EXAMPLE_TIMESTAMPS)
|
||||||
@@ -83,21 +86,23 @@ check-deps:
|
|||||||
done ;\
|
done ;\
|
||||||
|
|
||||||
.PHONY: ci
|
.PHONY: ci
|
||||||
ci: build test package compile-examples check-examples apidoc
|
ci: lint build test test-rendering compile-examples check-examples apidoc
|
||||||
|
|
||||||
.PHONY: compile-examples
|
.PHONY: compile-examples
|
||||||
compile-examples: build/compiled-examples/all.combined.js
|
compile-examples: build/compiled-examples/all.combined.js
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
rm -f build/timestamps/eslint-timestamp
|
||||||
rm -f build/timestamps/check-*-timestamp
|
rm -f build/timestamps/check-*-timestamp
|
||||||
rm -f build/ol.css
|
rm -f build/ol.css
|
||||||
rm -f build/ol.js
|
rm -f build/ol.js
|
||||||
rm -f build/ol.js.map
|
rm -f build/ol.js.map
|
||||||
rm -f build/ol-debug.js
|
rm -f build/ol-debug.js
|
||||||
|
rm -f build/test_requires.js
|
||||||
|
rm -f build/test_rendering_requires.js
|
||||||
rm -rf build/examples
|
rm -rf build/examples
|
||||||
rm -rf build/compiled-examples
|
rm -rf build/compiled-examples
|
||||||
rm -rf build/package
|
|
||||||
rm -rf $(BUILD_HOSTED)
|
rm -rf $(BUILD_HOSTED)
|
||||||
|
|
||||||
.PHONY: cleanall
|
.PHONY: cleanall
|
||||||
@@ -113,19 +118,34 @@ examples: $(BUILD_EXAMPLES)
|
|||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: build/timestamps/node-modules-timestamp
|
install: build/timestamps/node-modules-timestamp
|
||||||
|
|
||||||
|
.PHONY: lint
|
||||||
|
lint: build/timestamps/eslint-timestamp
|
||||||
|
|
||||||
.PHONY: npm-install
|
.PHONY: npm-install
|
||||||
npm-install: build/timestamps/node-modules-timestamp
|
npm-install: build/timestamps/node-modules-timestamp
|
||||||
|
|
||||||
.PHONY: shaders
|
.PHONY: shaders
|
||||||
shaders: $(SRC_SHADER_JS $(SRC_SHADERLOCATIONS_JS)
|
shaders: $(SRC_SHADER_JS)
|
||||||
|
|
||||||
.PHONY: serve
|
.PHONY: serve
|
||||||
serve:
|
serve: build/test_requires.js build/test_rendering_requires.js
|
||||||
node tasks/serve.js
|
node tasks/serve.js
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: build/timestamps/node-modules-timestamp
|
test: build/timestamps/node-modules-timestamp build/test_requires.js
|
||||||
npm test
|
node tasks/test.js
|
||||||
|
|
||||||
|
.PHONY: test-coverage
|
||||||
|
test-coverage: build/timestamps/node-modules-timestamp
|
||||||
|
node tasks/test-coverage.js
|
||||||
|
|
||||||
|
.PHONY: test-rendering
|
||||||
|
test-rendering: build/timestamps/node-modules-timestamp \
|
||||||
|
build/test_rendering_requires.js
|
||||||
|
@rm -rf build/slimerjs-profile
|
||||||
|
@mkdir -p build/slimerjs-profile
|
||||||
|
@cp -r test_rendering/slimerjs-profile/* build/slimerjs-profile/
|
||||||
|
node tasks/test-rendering.js
|
||||||
|
|
||||||
.PHONY: host-examples
|
.PHONY: host-examples
|
||||||
host-examples: $(BUILD_HOSTED_EXAMPLES) \
|
host-examples: $(BUILD_HOSTED_EXAMPLES) \
|
||||||
@@ -168,7 +188,7 @@ build/compiled-examples/all.js: $(EXAMPLES_JS)
|
|||||||
@python bin/combine-examples.py $^ > $@
|
@python bin/combine-examples.py $^ > $@
|
||||||
|
|
||||||
build/compiled-examples/all.combined.js: config/examples-all.json build/compiled-examples/all.js \
|
build/compiled-examples/all.combined.js: config/examples-all.json build/compiled-examples/all.js \
|
||||||
$(SRC_JS) $(SRC_SHADER_JS) $(SRC_SHADERLOCATIONS_JS) \
|
$(SRC_JS) $(SRC_SHADER_JS) \
|
||||||
build/timestamps/node-modules-timestamp
|
build/timestamps/node-modules-timestamp
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
node tasks/build.js $< $@
|
node tasks/build.js $< $@
|
||||||
@@ -179,14 +199,14 @@ build/compiled-examples/%.json: config/example.json build/examples/%.js \
|
|||||||
@sed -e 's|{{id}}|$*|' $< > $@
|
@sed -e 's|{{id}}|$*|' $< > $@
|
||||||
|
|
||||||
build/compiled-examples/%.combined.js: build/compiled-examples/%.json \
|
build/compiled-examples/%.combined.js: build/compiled-examples/%.json \
|
||||||
$(SRC_JS) $(SRC_SHADER_JS) $(SRC_SHADERLOCATIONS_JS)\
|
$(SRC_JS) $(SRC_SHADER_JS) \
|
||||||
build/timestamps/node-modules-timestamp
|
build/timestamps/node-modules-timestamp
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
node tasks/build.js $< $@
|
node tasks/build.js $< $@
|
||||||
|
|
||||||
build/timestamps/jsdoc-$(BRANCH)-timestamp: config/jsdoc/api/index.md \
|
build/timestamps/jsdoc-$(BRANCH)-timestamp: config/jsdoc/api/index.md \
|
||||||
config/jsdoc/api/conf.json $(SRC_JS) \
|
config/jsdoc/api/conf.json $(SRC_JS) \
|
||||||
$(SRC_SHADER_JS) $(SRC_SHADERLOCATIONS_JS) \
|
$(SRC_SHADER_JS) \
|
||||||
$(shell find config/jsdoc/api/template -type f) \
|
$(shell find config/jsdoc/api/template -type f) \
|
||||||
build/timestamps/node-modules-timestamp
|
build/timestamps/node-modules-timestamp
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
@@ -227,6 +247,14 @@ $(BUILD_HOSTED)/build/ol-deps.js: host-libraries
|
|||||||
--root_with_prefix "$(BUILD_HOSTED)/closure-library/third_party ../../third_party" \
|
--root_with_prefix "$(BUILD_HOSTED)/closure-library/third_party ../../third_party" \
|
||||||
--output_file $@
|
--output_file $@
|
||||||
|
|
||||||
|
build/timestamps/eslint-timestamp: $(SRC_JS) $(SPEC_JS) $(SPEC_RENDERING_JS) \
|
||||||
|
$(TASKS_JS) $(EXAMPLES_JS) \
|
||||||
|
build/timestamps/node-modules-timestamp
|
||||||
|
@mkdir -p $(@D)
|
||||||
|
@echo "Running eslint..."
|
||||||
|
@./node_modules/.bin/eslint --quiet tasks test test_rendering src examples
|
||||||
|
@touch $@
|
||||||
|
|
||||||
build/timestamps/node-modules-timestamp: package.json
|
build/timestamps/node-modules-timestamp: package.json
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
npm install
|
npm install
|
||||||
@@ -237,7 +265,7 @@ build/ol.css: css/ol.css build/timestamps/node-modules-timestamp
|
|||||||
@echo "Running cleancss..."
|
@echo "Running cleancss..."
|
||||||
@./node_modules/.bin/cleancss $< > $@
|
@./node_modules/.bin/cleancss $< > $@
|
||||||
|
|
||||||
build/ol.js: config/ol.json $(SRC_JS) $(SRC_SHADER_JS) $(SRC_SHADERLOCATIONS_JS) \
|
build/ol.js: config/ol.json $(SRC_JS) $(SRC_SHADER_JS) \
|
||||||
build/timestamps/node-modules-timestamp
|
build/timestamps/node-modules-timestamp
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
node tasks/build.js $< $@
|
node tasks/build.js $< $@
|
||||||
@@ -247,12 +275,12 @@ build/ol.js: config/ol.json $(SRC_JS) $(SRC_SHADER_JS) $(SRC_SHADERLOCATIONS_JS)
|
|||||||
@$(STAT_COMPRESSED) /tmp/ol.js.gz
|
@$(STAT_COMPRESSED) /tmp/ol.js.gz
|
||||||
@rm /tmp/ol.js.gz
|
@rm /tmp/ol.js.gz
|
||||||
|
|
||||||
build/ol.js.map: config/ol.json $(SRC_JS) $(SRC_SHADER_JS) $(SRC_SHADERLOCATIONS_JS) \
|
build/ol.js.map: config/ol.json $(SRC_JS) $(SRC_SHADER_JS) \
|
||||||
build/timestamps/node-modules-timestamp
|
build/timestamps/node-modules-timestamp
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
node tasks/build.js $< $@
|
node tasks/build.js $< $@
|
||||||
|
|
||||||
build/ol-debug.js: config/ol-debug.json $(SRC_JS) $(SRC_SHADER_JS) $(SRC_SHADERLOCATIONS_JS) \
|
build/ol-debug.js: config/ol-debug.json $(SRC_JS) $(SRC_SHADER_JS) \
|
||||||
build/timestamps/node-modules-timestamp
|
build/timestamps/node-modules-timestamp
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
node tasks/build.js $< $@
|
node tasks/build.js $< $@
|
||||||
@@ -262,19 +290,13 @@ build/ol-debug.js: config/ol-debug.json $(SRC_JS) $(SRC_SHADER_JS) $(SRC_SHADERL
|
|||||||
@$(STAT_COMPRESSED) /tmp/ol-debug.js.gz
|
@$(STAT_COMPRESSED) /tmp/ol-debug.js.gz
|
||||||
@rm /tmp/ol-debug.js.gz
|
@rm /tmp/ol-debug.js.gz
|
||||||
|
|
||||||
%shader.js: %shader.glsl src/ol/webgl/shader.mustache tasks/glslunit.js build/timestamps/node-modules-timestamp
|
build/test_requires.js: $(SPEC_JS) $(SRC_JS)
|
||||||
@node tasks/glslunit.js --input $< | ./node_modules/.bin/mustache - src/ol/webgl/shader.mustache > $@
|
|
||||||
|
|
||||||
%shader/locations.js: %shader.glsl src/ol/webgl/shaderlocations.mustache tasks/glslunit.js build/timestamps/node-modules-timestamp
|
|
||||||
@mkdir -p $(@D)
|
@mkdir -p $(@D)
|
||||||
@node tasks/glslunit.js --input $< | ./node_modules/.bin/mustache - src/ol/webgl/shaderlocations.mustache > $@
|
@node tasks/generate-requires.js $^ > $@
|
||||||
|
|
||||||
.PHONY: package
|
build/test_rendering_requires.js: $(SPEC_RENDERING_JS)
|
||||||
package:
|
@mkdir -p $(@D)
|
||||||
@rm -rf build/package
|
@node tasks/generate-requires.js $^ > $@
|
||||||
@cp -r package build
|
|
||||||
@cd ./src && cp -r ol/* ../build/package
|
%shader.js: %shader.glsl src/ol/webgl/shader.mustache bin/pyglslunit.py build/timestamps/node-modules-timestamp
|
||||||
@rm build/package/typedefs.js
|
@python bin/pyglslunit.py --input $< | ./node_modules/.bin/mustache - src/ol/webgl/shader.mustache > $@
|
||||||
@cp css/ol.css build/package
|
|
||||||
./node_modules/.bin/jscodeshift --transform transforms/module.js build/package
|
|
||||||
npm run lint-package
|
|
||||||
|
|||||||
29
README.md
29
README.md
@@ -1,24 +1,16 @@
|
|||||||
# OpenLayers
|
# OpenLayers 3
|
||||||
|
|
||||||
[](http://travis-ci.org/#!/openlayers/openlayers)
|
[](http://travis-ci.org/#!/openlayers/ol3)
|
||||||
[](https://greenkeeper.io/)
|
[](https://coveralls.io/r/openlayers/ol3?branch=master)
|
||||||
[](https://coveralls.io/github/openlayers/openlayers?branch=master)
|
|
||||||
[](http://osgeo.org/)
|
[](http://osgeo.org/)
|
||||||
|
|
||||||
[OpenLayers](https://openlayers.org/) is a high-performance, feature-packed library for creating interactive maps on the web. It can display map tiles, vector data and markers loaded from any source on any web page. OpenLayers has been developed to further the use of geographic information of all kinds. It is completely free, Open Source JavaScript, released under the 2-clause BSD License (also known as the FreeBSD).
|
[OpenLayers 3](http://openlayers.org/) is a high-performance, feature-packed library for creating interactive maps on the web. It can display map tiles, vector data and markers loaded from any source on any web page. OpenLayers has been developed to further the use of geographic information of all kinds. It is completely free, Open Source JavaScript, released under the 2-clause BSD License (also known as the FreeBSD).
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
Use one of the following methods to use OpenLayers in your project:
|
- Download the [latest release](http://openlayers.org/download/)
|
||||||
|
- Install with npm: `npm install openlayers`
|
||||||
* For use with webpack, Rollup, Browserify, or other module bundlers, install the [`ol` package](https://www.npmjs.com/package/ol):
|
- Clone the repo: `git clone git@github.com:openlayers/ol3.git`
|
||||||
```
|
|
||||||
npm install ol
|
|
||||||
```
|
|
||||||
|
|
||||||
* If you just want to add a `<script>` tag to test things out, you can link directly to one of the full builds from [cdnjs](https://cdnjs.com/libraries/openlayers) (not recommended for production)
|
|
||||||
|
|
||||||
* For use with Closure Library (rare), install the [`openlayers` package](https://npmjs.com/package/openlayers) and read the [tutorial](http://openlayers.org/en/latest/doc/tutorials/closure.html).
|
|
||||||
|
|
||||||
## Supported Browsers
|
## Supported Browsers
|
||||||
|
|
||||||
@@ -26,11 +18,11 @@ OpenLayers runs on all modern browsers that support [HTML5](https://html.spec.wh
|
|||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
Check out the [hosted examples](https://openlayers.org/en/latest/examples/), the [workshop](https://openlayers.org/workshop/) or the [API documentation](https://openlayers.org/en/latest/apidoc/).
|
Check out the [hosted examples](http://openlayers.org/en/latest/examples/), the [workshop](http://openlayers.org/workshop/) or the [API documentation](http://openlayers.org/en/latest/apidoc/).
|
||||||
|
|
||||||
## Bugs
|
## Bugs
|
||||||
|
|
||||||
Please use the [GitHub issue tracker](https://github.com/openlayers/openlayers/issues) for all bugs and feature requests. Before creating a new issue, do a quick search to see if the problem has been reported already.
|
Please use the [GitHub issue tracker](https://github.com/openlayers/ol3/issues) for all bugs and feature requests. Before creating a new issue, do a quick search to see if the problem has been reported already.
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
@@ -38,5 +30,6 @@ Please see our guide on [contributing](CONTRIBUTING.md) if you're interested in
|
|||||||
|
|
||||||
## Community
|
## Community
|
||||||
|
|
||||||
- Need help? Find it on [Stack Overflow using the tag 'openlayers'](http://stackoverflow.com/questions/tagged/openlayers)
|
- Need help? Find it on [stackoverflow using the tag 'openlayers-3'](http://stackoverflow.com/questions/tagged/openlayers-3)
|
||||||
- Follow [@openlayers](https://twitter.com/openlayers) on Twitter
|
- Follow [@openlayers](https://twitter.com/openlayers) on Twitter
|
||||||
|
- Discuss with openlayers users on IRC in `#openlayers` at `chat.freenode`
|
||||||
|
|||||||
@@ -8,16 +8,16 @@
|
|||||||
*
|
*
|
||||||
* Example usage:
|
* Example usage:
|
||||||
*
|
*
|
||||||
* user@host:~/openlayers/bin $ phantomjs example-screenshot.js \
|
* user@host:~/ol3/bin $ phantomjs example-screenshot.js \
|
||||||
* http://localhost:8000/openlayers/examples/ \
|
* http://localhost:8000/ol3/examples/ \
|
||||||
* ../examples
|
* ../examples
|
||||||
*
|
*
|
||||||
* The above command will generate `*.png` files in `examples/` for all html
|
* The above command will generate `*.png` files in `examples/` for all html
|
||||||
* files that are served through `http://localhost:8000/openlayers/examples/`.
|
* files that are served through `http://localhost:8000/ol3/examples/`.
|
||||||
*
|
*
|
||||||
* So if there is a file `my-humpty-example.html` inside of the relative folder
|
* So if there is a file `my-humpty-example.html` inside of the relative folder
|
||||||
* `../examples/` which is being served through the webserver so that
|
* `../examples/` which is being served through the webserver so that
|
||||||
* `http://localhost:8000/openlayers/examples/my-humpty-example.html` is a valid and
|
* `http://localhost:8000/ol3/examples/my-humpty-example.html` is a valid and
|
||||||
* reachable URL, this script will generate a screenshot and store it as
|
* reachable URL, this script will generate a screenshot and store it as
|
||||||
* `my-humpty-example.html.png`.
|
* `my-humpty-example.html.png`.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
* loads Closure Library's base.js, ol-deps.js, the example's "goog.require"
|
* loads Closure Library's base.js, ol-deps.js, the example's "goog.require"
|
||||||
* script, and the example's script in "development" mode.
|
* script, and the example's script in "development" mode.
|
||||||
*
|
*
|
||||||
* The ol.js and ol-deps.js scripts are built using OpenLayers's Makefile. They are
|
* The ol.js and ol-deps.js scripts are built using ol3's Makefile. They are
|
||||||
* located in the ../build/ directory, relative to this script.
|
* located in the ../build/ directory, relative to this script.
|
||||||
*
|
*
|
||||||
* The script must be named loader.js.
|
* The script must be named loader.js.
|
||||||
|
|||||||
120
bin/pyglslunit.py
Normal file
120
bin/pyglslunit.py
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
from optparse import OptionParser
|
||||||
|
import json
|
||||||
|
import re
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ESCAPE_SEQUENCE = {
|
||||||
|
'\\': '\\\\',
|
||||||
|
'\n': '\\n',
|
||||||
|
'\t': '\\t'
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
def js_escape(s):
|
||||||
|
return ''.join(ESCAPE_SEQUENCE.get(c, c) for c in s)
|
||||||
|
|
||||||
|
|
||||||
|
def glsl_compress(s, shortNames):
|
||||||
|
# strip leading whitespace
|
||||||
|
s = re.sub(r'\A\s+', '', s)
|
||||||
|
# strip trailing whitespace
|
||||||
|
s = re.sub(r'\s+\Z', '', s)
|
||||||
|
# strip multi-line comments
|
||||||
|
s = re.sub(r'/\*.*?\*/', '', s)
|
||||||
|
# strip single line comments
|
||||||
|
s = re.sub(r'//.*?\n', '', s)
|
||||||
|
# replace multiple whitespace with a single space
|
||||||
|
s = re.sub(r'\s+', ' ', s)
|
||||||
|
# remove whitespace between non-word tokens
|
||||||
|
s = re.sub(r'(\S)\s+([^\w])', r'\1\2', s)
|
||||||
|
s = re.sub(r'([^\w])\s+(\S)', r'\1\2', s)
|
||||||
|
# replace original names with short names
|
||||||
|
for originalName, shortName in shortNames.items():
|
||||||
|
s = s.replace(originalName, shortName)
|
||||||
|
return s
|
||||||
|
|
||||||
|
|
||||||
|
def main(argv):
|
||||||
|
option_parser = OptionParser()
|
||||||
|
option_parser.add_option('--input')
|
||||||
|
option_parser.add_option('--output')
|
||||||
|
options, args = option_parser.parse_args(argv[1:])
|
||||||
|
|
||||||
|
context = {}
|
||||||
|
nextShortName = ord('a')
|
||||||
|
shortNames = {}
|
||||||
|
|
||||||
|
common, vertex, fragment = [], [], []
|
||||||
|
attributes, uniforms, varyings = {}, {}, {}
|
||||||
|
block = None
|
||||||
|
for line in open(options.input, 'rU'):
|
||||||
|
if line.startswith('//!'):
|
||||||
|
m = re.match(r'//!\s+NAMESPACE=(\S+)\s*\Z', line)
|
||||||
|
if m:
|
||||||
|
context['namespace'] = m.group(1)
|
||||||
|
continue
|
||||||
|
m = re.match(r'//!\s+CLASS=(\S+)\s*\Z', line)
|
||||||
|
if m:
|
||||||
|
context['className'] = m.group(1)
|
||||||
|
continue
|
||||||
|
m = re.match(r'//!\s+COMMON\s*\Z', line)
|
||||||
|
if m:
|
||||||
|
block = common
|
||||||
|
continue
|
||||||
|
m = re.match(r'//!\s+VERTEX\s*\Z', line)
|
||||||
|
if m:
|
||||||
|
block = vertex
|
||||||
|
continue
|
||||||
|
m = re.match(r'//!\s+FRAGMENT\s*\Z', line)
|
||||||
|
if m:
|
||||||
|
block = fragment
|
||||||
|
continue
|
||||||
|
else:
|
||||||
|
if block is None:
|
||||||
|
assert line.rstrip() == ''
|
||||||
|
else:
|
||||||
|
block.append(line)
|
||||||
|
m = re.match(r'attribute\s+\S+\s+(\S+);\s*\Z', line)
|
||||||
|
if m:
|
||||||
|
attribute = m.group(1)
|
||||||
|
if attribute not in attributes:
|
||||||
|
shortName = chr(nextShortName)
|
||||||
|
nextShortName += 1
|
||||||
|
attributes[attribute] = {'originalName': attribute, 'shortName': shortName}
|
||||||
|
shortNames[attribute] = shortName
|
||||||
|
m = re.match(r'uniform\s+\S+\s+(\S+);\s*\Z', line)
|
||||||
|
if m:
|
||||||
|
uniform = m.group(1)
|
||||||
|
if uniform not in uniforms:
|
||||||
|
shortName = chr(nextShortName)
|
||||||
|
nextShortName += 1
|
||||||
|
uniforms[uniform] = {'originalName': uniform, 'shortName': shortName}
|
||||||
|
shortNames[uniform] = shortName
|
||||||
|
m = re.match(r'varying\s+\S+\s+(\S+);\s*\Z', line)
|
||||||
|
if m:
|
||||||
|
varying = m.group(1)
|
||||||
|
if varying not in varyings:
|
||||||
|
shortName = chr(nextShortName)
|
||||||
|
nextShortName += 1
|
||||||
|
shortNames[varying] = shortName
|
||||||
|
|
||||||
|
context['getOriginalFragmentSource'] = js_escape(''.join(common + fragment))
|
||||||
|
context['getOriginalVertexSource'] = js_escape(''.join(common + vertex))
|
||||||
|
context['getFragmentSource'] = glsl_compress(''.join(common + fragment), shortNames)
|
||||||
|
context['getVertexSource'] = glsl_compress(''.join(common + vertex), shortNames)
|
||||||
|
context['getAttributes'] = [attributes[a] for a in sorted(attributes.keys())]
|
||||||
|
context['getUniforms'] = [uniforms[u] for u in sorted(uniforms.keys())]
|
||||||
|
|
||||||
|
if options.output and options.output != '-':
|
||||||
|
output = open(options.output, 'wb')
|
||||||
|
else:
|
||||||
|
output = sys.stdout
|
||||||
|
json.dump(context, output)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
sys.exit(main(sys.argv))
|
||||||
@@ -1,374 +1,5 @@
|
|||||||
## Upgrade notes
|
## Upgrade notes
|
||||||
|
|
||||||
### v4.6.0
|
|
||||||
|
|
||||||
#### Renamed `exceedLength` option of `ol.style.Text` to `overflow`
|
|
||||||
|
|
||||||
To update your applications, simply replace `exceedLength` with `overflow`.
|
|
||||||
|
|
||||||
#### Deprecation of `ol.source.ImageVector`
|
|
||||||
|
|
||||||
Rendering vector sources as image is now directly supported by `ol.layer.Vector` with the new `renderMode: 'image'` configuration option. Change code like this:
|
|
||||||
|
|
||||||
```js
|
|
||||||
new ol.layer.Image({
|
|
||||||
source: new ol.source.ImageVector({
|
|
||||||
style: myStyle,
|
|
||||||
source: new ol.source.Vector({
|
|
||||||
url: 'my/data.json',
|
|
||||||
format: new ol.format.GeoJSON()
|
|
||||||
})
|
|
||||||
})
|
|
||||||
});
|
|
||||||
```
|
|
||||||
to:
|
|
||||||
|
|
||||||
```js
|
|
||||||
new ol.layer.Vector({
|
|
||||||
renderMode: 'image',
|
|
||||||
style: myStyle,
|
|
||||||
source: new ol.source.Vector({
|
|
||||||
url: 'my/data.json',
|
|
||||||
format: new ol.format.GeoJSON()
|
|
||||||
})
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
### v4.5.0
|
|
||||||
|
|
||||||
#### Removed GeoJSON crs workaround for GeoServer
|
|
||||||
|
|
||||||
Previous version of GeoServer returned invalid crs in GeoJSON output. The workaround in `ol.format.GeoJSON` used to read this crs code is now removed.
|
|
||||||
|
|
||||||
#### Deprecation of `ol.Attribution`
|
|
||||||
|
|
||||||
`ol.Attribution` is deprecated and will be removed in the next major version. Instead, you can construct a source with a string attribution or an array of strings. For dynamic attributions, you can provide a function that gets called with the current frame state.
|
|
||||||
|
|
||||||
Before:
|
|
||||||
```js
|
|
||||||
var source = new ol.source.XYZ({
|
|
||||||
attributions: [
|
|
||||||
new ol.Attribution({html: 'some attribution'})
|
|
||||||
]
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
After:
|
|
||||||
```js
|
|
||||||
var source = new ol.source.XYZ({
|
|
||||||
attributions: 'some attribution'
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
In addition to passing a string or an array of strings for the `attributions` option, you can also pass a function that will get called with the current frame state.
|
|
||||||
```js
|
|
||||||
var source = new ol.source.XYZ({
|
|
||||||
attributions: function(frameState) {
|
|
||||||
// inspect the frame state and return attributions
|
|
||||||
return 'some attribution'; // or ['multiple', 'attributions'] or null
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### v4.4.0
|
|
||||||
|
|
||||||
#### Behavior change for polygon labels
|
|
||||||
|
|
||||||
Polygon labels are now only rendered when the label does not exceed the polygon at the label position. To get the old behavior, configure your `ol.style.Text` with `exceedLength: true`.
|
|
||||||
|
|
||||||
#### Minor change for custom `tileLoadFunction` with `ol.source.VectorTile`
|
|
||||||
|
|
||||||
It is no longer necessary to set the projection on the tile. Instead, the `readFeatures` method must be called with the tile's extent as `extent` option and the view's projection as `featureProjection`.
|
|
||||||
|
|
||||||
Before:
|
|
||||||
```js
|
|
||||||
tile.setLoader(function() {
|
|
||||||
var data = // ... fetch data
|
|
||||||
var format = tile.getFormat();
|
|
||||||
tile.setFeatures(format.readFeatures(data));
|
|
||||||
tile.setProjection(format.readProjection(data));
|
|
||||||
// uncomment the line below for ol.format.MVT only
|
|
||||||
//tile.setExtent(format.getLastExtent());
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
After:
|
|
||||||
```js
|
|
||||||
tile.setLoader(function() {
|
|
||||||
var data = // ... fetch data
|
|
||||||
var format = tile.getFormat();
|
|
||||||
tile.setFeatures(format.readFeatures(data, {
|
|
||||||
featureProjection: map.getView().getProjection(),
|
|
||||||
// uncomment the line below for ol.format.MVT only
|
|
||||||
//extent: tile.getExtent()
|
|
||||||
}));
|
|
||||||
);
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Deprecation of `ol.DeviceOrientation`
|
|
||||||
|
|
||||||
`ol.DeviceOrientation` is deprecated and will be removed in the next major version.
|
|
||||||
The device-orientation example has been updated to use the (gyronorm.js)[https://github.com/dorukeker/gyronorm.js] library.
|
|
||||||
|
|
||||||
|
|
||||||
### v4.3.0
|
|
||||||
|
|
||||||
#### `ol.source.VectorTile` no longer requires a `tileGrid` option
|
|
||||||
|
|
||||||
By default, the `ol.source.VectorTile` constructor creates an XYZ tile grid (in Web Mercator) for 512 pixel tiles and assumes a max zoom level of 22. If you were creating a vector tile source with an explicit `tileGrid` option, you can now remove this.
|
|
||||||
|
|
||||||
Before:
|
|
||||||
```js
|
|
||||||
var source = new ol.source.VectorTile({
|
|
||||||
tileGrid: ol.tilegrid.createXYZ({tileSize: 512, maxZoom: 22}),
|
|
||||||
url: url
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
After:
|
|
||||||
```js
|
|
||||||
var source = new ol.source.VectorTile({
|
|
||||||
url: url
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
If you need to change the max zoom level, you can pass the source a `maxZoom` option. If you need to change the tile size, you can pass the source a `tileSize` option. If you need a completely custom tile grid, you can still pass the source a `tileGrid` option.
|
|
||||||
|
|
||||||
#### `ol.interaction.Modify` deletes with `alt` key only
|
|
||||||
|
|
||||||
To delete features with the modify interaction, press the `alt` key while clicking on an existing vertex. If you want to configure the modify interaction with a different delete condition, use the `deleteCondition` option. For example, to allow deletion on a single click with no modifier keys, configure the interaction like this:
|
|
||||||
```js
|
|
||||||
var interaction = new ol.interaction.Modify({
|
|
||||||
source: source,
|
|
||||||
deleteCondition: function(event) {
|
|
||||||
return ol.events.condition.noModifierKeys(event) && ol.events.condition.singleClick(event);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
The motivation for this change is to make the modify, draw, and snap interactions all work well together. Previously, the use of these interactions with the default configuration would make it so you couldn't reliably add new vertices (click with no modifier) and delete existing vertices (click with no modifier).
|
|
||||||
|
|
||||||
#### `ol.source.VectorTile` no longer has a `tilePixelRatio` option
|
|
||||||
|
|
||||||
The `tilePixelRatio` option was only used for tiles in projections with `tile-pixels` as units. For tiles read with `ol.format.MVT` and the default tile loader, or tiles with the default pixel size of 4096 pixels, no changes are necessary. For the very rare cases that do not fall under these categories, a custom `tileLoadFunction` now needs to be configured on the `ol.source.VectorTile`. In addition to calling `tile.setFeatures()` and `tile.setProjection()`, it also needs to contain code like the following:
|
|
||||||
```js
|
|
||||||
var extent = tile.getFormat() instanceof ol.format.MVT ?
|
|
||||||
tile.getLastExtent() :
|
|
||||||
[0, 0, tilePixelRatio * tileSize, tilePixelRatio * tileSize];
|
|
||||||
tile.setExtent(extent);
|
|
||||||
```
|
|
||||||
|
|
||||||
#### `ol.animate` now takes the shortest arc for rotation animation
|
|
||||||
|
|
||||||
Usually rotation animations should animate along the shortest arc. There are rare occasions where a spinning animation effect is desired. So if you previously had something like
|
|
||||||
```js
|
|
||||||
map.getView().animate({
|
|
||||||
rotation: 2 * Math.PI,
|
|
||||||
duration: 2000
|
|
||||||
});
|
|
||||||
```
|
|
||||||
we recommend to split the animation into two parts and use different easing functions. The code below results in the same effect as the snippet above did with previous versions:
|
|
||||||
```js
|
|
||||||
map.getView().animate({
|
|
||||||
rotation: Math.PI,
|
|
||||||
easing: ol.easing.easeIn
|
|
||||||
}, {
|
|
||||||
rotation: 2 * Math.PI,
|
|
||||||
easing: ol.easing.easeOut
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### v4.2.0
|
|
||||||
|
|
||||||
#### Return values of two `ol.style.RegularShape` getters have changed
|
|
||||||
|
|
||||||
To provide a more consistent behaviour the following getters now return the same value that was given to constructor:
|
|
||||||
|
|
||||||
`ol.style.RegularShape#getPoints` does not return the double amount of points anymore if a radius2 is set.
|
|
||||||
|
|
||||||
`ol.style.RegularShape#getRadius2` will return `undefined` if no radius2 is set.
|
|
||||||
|
|
||||||
### v4.1.0
|
|
||||||
|
|
||||||
#### Adding duplicate layers to a map throws
|
|
||||||
|
|
||||||
Previously, you could do this:
|
|
||||||
```js
|
|
||||||
map.addLayer(layer);
|
|
||||||
map.addLayer(layer);
|
|
||||||
```
|
|
||||||
|
|
||||||
However, after adding a duplicate layer, things failed if you tried to remove that layer.
|
|
||||||
|
|
||||||
Now, `map.addLayer()` throws if you try adding a layer that has already been added to the map.
|
|
||||||
|
|
||||||
#### Simpler `constrainResolution` configuration
|
|
||||||
|
|
||||||
The `constrainResolution` configuration for `ol.interaction.PinchZoom` and `ol.interaction.MouseWheelZoom`
|
|
||||||
can now be set directly with an option in `ol.interaction.defaults`:
|
|
||||||
```js
|
|
||||||
ol.interaction.defaults({
|
|
||||||
constrainResolution: true
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### v4.0.0
|
|
||||||
|
|
||||||
#### Simpler `ol.source.Zoomify` `url` configuration
|
|
||||||
|
|
||||||
Instead specifying a base url, the `url` for the `ol.source.Zoomify` source can now be a template. The `{TileGroup}`, `{x}`, `{y}`, `{z}` and placeholders must be included in the `url` in this case. the `url` can now also include subdomain placeholders:
|
|
||||||
```js
|
|
||||||
new ol.source.Zoomify({
|
|
||||||
url: 'https://{a-f}.example.com/cgi-bin/iipsrv.fcgi?zoomify=/a/b/{TileGroup}/{z}-{x}-{y}.jpg'
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Removal of deprecated methods
|
|
||||||
|
|
||||||
The deprecated `ol.animation` functions and `map.beforeRender()` method have been removed. Use `view.animate()` instead.
|
|
||||||
|
|
||||||
The `unByKey()` method has been removed from `ol.Observable` instances. Use the `ol.Observable.unByKey()` static function instead.
|
|
||||||
```js
|
|
||||||
var key = map.on('moveend', function() { ...});
|
|
||||||
map.unByKey(key);
|
|
||||||
```
|
|
||||||
New code:
|
|
||||||
```js
|
|
||||||
var key = map.on('moveend', function() { ...});
|
|
||||||
ol.Observable.unByKey(key);
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Simplified `ol.View#fit()` API
|
|
||||||
|
|
||||||
In most cases, it is no longer necessary to provide an `ol.Size` (previously the 2nd argument) to `ol.View#fit()`. By default, the size of the first map that uses the view will be used. If you want to specify a different size, it goes in the options now (previously the 3rd argument, now the 2nd).
|
|
||||||
|
|
||||||
Most common use case - old API:
|
|
||||||
```js
|
|
||||||
map.getView().fit(extent, map.getSize());
|
|
||||||
```
|
|
||||||
Most common use case - new API:
|
|
||||||
```js
|
|
||||||
map.getView().fit(extent);
|
|
||||||
```
|
|
||||||
Advanced use - old API:
|
|
||||||
```js
|
|
||||||
map.getView().fit(extent, [200, 100], {padding: 10});
|
|
||||||
```
|
|
||||||
Advanced use - new API:
|
|
||||||
```js
|
|
||||||
map.getView().fit(extent, {size: [200, 100], padding 10});
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Removed build flags (`@define`)
|
|
||||||
|
|
||||||
The `ol.DEBUG`, `ol.ENABLE_TILE`, `ol.ENABLE_IMAGE`, `ol.ENABLE_VECTOR`, and `ol.ENABLE_VECTOR_TILE` build flags are no longer necessary and have been removed. If you were using these in a `define` array for a custom build, you can remove them.
|
|
||||||
|
|
||||||
If you leave `ol.ENABLE_WEBGL` set to `true` in your build, you should set `ol.DEBUG_WEBGL` to `false` to avoid including debuggable shader sources.
|
|
||||||
|
|
||||||
|
|
||||||
### v3.20.0
|
|
||||||
|
|
||||||
#### Use `view.animate()` instead of `map.beforeRender()` and `ol.animation` functions
|
|
||||||
|
|
||||||
The `map.beforeRender()` and `ol.animation` functions have been deprecated in favor of a new `view.animate()` function. Use of the deprecated functions will result in a warning during development. These functions are subject to removal in an upcoming release.
|
|
||||||
|
|
||||||
For details on the `view.animate()` method, see the API docs and the view animation example. Upgrading should be relatively straightforward. For example, if you wanted to have an animated pan, zoom, and rotation previously, you might have done this:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var zoom = ol.animation.zoom({
|
|
||||||
resolution: view.getResolution()
|
|
||||||
});
|
|
||||||
var pan = ol.animation.pan({
|
|
||||||
source: view.getCenter()
|
|
||||||
});
|
|
||||||
var rotate = ol.animation.rotate({
|
|
||||||
rotation: view.getRotation()
|
|
||||||
});
|
|
||||||
|
|
||||||
map.beforeRender(zoom, pan, rotate);
|
|
||||||
|
|
||||||
map.setZoom(1);
|
|
||||||
map.setCenter([0, 0]);
|
|
||||||
map.setRotation(Math.PI);
|
|
||||||
```
|
|
||||||
|
|
||||||
Now, the same can be accomplished with this:
|
|
||||||
```js
|
|
||||||
view.animate({
|
|
||||||
zoom: 1,
|
|
||||||
center: [0, 0],
|
|
||||||
rotation: Math.PI
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
#### `ol.Map#forEachFeatureAtPixel` and `ol.Map#hasFeatureAtPixel` parameters have changed
|
|
||||||
|
|
||||||
If you are using the layer filter of one of these methods, please note that you now have to pass in the layer filter via an `ol.AtPixelOptions` object. If you are not using the layer filter the usage has not changed.
|
|
||||||
|
|
||||||
Old syntax:
|
|
||||||
```js
|
|
||||||
map.forEachFeatureAtPixel(pixel, callback, callbackThis, layerFilterFn, layerFilterThis);
|
|
||||||
|
|
||||||
map.hasFeatureAtPixel(pixel, layerFilterFn, layerFilterThis);
|
|
||||||
```
|
|
||||||
|
|
||||||
New syntax:
|
|
||||||
```js
|
|
||||||
map.forEachFeatureAtPixel(pixel, callback.bind(callbackThis), {
|
|
||||||
layerFilter: layerFilterFn.bind(layerFilterThis)
|
|
||||||
});
|
|
||||||
|
|
||||||
map.hasFeatureAtPixel(pixel, {
|
|
||||||
layerFilter: layerFilterFn.bind(layerFilterThis)
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
This change is due to the introduction of the `hitTolerance` parameter which can be passed in via this `ol.AtPixelOptions` object, too.
|
|
||||||
|
|
||||||
#### Use `ol.proj.getPointResolution()` instead of `projection.getPointResolution()`
|
|
||||||
|
|
||||||
The experimental `getPointResolution` method has been removed from `ol.Projection` instances. Since the implementation of this method required an inverse transform (function for transforming projected coordinates to geographic coordinates) and `ol.Projection` instances are not constructed with forward or inverse transforms, it does not make sense that a projection instance can always calculate the point resolution.
|
|
||||||
|
|
||||||
As a substitute for the `projection.getPointResolution()` function, a `ol.proj.getPointResolution()` function has been added. To upgrade, you will need to change things like this:
|
|
||||||
```js
|
|
||||||
projection.getPointResolution(resolution, point);
|
|
||||||
```
|
|
||||||
|
|
||||||
into this:
|
|
||||||
```js
|
|
||||||
ol.proj.getPointResolution(projection, resolution, point);
|
|
||||||
```
|
|
||||||
|
|
||||||
Note that if you were previously creating a projection with a `getPointResolution` function in the constructor (or calling `projection.setGetPointResolution()` after construction), this function will be used by `ol.proj.getPointResolution()`.
|
|
||||||
|
|
||||||
#### `ol.interaction.PinchZoom` no longer zooms to a whole-number zoom level after the gesture ends
|
|
||||||
|
|
||||||
The old behavior of `ol.interaction.PinchZoom` was to zoom to the next integer zoom level after the user ends the gesture.
|
|
||||||
|
|
||||||
Now the pinch zoom keeps the user selected zoom level even if it is a fractional zoom.
|
|
||||||
|
|
||||||
To get the old behavior set the new `constrainResolution` parameter to `true` like this:
|
|
||||||
```js
|
|
||||||
new ol.interaction.PinchZoom({constrainResolution: true})
|
|
||||||
```
|
|
||||||
|
|
||||||
See the new `pinch-zoom` example for a complete implementation.
|
|
||||||
|
|
||||||
### v3.19.1
|
|
||||||
|
|
||||||
#### `ol.style.Fill` with `CanvasGradient` or `CanvasPattern`
|
|
||||||
|
|
||||||
The origin for gradients and patterns has changed from `[0, 0]` to the top-left
|
|
||||||
corner of the extent of the geometry being filled.
|
|
||||||
|
|
||||||
### v3.19.0
|
|
||||||
|
|
||||||
#### `ol.style.Fill` with `CanvasGradient` or `CanvasPattern`
|
|
||||||
|
|
||||||
Previously, gradients and patterns were aligned with the canvas, so they did not
|
|
||||||
move and rotate with the map. This was changed to a more expected behavior by anchoring the fill to the map origin (usually at map coordinate `[0, 0]`).
|
|
||||||
|
|
||||||
#### `goog.DEBUG` define was renamed to `ol.DEBUG`
|
#### `goog.DEBUG` define was renamed to `ol.DEBUG`
|
||||||
|
|
||||||
As last step in the removal of the dependency on Google Closure Library, the `goog.DEBUG` compiler define was renamed to `ol.DEBUG`. Please change accordingly in your custom build configuration json files.
|
As last step in the removal of the dependency on Google Closure Library, the `goog.DEBUG` compiler define was renamed to `ol.DEBUG`. Please change accordingly in your custom build configuration json files.
|
||||||
@@ -391,7 +22,6 @@ A number of internal types have been renamed. This will not affect those who us
|
|||||||
* rename `ol.OverlayProperty` to `ol.Overlay.Property`
|
* rename `ol.OverlayProperty` to `ol.Overlay.Property`
|
||||||
* rename `ol.control.MousePositionProperty` to `ol.control.MousePosition.Property`
|
* rename `ol.control.MousePositionProperty` to `ol.control.MousePosition.Property`
|
||||||
* rename `ol.format.IGCZ` to `ol.format.IGC.Z`
|
* rename `ol.format.IGCZ` to `ol.format.IGC.Z`
|
||||||
* rename `ol.interaction.InteractionProperty` to `ol.interaction.Interaction.Property`
|
|
||||||
* rename `ol.interaction.DrawMode` to `ol.interaction.Draw.Mode`
|
* rename `ol.interaction.DrawMode` to `ol.interaction.Draw.Mode`
|
||||||
* rename `ol.interaction.DrawEvent` to `ol.interaction.Draw.Event`
|
* rename `ol.interaction.DrawEvent` to `ol.interaction.Draw.Event`
|
||||||
* rename `ol.interaction.DrawEventType` to `ol.interaction.Draw.EventType`
|
* rename `ol.interaction.DrawEventType` to `ol.interaction.Draw.EventType`
|
||||||
@@ -412,7 +42,6 @@ A number of internal types have been renamed. This will not affect those who us
|
|||||||
* rename `ol.MapProperty` to `ol.Map.Property`
|
* rename `ol.MapProperty` to `ol.Map.Property`
|
||||||
* rename `ol.ModifyEventType` to `ol.interaction.Modify.EventType`
|
* rename `ol.ModifyEventType` to `ol.interaction.Modify.EventType`
|
||||||
* rename `ol.RendererType` to `ol.renderer.Type`
|
* rename `ol.RendererType` to `ol.renderer.Type`
|
||||||
* rename `ol.render.EventType` to `ol.render.Event.Type`
|
|
||||||
* rename `ol.source.ImageEvent` to `ol.source.Image.Event`
|
* rename `ol.source.ImageEvent` to `ol.source.Image.Event`
|
||||||
* rename `ol.source.ImageEventType` to `ol.source.Image.EventType`
|
* rename `ol.source.ImageEventType` to `ol.source.Image.EventType`
|
||||||
* rename `ol.source.RasterEvent` to `ol.source.Raster.Event`
|
* rename `ol.source.RasterEvent` to `ol.source.Raster.Event`
|
||||||
@@ -434,7 +63,7 @@ The DOM renderer has been removed. Instead, the Canvas renderer should be used.
|
|||||||
|
|
||||||
#### Changes in the way assertions are handled
|
#### Changes in the way assertions are handled
|
||||||
|
|
||||||
Previously, minified builds of the library did not have any assertions. This caused applications to fail silently or with cryptic stack traces. Starting with this release, developers get notified of many runtime errors through the new `ol.AssertionError`. This error has a `code` property. The meaning of the code can be found on https://openlayers.org/en/latest/doc/errors/. There are additional console assertion checks in debug mode when the `goog.DEBUG` compiler flag is `true`. As this is `true` by default, it is recommended that those creating custom builds set this to `false` so these assertions are stripped.'
|
Previously, minified builds of the library did not have any assertions. This caused applications to fail silently or with cryptic stack traces. Starting with this release, developers get notified of many runtime errors through the new `ol.AssertionError`. This error has a `code` property. The meaning of the code can be found on http://openlayers.org/en/latest/doc/errors/. There are additional console assertion checks in debug mode when the `goog.DEBUG` compiler flag is `true`. As this is `true` by default, it is recommended that those creating custom builds set this to `false` so these assertions are stripped.'
|
||||||
|
|
||||||
#### Removal of `ol.ENABLE_NAMED_COLORS`
|
#### Removal of `ol.ENABLE_NAMED_COLORS`
|
||||||
|
|
||||||
@@ -470,7 +99,7 @@ A number of internal types have been renamed. This will not affect those who us
|
|||||||
|
|
||||||
#### `ol.source.MapQuest` removal
|
#### `ol.source.MapQuest` removal
|
||||||
|
|
||||||
Because of changes at MapQuest (see: https://lists.openstreetmap.org/pipermail/talk/2016-June/076106.html) we had to remove the MapQuest source for now (see https://github.com/openlayers/openlayers/issues/5484 for details).
|
Because of changes at MapQuest (see: https://lists.openstreetmap.org/pipermail/talk/2016-June/076106.html) we had to remove the MapQuest source for now (see https://github.com/openlayers/ol3/issues/5484 for details).
|
||||||
|
|
||||||
#### `ol.interaction.ModifyEvent` changes
|
#### `ol.interaction.ModifyEvent` changes
|
||||||
|
|
||||||
@@ -543,7 +172,7 @@ var v3source = new ol.source.TileUTFGrid({
|
|||||||
|
|
||||||
#### Internet Explorer 9 support
|
#### Internet Explorer 9 support
|
||||||
|
|
||||||
As of this release, OpenLayers requires a `classList` polyfill for IE 9 support. See https://cdn.polyfill.io/v2/docs/features#Element_prototype_classList.
|
As of this release, OpenLayers requires a `classList` polyfill for IE 9 support. See http://cdn.polyfill.io/v2/docs/features#Element_prototype_classList.
|
||||||
|
|
||||||
#### Immediate rendering API
|
#### Immediate rendering API
|
||||||
|
|
||||||
@@ -592,7 +221,7 @@ The default cache size is `2048`.
|
|||||||
|
|
||||||
#### Internet Explorer 9 support
|
#### Internet Explorer 9 support
|
||||||
|
|
||||||
As of this release, OpenLayers requires a `requestAnimationFrame`/`cancelAnimationFrame` polyfill for IE 9 support. See https://cdn.polyfill.io/v2/docs/features/#requestAnimationFrame.
|
As of this release, OpenLayers requires a `requestAnimationFrame`/`cancelAnimationFrame` polyfill for IE 9 support. See http://cdn.polyfill.io/v2/docs/features/#requestAnimationFrame.
|
||||||
|
|
||||||
#### Layer pre-/postcompose event changes
|
#### Layer pre-/postcompose event changes
|
||||||
|
|
||||||
@@ -851,7 +480,7 @@ When single clicking a line or boundary within the `pixelTolerance`, a vertex is
|
|||||||
#### `ol.interaction.Draw` changes
|
#### `ol.interaction.Draw` changes
|
||||||
|
|
||||||
* The `minPointsPerRing` config option has been renamed to `minPoints`. It is now also available for linestring drawing, not only for polygons.
|
* The `minPointsPerRing` config option has been renamed to `minPoints`. It is now also available for linestring drawing, not only for polygons.
|
||||||
* The `ol.DrawEvent` and `ol.DrawEventType` types were renamed to `ol.interaction.DrawEvent` and `ol.interaction.DrawEventType`. This has an impact on your code only if your code is compiled together with OpenLayers.
|
* The `ol.DrawEvent` and `ol.DrawEventType` types were renamed to `ol.interaction.DrawEvent` and `ol.interaction.DrawEventType`. This has an impact on your code only if your code is compiled together with ol3.
|
||||||
|
|
||||||
#### `ol.tilegrid` changes
|
#### `ol.tilegrid` changes
|
||||||
|
|
||||||
@@ -865,7 +494,7 @@ now specify an `extent` instead of `widths`. These settings are used to restrict
|
|||||||
|
|
||||||
#### `ol.Object` and `bindTo`
|
#### `ol.Object` and `bindTo`
|
||||||
|
|
||||||
* The following experimental methods have been removed from `ol.Object`: `bindTo`, `unbind`, and `unbindAll`. If you want to get notification about `ol.Object` property changes, you can listen for the `'propertychange'` event (e.g. `object.on('propertychange', listener)`). Two-way binding can be set up at the application level using property change listeners. See [#3472](https://github.com/openlayers/openlayers/pull/3472) for details on the change.
|
* The following experimental methods have been removed from `ol.Object`: `bindTo`, `unbind`, and `unbindAll`. If you want to get notification about `ol.Object` property changes, you can listen for the `'propertychange'` event (e.g. `object.on('propertychange', listener)`). Two-way binding can be set up at the application level using property change listeners. See [#3472](https://github.com/openlayers/ol3/pull/3472) for details on the change.
|
||||||
|
|
||||||
* The experimental `ol.dom.Input` component has been removed. If you need to synchronize the state of a dom Input element with an `ol.Object`, this can be accomplished using listeners for change events. For example, you might bind the state of a checkbox type input with a layer's visibility like this:
|
* The experimental `ol.dom.Input` component has been removed. If you need to synchronize the state of a dom Input element with an `ol.Object`, this can be accomplished using listeners for change events. For example, you might bind the state of a checkbox type input with a layer's visibility like this:
|
||||||
|
|
||||||
@@ -910,7 +539,7 @@ now specify an `extent` instead of `widths`. These settings are used to restrict
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
See https://openlayers.org/en/master/examples/vector-layer.html for a real example.
|
See http://openlayers.org/en/master/examples/vector-layer.html for a real example.
|
||||||
|
|
||||||
Note that you no longer need to set a `projection` on the source!
|
Note that you no longer need to set a `projection` on the source!
|
||||||
|
|
||||||
@@ -932,7 +561,7 @@ now specify an `extent` instead of `widths`. These settings are used to restrict
|
|||||||
|
|
||||||
The above code uses jQuery to send an Ajax request, but you can obviously use any Ajax library.
|
The above code uses jQuery to send an Ajax request, but you can obviously use any Ajax library.
|
||||||
|
|
||||||
See https://openlayers.org/en/master/examples/igc.html for a real example.
|
See http://openlayers.org/en/master/examples/igc.html for a real example.
|
||||||
|
|
||||||
* Note about KML
|
* Note about KML
|
||||||
|
|
||||||
@@ -990,9 +619,9 @@ now specify an `extent` instead of `widths`. These settings are used to restrict
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
See https://openlayers.org/en/master/examples/vector-osm.html for a real example.
|
See http://openlayers.org/en/master/examples/vector-osm.html for a real example.
|
||||||
|
|
||||||
* The experimental `ol.loadingstrategy.createTile` function has been renamed to `ol.loadingstrategy.tile`. The signature of the function hasn't changed. See https://openlayers.org/en/master/examples/vector-osm.html for an example.
|
* The experimental `ol.loadingstrategy.createTile` function has been renamed to `ol.loadingstrategy.tile`. The signature of the function hasn't changed. See http://openlayers.org/en/master/examples/vector-osm.html for an example.
|
||||||
|
|
||||||
#### Change to `ol.style.Icon`
|
#### Change to `ol.style.Icon`
|
||||||
|
|
||||||
@@ -1018,7 +647,7 @@ There should be nothing special required when upgrading from v3.3.0 to v3.4.0.
|
|||||||
|
|
||||||
### v3.3.0
|
### v3.3.0
|
||||||
|
|
||||||
* The `ol.events.condition.mouseMove` function was replaced by `ol.events.condition.pointerMove` (see [#3281](https://github.com/openlayers/openlayers/pull/3281)). For example, if you use `ol.events.condition.mouseMove` as the condition in a `Select` interaction then you now need to use `ol.events.condition.pointerMove`:
|
* The `ol.events.condition.mouseMove` function was replaced by `ol.events.condition.pointerMove` (see [#3281](https://github.com/openlayers/ol3/pull/3281)). For example, if you use `ol.events.condition.mouseMove` as the condition in a `Select` interaction then you now need to use `ol.events.condition.pointerMove`:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
var selectInteraction = new ol.interaction.Select({
|
var selectInteraction = new ol.interaction.Select({
|
||||||
|
|||||||
@@ -2,233 +2,233 @@
|
|||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
The 3.1.0 release includes a whopping 214 merged pull requests since 3.0.0. Of note, the WebGL renderer [now supports point rendering](https://github.com/openlayers/openlayers/pull/2967). You can use [UTFGrids for interaction](https://github.com/openlayers/openlayers/pull/3015)! Styles can now specify [alternate geometries for rendering](https://github.com/openlayers/openlayers/pull/3010). Library builds [can now be loaded](https://github.com/openlayers/openlayers/pull/3039) with module loaders like Browserify or RequireJS. You can now symbolize point features with stars, squares, enneadecagons, or [any other regular(ish) polygon](https://github.com/openlayers/openlayers/pull/2706). See the full list of [changes](#changes) below.
|
The 3.1.0 release includes a whopping 214 merged pull requests since 3.0.0. Of note, the WebGL renderer [now supports point rendering](https://github.com/openlayers/ol3/pull/2967). You can use [UTFGrids for interaction](https://github.com/openlayers/ol3/pull/3015)! Styles can now specify [alternate geometries for rendering](https://github.com/openlayers/ol3/pull/3010). Library builds [can now be loaded](https://github.com/openlayers/ol3/pull/3039) with module loaders like Browserify or RequireJS. You can now symbolize point features with stars, squares, enneadecagons, or [any other regular(ish) polygon](https://github.com/openlayers/ol3/pull/2706). See the full list of [changes](#changes) below.
|
||||||
|
|
||||||
## Upgrade notes
|
## Upgrade notes
|
||||||
|
|
||||||
The 3.1.0 release maintains a backwards-compatible API with the 3.0.0 release, so upgrades should be painless. Some special considerations below.
|
The 3.1.0 release maintains a backwards-compatible API with the 3.0.0 release, so upgrades should be painless. Some special considerations below.
|
||||||
|
|
||||||
* If you are using a `ol.source.ImageStatic`, you no longer need to provide an `imageSize` option if you don't want any special scaling on your image (see [#2796](https://github.com/openlayers/openlayers/pull/2796)).
|
* If you are using a `ol.source.ImageStatic`, you no longer need to provide an `imageSize` option if you don't want any special scaling on your image (see [#2796](https://github.com/openlayers/ol3/pull/2796)).
|
||||||
|
|
||||||
* Instead of calling `obj.unByKey(key)` you can now call `ol.Observable.unByKey(key)` (see [#2794](https://github.com/openlayers/openlayers/pull/2794)).
|
* Instead of calling `obj.unByKey(key)` you can now call `ol.Observable.unByKey(key)` (see [#2794](https://github.com/openlayers/ol3/pull/2794)).
|
||||||
|
|
||||||
* If you were using `format.writeFeatures(features)`, note that this method returns a string for all feature formats. We considered the previous behavior a bug (see [#3003](https://github.com/openlayers/openlayers/pull/3003)).
|
* If you were using `format.writeFeatures(features)`, note that this method returns a string for all feature formats. We considered the previous behavior a bug (see [#3003](https://github.com/openlayers/ol3/pull/3003)).
|
||||||
|
|
||||||
* The `obj.dispatchChangeEvent()` method is now spelled `obj.changed()`. This method is still unstable (see [#2684](https://github.com/openlayers/openlayers/pull/2684)).
|
* The `obj.dispatchChangeEvent()` method is now spelled `obj.changed()`. This method is still unstable (see [#2684](https://github.com/openlayers/ol3/pull/2684)).
|
||||||
|
|
||||||
## Changes
|
## Changes
|
||||||
|
|
||||||
* [#3076](https://github.com/openlayers/openlayers/pull/3076) - Add script to standardize changelog creation. ([@tschaub](https://github.com/tschaub))
|
* [#3076](https://github.com/openlayers/ol3/pull/3076) - Add script to standardize changelog creation. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3074](https://github.com/openlayers/openlayers/pull/3074) - Remove misplaced function annotation. ([@fredj](https://github.com/fredj))
|
* [#3074](https://github.com/openlayers/ol3/pull/3074) - Remove misplaced function annotation. ([@fredj](https://github.com/fredj))
|
||||||
* [#3075](https://github.com/openlayers/openlayers/pull/3075) - Remove unneeded undefined from ol.proj.ProjectionLike definitions (r=@tschaub) ([@bartvde](https://github.com/bartvde))
|
* [#3075](https://github.com/openlayers/ol3/pull/3075) - Remove unneeded undefined from ol.proj.ProjectionLike definitions (r=@tschaub) ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3071](https://github.com/openlayers/openlayers/pull/3071) - Add task for publishing to npm. ([@tschaub](https://github.com/tschaub))
|
* [#3071](https://github.com/openlayers/ol3/pull/3071) - Add task for publishing to npm. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3070](https://github.com/openlayers/openlayers/pull/3070) - Define goog and assign to global when generating UMD debug builds. ([@tschaub](https://github.com/tschaub))
|
* [#3070](https://github.com/openlayers/ol3/pull/3070) - Define goog and assign to global when generating UMD debug builds. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3068](https://github.com/openlayers/openlayers/pull/3068) - Update pre-release version. ([@tschaub](https://github.com/tschaub))
|
* [#3068](https://github.com/openlayers/ol3/pull/3068) - Update pre-release version. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3039](https://github.com/openlayers/openlayers/pull/3039) - Support for UMD builds. ([@tschaub](https://github.com/tschaub))
|
* [#3039](https://github.com/openlayers/ol3/pull/3039) - Support for UMD builds. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3038](https://github.com/openlayers/openlayers/pull/3038) - Update attribution CSS #2803 ([@acanimal](https://github.com/acanimal))
|
* [#3038](https://github.com/openlayers/ol3/pull/3038) - Update attribution CSS #2803 ([@acanimal](https://github.com/acanimal))
|
||||||
* [#3061](https://github.com/openlayers/openlayers/pull/3061) - Add a renderBuffer option to ol.layer.Vector ([@elemoine](https://github.com/elemoine))
|
* [#3061](https://github.com/openlayers/ol3/pull/3061) - Add a renderBuffer option to ol.layer.Vector ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3048](https://github.com/openlayers/openlayers/pull/3048) - Add a drag-features example ([@elemoine](https://github.com/elemoine))
|
* [#3048](https://github.com/openlayers/ol3/pull/3048) - Add a drag-features example ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3060](https://github.com/openlayers/openlayers/pull/3060) - Update closure-library version ([@fredj](https://github.com/fredj))
|
* [#3060](https://github.com/openlayers/ol3/pull/3060) - Update closure-library version ([@fredj](https://github.com/fredj))
|
||||||
* [#3058](https://github.com/openlayers/openlayers/pull/3058) - Use an API function to extend the extent ([@ahocevar](https://github.com/ahocevar))
|
* [#3058](https://github.com/openlayers/ol3/pull/3058) - Use an API function to extend the extent ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3010](https://github.com/openlayers/openlayers/pull/3010) - Allow styles to override feature geometries ([@ahocevar](https://github.com/ahocevar))
|
* [#3010](https://github.com/openlayers/ol3/pull/3010) - Allow styles to override feature geometries ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3056](https://github.com/openlayers/openlayers/pull/3056) - Reuse previousExtent_ local variable ([@fredj](https://github.com/fredj))
|
* [#3056](https://github.com/openlayers/ol3/pull/3056) - Reuse previousExtent_ local variable ([@fredj](https://github.com/fredj))
|
||||||
* [#3055](https://github.com/openlayers/openlayers/pull/3055) - ol.tilecoord.createOrUpdate: add 'opt_' prefix to optional param ([@fredj](https://github.com/fredj))
|
* [#3055](https://github.com/openlayers/ol3/pull/3055) - ol.tilecoord.createOrUpdate: add 'opt_' prefix to optional param ([@fredj](https://github.com/fredj))
|
||||||
* [#3044](https://github.com/openlayers/openlayers/pull/3044) - Mark Image style constructor properties `@api` ([@gberaudo](https://github.com/gberaudo))
|
* [#3044](https://github.com/openlayers/ol3/pull/3044) - Mark Image style constructor properties `@api` ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#3052](https://github.com/openlayers/openlayers/pull/3052) - Add a testcase for parsing GML feature with only boundedBy ([@bartvde](https://github.com/bartvde))
|
* [#3052](https://github.com/openlayers/ol3/pull/3052) - Add a testcase for parsing GML feature with only boundedBy ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3051](https://github.com/openlayers/openlayers/pull/3051) - Remove // NOCOMPILE from vector-wfs ([@elemoine](https://github.com/elemoine))
|
* [#3051](https://github.com/openlayers/ol3/pull/3051) - Remove // NOCOMPILE from vector-wfs ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2699](https://github.com/openlayers/openlayers/pull/2699) - No need for featureNS and featureType to be quoted ([@bartvde](https://github.com/bartvde))
|
* [#2699](https://github.com/openlayers/ol3/pull/2699) - No need for featureNS and featureType to be quoted ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3047](https://github.com/openlayers/openlayers/pull/3047) - Move description above annotation to avoid JSDoc warnings. ([@tschaub](https://github.com/tschaub))
|
* [#3047](https://github.com/openlayers/ol3/pull/3047) - Move description above annotation to avoid JSDoc warnings. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2996](https://github.com/openlayers/openlayers/pull/2996) - Add getter functions for points and angle in ol.style.RegularShape ([@bartvde](https://github.com/bartvde))
|
* [#2996](https://github.com/openlayers/ol3/pull/2996) - Add getter functions for points and angle in ol.style.RegularShape ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3046](https://github.com/openlayers/openlayers/pull/3046) - Need exportable constructor for constructor options in olx ([@ahocevar](https://github.com/ahocevar))
|
* [#3046](https://github.com/openlayers/ol3/pull/3046) - Need exportable constructor for constructor options in olx ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3043](https://github.com/openlayers/openlayers/pull/3043) - Use // NOCOMPILE for vector-wfs ([@elemoine](https://github.com/elemoine))
|
* [#3043](https://github.com/openlayers/ol3/pull/3043) - Use // NOCOMPILE for vector-wfs ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3042](https://github.com/openlayers/openlayers/pull/3042) - Print example name in check-examples exception ([@gberaudo](https://github.com/gberaudo))
|
* [#3042](https://github.com/openlayers/ol3/pull/3042) - Print example name in check-examples exception ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#3032](https://github.com/openlayers/openlayers/pull/3032) - Extension points for custom controls and interactions ([@elemoine](https://github.com/elemoine))
|
* [#3032](https://github.com/openlayers/ol3/pull/3032) - Extension points for custom controls and interactions ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3033](https://github.com/openlayers/openlayers/pull/3033) - Allow custom mousemove conditions for Select interaction ([@ahocevar](https://github.com/ahocevar))
|
* [#3033](https://github.com/openlayers/ol3/pull/3033) - Allow custom mousemove conditions for Select interaction ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3040](https://github.com/openlayers/openlayers/pull/3040) - Transform the coordinates in place ([@fredj](https://github.com/fredj))
|
* [#3040](https://github.com/openlayers/ol3/pull/3040) - Transform the coordinates in place ([@fredj](https://github.com/fredj))
|
||||||
* [#3036](https://github.com/openlayers/openlayers/pull/3036) - Respect geometry stride in modify interaction ([@tonio](https://github.com/tonio))
|
* [#3036](https://github.com/openlayers/ol3/pull/3036) - Respect geometry stride in modify interaction ([@tonio](https://github.com/tonio))
|
||||||
* [#3020](https://github.com/openlayers/openlayers/pull/3020) - Correct error message from generate-info.js. ([@tschaub](https://github.com/tschaub))
|
* [#3020](https://github.com/openlayers/ol3/pull/3020) - Correct error message from generate-info.js. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3037](https://github.com/openlayers/openlayers/pull/3037) - Implement rotation for ol.style.RegularShape ([@bartvde](https://github.com/bartvde))
|
* [#3037](https://github.com/openlayers/ol3/pull/3037) - Implement rotation for ol.style.RegularShape ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3015](https://github.com/openlayers/openlayers/pull/3015) - UTFGrid Support ([@klokantech](https://github.com/klokantech))
|
* [#3015](https://github.com/openlayers/ol3/pull/3015) - UTFGrid Support ([@klokantech](https://github.com/klokantech))
|
||||||
* [#3012](https://github.com/openlayers/openlayers/pull/3012) - Failing tests in IE9 ([@bartvde](https://github.com/bartvde))
|
* [#3012](https://github.com/openlayers/ol3/pull/3012) - Failing tests in IE9 ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3029](https://github.com/openlayers/openlayers/pull/3029) - Update closure compiler and library ([@fredj](https://github.com/fredj))
|
* [#3029](https://github.com/openlayers/ol3/pull/3029) - Update closure compiler and library ([@fredj](https://github.com/fredj))
|
||||||
* [#3031](https://github.com/openlayers/openlayers/pull/3031) - Add missing maxZoom property in olx.view.FitGeometryOptions ([@fredj](https://github.com/fredj))
|
* [#3031](https://github.com/openlayers/ol3/pull/3031) - Add missing maxZoom property in olx.view.FitGeometryOptions ([@fredj](https://github.com/fredj))
|
||||||
* [#3028](https://github.com/openlayers/openlayers/pull/3028) - ol.format.WFS cleanup ([@fredj](https://github.com/fredj))
|
* [#3028](https://github.com/openlayers/ol3/pull/3028) - ol.format.WFS cleanup ([@fredj](https://github.com/fredj))
|
||||||
* [#3024](https://github.com/openlayers/openlayers/pull/3024) - Add missing gmlFormat to olx.format.WFSOptions ([@fredj](https://github.com/fredj))
|
* [#3024](https://github.com/openlayers/ol3/pull/3024) - Add missing gmlFormat to olx.format.WFSOptions ([@fredj](https://github.com/fredj))
|
||||||
* [#3023](https://github.com/openlayers/openlayers/pull/3023) - Change loader function return type ([@fredj](https://github.com/fredj))
|
* [#3023](https://github.com/openlayers/ol3/pull/3023) - Change loader function return type ([@fredj](https://github.com/fredj))
|
||||||
* [#3021](https://github.com/openlayers/openlayers/pull/3021) - Add missing properties in olx.control.AttributionOptions typedef ([@fredj](https://github.com/fredj))
|
* [#3021](https://github.com/openlayers/ol3/pull/3021) - Add missing properties in olx.control.AttributionOptions typedef ([@fredj](https://github.com/fredj))
|
||||||
* [#3013](https://github.com/openlayers/openlayers/pull/3013) - Improve vector source clear() performance ([@gberaudo](https://github.com/gberaudo))
|
* [#3013](https://github.com/openlayers/ol3/pull/3013) - Improve vector source clear() performance ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#3017](https://github.com/openlayers/openlayers/pull/3017) - Use writeFeatures instead of writeFeaturesNode in GPX and KML example (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
* [#3017](https://github.com/openlayers/ol3/pull/3017) - Use writeFeatures instead of writeFeaturesNode in GPX and KML example (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3014](https://github.com/openlayers/openlayers/pull/3014) - Simplify hit detection code ([@elemoine](https://github.com/elemoine))
|
* [#3014](https://github.com/openlayers/ol3/pull/3014) - Simplify hit detection code ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3006](https://github.com/openlayers/openlayers/pull/3006) - gml3.js and gml2.js don't follow file naming conventions ([@bartvde](https://github.com/bartvde))
|
* [#3006](https://github.com/openlayers/ol3/pull/3006) - gml3.js and gml2.js don't follow file naming conventions ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3003](https://github.com/openlayers/openlayers/pull/3003) - The writeFeatures method should always return a string (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
* [#3003](https://github.com/openlayers/ol3/pull/3003) - The writeFeatures method should always return a string (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3011](https://github.com/openlayers/openlayers/pull/3011) - opt_options may not be defined, use options ([@pagameba](https://github.com/pagameba))
|
* [#3011](https://github.com/openlayers/ol3/pull/3011) - opt_options may not be defined, use options ([@pagameba](https://github.com/pagameba))
|
||||||
* [#3009](https://github.com/openlayers/openlayers/pull/3009) - Fix hit detection bug ([@elemoine](https://github.com/elemoine))
|
* [#3009](https://github.com/openlayers/ol3/pull/3009) - Fix hit detection bug ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3002](https://github.com/openlayers/openlayers/pull/3002) - Passing options to RegularShape is mandatory ([@elemoine](https://github.com/elemoine))
|
* [#3002](https://github.com/openlayers/ol3/pull/3002) - Passing options to RegularShape is mandatory ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2967](https://github.com/openlayers/openlayers/pull/2967) - Add support for drawing points with WebGL ([@camptocamp](https://github.com/camptocamp))
|
* [#2967](https://github.com/openlayers/ol3/pull/2967) - Add support for drawing points with WebGL ([@camptocamp](https://github.com/camptocamp))
|
||||||
* [#2701](https://github.com/openlayers/openlayers/pull/2701) - Writing GeoJSON does not respect the feature's geometryName ([@bartvde](https://github.com/bartvde))
|
* [#2701](https://github.com/openlayers/ol3/pull/2701) - Writing GeoJSON does not respect the feature's geometryName ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3000](https://github.com/openlayers/openlayers/pull/3000) - Explain that return of ol.color.asArray should not be modified ([@bartvde](https://github.com/bartvde))
|
* [#3000](https://github.com/openlayers/ol3/pull/3000) - Explain that return of ol.color.asArray should not be modified ([@bartvde](https://github.com/bartvde))
|
||||||
* [#2997](https://github.com/openlayers/openlayers/pull/2997) - Use new demo GeoServer location ([@ahocevar](https://github.com/ahocevar))
|
* [#2997](https://github.com/openlayers/ol3/pull/2997) - Use new demo GeoServer location ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#2976](https://github.com/openlayers/openlayers/pull/2976) - Add an example to show off ol.style.RegularShape ([@bartvde](https://github.com/bartvde))
|
* [#2976](https://github.com/openlayers/ol3/pull/2976) - Add an example to show off ol.style.RegularShape ([@bartvde](https://github.com/bartvde))
|
||||||
* [#2992](https://github.com/openlayers/openlayers/pull/2992) - Add support for finding features at a given coordinates for vector tiles - fixes ([@pgiraud](https://github.com/pgiraud))
|
* [#2992](https://github.com/openlayers/ol3/pull/2992) - Add support for finding features at a given coordinates for vector tiles - fixes ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#2987](https://github.com/openlayers/openlayers/pull/2987) - Image layer renderers use source projection if given and equivalent ([@kartverket](https://github.com/kartverket))
|
* [#2987](https://github.com/openlayers/ol3/pull/2987) - Image layer renderers use source projection if given and equivalent ([@kartverket](https://github.com/kartverket))
|
||||||
* [#2975](https://github.com/openlayers/openlayers/pull/2975) - Use offsetX and offsetY if available ([@fredj](https://github.com/fredj))
|
* [#2975](https://github.com/openlayers/ol3/pull/2975) - Use offsetX and offsetY if available ([@fredj](https://github.com/fredj))
|
||||||
* [#2973](https://github.com/openlayers/openlayers/pull/2973) - Making GetTileCoordFor methods public avaible ([@s093294](https://github.com/s093294))
|
* [#2973](https://github.com/openlayers/ol3/pull/2973) - Making GetTileCoordFor methods public avaible ([@s093294](https://github.com/s093294))
|
||||||
* [#2986](https://github.com/openlayers/openlayers/pull/2986) - Add support for finding features at a given coordinates for vector tiles ([@pgiraud](https://github.com/pgiraud))
|
* [#2986](https://github.com/openlayers/ol3/pull/2986) - Add support for finding features at a given coordinates for vector tiles ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#2937](https://github.com/openlayers/openlayers/pull/2937) - Clip layer rendering to limited extent. ([@tschaub](https://github.com/tschaub))
|
* [#2937](https://github.com/openlayers/ol3/pull/2937) - Clip layer rendering to limited extent. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2971](https://github.com/openlayers/openlayers/pull/2971) - Two ol.source.TileVector fixes ([@elemoine](https://github.com/elemoine))
|
* [#2971](https://github.com/openlayers/ol3/pull/2971) - Two ol.source.TileVector fixes ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2988](https://github.com/openlayers/openlayers/pull/2988) - Correct olx.style.RegularShapeOptions definition (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
* [#2988](https://github.com/openlayers/ol3/pull/2988) - Correct olx.style.RegularShapeOptions definition (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
||||||
* [#2981](https://github.com/openlayers/openlayers/pull/2981) - Use lineDash in ol.style.Circle's and ol.style.RegularShape's stroke (r=@fredj,@elemoine) ([@bartvde](https://github.com/bartvde))
|
* [#2981](https://github.com/openlayers/ol3/pull/2981) - Use lineDash in ol.style.Circle's and ol.style.RegularShape's stroke (r=@fredj,@elemoine) ([@bartvde](https://github.com/bartvde))
|
||||||
* [#2982](https://github.com/openlayers/openlayers/pull/2982) - Allow radius1 as an alias for radius in ol.style.RegularShape ([@bartvde](https://github.com/bartvde))
|
* [#2982](https://github.com/openlayers/ol3/pull/2982) - Allow radius1 as an alias for radius in ol.style.RegularShape ([@bartvde](https://github.com/bartvde))
|
||||||
* [#2980](https://github.com/openlayers/openlayers/pull/2980) - Export ol.source.TileVector#getFeatures in built mode ([@pgiraud](https://github.com/pgiraud))
|
* [#2980](https://github.com/openlayers/ol3/pull/2980) - Export ol.source.TileVector#getFeatures in built mode ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#2979](https://github.com/openlayers/openlayers/pull/2979) - Support OGC srs urns without an EPSG database version ([@bartvde](https://github.com/bartvde))
|
* [#2979](https://github.com/openlayers/ol3/pull/2979) - Support OGC srs urns without an EPSG database version ([@bartvde](https://github.com/bartvde))
|
||||||
* [#2978](https://github.com/openlayers/openlayers/pull/2978) - Fix zoom levels for the MapQuest Street layer ([@ahocevar](https://github.com/ahocevar))
|
* [#2978](https://github.com/openlayers/ol3/pull/2978) - Fix zoom levels for the MapQuest Street layer ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#2889](https://github.com/openlayers/openlayers/pull/2889) - Add GetFeatureInfo format ([@fgravin](https://github.com/fgravin))
|
* [#2889](https://github.com/openlayers/ol3/pull/2889) - Add GetFeatureInfo format ([@fgravin](https://github.com/fgravin))
|
||||||
* [#2965](https://github.com/openlayers/openlayers/pull/2965) - Fix pan with select interaction in mousemove mode. ([@tonio](https://github.com/tonio))
|
* [#2965](https://github.com/openlayers/ol3/pull/2965) - Fix pan with select interaction in mousemove mode. ([@tonio](https://github.com/tonio))
|
||||||
* [#2960](https://github.com/openlayers/openlayers/pull/2960) - LayerGroup extent should be used if extent not set on child layer ([@bartvde](https://github.com/bartvde))
|
* [#2960](https://github.com/openlayers/ol3/pull/2960) - LayerGroup extent should be used if extent not set on child layer ([@bartvde](https://github.com/bartvde))
|
||||||
* [#2956](https://github.com/openlayers/openlayers/pull/2956) - Revert "Remove mousewheel event name workaround" ([@fredj](https://github.com/fredj))
|
* [#2956](https://github.com/openlayers/ol3/pull/2956) - Revert "Remove mousewheel event name workaround" ([@fredj](https://github.com/fredj))
|
||||||
* [#2959](https://github.com/openlayers/openlayers/pull/2959) - Fix typo in selector ([@ahocevar](https://github.com/ahocevar))
|
* [#2959](https://github.com/openlayers/ol3/pull/2959) - Fix typo in selector ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#2895](https://github.com/openlayers/openlayers/pull/2895) - Move font-family customization to layout.css ([@fredj](https://github.com/fredj))
|
* [#2895](https://github.com/openlayers/ol3/pull/2895) - Move font-family customization to layout.css ([@fredj](https://github.com/fredj))
|
||||||
* [#2896](https://github.com/openlayers/openlayers/pull/2896) - Remove duplicated style parameter ([@kalinbas](https://github.com/kalinbas))
|
* [#2896](https://github.com/openlayers/ol3/pull/2896) - Remove duplicated style parameter ([@kalinbas](https://github.com/kalinbas))
|
||||||
* [#2938](https://github.com/openlayers/openlayers/pull/2938) - Additional image static docs. ([@tschaub](https://github.com/tschaub))
|
* [#2938](https://github.com/openlayers/ol3/pull/2938) - Additional image static docs. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2939](https://github.com/openlayers/openlayers/pull/2939) - Make stability checkbox sticky. ([@tschaub](https://github.com/tschaub))
|
* [#2939](https://github.com/openlayers/ol3/pull/2939) - Make stability checkbox sticky. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2949](https://github.com/openlayers/openlayers/pull/2949) - Add ol.ext to hosted dir ([@elemoine](https://github.com/elemoine))
|
* [#2949](https://github.com/openlayers/ol3/pull/2949) - Add ol.ext to hosted dir ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2943](https://github.com/openlayers/openlayers/pull/2943) - Mark applyTransform api stable ([@fredj](https://github.com/fredj))
|
* [#2943](https://github.com/openlayers/ol3/pull/2943) - Mark applyTransform api stable ([@fredj](https://github.com/fredj))
|
||||||
* [#2936](https://github.com/openlayers/openlayers/pull/2936) - Fix unselection of selected features ([@ahocevar](https://github.com/ahocevar))
|
* [#2936](https://github.com/openlayers/ol3/pull/2936) - Fix unselection of selected features ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#2935](https://github.com/openlayers/openlayers/pull/2935) - Fix jsdoc comment ([@geosense](https://github.com/geosense))
|
* [#2935](https://github.com/openlayers/ol3/pull/2935) - Fix jsdoc comment ([@geosense](https://github.com/geosense))
|
||||||
* [#2933](https://github.com/openlayers/openlayers/pull/2933) - Fix compile warning ([@elemoine](https://github.com/elemoine))
|
* [#2933](https://github.com/openlayers/ol3/pull/2933) - Fix compile warning ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2931](https://github.com/openlayers/openlayers/pull/2931) - Improvement to view docs ([@elemoine](https://github.com/elemoine))
|
* [#2931](https://github.com/openlayers/ol3/pull/2931) - Improvement to view docs ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2906](https://github.com/openlayers/openlayers/pull/2906) - Assume a latitude, longitude order for Polyline format ([@fredj](https://github.com/fredj))
|
* [#2906](https://github.com/openlayers/ol3/pull/2906) - Assume a latitude, longitude order for Polyline format ([@fredj](https://github.com/fredj))
|
||||||
* [#2927](https://github.com/openlayers/openlayers/pull/2927) - Make it possible to programmatically finish drawing ([@elemoine](https://github.com/elemoine))
|
* [#2927](https://github.com/openlayers/ol3/pull/2927) - Make it possible to programmatically finish drawing ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2928](https://github.com/openlayers/openlayers/pull/2928) - Do not rename handleMapBrowserEvent internally ([@elemoine](https://github.com/elemoine))
|
* [#2928](https://github.com/openlayers/ol3/pull/2928) - Do not rename handleMapBrowserEvent internally ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2924](https://github.com/openlayers/openlayers/pull/2924) - Readability rearangement in canvasmaprenderer.js ([@gberaudo](https://github.com/gberaudo))
|
* [#2924](https://github.com/openlayers/ol3/pull/2924) - Readability rearangement in canvasmaprenderer.js ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#2911](https://github.com/openlayers/openlayers/pull/2911) - List events fired in the navigation. ([@tschaub](https://github.com/tschaub))
|
* [#2911](https://github.com/openlayers/ol3/pull/2911) - List events fired in the navigation. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2921](https://github.com/openlayers/openlayers/pull/2921) - Small feature overlay optimization ([@gberaudo](https://github.com/gberaudo))
|
* [#2921](https://github.com/openlayers/ol3/pull/2921) - Small feature overlay optimization ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#2897](https://github.com/openlayers/openlayers/pull/2897) - Remove pointerup listener on controls ([@fredj](https://github.com/fredj))
|
* [#2897](https://github.com/openlayers/ol3/pull/2897) - Remove pointerup listener on controls ([@fredj](https://github.com/fredj))
|
||||||
* [#2912](https://github.com/openlayers/openlayers/pull/2912) - jQuery externs update ([@fredj](https://github.com/fredj))
|
* [#2912](https://github.com/openlayers/ol3/pull/2912) - jQuery externs update ([@fredj](https://github.com/fredj))
|
||||||
* [#2888](https://github.com/openlayers/openlayers/pull/2888) - Element boundedBy must not be set as geometry field on GML reading ([@fgravin](https://github.com/fgravin))
|
* [#2888](https://github.com/openlayers/ol3/pull/2888) - Element boundedBy must not be set as geometry field on GML reading ([@fgravin](https://github.com/fgravin))
|
||||||
* [#2903](https://github.com/openlayers/openlayers/pull/2903) - Improved docs for icon options ([@elemoine](https://github.com/elemoine))
|
* [#2903](https://github.com/openlayers/ol3/pull/2903) - Improved docs for icon options ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2900](https://github.com/openlayers/openlayers/pull/2900) - Allow build.js task to add header. ([@tschaub](https://github.com/tschaub))
|
* [#2900](https://github.com/openlayers/ol3/pull/2900) - Allow build.js task to add header. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2893](https://github.com/openlayers/openlayers/pull/2893) - Don't pass an object to goog.dom.createDom for the class name ([@fredj](https://github.com/fredj))
|
* [#2893](https://github.com/openlayers/ol3/pull/2893) - Don't pass an object to goog.dom.createDom for the class name ([@fredj](https://github.com/fredj))
|
||||||
* [#2781](https://github.com/openlayers/openlayers/pull/2781) - Use a standard title attribute for the control buttons ([@fredj](https://github.com/fredj))
|
* [#2781](https://github.com/openlayers/ol3/pull/2781) - Use a standard title attribute for the control buttons ([@fredj](https://github.com/fredj))
|
||||||
* [#2852](https://github.com/openlayers/openlayers/pull/2852) - Add missing space between class names ([@fredj](https://github.com/fredj))
|
* [#2852](https://github.com/openlayers/ol3/pull/2852) - Add missing space between class names ([@fredj](https://github.com/fredj))
|
||||||
* [#2891](https://github.com/openlayers/openlayers/pull/2891) - Introduce a load function for image sources ([@ahocevar](https://github.com/ahocevar))
|
* [#2891](https://github.com/openlayers/ol3/pull/2891) - Introduce a load function for image sources ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#2885](https://github.com/openlayers/openlayers/pull/2885) - Add wrapX option to TileJSON source ([@elemoine](https://github.com/elemoine))
|
* [#2885](https://github.com/openlayers/ol3/pull/2885) - Add wrapX option to TileJSON source ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2890](https://github.com/openlayers/openlayers/pull/2890) - Use correct layer property names ([@elemoine](https://github.com/elemoine))
|
* [#2890](https://github.com/openlayers/ol3/pull/2890) - Use correct layer property names ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2887](https://github.com/openlayers/openlayers/pull/2887) - Explicitly pass coordinate dimension before transforming. ([@tschaub](https://github.com/tschaub))
|
* [#2887](https://github.com/openlayers/ol3/pull/2887) - Explicitly pass coordinate dimension before transforming. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2886](https://github.com/openlayers/openlayers/pull/2886) - Use ternary notation ([@elemoine](https://github.com/elemoine))
|
* [#2886](https://github.com/openlayers/ol3/pull/2886) - Use ternary notation ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2869](https://github.com/openlayers/openlayers/pull/2869) - Export useful xml functions ([@tonio](https://github.com/tonio))
|
* [#2869](https://github.com/openlayers/ol3/pull/2869) - Export useful xml functions ([@tonio](https://github.com/tonio))
|
||||||
* [#2884](https://github.com/openlayers/openlayers/pull/2884) - Make WKT methods throw errors instead of calling a method that throws. ([@tschaub](https://github.com/tschaub))
|
* [#2884](https://github.com/openlayers/ol3/pull/2884) - Make WKT methods throw errors instead of calling a method that throws. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2746](https://github.com/openlayers/openlayers/pull/2746) - Add versioning for GML format ([@fgravin](https://github.com/fgravin))
|
* [#2746](https://github.com/openlayers/ol3/pull/2746) - Add versioning for GML format ([@fgravin](https://github.com/fgravin))
|
||||||
* [#2882](https://github.com/openlayers/openlayers/pull/2882) - Allow olx.source.WMTSOptions#requestEncoding to be a string ([@fredj](https://github.com/fredj))
|
* [#2882](https://github.com/openlayers/ol3/pull/2882) - Allow olx.source.WMTSOptions#requestEncoding to be a string ([@fredj](https://github.com/fredj))
|
||||||
* [#2881](https://github.com/openlayers/openlayers/pull/2881) - Add default requestEncoding in documentation ([@fredj](https://github.com/fredj))
|
* [#2881](https://github.com/openlayers/ol3/pull/2881) - Add default requestEncoding in documentation ([@fredj](https://github.com/fredj))
|
||||||
* [#2877](https://github.com/openlayers/openlayers/pull/2877) - Remove FIXME in src/ol/structs/rbush.js ([@fredj](https://github.com/fredj))
|
* [#2877](https://github.com/openlayers/ol3/pull/2877) - Remove FIXME in src/ol/structs/rbush.js ([@fredj](https://github.com/fredj))
|
||||||
* [#2870](https://github.com/openlayers/openlayers/pull/2870) - Use bulk-insertion for addFeatures ([@tsauerwein](https://github.com/tsauerwein))
|
* [#2870](https://github.com/openlayers/ol3/pull/2870) - Use bulk-insertion for addFeatures ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#2856](https://github.com/openlayers/openlayers/pull/2856) - Allow layer source to be set. ([@tschaub](https://github.com/tschaub))
|
* [#2856](https://github.com/openlayers/ol3/pull/2856) - Allow layer source to be set. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2875](https://github.com/openlayers/openlayers/pull/2875) - Avoid modifying `map.logos_` with each frame. ([@tschaub](https://github.com/tschaub))
|
* [#2875](https://github.com/openlayers/ol3/pull/2875) - Avoid modifying `map.logos_` with each frame. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2874](https://github.com/openlayers/openlayers/pull/2874) - Avoid shrinking logos. ([@tschaub](https://github.com/tschaub))
|
* [#2874](https://github.com/openlayers/ol3/pull/2874) - Avoid shrinking logos. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2872](https://github.com/openlayers/openlayers/pull/2872) - Remove the beforepropertychange event from ol.Object ([@fredj](https://github.com/fredj))
|
* [#2872](https://github.com/openlayers/ol3/pull/2872) - Remove the beforepropertychange event from ol.Object ([@fredj](https://github.com/fredj))
|
||||||
* [#2868](https://github.com/openlayers/openlayers/pull/2868) - Remove doc about dispatching events. ([@tschaub](https://github.com/tschaub))
|
* [#2868](https://github.com/openlayers/ol3/pull/2868) - Remove doc about dispatching events. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2871](https://github.com/openlayers/openlayers/pull/2871) - Make `npm install` a dependency of node based targets. ([@tschaub](https://github.com/tschaub))
|
* [#2871](https://github.com/openlayers/ol3/pull/2871) - Make `npm install` a dependency of node based targets. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2867](https://github.com/openlayers/openlayers/pull/2867) - Support for importing CommonJS style modules (like rbush). ([@openlayers](https://github.com/openlayers))
|
* [#2867](https://github.com/openlayers/ol3/pull/2867) - Support for importing CommonJS style modules (like rbush). ([@openlayers](https://github.com/openlayers))
|
||||||
* [#2865](https://github.com/openlayers/openlayers/pull/2865) - Add old value to property change events ([@elemoine](https://github.com/elemoine))
|
* [#2865](https://github.com/openlayers/ol3/pull/2865) - Add old value to property change events ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2866](https://github.com/openlayers/openlayers/pull/2866) - Cluster source calls loadFeatures on vector source ([@elemoine](https://github.com/elemoine))
|
* [#2866](https://github.com/openlayers/ol3/pull/2866) - Cluster source calls loadFeatures on vector source ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2864](https://github.com/openlayers/openlayers/pull/2864) - Avoid mixed content in Bing Maps (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
* [#2864](https://github.com/openlayers/ol3/pull/2864) - Avoid mixed content in Bing Maps (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
||||||
* [#2855](https://github.com/openlayers/openlayers/pull/2855) - Move touchstart preventDefault to ol.renderer.dom.Map ([@fredj](https://github.com/fredj))
|
* [#2855](https://github.com/openlayers/ol3/pull/2855) - Move touchstart preventDefault to ol.renderer.dom.Map ([@fredj](https://github.com/fredj))
|
||||||
* [#2690](https://github.com/openlayers/openlayers/pull/2690) - Vector rendering with the DOM renderer ([@ahocevar](https://github.com/ahocevar))
|
* [#2690](https://github.com/openlayers/ol3/pull/2690) - Vector rendering with the DOM renderer ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#2859](https://github.com/openlayers/openlayers/pull/2859) - Document exportable vector source symbols. ([@tschaub](https://github.com/tschaub))
|
* [#2859](https://github.com/openlayers/ol3/pull/2859) - Document exportable vector source symbols. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2857](https://github.com/openlayers/openlayers/pull/2857) - Update the OSM attribution. ([@tschaub](https://github.com/tschaub))
|
* [#2857](https://github.com/openlayers/ol3/pull/2857) - Update the OSM attribution. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2847](https://github.com/openlayers/openlayers/pull/2847) - Constrain center in zoomify example ([@elemoine](https://github.com/elemoine))
|
* [#2847](https://github.com/openlayers/ol3/pull/2847) - Constrain center in zoomify example ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2838](https://github.com/openlayers/openlayers/pull/2838) - ol.source.WMTS now passes tileClass option to ol.source.TileImage ([@mike-mcgann](https://github.com/mike-mcgann))
|
* [#2838](https://github.com/openlayers/ol3/pull/2838) - ol.source.WMTS now passes tileClass option to ol.source.TileImage ([@mike-mcgann](https://github.com/mike-mcgann))
|
||||||
* [#2821](https://github.com/openlayers/openlayers/pull/2821) - Add ol.geom.Polygon.fromExtent ([@elemoine](https://github.com/elemoine))
|
* [#2821](https://github.com/openlayers/ol3/pull/2821) - Add ol.geom.Polygon.fromExtent ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2835](https://github.com/openlayers/openlayers/pull/2835) - Use correct Stamen URL for SSL. ([@j16sdiz](https://github.com/j16sdiz))
|
* [#2835](https://github.com/openlayers/ol3/pull/2835) - Use correct Stamen URL for SSL. ([@j16sdiz](https://github.com/j16sdiz))
|
||||||
* [#2839](https://github.com/openlayers/openlayers/pull/2839) - Dependency updates and new package name. ([@tschaub](https://github.com/tschaub))
|
* [#2839](https://github.com/openlayers/ol3/pull/2839) - Dependency updates and new package name. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2840](https://github.com/openlayers/openlayers/pull/2840) - Fewer point resolution tests. ([@tschaub](https://github.com/tschaub))
|
* [#2840](https://github.com/openlayers/ol3/pull/2840) - Fewer point resolution tests. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2836](https://github.com/openlayers/openlayers/pull/2836) - Give priority to feature's style instead of source's style ([@oterral](https://github.com/oterral))
|
* [#2836](https://github.com/openlayers/ol3/pull/2836) - Give priority to feature's style instead of source's style ([@oterral](https://github.com/oterral))
|
||||||
* [#2834](https://github.com/openlayers/openlayers/pull/2834) - Use ADVANCED instead of ADVANCED_OPTIMIZATIONS ([@fredj](https://github.com/fredj))
|
* [#2834](https://github.com/openlayers/ol3/pull/2834) - Use ADVANCED instead of ADVANCED_OPTIMIZATIONS ([@fredj](https://github.com/fredj))
|
||||||
* [#2833](https://github.com/openlayers/openlayers/pull/2833) - Avoid too many files open with graceful-fs@3.0.3. ([@tschaub](https://github.com/tschaub))
|
* [#2833](https://github.com/openlayers/ol3/pull/2833) - Avoid too many files open with graceful-fs@3.0.3. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2829](https://github.com/openlayers/openlayers/pull/2829) - Zoom slider refactor. ([@tschaub](https://github.com/tschaub))
|
* [#2829](https://github.com/openlayers/ol3/pull/2829) - Zoom slider refactor. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2757](https://github.com/openlayers/openlayers/pull/2757) - Clear the canvas on layer extent changes. ([@tschaub](https://github.com/tschaub))
|
* [#2757](https://github.com/openlayers/ol3/pull/2757) - Clear the canvas on layer extent changes. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2796](https://github.com/openlayers/openlayers/pull/2796) - Determine image size on load. ([@tschaub](https://github.com/tschaub))
|
* [#2796](https://github.com/openlayers/ol3/pull/2796) - Determine image size on load. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2825](https://github.com/openlayers/openlayers/pull/2825) - Change comments for examples_star_json build target ([@elemoine](https://github.com/elemoine))
|
* [#2825](https://github.com/openlayers/ol3/pull/2825) - Change comments for examples_star_json build target ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2822](https://github.com/openlayers/openlayers/pull/2822) - Remove obsolete comment ([@gingerik](https://github.com/gingerik))
|
* [#2822](https://github.com/openlayers/ol3/pull/2822) - Remove obsolete comment ([@gingerik](https://github.com/gingerik))
|
||||||
* [#2769](https://github.com/openlayers/openlayers/pull/2769) - OverviewMap control ([@adube](https://github.com/adube))
|
* [#2769](https://github.com/openlayers/ol3/pull/2769) - OverviewMap control ([@adube](https://github.com/adube))
|
||||||
* [#2820](https://github.com/openlayers/openlayers/pull/2820) - Add parsing of LabelStyle in KML format ([@oterral](https://github.com/oterral))
|
* [#2820](https://github.com/openlayers/ol3/pull/2820) - Add parsing of LabelStyle in KML format ([@oterral](https://github.com/oterral))
|
||||||
* [#2819](https://github.com/openlayers/openlayers/pull/2819) - Improvements to the xyz-esri-4326-512 example ([@elemoine](https://github.com/elemoine))
|
* [#2819](https://github.com/openlayers/ol3/pull/2819) - Improvements to the xyz-esri-4326-512 example ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2743](https://github.com/openlayers/openlayers/pull/2743) - Handle ol.interaction.Draw activation/deactivation ([@elemoine](https://github.com/elemoine))
|
* [#2743](https://github.com/openlayers/ol3/pull/2743) - Handle ol.interaction.Draw activation/deactivation ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2816](https://github.com/openlayers/openlayers/pull/2816) - Exit on check-examples failure ([@gberaudo](https://github.com/gberaudo))
|
* [#2816](https://github.com/openlayers/ol3/pull/2816) - Exit on check-examples failure ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#2794](https://github.com/openlayers/openlayers/pull/2794) - Add ol.Observable.unByKey ([@elemoine](https://github.com/elemoine))
|
* [#2794](https://github.com/openlayers/ol3/pull/2794) - Add ol.Observable.unByKey ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2815](https://github.com/openlayers/openlayers/pull/2815) - Fix jquery.min.js path in xyz-esri-4326-512 example ([@fredj](https://github.com/fredj))
|
* [#2815](https://github.com/openlayers/ol3/pull/2815) - Fix jquery.min.js path in xyz-esri-4326-512 example ([@fredj](https://github.com/fredj))
|
||||||
* [#2756](https://github.com/openlayers/openlayers/pull/2756) - Add an example for using an Esri 512x512 tile server in EPSG:4326 (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
* [#2756](https://github.com/openlayers/ol3/pull/2756) - Add an example for using an Esri 512x512 tile server in EPSG:4326 (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
||||||
* [#2814](https://github.com/openlayers/openlayers/pull/2814) - Add missing whitespaces in CSS calc ([@fredj](https://github.com/fredj))
|
* [#2814](https://github.com/openlayers/ol3/pull/2814) - Add missing whitespaces in CSS calc ([@fredj](https://github.com/fredj))
|
||||||
* [#2811](https://github.com/openlayers/openlayers/pull/2811) - Remove defaultProjection and object from typedef ([@fredj](https://github.com/fredj))
|
* [#2811](https://github.com/openlayers/ol3/pull/2811) - Remove defaultProjection and object from typedef ([@fredj](https://github.com/fredj))
|
||||||
* [#2779](https://github.com/openlayers/openlayers/pull/2779) - Update jQuery to 1.9.1 ([@fredj](https://github.com/fredj))
|
* [#2779](https://github.com/openlayers/ol3/pull/2779) - Update jQuery to 1.9.1 ([@fredj](https://github.com/fredj))
|
||||||
* [#2810](https://github.com/openlayers/openlayers/pull/2810) - Remove unused properties from olx.source.TileVectorOptions ([@pagameba](https://github.com/pagameba))
|
* [#2810](https://github.com/openlayers/ol3/pull/2810) - Remove unused properties from olx.source.TileVectorOptions ([@pagameba](https://github.com/pagameba))
|
||||||
* [#2808](https://github.com/openlayers/openlayers/pull/2808) - Remove reprojectTo option from olx.source.OSMXMLOptions ([@fredj](https://github.com/fredj))
|
* [#2808](https://github.com/openlayers/ol3/pull/2808) - Remove reprojectTo option from olx.source.OSMXMLOptions ([@fredj](https://github.com/fredj))
|
||||||
* [#2809](https://github.com/openlayers/openlayers/pull/2809) - Miscellaneous controls cleanups ([@fredj](https://github.com/fredj))
|
* [#2809](https://github.com/openlayers/ol3/pull/2809) - Miscellaneous controls cleanups ([@fredj](https://github.com/fredj))
|
||||||
* [#2805](https://github.com/openlayers/openlayers/pull/2805) - Enable subclassing Interaction in public API ([@sweco-sebhar](https://github.com/sweco-sebhar))
|
* [#2805](https://github.com/openlayers/ol3/pull/2805) - Enable subclassing Interaction in public API ([@sweco-sebhar](https://github.com/sweco-sebhar))
|
||||||
* [#2798](https://github.com/openlayers/openlayers/pull/2798) - Update closure-util to version 1.0.0 ([@fredj](https://github.com/fredj))
|
* [#2798](https://github.com/openlayers/ol3/pull/2798) - Update closure-util to version 1.0.0 ([@fredj](https://github.com/fredj))
|
||||||
* [#2785](https://github.com/openlayers/openlayers/pull/2785) - Use goog.* types in externs ([@ahocevar](https://github.com/ahocevar))
|
* [#2785](https://github.com/openlayers/ol3/pull/2785) - Use goog.* types in externs ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#2795](https://github.com/openlayers/openlayers/pull/2795) - Externs ([@gingerik](https://github.com/gingerik))
|
* [#2795](https://github.com/openlayers/ol3/pull/2795) - Externs ([@gingerik](https://github.com/gingerik))
|
||||||
* [#2792](https://github.com/openlayers/openlayers/pull/2792) - Use valid mediatype for GPX export. ([@pgiraud](https://github.com/pgiraud))
|
* [#2792](https://github.com/openlayers/ol3/pull/2792) - Use valid mediatype for GPX export. ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#2784](https://github.com/openlayers/openlayers/pull/2784) - Add 'tooltip'-tag to KML example. ([@marcjansen](https://github.com/marcjansen))
|
* [#2784](https://github.com/openlayers/ol3/pull/2784) - Add 'tooltip'-tag to KML example. ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#2782](https://github.com/openlayers/openlayers/pull/2782) - Hide the rotate control when the rotation is 0 ([@fredj](https://github.com/fredj))
|
* [#2782](https://github.com/openlayers/ol3/pull/2782) - Hide the rotate control when the rotation is 0 ([@fredj](https://github.com/fredj))
|
||||||
* [#2774](https://github.com/openlayers/openlayers/pull/2774) - Remove unused distinctFeatures object in ol.interaction.Modify#handlePointerDown ([@fredj](https://github.com/fredj))
|
* [#2774](https://github.com/openlayers/ol3/pull/2774) - Remove unused distinctFeatures object in ol.interaction.Modify#handlePointerDown ([@fredj](https://github.com/fredj))
|
||||||
* [#2771](https://github.com/openlayers/openlayers/pull/2771) - Allow package to be published in npm registry. ([@tschaub](https://github.com/tschaub))
|
* [#2771](https://github.com/openlayers/ol3/pull/2771) - Allow package to be published in npm registry. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2773](https://github.com/openlayers/openlayers/pull/2773) - Type-related changes to ol.style.Image ([@elemoine](https://github.com/elemoine))
|
* [#2773](https://github.com/openlayers/ol3/pull/2773) - Type-related changes to ol.style.Image ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2751](https://github.com/openlayers/openlayers/pull/2751) - Export constructors and options of ol.source.Source children ([@gberaudo](https://github.com/gberaudo))
|
* [#2751](https://github.com/openlayers/ol3/pull/2751) - Export constructors and options of ol.source.Source children ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#2772](https://github.com/openlayers/openlayers/pull/2772) - Rename updatefeature event to changefeature ([@fredj](https://github.com/fredj))
|
* [#2772](https://github.com/openlayers/ol3/pull/2772) - Rename updatefeature event to changefeature ([@fredj](https://github.com/fredj))
|
||||||
* [#2766](https://github.com/openlayers/openlayers/pull/2766) - Make interaction "active" an ol.Object property ([@elemoine](https://github.com/elemoine))
|
* [#2766](https://github.com/openlayers/ol3/pull/2766) - Make interaction "active" an ol.Object property ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2765](https://github.com/openlayers/openlayers/pull/2765) - Treat unknown opt types as Object in ol externs ([@elemoine](https://github.com/elemoine))
|
* [#2765](https://github.com/openlayers/ol3/pull/2765) - Treat unknown opt types as Object in ol externs ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2759](https://github.com/openlayers/openlayers/pull/2759) - Fix test failures. ([@tschaub](https://github.com/tschaub))
|
* [#2759](https://github.com/openlayers/ol3/pull/2759) - Fix test failures. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2762](https://github.com/openlayers/openlayers/pull/2762) - Report test failures to the console. ([@tschaub](https://github.com/tschaub))
|
* [#2762](https://github.com/openlayers/ol3/pull/2762) - Report test failures to the console. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2768](https://github.com/openlayers/openlayers/pull/2768) - Write the function name correctly in the doc. ([@xamgreen](https://github.com/xamgreen))
|
* [#2768](https://github.com/openlayers/ol3/pull/2768) - Write the function name correctly in the doc. ([@xamgreen](https://github.com/xamgreen))
|
||||||
* [#2764](https://github.com/openlayers/openlayers/pull/2764) - Remove rtree example ([@fredj](https://github.com/fredj))
|
* [#2764](https://github.com/openlayers/ol3/pull/2764) - Remove rtree example ([@fredj](https://github.com/fredj))
|
||||||
* [#2763](https://github.com/openlayers/openlayers/pull/2763) - Miscellaneous coding style and typo fixes ([@fredj](https://github.com/fredj))
|
* [#2763](https://github.com/openlayers/ol3/pull/2763) - Miscellaneous coding style and typo fixes ([@fredj](https://github.com/fredj))
|
||||||
* [#2758](https://github.com/openlayers/openlayers/pull/2758) - Correctly generate child tile ranges for XYZ tiles. ([@tschaub](https://github.com/tschaub))
|
* [#2758](https://github.com/openlayers/ol3/pull/2758) - Correctly generate child tile ranges for XYZ tiles. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2734](https://github.com/openlayers/openlayers/pull/2734) - Add maxZoom option to BingMaps ([@elemoine](https://github.com/elemoine))
|
* [#2734](https://github.com/openlayers/ol3/pull/2734) - Add maxZoom option to BingMaps ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2752](https://github.com/openlayers/openlayers/pull/2752) - Call loadFeatures from ol.source.ImageVector ([@elemoine](https://github.com/elemoine))
|
* [#2752](https://github.com/openlayers/ol3/pull/2752) - Call loadFeatures from ol.source.ImageVector ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2658](https://github.com/openlayers/openlayers/pull/2658) - Set inherited values when parsing a GetCapabilities ([@oterral](https://github.com/oterral))
|
* [#2658](https://github.com/openlayers/ol3/pull/2658) - Set inherited values when parsing a GetCapabilities ([@oterral](https://github.com/oterral))
|
||||||
* [#2750](https://github.com/openlayers/openlayers/pull/2750) - Export ol.layer.Base ([@fredj](https://github.com/fredj))
|
* [#2750](https://github.com/openlayers/ol3/pull/2750) - Export ol.layer.Base ([@fredj](https://github.com/fredj))
|
||||||
* [#2749](https://github.com/openlayers/openlayers/pull/2749) - Export ol.source.Source ([@fredj](https://github.com/fredj))
|
* [#2749](https://github.com/openlayers/ol3/pull/2749) - Export ol.source.Source ([@fredj](https://github.com/fredj))
|
||||||
* [#2742](https://github.com/openlayers/openlayers/pull/2742) - Dispatch an 'updatefeature' from the vector source ([@fredj](https://github.com/fredj))
|
* [#2742](https://github.com/openlayers/ol3/pull/2742) - Dispatch an 'updatefeature' from the vector source ([@fredj](https://github.com/fredj))
|
||||||
* [#2747](https://github.com/openlayers/openlayers/pull/2747) - Fix incorrect web address. ([@lazaruslarue](https://github.com/lazaruslarue))
|
* [#2747](https://github.com/openlayers/ol3/pull/2747) - Fix incorrect web address. ([@lazaruslarue](https://github.com/lazaruslarue))
|
||||||
* [#2745](https://github.com/openlayers/openlayers/pull/2745) - DragBox Interaction: getGeometry return type can be ol.geom.Polygon (r=@fredj) ([@bartvde](https://github.com/bartvde))
|
* [#2745](https://github.com/openlayers/ol3/pull/2745) - DragBox Interaction: getGeometry return type can be ol.geom.Polygon (r=@fredj) ([@bartvde](https://github.com/bartvde))
|
||||||
* [#2744](https://github.com/openlayers/openlayers/pull/2744) - Fix ol.Feature 'change' event documentation ([@fredj](https://github.com/fredj))
|
* [#2744](https://github.com/openlayers/ol3/pull/2744) - Fix ol.Feature 'change' event documentation ([@fredj](https://github.com/fredj))
|
||||||
* [#2741](https://github.com/openlayers/openlayers/pull/2741) - issue with reading scientific notation coordinates in ol.format.GML (r=@fredj) ([@bartvde](https://github.com/bartvde))
|
* [#2741](https://github.com/openlayers/ol3/pull/2741) - issue with reading scientific notation coordinates in ol.format.GML (r=@fredj) ([@bartvde](https://github.com/bartvde))
|
||||||
* [#2739](https://github.com/openlayers/openlayers/pull/2739) - Revert "Function circular renamed to createCircularOnSphere" ([@elemoine](https://github.com/elemoine))
|
* [#2739](https://github.com/openlayers/ol3/pull/2739) - Revert "Function circular renamed to createCircularOnSphere" ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2616](https://github.com/openlayers/openlayers/pull/2616) - Target for attribution links differs between maps ([@fredj](https://github.com/fredj))
|
* [#2616](https://github.com/openlayers/ol3/pull/2616) - Target for attribution links differs between maps ([@fredj](https://github.com/fredj))
|
||||||
* [#2740](https://github.com/openlayers/openlayers/pull/2740) - Make interactions activable and deactivable ([@elemoine](https://github.com/elemoine))
|
* [#2740](https://github.com/openlayers/ol3/pull/2740) - Make interactions activable and deactivable ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2727](https://github.com/openlayers/openlayers/pull/2727) - Rename ol.geom.Polygon#circular to createCircularOnSphere ([@elemoine](https://github.com/elemoine))
|
* [#2727](https://github.com/openlayers/ol3/pull/2727) - Rename ol.geom.Polygon#circular to createCircularOnSphere ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2730](https://github.com/openlayers/openlayers/pull/2730) - Do not call toLowerCase when forming a change:property event ([@elemoine](https://github.com/elemoine))
|
* [#2730](https://github.com/openlayers/ol3/pull/2730) - Do not call toLowerCase when forming a change:property event ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2728](https://github.com/openlayers/openlayers/pull/2728) - Mark `ol.extent.getIntersection` as stable. ([@tschaub](https://github.com/tschaub))
|
* [#2728](https://github.com/openlayers/ol3/pull/2728) - Mark `ol.extent.getIntersection` as stable. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#2726](https://github.com/openlayers/openlayers/pull/2726) - Make ol.Feature#setStyle accept null ([@elemoine](https://github.com/elemoine))
|
* [#2726](https://github.com/openlayers/ol3/pull/2726) - Make ol.Feature#setStyle accept null ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2724](https://github.com/openlayers/openlayers/pull/2724) - Error when compiling individual example ([@fredj](https://github.com/fredj))
|
* [#2724](https://github.com/openlayers/ol3/pull/2724) - Error when compiling individual example ([@fredj](https://github.com/fredj))
|
||||||
* [#1959](https://github.com/openlayers/openlayers/pull/1959) - Add a feature box selection example ([@elemoine](https://github.com/elemoine))
|
* [#1959](https://github.com/openlayers/ol3/pull/1959) - Add a feature box selection example ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2722](https://github.com/openlayers/openlayers/pull/2722) - Make ol.Map#setView do not accept undefined ([@elemoine](https://github.com/elemoine))
|
* [#2722](https://github.com/openlayers/ol3/pull/2722) - Make ol.Map#setView do not accept undefined ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2696](https://github.com/openlayers/openlayers/pull/2696) - Consistent circle transform. ([@gberaudo](https://github.com/gberaudo))
|
* [#2696](https://github.com/openlayers/ol3/pull/2696) - Consistent circle transform. ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#2717](https://github.com/openlayers/openlayers/pull/2717) - Change the control visibility by using css class ([@fredj](https://github.com/fredj))
|
* [#2717](https://github.com/openlayers/ol3/pull/2717) - Change the control visibility by using css class ([@fredj](https://github.com/fredj))
|
||||||
* [#2715](https://github.com/openlayers/openlayers/pull/2715) - Add an EPSG:3857 map to Tissot example ([@elemoine](https://github.com/elemoine))
|
* [#2715](https://github.com/openlayers/ol3/pull/2715) - Add an EPSG:3857 map to Tissot example ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2714](https://github.com/openlayers/openlayers/pull/2714) - Set the opacity directly to element.style.opacity ([@fredj](https://github.com/fredj))
|
* [#2714](https://github.com/openlayers/ol3/pull/2714) - Set the opacity directly to element.style.opacity ([@fredj](https://github.com/fredj))
|
||||||
* [#2647](https://github.com/openlayers/openlayers/pull/2647) - Upgrade closure library version ([@fredj](https://github.com/fredj))
|
* [#2647](https://github.com/openlayers/ol3/pull/2647) - Upgrade closure library version ([@fredj](https://github.com/fredj))
|
||||||
* [#2549](https://github.com/openlayers/openlayers/pull/2549) - Use goog.array.ASSUME_NATIVE_FUNCTIONS define ([@fredj](https://github.com/fredj))
|
* [#2549](https://github.com/openlayers/ol3/pull/2549) - Use goog.array.ASSUME_NATIVE_FUNCTIONS define ([@fredj](https://github.com/fredj))
|
||||||
* [#2711](https://github.com/openlayers/openlayers/pull/2711) - Remove Google Maps example ([@elemoine](https://github.com/elemoine))
|
* [#2711](https://github.com/openlayers/ol3/pull/2711) - Remove Google Maps example ([@elemoine](https://github.com/elemoine))
|
||||||
* [#2684](https://github.com/openlayers/openlayers/pull/2684) - Rename ol.Observable#dispatchChangeEvent() to #changed() ([@ahocevar](https://github.com/ahocevar))
|
* [#2684](https://github.com/openlayers/ol3/pull/2684) - Rename ol.Observable#dispatchChangeEvent() to #changed() ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#2678](https://github.com/openlayers/openlayers/pull/2678) - Mutable symbolizer properties for styles ([@ahocevar](https://github.com/ahocevar))
|
* [#2678](https://github.com/openlayers/ol3/pull/2678) - Mutable symbolizer properties for styles ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#2568](https://github.com/openlayers/openlayers/pull/2568) - re-implement auto-configure code for ol.format.GML (r=@ahocevar) ([@bartvde](https://github.com/bartvde))
|
* [#2568](https://github.com/openlayers/ol3/pull/2568) - re-implement auto-configure code for ol.format.GML (r=@ahocevar) ([@bartvde](https://github.com/bartvde))
|
||||||
* [#2704](https://github.com/openlayers/openlayers/pull/2704) - Use pool thread for calling bin/check-example.js. ([@gberaudo](https://github.com/gberaudo))
|
* [#2704](https://github.com/openlayers/ol3/pull/2704) - Use pool thread for calling bin/check-example.js. ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#2698](https://github.com/openlayers/openlayers/pull/2698) - StaticVector is not an abstract base class ([@ahocevar](https://github.com/ahocevar))
|
* [#2698](https://github.com/openlayers/ol3/pull/2698) - StaticVector is not an abstract base class ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#2702](https://github.com/openlayers/openlayers/pull/2702) - Add vector layer in export-map example ([@fredj](https://github.com/fredj))
|
* [#2702](https://github.com/openlayers/ol3/pull/2702) - Add vector layer in export-map example ([@fredj](https://github.com/fredj))
|
||||||
* [#2687](https://github.com/openlayers/openlayers/pull/2687) - Use ol.LEGACY_IE_SUPPORT and ol.IS_LEGACY_IE define ([@fredj](https://github.com/fredj))
|
* [#2687](https://github.com/openlayers/ol3/pull/2687) - Use ol.LEGACY_IE_SUPPORT and ol.IS_LEGACY_IE define ([@fredj](https://github.com/fredj))
|
||||||
* [#2675](https://github.com/openlayers/openlayers/pull/2675) - Remove undefined from ol.Map#getLayers return type ([@fredj](https://github.com/fredj))
|
* [#2675](https://github.com/openlayers/ol3/pull/2675) - Remove undefined from ol.Map#getLayers return type ([@fredj](https://github.com/fredj))
|
||||||
* [#2692](https://github.com/openlayers/openlayers/pull/2692) - Unset z-index in overlay example ([@fredj](https://github.com/fredj))
|
* [#2692](https://github.com/openlayers/ol3/pull/2692) - Unset z-index in overlay example ([@fredj](https://github.com/fredj))
|
||||||
* [#2681](https://github.com/openlayers/openlayers/pull/2681) - Make tileSize a config option for ol.source.XYZ ([@ahocevar](https://github.com/ahocevar))
|
* [#2681](https://github.com/openlayers/ol3/pull/2681) - Make tileSize a config option for ol.source.XYZ ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#2534](https://github.com/openlayers/openlayers/pull/2534) - Document ol.geom.Polygon#getLinearRing function ([@fredj](https://github.com/fredj))
|
* [#2534](https://github.com/openlayers/ol3/pull/2534) - Document ol.geom.Polygon#getLinearRing function ([@fredj](https://github.com/fredj))
|
||||||
* [#2677](https://github.com/openlayers/openlayers/pull/2677) - Add TextStyle offsets getters to API. ([@gberaudo](https://github.com/gberaudo))
|
* [#2677](https://github.com/openlayers/ol3/pull/2677) - Add TextStyle offsets getters to API. ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#2676](https://github.com/openlayers/openlayers/pull/2676) - ol.FeatureOverlay: use the feature style if defined ([@fredj](https://github.com/fredj))
|
* [#2676](https://github.com/openlayers/ol3/pull/2676) - ol.FeatureOverlay: use the feature style if defined ([@fredj](https://github.com/fredj))
|
||||||
* [#2656](https://github.com/openlayers/openlayers/pull/2656) - Set ol.layer.Image#getSource return type to ol.source.Image ([@fredj](https://github.com/fredj))
|
* [#2656](https://github.com/openlayers/ol3/pull/2656) - Set ol.layer.Image#getSource return type to ol.source.Image ([@fredj](https://github.com/fredj))
|
||||||
* [#2651](https://github.com/openlayers/openlayers/pull/2651) - ol.layer.Vector.getSource return type specialisation. ([@gberaudo](https://github.com/gberaudo))
|
* [#2651](https://github.com/openlayers/ol3/pull/2651) - ol.layer.Vector.getSource return type specialisation. ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#2669](https://github.com/openlayers/openlayers/pull/2669) - Revert "snapshot" ([@fredj](https://github.com/fredj))
|
* [#2669](https://github.com/openlayers/ol3/pull/2669) - Revert "snapshot" ([@fredj](https://github.com/fredj))
|
||||||
* [#2663](https://github.com/openlayers/openlayers/pull/2663) - Set tracking property to false on geolocation error ([@fredj](https://github.com/fredj))
|
* [#2663](https://github.com/openlayers/ol3/pull/2663) - Set tracking property to false on geolocation error ([@fredj](https://github.com/fredj))
|
||||||
* [#2662](https://github.com/openlayers/openlayers/pull/2662) - Delegate transformation in ol.source.FormatVector#readFeatures to `ol.format.*` ([@gingerik](https://github.com/gingerik))
|
* [#2662](https://github.com/openlayers/ol3/pull/2662) - Delegate transformation in ol.source.FormatVector#readFeatures to `ol.format.*` ([@gingerik](https://github.com/gingerik))
|
||||||
* [#2447](https://github.com/openlayers/openlayers/pull/2447) - Correct documentation typo. ([@lazaruslarue](https://github.com/lazaruslarue))
|
* [#2447](https://github.com/openlayers/ol3/pull/2447) - Correct documentation typo. ([@lazaruslarue](https://github.com/lazaruslarue))
|
||||||
* [#2660](https://github.com/openlayers/openlayers/pull/2660) - New domain in the build header ([@elemoine](https://github.com/elemoine))
|
* [#2660](https://github.com/openlayers/ol3/pull/2660) - New domain in the build header ([@elemoine](https://github.com/elemoine))
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ This is a patch release to fix an issue with the select interaction in the 3.1.0
|
|||||||
|
|
||||||
## Changes
|
## Changes
|
||||||
|
|
||||||
* [#3082](https://github.com/openlayers/openlayers/pull/3082) - Correct arguments for forEachGeometryAtPixel. ([@tschaub](https://github.com/tschaub))
|
* [#3082](https://github.com/openlayers/ol3/pull/3082) - Correct arguments for forEachGeometryAtPixel. ([@tschaub](https://github.com/tschaub))
|
||||||
|
|||||||
@@ -26,68 +26,68 @@ If you are building an appliction that supports Internet Explorer 8 or older, yo
|
|||||||
|
|
||||||
## New features and fixes
|
## New features and fixes
|
||||||
|
|
||||||
* [#4237](https://github.com/openlayers/openlayers/pull/4237) - #3328: GML3 - Writing features with multiple geometries ([@awaterme](https://github.com/awaterme))
|
* [#4237](https://github.com/openlayers/ol3/pull/4237) - #3328: GML3 - Writing features with multiple geometries ([@awaterme](https://github.com/awaterme))
|
||||||
* [#4218](https://github.com/openlayers/openlayers/pull/4218) - Add 'getLayer()' method to 'ol.interaction.Select' ([@jonataswalker](https://github.com/jonataswalker))
|
* [#4218](https://github.com/openlayers/ol3/pull/4218) - Add 'getLayer()' method to 'ol.interaction.Select' ([@jonataswalker](https://github.com/jonataswalker))
|
||||||
* [#4036](https://github.com/openlayers/openlayers/pull/4036) - Fix modify interaction event order ([@alvinlindstam](https://github.com/alvinlindstam))
|
* [#4036](https://github.com/openlayers/ol3/pull/4036) - Fix modify interaction event order ([@alvinlindstam](https://github.com/alvinlindstam))
|
||||||
* [#4036](https://github.com/openlayers/openlayers/pull/4036) - Fix modify interaction event order ([@alvinlindstam](https://github.com/alvinlindstam))
|
* [#4036](https://github.com/openlayers/ol3/pull/4036) - Fix modify interaction event order ([@alvinlindstam](https://github.com/alvinlindstam))
|
||||||
* [#4116](https://github.com/openlayers/openlayers/pull/4116) - Make ol.control.OverviewMap's view configurable ([@ahocevar](https://github.com/ahocevar))
|
* [#4116](https://github.com/openlayers/ol3/pull/4116) - Make ol.control.OverviewMap's view configurable ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4234](https://github.com/openlayers/openlayers/pull/4234) - Support OGC WKT proj4 def.units and def.to_meter ([@tbarsballe](https://github.com/tbarsballe))
|
* [#4234](https://github.com/openlayers/ol3/pull/4234) - Support OGC WKT proj4 def.units and def.to_meter ([@tbarsballe](https://github.com/tbarsballe))
|
||||||
* [#4224](https://github.com/openlayers/openlayers/pull/4224) - Don't transform the angle into degrees to rotate the element ([@fredj](https://github.com/fredj))
|
* [#4224](https://github.com/openlayers/ol3/pull/4224) - Don't transform the angle into degrees to rotate the element ([@fredj](https://github.com/fredj))
|
||||||
* [#4231](https://github.com/openlayers/openlayers/pull/4231) - Revert "Merge pull request #4217 from ThomasG77/clipboardjs-replacement" ([@ahocevar](https://github.com/ahocevar))
|
* [#4231](https://github.com/openlayers/ol3/pull/4231) - Revert "Merge pull request #4217 from ThomasG77/clipboardjs-replacement" ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4217](https://github.com/openlayers/openlayers/pull/4217) - Replace ZeroClipboard with Clipboard.js to remove flash dependency ([@ThomasG77](https://github.com/ThomasG77))
|
* [#4217](https://github.com/openlayers/ol3/pull/4217) - Replace ZeroClipboard with Clipboard.js to remove flash dependency ([@ThomasG77](https://github.com/ThomasG77))
|
||||||
* [#4223](https://github.com/openlayers/openlayers/pull/4223) - Remove goog.fx.easing ([@fredj](https://github.com/fredj))
|
* [#4223](https://github.com/openlayers/ol3/pull/4223) - Remove goog.fx.easing ([@fredj](https://github.com/fredj))
|
||||||
* [#4222](https://github.com/openlayers/openlayers/pull/4222) - Remove unnecessary cast ([@fredj](https://github.com/fredj))
|
* [#4222](https://github.com/openlayers/ol3/pull/4222) - Remove unnecessary cast ([@fredj](https://github.com/fredj))
|
||||||
* [#4209](https://github.com/openlayers/openlayers/pull/4209) - Remove goog.string.remove ([@gberaudo](https://github.com/gberaudo))
|
* [#4209](https://github.com/openlayers/ol3/pull/4209) - Remove goog.string.remove ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#4207](https://github.com/openlayers/openlayers/pull/4207) - Remove goog.string.startsWith ([@gberaudo](https://github.com/gberaudo))
|
* [#4207](https://github.com/openlayers/ol3/pull/4207) - Remove goog.string.startsWith ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#4208](https://github.com/openlayers/openlayers/pull/4208) - Remove goog.string.trim() ([@gberaudo](https://github.com/gberaudo))
|
* [#4208](https://github.com/openlayers/ol3/pull/4208) - Remove goog.string.trim() ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#4216](https://github.com/openlayers/openlayers/pull/4216) - Fix canvas replay which broke with 31a68e2 ([@ahocevar](https://github.com/ahocevar))
|
* [#4216](https://github.com/openlayers/ol3/pull/4216) - Fix canvas replay which broke with 31a68e2 ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4202](https://github.com/openlayers/openlayers/pull/4202) - Remove use of goog.dom.appendChild ([@fredj](https://github.com/fredj))
|
* [#4202](https://github.com/openlayers/ol3/pull/4202) - Remove use of goog.dom.appendChild ([@fredj](https://github.com/fredj))
|
||||||
* [#4205](https://github.com/openlayers/openlayers/pull/4205) - Minor cleanup ([@fredj](https://github.com/fredj))
|
* [#4205](https://github.com/openlayers/ol3/pull/4205) - Minor cleanup ([@fredj](https://github.com/fredj))
|
||||||
* [#4203](https://github.com/openlayers/openlayers/pull/4203) - Cosmetic changes to example html / css ([@marcjansen](https://github.com/marcjansen))
|
* [#4203](https://github.com/openlayers/ol3/pull/4203) - Cosmetic changes to example html / css ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4184](https://github.com/openlayers/openlayers/pull/4184) - Adjust iframe's position of GetFeatureInfo examples ([@jonataswalker](https://github.com/jonataswalker))
|
* [#4184](https://github.com/openlayers/ol3/pull/4184) - Adjust iframe's position of GetFeatureInfo examples ([@jonataswalker](https://github.com/jonataswalker))
|
||||||
* [#4192](https://github.com/openlayers/openlayers/pull/4192) - Remove use of goog.isNull in favor of simple truthy checks ([@marcjansen](https://github.com/marcjansen))
|
* [#4192](https://github.com/openlayers/ol3/pull/4192) - Remove use of goog.isNull in favor of simple truthy checks ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4187](https://github.com/openlayers/openlayers/pull/4187) - Fix {-y} template calculation for custom (TMS) tile grids ([@ahocevar](https://github.com/ahocevar))
|
* [#4187](https://github.com/openlayers/ol3/pull/4187) - Fix {-y} template calculation for custom (TMS) tile grids ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4176](https://github.com/openlayers/openlayers/pull/4176) - Remove use of goog.isDefAndNotNull().
|
* [#4176](https://github.com/openlayers/ol3/pull/4176) - Remove use of goog.isDefAndNotNull().
|
||||||
([@tschaub](https://github.com/tschaub))
|
([@tschaub](https://github.com/tschaub))
|
||||||
* [#4200](https://github.com/openlayers/openlayers/pull/4200) - Do not use goog.object.get ([@marcjansen](https://github.com/marcjansen))
|
* [#4200](https://github.com/openlayers/ol3/pull/4200) - Do not use goog.object.get ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4198](https://github.com/openlayers/openlayers/pull/4198) - Improve ol.control.Rotate.prototype.resetNorth_ performance ([@denilsonsa](https://github.com/denilsonsa))
|
* [#4198](https://github.com/openlayers/ol3/pull/4198) - Improve ol.control.Rotate.prototype.resetNorth_ performance ([@denilsonsa](https://github.com/denilsonsa))
|
||||||
* [#4197](https://github.com/openlayers/openlayers/pull/4197) - Remove blur action on MOUSEOUT on Zoom Out button ([@denilsonsa](https://github.com/denilsonsa))
|
* [#4197](https://github.com/openlayers/ol3/pull/4197) - Remove blur action on MOUSEOUT on Zoom Out button ([@denilsonsa](https://github.com/denilsonsa))
|
||||||
* [#4195](https://github.com/openlayers/openlayers/pull/4195) - #4171: Prefer current layout as default on MultiLineString.setLineStrings() ([@awaterme](https://github.com/awaterme))
|
* [#4195](https://github.com/openlayers/ol3/pull/4195) - #4171: Prefer current layout as default on MultiLineString.setLineStrings() ([@awaterme](https://github.com/awaterme))
|
||||||
* [#4172](https://github.com/openlayers/openlayers/pull/4172) - #4171: Prefer current layout as default on Multipolygon.setPolygons() ([@awaterme](https://github.com/awaterme))
|
* [#4172](https://github.com/openlayers/ol3/pull/4172) - #4171: Prefer current layout as default on Multipolygon.setPolygons() ([@awaterme](https://github.com/awaterme))
|
||||||
* [#4190](https://github.com/openlayers/openlayers/pull/4190) - Remove use of goog.functions.constant ([@marcjansen](https://github.com/marcjansen))
|
* [#4190](https://github.com/openlayers/ol3/pull/4190) - Remove use of goog.functions.constant ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4188](https://github.com/openlayers/openlayers/pull/4188) - Remove use of goog.object.getKeys ([@fredj](https://github.com/fredj))
|
* [#4188](https://github.com/openlayers/ol3/pull/4188) - Remove use of goog.object.getKeys ([@fredj](https://github.com/fredj))
|
||||||
* [#4189](https://github.com/openlayers/openlayers/pull/4189) - Replace goog.nullFunction with ol.nullFunction ([@marcjansen](https://github.com/marcjansen))
|
* [#4189](https://github.com/openlayers/ol3/pull/4189) - Replace goog.nullFunction with ol.nullFunction ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4165](https://github.com/openlayers/openlayers/pull/4165) - Use ECMAScript 5.1 Array functions instead of goog.array ([@fredj](https://github.com/fredj))
|
* [#4165](https://github.com/openlayers/ol3/pull/4165) - Use ECMAScript 5.1 Array functions instead of goog.array ([@fredj](https://github.com/fredj))
|
||||||
* [#4181](https://github.com/openlayers/openlayers/pull/4181) - Remove use of goog.array.contains ([@fredj](https://github.com/fredj))
|
* [#4181](https://github.com/openlayers/ol3/pull/4181) - Remove use of goog.array.contains ([@fredj](https://github.com/fredj))
|
||||||
* [#4162](https://github.com/openlayers/openlayers/pull/4162) - Remove ol.LEGACY_IE_SUPPORT ([@fredj](https://github.com/fredj))
|
* [#4162](https://github.com/openlayers/ol3/pull/4162) - Remove ol.LEGACY_IE_SUPPORT ([@fredj](https://github.com/fredj))
|
||||||
* [#4174](https://github.com/openlayers/openlayers/pull/4174) - Remove hue, saturation, contrast, and brightness as layer properties. ([@tschaub](https://github.com/tschaub))
|
* [#4174](https://github.com/openlayers/ol3/pull/4174) - Remove hue, saturation, contrast, and brightness as layer properties. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4183](https://github.com/openlayers/openlayers/pull/4183) - Remove @api on getHitDetectionFramebuffer ([@elemoine](https://github.com/elemoine))
|
* [#4183](https://github.com/openlayers/ol3/pull/4183) - Remove @api on getHitDetectionFramebuffer ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4179](https://github.com/openlayers/openlayers/pull/4179) - Use Date.now() instead of goog.now() ([@marcjansen](https://github.com/marcjansen))
|
* [#4179](https://github.com/openlayers/ol3/pull/4179) - Use Date.now() instead of goog.now() ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4175](https://github.com/openlayers/openlayers/pull/4175) - Remove use of goog.math.clamp(). ([@tschaub](https://github.com/tschaub))
|
* [#4175](https://github.com/openlayers/ol3/pull/4175) - Remove use of goog.math.clamp(). ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4173](https://github.com/openlayers/openlayers/pull/4173) - Only animate when resolution is about to be changed ([@ahocevar](https://github.com/ahocevar))
|
* [#4173](https://github.com/openlayers/ol3/pull/4173) - Only animate when resolution is about to be changed ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4129](https://github.com/openlayers/openlayers/pull/4129) - Remove use of goog.isDef. ([@openlayers](https://github.com/openlayers))
|
* [#4129](https://github.com/openlayers/ol3/pull/4129) - Remove use of goog.isDef. ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4168](https://github.com/openlayers/openlayers/pull/4168) - Tile preload example wording (fixes #4147) ([@wlerner](https://github.com/wlerner))
|
* [#4168](https://github.com/openlayers/ol3/pull/4168) - Tile preload example wording (fixes #4147) ([@wlerner](https://github.com/wlerner))
|
||||||
* [#4167](https://github.com/openlayers/openlayers/pull/4167) - Remove externs in externs/closure-compiler.js ([@fredj](https://github.com/fredj))
|
* [#4167](https://github.com/openlayers/ol3/pull/4167) - Remove externs in externs/closure-compiler.js ([@fredj](https://github.com/fredj))
|
||||||
* [#4166](https://github.com/openlayers/openlayers/pull/4166) - Use version 20150920 of Closure Compiler ([@elemoine](https://github.com/elemoine))
|
* [#4166](https://github.com/openlayers/ol3/pull/4166) - Use version 20150920 of Closure Compiler ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4159](https://github.com/openlayers/openlayers/pull/4159) - Remove use of goog.object.containsKey ([@fredj](https://github.com/fredj))
|
* [#4159](https://github.com/openlayers/ol3/pull/4159) - Remove use of goog.object.containsKey ([@fredj](https://github.com/fredj))
|
||||||
* [#4157](https://github.com/openlayers/openlayers/pull/4157) - Fix typo in doc ([@elemoine](https://github.com/elemoine))
|
* [#4157](https://github.com/openlayers/ol3/pull/4157) - Fix typo in doc ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4138](https://github.com/openlayers/openlayers/pull/4138) - Enhanced documentation for ol.style.Text ([@ekargee](https://github.com/ekargee))
|
* [#4138](https://github.com/openlayers/ol3/pull/4138) - Enhanced documentation for ol.style.Text ([@ekargee](https://github.com/ekargee))
|
||||||
* [#4151](https://github.com/openlayers/openlayers/pull/4151) - Remove bogus assertion ([@elemoine](https://github.com/elemoine))
|
* [#4151](https://github.com/openlayers/ol3/pull/4151) - Remove bogus assertion ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4110](https://github.com/openlayers/openlayers/pull/4110) - Minor cleanups ([@fredj](https://github.com/fredj))
|
* [#4110](https://github.com/openlayers/ol3/pull/4110) - Minor cleanups ([@fredj](https://github.com/fredj))
|
||||||
* [#4156](https://github.com/openlayers/openlayers/pull/4156) - Rename drag-features example to custom-interactions ([@elemoine](https://github.com/elemoine))
|
* [#4156](https://github.com/openlayers/ol3/pull/4156) - Rename drag-features example to custom-interactions ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4150](https://github.com/openlayers/openlayers/pull/4150) - Remove use of goog.object.remove ([@fredj](https://github.com/fredj))
|
* [#4150](https://github.com/openlayers/ol3/pull/4150) - Remove use of goog.object.remove ([@fredj](https://github.com/fredj))
|
||||||
* [#4145](https://github.com/openlayers/openlayers/pull/4145) - API method for simplifying geometries. ([@tschaub](https://github.com/tschaub))
|
* [#4145](https://github.com/openlayers/ol3/pull/4145) - API method for simplifying geometries. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4153](https://github.com/openlayers/openlayers/pull/4153) - Add a "features" option to ol.interaction.Select ([@elemoine](https://github.com/elemoine))
|
* [#4153](https://github.com/openlayers/ol3/pull/4153) - Add a "features" option to ol.interaction.Select ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4144](https://github.com/openlayers/openlayers/pull/4144) - Set context.fillStyle to a string ([@elemoine](https://github.com/elemoine))
|
* [#4144](https://github.com/openlayers/ol3/pull/4144) - Set context.fillStyle to a string ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4149](https://github.com/openlayers/openlayers/pull/4149) - Remove use of goog.array.isEmpty ([@fredj](https://github.com/fredj))
|
* [#4149](https://github.com/openlayers/ol3/pull/4149) - Remove use of goog.array.isEmpty ([@fredj](https://github.com/fredj))
|
||||||
* [#4139](https://github.com/openlayers/openlayers/pull/4139) - Add turf.js and JSTS example ([@tsauerwein](https://github.com/tsauerwein))
|
* [#4139](https://github.com/openlayers/ol3/pull/4139) - Add turf.js and JSTS example ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#4136](https://github.com/openlayers/openlayers/pull/4136) - Fix the 'click-to-fork' link in contributer notes ([@marcjansen](https://github.com/marcjansen))
|
* [#4136](https://github.com/openlayers/ol3/pull/4136) - Fix the 'click-to-fork' link in contributer notes ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4132](https://github.com/openlayers/openlayers/pull/4132) - Update quickstart tutorial ([@tsauerwein](https://github.com/tsauerwein))
|
* [#4132](https://github.com/openlayers/ol3/pull/4132) - Update quickstart tutorial ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#4111](https://github.com/openlayers/openlayers/pull/4111) - Use a blackish default for filling texts ([@marcjansen](https://github.com/marcjansen))
|
* [#4111](https://github.com/openlayers/ol3/pull/4111) - Use a blackish default for filling texts ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4120](https://github.com/openlayers/openlayers/pull/4120) - Remove invalid link to featureOverlay in API doc ([@kalbermattenm](https://github.com/kalbermattenm))
|
* [#4120](https://github.com/openlayers/ol3/pull/4120) - Remove invalid link to featureOverlay in API doc ([@kalbermattenm](https://github.com/kalbermattenm))
|
||||||
* [#4117](https://github.com/openlayers/openlayers/pull/4117) - forEachFeatureAtPixel shouldn't fail if layer has no source ([@pgiraud](https://github.com/pgiraud))
|
* [#4117](https://github.com/openlayers/ol3/pull/4117) - forEachFeatureAtPixel shouldn't fail if layer has no source ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#4106](https://github.com/openlayers/openlayers/pull/4106) - Focus to search field on page load ([@elemoine](https://github.com/elemoine))
|
* [#4106](https://github.com/openlayers/ol3/pull/4106) - Focus to search field on page load ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4079](https://github.com/openlayers/openlayers/pull/4079) - Automatically mark required options in API-docs ([@marcjansen](https://github.com/marcjansen))
|
* [#4079](https://github.com/openlayers/ol3/pull/4079) - Automatically mark required options in API-docs ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4108](https://github.com/openlayers/openlayers/pull/4108) - Add missing CSSProperties.prototype.touchAction extern ([@fredj](https://github.com/fredj))
|
* [#4108](https://github.com/openlayers/ol3/pull/4108) - Add missing CSSProperties.prototype.touchAction extern ([@fredj](https://github.com/fredj))
|
||||||
* [#4107](https://github.com/openlayers/openlayers/pull/4107) - Prevent page zoom on IE Edge ([@fredj](https://github.com/fredj))
|
* [#4107](https://github.com/openlayers/ol3/pull/4107) - Prevent page zoom on IE Edge ([@fredj](https://github.com/fredj))
|
||||||
* [#3969](https://github.com/openlayers/openlayers/pull/3969) - Add an option to use the mouse's location as an anchor when zooming ([@samuellapointe](https://github.com/samuellapointe))
|
* [#3969](https://github.com/openlayers/ol3/pull/3969) - Add an option to use the mouse's location as an anchor when zooming ([@samuellapointe](https://github.com/samuellapointe))
|
||||||
|
|||||||
@@ -4,4 +4,4 @@
|
|||||||
|
|
||||||
This is a patch release that fixes a regression causing text styles with a fill but no stroke to not be rendered.
|
This is a patch release that fixes a regression causing text styles with a fill but no stroke to not be rendered.
|
||||||
|
|
||||||
* [#4242](https://github.com/openlayers/openlayers/pull/4242) - Fix a drawText regression introduced with 31a68e2 ([@marcjansen](https://github.com/marcjansen))
|
* [#4242](https://github.com/openlayers/ol3/pull/4242) - Fix a drawText regression introduced with 31a68e2 ([@marcjansen](https://github.com/marcjansen))
|
||||||
|
|||||||
@@ -61,76 +61,76 @@ If you are affected by this change, please change your unmanaged layer to a regu
|
|||||||
|
|
||||||
## Full list of changes
|
## Full list of changes
|
||||||
|
|
||||||
* [#4394](https://github.com/openlayers/openlayers/pull/4394) - Allow ol.Object property update without notification. ([@DavidHequet](https://github.com/DavidHequet))
|
* [#4394](https://github.com/openlayers/ol3/pull/4394) - Allow ol.Object property update without notification. ([@DavidHequet](https://github.com/DavidHequet))
|
||||||
* [#4395](https://github.com/openlayers/openlayers/pull/4395) - Flag ol.style.Text setOffsetX and Y as @api. ([@adube](https://github.com/adube))
|
* [#4395](https://github.com/openlayers/ol3/pull/4395) - Flag ol.style.Text setOffsetX and Y as @api. ([@adube](https://github.com/adube))
|
||||||
* [#4393](https://github.com/openlayers/openlayers/pull/4393) - Faster vector tiles ([@ahocevar](https://github.com/ahocevar))
|
* [#4393](https://github.com/openlayers/ol3/pull/4393) - Faster vector tiles ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4392](https://github.com/openlayers/openlayers/pull/4392) - Update clean-css to version 3.4.7 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4392](https://github.com/openlayers/ol3/pull/4392) - Update clean-css to version 3.4.7 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4391](https://github.com/openlayers/openlayers/pull/4391) - Pass null as forEachFeatureAtPixel layer arg for unmanaged layers ([@ahocevar](https://github.com/ahocevar))
|
* [#4391](https://github.com/openlayers/ol3/pull/4391) - Pass null as forEachFeatureAtPixel layer arg for unmanaged layers ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4390](https://github.com/openlayers/openlayers/pull/4390) - Fix usage of mocha-phantomjs-core after update ([@ahocevar](https://github.com/ahocevar))
|
* [#4390](https://github.com/openlayers/ol3/pull/4390) - Fix usage of mocha-phantomjs-core after update ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4387](https://github.com/openlayers/openlayers/pull/4387) - Add default argument to getRendererFromQueryString ([@ahocevar](https://github.com/ahocevar))
|
* [#4387](https://github.com/openlayers/ol3/pull/4387) - Add default argument to getRendererFromQueryString ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4376](https://github.com/openlayers/openlayers/pull/4376) - Make KML format ignore image styles that aren't icons ([@elemoine](https://github.com/elemoine))
|
* [#4376](https://github.com/openlayers/ol3/pull/4376) - Make KML format ignore image styles that aren't icons ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4385](https://github.com/openlayers/openlayers/pull/4385) - Don't transform the scale specified by the user ([@oterral](https://github.com/oterral))
|
* [#4385](https://github.com/openlayers/ol3/pull/4385) - Don't transform the scale specified by the user ([@oterral](https://github.com/oterral))
|
||||||
* [#4388](https://github.com/openlayers/openlayers/pull/4388) - Quick-fix running tests with PhantomJS ([@ahocevar](https://github.com/ahocevar))
|
* [#4388](https://github.com/openlayers/ol3/pull/4388) - Quick-fix running tests with PhantomJS ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4378](https://github.com/openlayers/openlayers/pull/4378) - Add a writeStyles option to KML format ([@elemoine](https://github.com/elemoine))
|
* [#4378](https://github.com/openlayers/ol3/pull/4378) - Add a writeStyles option to KML format ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4375](https://github.com/openlayers/openlayers/pull/4375) - Fixed documentation typo (ol.source.ImageWMS) ([@simonseyock](https://github.com/simonseyock))
|
* [#4375](https://github.com/openlayers/ol3/pull/4375) - Fixed documentation typo (ol.source.ImageWMS) ([@simonseyock](https://github.com/simonseyock))
|
||||||
* [#4371](https://github.com/openlayers/openlayers/pull/4371) - Fix typo in closure compilation tutorial ([@dtreiter](https://github.com/dtreiter))
|
* [#4371](https://github.com/openlayers/ol3/pull/4371) - Fix typo in closure compilation tutorial ([@dtreiter](https://github.com/dtreiter))
|
||||||
* [#4370](https://github.com/openlayers/openlayers/pull/4370) - Improve ol.interaction.Select#getLayer documentation. ([@jonataswalker](https://github.com/jonataswalker))
|
* [#4370](https://github.com/openlayers/ol3/pull/4370) - Improve ol.interaction.Select#getLayer documentation. ([@jonataswalker](https://github.com/jonataswalker))
|
||||||
* [#4365](https://github.com/openlayers/openlayers/pull/4365) - Update fs-extra to version 0.26.2 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4365](https://github.com/openlayers/ol3/pull/4365) - Update fs-extra to version 0.26.2 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4366](https://github.com/openlayers/openlayers/pull/4366) - Update resemblejs to version 2.0.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4366](https://github.com/openlayers/ol3/pull/4366) - Update resemblejs to version 2.0.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4368](https://github.com/openlayers/openlayers/pull/4368) - Append KML placemark text style to existing styles ([@marcjansen](https://github.com/marcjansen))
|
* [#4368](https://github.com/openlayers/ol3/pull/4368) - Append KML placemark text style to existing styles ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4361](https://github.com/openlayers/openlayers/pull/4361) - Make GPX format not fail on unsupported geometries ([@elemoine](https://github.com/elemoine))
|
* [#4361](https://github.com/openlayers/ol3/pull/4361) - Make GPX format not fail on unsupported geometries ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4360](https://github.com/openlayers/openlayers/pull/4360) - Update getExtent return value jsdoc tag ([@fredj](https://github.com/fredj))
|
* [#4360](https://github.com/openlayers/ol3/pull/4360) - Update getExtent return value jsdoc tag ([@fredj](https://github.com/fredj))
|
||||||
* [#4359](https://github.com/openlayers/openlayers/pull/4359) - Update closure-util to version 1.9.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4359](https://github.com/openlayers/ol3/pull/4359) - Update closure-util to version 1.9.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4357](https://github.com/openlayers/openlayers/pull/4357) - Update all dependencies. ([@openlayers](https://github.com/openlayers))
|
* [#4357](https://github.com/openlayers/ol3/pull/4357) - Update all dependencies. ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4356](https://github.com/openlayers/openlayers/pull/4356) - Update Metalsmith and layouts plugin. ([@tschaub](https://github.com/tschaub))
|
* [#4356](https://github.com/openlayers/ol3/pull/4356) - Update Metalsmith and layouts plugin. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4355](https://github.com/openlayers/openlayers/pull/4355) - Update PhantomJS. ([@tschaub](https://github.com/tschaub))
|
* [#4355](https://github.com/openlayers/ol3/pull/4355) - Update PhantomJS. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4353](https://github.com/openlayers/openlayers/pull/4353) - Resolve path to jsdoc-fork. ([@tschaub](https://github.com/tschaub))
|
* [#4353](https://github.com/openlayers/ol3/pull/4353) - Resolve path to jsdoc-fork. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3627](https://github.com/openlayers/openlayers/pull/3627) - Make package.json compatible for npm frontend use. ([@ThomasG77](https://github.com/ThomasG77))
|
* [#3627](https://github.com/openlayers/ol3/pull/3627) - Make package.json compatible for npm frontend use. ([@ThomasG77](https://github.com/ThomasG77))
|
||||||
* [#4163](https://github.com/openlayers/openlayers/pull/4163) - Fixes for building with Node 4.x. ([@tschaub](https://github.com/tschaub))
|
* [#4163](https://github.com/openlayers/ol3/pull/4163) - Fixes for building with Node 4.x. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4347](https://github.com/openlayers/openlayers/pull/4347) - Use require.resolve() to find jsdoc. ([@tschaub](https://github.com/tschaub))
|
* [#4347](https://github.com/openlayers/ol3/pull/4347) - Use require.resolve() to find jsdoc. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4291](https://github.com/openlayers/openlayers/pull/4291) - Add 'Move a feature along a line' example. ([@jonataswalker](https://github.com/jonataswalker))
|
* [#4291](https://github.com/openlayers/ol3/pull/4291) - Add 'Move a feature along a line' example. ([@jonataswalker](https://github.com/jonataswalker))
|
||||||
* [#4344](https://github.com/openlayers/openlayers/pull/4344) - Allow different resolutions in x and y direction for ol.source.ImageStatic ([@bartvde](https://github.com/bartvde))
|
* [#4344](https://github.com/openlayers/ol3/pull/4344) - Allow different resolutions in x and y direction for ol.source.ImageStatic ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4339](https://github.com/openlayers/openlayers/pull/4339) - Make sure drawImage width and height are not too big ([@bartvde](https://github.com/bartvde))
|
* [#4339](https://github.com/openlayers/ol3/pull/4339) - Make sure drawImage width and height are not too big ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4334](https://github.com/openlayers/openlayers/pull/4334) - Check view extent within image extent ([@ahocevar](https://github.com/ahocevar))
|
* [#4334](https://github.com/openlayers/ol3/pull/4334) - Check view extent within image extent ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4332](https://github.com/openlayers/openlayers/pull/4332) - Fix write out GeoJSON features with id equal to 0 ([@fredj](https://github.com/fredj))
|
* [#4332](https://github.com/openlayers/ol3/pull/4332) - Fix write out GeoJSON features with id equal to 0 ([@fredj](https://github.com/fredj))
|
||||||
* [#4331](https://github.com/openlayers/openlayers/pull/4331) - Allow TopoJSON features with id equal to 0 ([@fredj](https://github.com/fredj))
|
* [#4331](https://github.com/openlayers/ol3/pull/4331) - Allow TopoJSON features with id equal to 0 ([@fredj](https://github.com/fredj))
|
||||||
* [#4330](https://github.com/openlayers/openlayers/pull/4330) - ol.format.TopoJSON is read only, update the jsdoc ([@openlayers](https://github.com/openlayers))
|
* [#4330](https://github.com/openlayers/ol3/pull/4330) - ol.format.TopoJSON is read only, update the jsdoc ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4327](https://github.com/openlayers/openlayers/pull/4327) - Allow GeoJSON features with id equal to 0 ([@fredj](https://github.com/fredj))
|
* [#4327](https://github.com/openlayers/ol3/pull/4327) - Allow GeoJSON features with id equal to 0 ([@fredj](https://github.com/fredj))
|
||||||
* [#4219](https://github.com/openlayers/openlayers/pull/4219) - Support tiled vector data and Mapbox vector tiles ([@ahocevar](https://github.com/ahocevar))
|
* [#4219](https://github.com/openlayers/ol3/pull/4219) - Support tiled vector data and Mapbox vector tiles ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4322](https://github.com/openlayers/openlayers/pull/4322) - Add wrapX override support for ol.source.Cluster ([@FRizZL](https://github.com/FRizZL))
|
* [#4322](https://github.com/openlayers/ol3/pull/4322) - Add wrapX override support for ol.source.Cluster ([@FRizZL](https://github.com/FRizZL))
|
||||||
* [#4316](https://github.com/openlayers/openlayers/pull/4316) - Render name labels if the geometry is a point in KML format (@tamarmot) ([@marcjansen](https://github.com/marcjansen))
|
* [#4316](https://github.com/openlayers/ol3/pull/4316) - Render name labels if the geometry is a point in KML format (@tamarmot) ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4313](https://github.com/openlayers/openlayers/pull/4313) - Align logos nicely with attribution text ([@ahocevar](https://github.com/ahocevar))
|
* [#4313](https://github.com/openlayers/ol3/pull/4313) - Align logos nicely with attribution text ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4297](https://github.com/openlayers/openlayers/pull/4297) - Create standalone versions of ol.ext packages ([@ahocevar](https://github.com/ahocevar))
|
* [#4297](https://github.com/openlayers/ol3/pull/4297) - Create standalone versions of ol.ext packages ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4302](https://github.com/openlayers/openlayers/pull/4302) - scale icons by 0.5 so they are not huge ([@tamarmot](https://github.com/tamarmot))
|
* [#4302](https://github.com/openlayers/ol3/pull/4302) - scale icons by 0.5 so they are not huge ([@tamarmot](https://github.com/tamarmot))
|
||||||
* [#4301](https://github.com/openlayers/openlayers/pull/4301) - Remove jshint -W069 tags in source code ([@fredj](https://github.com/fredj))
|
* [#4301](https://github.com/openlayers/ol3/pull/4301) - Remove jshint -W069 tags in source code ([@fredj](https://github.com/fredj))
|
||||||
* [#4273](https://github.com/openlayers/openlayers/pull/4273) - Expand docs on ol.source url prop. ([@Barryrowe](https://github.com/Barryrowe))
|
* [#4273](https://github.com/openlayers/ol3/pull/4273) - Expand docs on ol.source url prop. ([@Barryrowe](https://github.com/Barryrowe))
|
||||||
* [#4293](https://github.com/openlayers/openlayers/pull/4293) - Refine the pull request process ([@ahocevar](https://github.com/ahocevar))
|
* [#4293](https://github.com/openlayers/ol3/pull/4293) - Refine the pull request process ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4289](https://github.com/openlayers/openlayers/pull/4289) - Restrict maxZoom of the static-image example ([@ahocevar](https://github.com/ahocevar))
|
* [#4289](https://github.com/openlayers/ol3/pull/4289) - Restrict maxZoom of the static-image example ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4275](https://github.com/openlayers/openlayers/pull/4275) - Fix ol.events.condition.mouseOnly parameter type ([@fredj](https://github.com/fredj))
|
* [#4275](https://github.com/openlayers/ol3/pull/4275) - Fix ol.events.condition.mouseOnly parameter type ([@fredj](https://github.com/fredj))
|
||||||
* [#4248](https://github.com/openlayers/openlayers/pull/4248) - Use Math.cosh of ES6/2015 if available ([@marcjansen](https://github.com/marcjansen))
|
* [#4248](https://github.com/openlayers/ol3/pull/4248) - Use Math.cosh of ES6/2015 if available ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4286](https://github.com/openlayers/openlayers/pull/4286) - Add a color manipulation example. ([@tschaub](https://github.com/tschaub))
|
* [#4286](https://github.com/openlayers/ol3/pull/4286) - Add a color manipulation example. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4122](https://github.com/openlayers/openlayers/pull/4122) - Raster reprojection ([@klokantech](https://github.com/klokantech))
|
* [#4122](https://github.com/openlayers/ol3/pull/4122) - Raster reprojection ([@klokantech](https://github.com/klokantech))
|
||||||
* [#4283](https://github.com/openlayers/openlayers/pull/4283) - Flag ol.tilegrid.TileGrid getTileCoordExtent as @api ([@adube](https://github.com/adube))
|
* [#4283](https://github.com/openlayers/ol3/pull/4283) - Flag ol.tilegrid.TileGrid getTileCoordExtent as @api ([@adube](https://github.com/adube))
|
||||||
* [#4280](https://github.com/openlayers/openlayers/pull/4280) - Use overlay container instead of viewport for ol.render.Box ([@ahocevar](https://github.com/ahocevar))
|
* [#4280](https://github.com/openlayers/ol3/pull/4280) - Use overlay container instead of viewport for ol.render.Box ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4278](https://github.com/openlayers/openlayers/pull/4278) - Use DOM instead of map canvas for ol.render.Box ([@ahocevar](https://github.com/ahocevar))
|
* [#4278](https://github.com/openlayers/ol3/pull/4278) - Use DOM instead of map canvas for ol.render.Box ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4277](https://github.com/openlayers/openlayers/pull/4277) - Improve the box select example ([@fredj](https://github.com/fredj))
|
* [#4277](https://github.com/openlayers/ol3/pull/4277) - Improve the box select example ([@fredj](https://github.com/fredj))
|
||||||
* [#4276](https://github.com/openlayers/openlayers/pull/4276) - Better ol.events.condition.platformModifierKeyOnly documentation ([@fredj](https://github.com/fredj))
|
* [#4276](https://github.com/openlayers/ol3/pull/4276) - Better ol.events.condition.platformModifierKeyOnly documentation ([@fredj](https://github.com/fredj))
|
||||||
* [#4102](https://github.com/openlayers/openlayers/pull/4102) - Export ol.Observable#dispatchEvent function ([@fredj](https://github.com/fredj))
|
* [#4102](https://github.com/openlayers/ol3/pull/4102) - Export ol.Observable#dispatchEvent function ([@fredj](https://github.com/fredj))
|
||||||
* [#4261](https://github.com/openlayers/openlayers/pull/4261) - ol.events.condition.mouseOnly may be wrong ([@fredj](https://github.com/fredj))
|
* [#4261](https://github.com/openlayers/ol3/pull/4261) - ol.events.condition.mouseOnly may be wrong ([@fredj](https://github.com/fredj))
|
||||||
* [#4269](https://github.com/openlayers/openlayers/pull/4269) - Fix Zoom control duration option - allow `0` as value ([@adube](https://github.com/adube))
|
* [#4269](https://github.com/openlayers/ol3/pull/4269) - Fix Zoom control duration option - allow `0` as value ([@adube](https://github.com/adube))
|
||||||
* [#4268](https://github.com/openlayers/openlayers/pull/4268) - Add method for retrieving ol.Overlay by id ([@jonataswalker](https://github.com/jonataswalker))
|
* [#4268](https://github.com/openlayers/ol3/pull/4268) - Add method for retrieving ol.Overlay by id ([@jonataswalker](https://github.com/jonataswalker))
|
||||||
* [#4257](https://github.com/openlayers/openlayers/pull/4257) - Remove unused ol.math-methods ([@marcjansen](https://github.com/marcjansen))
|
* [#4257](https://github.com/openlayers/ol3/pull/4257) - Remove unused ol.math-methods ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4270](https://github.com/openlayers/openlayers/pull/4270) - Fix Keyboard zoom interation options ([@adube](https://github.com/adube))
|
* [#4270](https://github.com/openlayers/ol3/pull/4270) - Fix Keyboard zoom interation options ([@adube](https://github.com/adube))
|
||||||
* [#4272](https://github.com/openlayers/openlayers/pull/4272) - Allow the DragZoom interaction created in defaults to use zoomDuration option. ([@adube](https://github.com/adube))
|
* [#4272](https://github.com/openlayers/ol3/pull/4272) - Allow the DragZoom interaction created in defaults to use zoomDuration option. ([@adube](https://github.com/adube))
|
||||||
* [#4271](https://github.com/openlayers/openlayers/pull/4271) - Fix DragZoom interaction duration, allow `0` value ([@adube](https://github.com/adube))
|
* [#4271](https://github.com/openlayers/ol3/pull/4271) - Fix DragZoom interaction duration, allow `0` value ([@adube](https://github.com/adube))
|
||||||
* [#4267](https://github.com/openlayers/openlayers/pull/4267) - Example usability improvements ([@ahocevar](https://github.com/ahocevar))
|
* [#4267](https://github.com/openlayers/ol3/pull/4267) - Example usability improvements ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4263](https://github.com/openlayers/openlayers/pull/4263) - Add back CSSProperties.prototype.touchAction extern ([@fredj](https://github.com/fredj))
|
* [#4263](https://github.com/openlayers/ol3/pull/4263) - Add back CSSProperties.prototype.touchAction extern ([@fredj](https://github.com/fredj))
|
||||||
* [#4259](https://github.com/openlayers/openlayers/pull/4259) - Remove use of toDegrees/toRadians util functions ([@marcjansen](https://github.com/marcjansen))
|
* [#4259](https://github.com/openlayers/ol3/pull/4259) - Remove use of toDegrees/toRadians util functions ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4258](https://github.com/openlayers/openlayers/pull/4258) - Remove usage of goog.dom.TagName enum ([@marcjansen](https://github.com/marcjansen))
|
* [#4258](https://github.com/openlayers/ol3/pull/4258) - Remove usage of goog.dom.TagName enum ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4255](https://github.com/openlayers/openlayers/pull/4255) - Fix zoom slider width for retina displays ([@ahocevar](https://github.com/ahocevar))
|
* [#4255](https://github.com/openlayers/ol3/pull/4255) - Fix zoom slider width for retina displays ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4249](https://github.com/openlayers/openlayers/pull/4249) - Make whole example box clickable ([@ahocevar](https://github.com/ahocevar))
|
* [#4249](https://github.com/openlayers/ol3/pull/4249) - Make whole example box clickable ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4045](https://github.com/openlayers/openlayers/pull/4045) - Add parser for dimension property from WMTS Capabilities.xml ([@Jenselme](https://github.com/Jenselme))
|
* [#4045](https://github.com/openlayers/ol3/pull/4045) - Add parser for dimension property from WMTS Capabilities.xml ([@Jenselme](https://github.com/Jenselme))
|
||||||
* [#4161](https://github.com/openlayers/openlayers/pull/4161) - Add `translatestart`, `translateend` and `translating` events to `ol.interaction.Translate` ([@jonataswalker](https://github.com/jonataswalker))
|
* [#4161](https://github.com/openlayers/ol3/pull/4161) - Add `translatestart`, `translateend` and `translating` events to `ol.interaction.Translate` ([@jonataswalker](https://github.com/jonataswalker))
|
||||||
* [#4186](https://github.com/openlayers/openlayers/pull/4186) - Do not export ol.webgl.Context ([@elemoine](https://github.com/elemoine))
|
* [#4186](https://github.com/openlayers/ol3/pull/4186) - Do not export ol.webgl.Context ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4239](https://github.com/openlayers/openlayers/pull/4239) - Changing highlighted to highlight ([@austinkeeley](https://github.com/austinkeeley))
|
* [#4239](https://github.com/openlayers/ol3/pull/4239) - Changing highlighted to highlight ([@austinkeeley](https://github.com/austinkeeley))
|
||||||
* [#3727](https://github.com/openlayers/openlayers/pull/3727) - Added getOverviewMap getter method in overviewmapcontrol.js ([@bogdanvaduva](https://github.com/bogdanvaduva))
|
* [#3727](https://github.com/openlayers/ol3/pull/3727) - Added getOverviewMap getter method in overviewmapcontrol.js ([@bogdanvaduva](https://github.com/bogdanvaduva))
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
The v3.11.1 release is a patch release that addresses a few regressions in the v3.11.0 release. See the [v3.11.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v3.11.0) for details on upgrading from v3.10.
|
The v3.11.1 release is a patch release that addresses a few regressions in the v3.11.0 release. See the [v3.11.0 release notes](https://github.com/openlayers/ol3/releases/tag/v3.11.0) for details on upgrading from v3.10.
|
||||||
|
|
||||||
## Fixes
|
## Fixes
|
||||||
|
|
||||||
* [#4413](https://github.com/openlayers/openlayers/pull/4413) - Revert "Merge pull request #4339 from bartvde/issue-4337" ([@bartvde](https://github.com/bartvde))
|
* [#4413](https://github.com/openlayers/ol3/pull/4413) - Revert "Merge pull request #4339 from bartvde/issue-4337" ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4412](https://github.com/openlayers/openlayers/pull/4412) - Revert "Merge pull request #4344 from bartvde/issue-2844" ([@ahocevar](https://github.com/ahocevar))
|
* [#4412](https://github.com/openlayers/ol3/pull/4412) - Revert "Merge pull request #4344 from bartvde/issue-2844" ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4408](https://github.com/openlayers/openlayers/pull/4408) - Use ratio when calculating ImageWMS width and height ([@ahocevar](https://github.com/ahocevar))
|
* [#4408](https://github.com/openlayers/ol3/pull/4408) - Use ratio when calculating ImageWMS width and height ([@ahocevar](https://github.com/ahocevar))
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
The v3.11.2 release is a patch release that addresses a few regressions in the v3.11.1 release. See the [v3.11.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v3.11.0) for details on upgrading from v3.10.
|
The v3.11.2 release is a patch release that addresses a few regressions in the v3.11.1 release. See the [v3.11.0 release notes](https://github.com/openlayers/ol3/releases/tag/v3.11.0) for details on upgrading from v3.10.
|
||||||
|
|
||||||
## Fixes
|
## Fixes
|
||||||
|
|
||||||
* [#4450](https://github.com/openlayers/openlayers/pull/4450) - Fix select interaction regression caused by #4391 ([@ahocevar](https://github.com/ahocevar))
|
* [#4450](https://github.com/openlayers/ol3/pull/4450) - Fix select interaction regression caused by #4391 ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4448](https://github.com/openlayers/openlayers/pull/4448) - Check ol.source.UrlTile#urls property for null value ([@fredj](https://github.com/fredj))
|
* [#4448](https://github.com/openlayers/ol3/pull/4448) - Check ol.source.UrlTile#urls property for null value ([@fredj](https://github.com/fredj))
|
||||||
* [#4439](https://github.com/openlayers/openlayers/pull/4439) - Allow '' for crossOrigin (as Anonymous alias) ([@ahocevar](https://github.com/ahocevar))
|
* [#4439](https://github.com/openlayers/ol3/pull/4439) - Allow '' for crossOrigin (as Anonymous alias) ([@ahocevar](https://github.com/ahocevar))
|
||||||
|
|||||||
@@ -23,74 +23,74 @@ function layerFilter(layer) {
|
|||||||
|
|
||||||
## Full list of changes
|
## Full list of changes
|
||||||
|
|
||||||
* [#4559](https://github.com/openlayers/openlayers/pull/4559) - Fix up failing KML test in Firefox ([@bartvde](https://github.com/bartvde))
|
* [#4559](https://github.com/openlayers/ol3/pull/4559) - Fix up failing KML test in Firefox ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4561](https://github.com/openlayers/openlayers/pull/4561) - Exclude feature loader MVT test from IE9 ([@bartvde](https://github.com/bartvde))
|
* [#4561](https://github.com/openlayers/ol3/pull/4561) - Exclude feature loader MVT test from IE9 ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4552](https://github.com/openlayers/openlayers/pull/4552) - Make sure compiled code calls ol.VectorTile#setProjection ([@ahocevar](https://github.com/ahocevar))
|
* [#4552](https://github.com/openlayers/ol3/pull/4552) - Make sure compiled code calls ol.VectorTile#setProjection ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4551](https://github.com/openlayers/openlayers/pull/4551) - Handle tile coordinate wrapping when reprojecting raster tiles ([@klokantech](https://github.com/klokantech))
|
* [#4551](https://github.com/openlayers/ol3/pull/4551) - Handle tile coordinate wrapping when reprojecting raster tiles ([@klokantech](https://github.com/klokantech))
|
||||||
* [#4544](https://github.com/openlayers/openlayers/pull/4544) - Update vector-tile to version 1.2.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4544](https://github.com/openlayers/ol3/pull/4544) - Update vector-tile to version 1.2.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4537](https://github.com/openlayers/openlayers/pull/4537) - Allow specifying non default DPI on ol.source.TileArcGISRest ([@bartvde](https://github.com/bartvde))
|
* [#4537](https://github.com/openlayers/ol3/pull/4537) - Allow specifying non default DPI on ol.source.TileArcGISRest ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4548](https://github.com/openlayers/openlayers/pull/4548) - Improve vector tile related docs ([@ahocevar](https://github.com/ahocevar))
|
* [#4548](https://github.com/openlayers/ol3/pull/4548) - Improve vector tile related docs ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4549](https://github.com/openlayers/openlayers/pull/4549) - Update vector label example ([@tsauerwein](https://github.com/tsauerwein))
|
* [#4549](https://github.com/openlayers/ol3/pull/4549) - Update vector label example ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#4512](https://github.com/openlayers/openlayers/pull/4512) - Support for multi-line labels (improved) ([@flightaware](https://github.com/flightaware))
|
* [#4512](https://github.com/openlayers/ol3/pull/4512) - Support for multi-line labels (improved) ([@flightaware](https://github.com/flightaware))
|
||||||
* [#4546](https://github.com/openlayers/openlayers/pull/4546) - Update coveralls to version 2.11.6 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4546](https://github.com/openlayers/ol3/pull/4546) - Update coveralls to version 2.11.6 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4539](https://github.com/openlayers/openlayers/pull/4539) - Ignore index.html in example list ([@fredj](https://github.com/fredj))
|
* [#4539](https://github.com/openlayers/ol3/pull/4539) - Ignore index.html in example list ([@fredj](https://github.com/fredj))
|
||||||
* [#4536](https://github.com/openlayers/openlayers/pull/4536) - Register the change callback when the tile is enqueued ([@fredj](https://github.com/fredj))
|
* [#4536](https://github.com/openlayers/ol3/pull/4536) - Register the change callback when the tile is enqueued ([@fredj](https://github.com/fredj))
|
||||||
* [#4528](https://github.com/openlayers/openlayers/pull/4528) - Remove redundant code from ol.featureloader.tile ([@ahocevar](https://github.com/ahocevar))
|
* [#4528](https://github.com/openlayers/ol3/pull/4528) - Remove redundant code from ol.featureloader.tile ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4535](https://github.com/openlayers/openlayers/pull/4535) - Do not use an array for a single style ([@ahocevar](https://github.com/ahocevar))
|
* [#4535](https://github.com/openlayers/ol3/pull/4535) - Do not use an array for a single style ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4532](https://github.com/openlayers/openlayers/pull/4532) - Mark olx.source.WMTSOptions#dimensions as not null ([@fredj](https://github.com/fredj))
|
* [#4532](https://github.com/openlayers/ol3/pull/4532) - Mark olx.source.WMTSOptions#dimensions as not null ([@fredj](https://github.com/fredj))
|
||||||
* [#4530](https://github.com/openlayers/openlayers/pull/4530) - Remove use of goog.isNull ([@fredj](https://github.com/fredj))
|
* [#4530](https://github.com/openlayers/ol3/pull/4530) - Remove use of goog.isNull ([@fredj](https://github.com/fredj))
|
||||||
* [#4529](https://github.com/openlayers/openlayers/pull/4529) - Update coding style rules ([@fredj](https://github.com/fredj))
|
* [#4529](https://github.com/openlayers/ol3/pull/4529) - Update coding style rules ([@fredj](https://github.com/fredj))
|
||||||
* [#4518](https://github.com/openlayers/openlayers/pull/4518) - Add support for OSM vector tiles ([@ahocevar](https://github.com/ahocevar))
|
* [#4518](https://github.com/openlayers/ol3/pull/4518) - Add support for OSM vector tiles ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4524](https://github.com/openlayers/openlayers/pull/4524) - Add example for rendering custom point symbols ([@ahocevar](https://github.com/ahocevar))
|
* [#4524](https://github.com/openlayers/ol3/pull/4524) - Add example for rendering custom point symbols ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4523](https://github.com/openlayers/openlayers/pull/4523) - Allow rendering geometries to an arbitrary canvas ([@ahocevar](https://github.com/ahocevar))
|
* [#4523](https://github.com/openlayers/ol3/pull/4523) - Allow rendering geometries to an arbitrary canvas ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4525](https://github.com/openlayers/openlayers/pull/4525) - Make render tests work on more devices ([@ahocevar](https://github.com/ahocevar))
|
* [#4525](https://github.com/openlayers/ol3/pull/4525) - Make render tests work on more devices ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4515](https://github.com/openlayers/openlayers/pull/4515) - Accept HTMLCanvasElement for an icon's img ([@ahocevar](https://github.com/ahocevar))
|
* [#4515](https://github.com/openlayers/ol3/pull/4515) - Accept HTMLCanvasElement for an icon's img ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4521](https://github.com/openlayers/openlayers/pull/4521) - Fix imagestyle docs ([@ahocevar](https://github.com/ahocevar))
|
* [#4521](https://github.com/openlayers/ol3/pull/4521) - Fix imagestyle docs ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4508](https://github.com/openlayers/openlayers/pull/4508) - Remove unused files ([@fredj](https://github.com/fredj))
|
* [#4508](https://github.com/openlayers/ol3/pull/4508) - Remove unused files ([@fredj](https://github.com/fredj))
|
||||||
* [#4487](https://github.com/openlayers/openlayers/pull/4487) - Remove fallback css color ([@fredj](https://github.com/fredj))
|
* [#4487](https://github.com/openlayers/ol3/pull/4487) - Remove fallback css color ([@fredj](https://github.com/fredj))
|
||||||
* [#4502](https://github.com/openlayers/openlayers/pull/4502) - Improve ol.source.WMTS.optionsFromCapabilities jsdoc layout ([@fredj](https://github.com/fredj))
|
* [#4502](https://github.com/openlayers/ol3/pull/4502) - Improve ol.source.WMTS.optionsFromCapabilities jsdoc layout ([@fredj](https://github.com/fredj))
|
||||||
* [#4511](https://github.com/openlayers/openlayers/pull/4511) - Minor code cleanup ([@fredj](https://github.com/fredj))
|
* [#4511](https://github.com/openlayers/ol3/pull/4511) - Minor code cleanup ([@fredj](https://github.com/fredj))
|
||||||
* [#4510](https://github.com/openlayers/openlayers/pull/4510) - Adding a check just in case the projection is not defined/supported ([@GeoCat](https://github.com/GeoCat))
|
* [#4510](https://github.com/openlayers/ol3/pull/4510) - Adding a check just in case the projection is not defined/supported ([@GeoCat](https://github.com/GeoCat))
|
||||||
* [#4505](https://github.com/openlayers/openlayers/pull/4505) - Remove use of goog.object.getKeys ([@fredj](https://github.com/fredj))
|
* [#4505](https://github.com/openlayers/ol3/pull/4505) - Remove use of goog.object.getKeys ([@fredj](https://github.com/fredj))
|
||||||
* [#4472](https://github.com/openlayers/openlayers/pull/4472) - Do not ignore layer filter for unmanaged layers ([@ahocevar](https://github.com/ahocevar))
|
* [#4472](https://github.com/openlayers/ol3/pull/4472) - Do not ignore layer filter for unmanaged layers ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4476](https://github.com/openlayers/openlayers/pull/4476) - Remove use of goog.functions.constant ([@fredj](https://github.com/fredj))
|
* [#4476](https://github.com/openlayers/ol3/pull/4476) - Remove use of goog.functions.constant ([@fredj](https://github.com/fredj))
|
||||||
* [#4484](https://github.com/openlayers/openlayers/pull/4484) - Remove use of goog.dom.createDom ([@fredj](https://github.com/fredj))
|
* [#4484](https://github.com/openlayers/ol3/pull/4484) - Remove use of goog.dom.createDom ([@fredj](https://github.com/fredj))
|
||||||
* [#4486](https://github.com/openlayers/openlayers/pull/4486) - Remove note about DragZoom and vector support ([@fredj](https://github.com/fredj))
|
* [#4486](https://github.com/openlayers/ol3/pull/4486) - Remove note about DragZoom and vector support ([@fredj](https://github.com/fredj))
|
||||||
* [#4483](https://github.com/openlayers/openlayers/pull/4483) - Remove use of goog.object.containsKey ([@fredj](https://github.com/fredj))
|
* [#4483](https://github.com/openlayers/ol3/pull/4483) - Remove use of goog.object.containsKey ([@fredj](https://github.com/fredj))
|
||||||
* [#4475](https://github.com/openlayers/openlayers/pull/4475) - Fix up failing tests in Internet Explorer ([@bartvde](https://github.com/bartvde))
|
* [#4475](https://github.com/openlayers/ol3/pull/4475) - Fix up failing tests in Internet Explorer ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4485](https://github.com/openlayers/openlayers/pull/4485) - Use appendChild instead of goog.dom.append ([@fredj](https://github.com/fredj))
|
* [#4485](https://github.com/openlayers/ol3/pull/4485) - Use appendChild instead of goog.dom.append ([@fredj](https://github.com/fredj))
|
||||||
* [#4481](https://github.com/openlayers/openlayers/pull/4481) - Remove blur workaround in ol.control.Attribution ([@fredj](https://github.com/fredj))
|
* [#4481](https://github.com/openlayers/ol3/pull/4481) - Remove blur workaround in ol.control.Attribution ([@fredj](https://github.com/fredj))
|
||||||
* [#4479](https://github.com/openlayers/openlayers/pull/4479) - Export ol.interaction.Interaction#getMap function ([@fredj](https://github.com/fredj))
|
* [#4479](https://github.com/openlayers/ol3/pull/4479) - Export ol.interaction.Interaction#getMap function ([@fredj](https://github.com/fredj))
|
||||||
* [#4478](https://github.com/openlayers/openlayers/pull/4478) - Fix olx.control.FullScreenOptions#label apidoc ([@fredj](https://github.com/fredj))
|
* [#4478](https://github.com/openlayers/ol3/pull/4478) - Fix olx.control.FullScreenOptions#label apidoc ([@fredj](https://github.com/fredj))
|
||||||
* [#4477](https://github.com/openlayers/openlayers/pull/4477) - Replace goog.nullFunction with ol.nullFunction ([@fredj](https://github.com/fredj))
|
* [#4477](https://github.com/openlayers/ol3/pull/4477) - Replace goog.nullFunction with ol.nullFunction ([@fredj](https://github.com/fredj))
|
||||||
* [#4474](https://github.com/openlayers/openlayers/pull/4474) - Remove use of goog.dom.createElement and goog.dom.createTextNode ([@fredj](https://github.com/fredj))
|
* [#4474](https://github.com/openlayers/ol3/pull/4474) - Remove use of goog.dom.createElement and goog.dom.createTextNode ([@fredj](https://github.com/fredj))
|
||||||
* [#4469](https://github.com/openlayers/openlayers/pull/4469) - Upgrade to JSTS 0.17.0 in example ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#4469](https://github.com/openlayers/ol3/pull/4469) - Upgrade to JSTS 0.17.0 in example ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#4465](https://github.com/openlayers/openlayers/pull/4465) - Update handlebars to version 4.0.5 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4465](https://github.com/openlayers/ol3/pull/4465) - Update handlebars to version 4.0.5 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4464](https://github.com/openlayers/openlayers/pull/4464) - Merge in changes from the 3.11.2 release. ([@openlayers](https://github.com/openlayers))
|
* [#4464](https://github.com/openlayers/ol3/pull/4464) - Merge in changes from the 3.11.2 release. ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4463](https://github.com/openlayers/openlayers/pull/4463) - Remove use of goog.array.sort ([@fredj](https://github.com/fredj))
|
* [#4463](https://github.com/openlayers/ol3/pull/4463) - Remove use of goog.array.sort ([@fredj](https://github.com/fredj))
|
||||||
* [#4450](https://github.com/openlayers/openlayers/pull/4450) - Fix select interaction regression caused by #4391 ([@ahocevar](https://github.com/ahocevar))
|
* [#4450](https://github.com/openlayers/ol3/pull/4450) - Fix select interaction regression caused by #4391 ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4458](https://github.com/openlayers/openlayers/pull/4458) - Remove extra space in type annotation ([@fredj](https://github.com/fredj))
|
* [#4458](https://github.com/openlayers/ol3/pull/4458) - Remove extra space in type annotation ([@fredj](https://github.com/fredj))
|
||||||
* [#4420](https://github.com/openlayers/openlayers/pull/4420) - Remove Bootstrap and jQuery from example snippets. ([@openlayers](https://github.com/openlayers))
|
* [#4420](https://github.com/openlayers/ol3/pull/4420) - Remove Bootstrap and jQuery from example snippets. ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4442](https://github.com/openlayers/openlayers/pull/4442) - Use jsdoc@3.4.0. ([@tschaub](https://github.com/tschaub))
|
* [#4442](https://github.com/openlayers/ol3/pull/4442) - Use jsdoc@3.4.0. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4449](https://github.com/openlayers/openlayers/pull/4449) - Change the label of the full screen button to be more intuitive ([@bartvde](https://github.com/bartvde))
|
* [#4449](https://github.com/openlayers/ol3/pull/4449) - Change the label of the full screen button to be more intuitive ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4448](https://github.com/openlayers/openlayers/pull/4448) - Check ol.source.UrlTile#urls property for null value ([@fredj](https://github.com/fredj))
|
* [#4448](https://github.com/openlayers/ol3/pull/4448) - Check ol.source.UrlTile#urls property for null value ([@fredj](https://github.com/fredj))
|
||||||
* [#4440](https://github.com/openlayers/openlayers/pull/4440) - Raster reprojection tutorial ([@klokantech](https://github.com/klokantech))
|
* [#4440](https://github.com/openlayers/ol3/pull/4440) - Raster reprojection tutorial ([@klokantech](https://github.com/klokantech))
|
||||||
* [#4439](https://github.com/openlayers/openlayers/pull/4439) - Allow '' for crossOrigin (as Anonymous alias) ([@ahocevar](https://github.com/ahocevar))
|
* [#4439](https://github.com/openlayers/ol3/pull/4439) - Allow '' for crossOrigin (as Anonymous alias) ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4429](https://github.com/openlayers/openlayers/pull/4429) - Dispatch a change event only if the value changes ([@fredj](https://github.com/fredj))
|
* [#4429](https://github.com/openlayers/ol3/pull/4429) - Dispatch a change event only if the value changes ([@fredj](https://github.com/fredj))
|
||||||
* [#4435](https://github.com/openlayers/openlayers/pull/4435) - Remove unnecessary cast ([@fredj](https://github.com/fredj))
|
* [#4435](https://github.com/openlayers/ol3/pull/4435) - Remove unnecessary cast ([@fredj](https://github.com/fredj))
|
||||||
* [#4434](https://github.com/openlayers/openlayers/pull/4434) - Remove unused local variables ([@fredj](https://github.com/fredj))
|
* [#4434](https://github.com/openlayers/ol3/pull/4434) - Remove unused local variables ([@fredj](https://github.com/fredj))
|
||||||
* [#4433](https://github.com/openlayers/openlayers/pull/4433) - Remove unused local variables ([@fredj](https://github.com/fredj))
|
* [#4433](https://github.com/openlayers/ol3/pull/4433) - Remove unused local variables ([@fredj](https://github.com/fredj))
|
||||||
* [#4140](https://github.com/openlayers/openlayers/pull/4140) - Add flight animation example ([@tsauerwein](https://github.com/tsauerwein))
|
* [#4140](https://github.com/openlayers/ol3/pull/4140) - Add flight animation example ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#4428](https://github.com/openlayers/openlayers/pull/4428) - Add imageSize regression test for ol.source.ImageWMS ([@ahocevar](https://github.com/ahocevar))
|
* [#4428](https://github.com/openlayers/ol3/pull/4428) - Add imageSize regression test for ol.source.ImageWMS ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4426](https://github.com/openlayers/openlayers/pull/4426) - Improve ol.source.StaticImage ([@ahocevar](https://github.com/ahocevar))
|
* [#4426](https://github.com/openlayers/ol3/pull/4426) - Improve ol.source.StaticImage ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4425](https://github.com/openlayers/openlayers/pull/4425) - Test number property with !== undefined ([@fredj](https://github.com/fredj))
|
* [#4425](https://github.com/openlayers/ol3/pull/4425) - Test number property with !== undefined ([@fredj](https://github.com/fredj))
|
||||||
* [#4423](https://github.com/openlayers/openlayers/pull/4423) - Update mocha to version 2.3.4 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4423](https://github.com/openlayers/ol3/pull/4423) - Update mocha to version 2.3.4 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4416](https://github.com/openlayers/openlayers/pull/4416) - Update clean-css to version 3.4.8 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4416](https://github.com/openlayers/ol3/pull/4416) - Update clean-css to version 3.4.8 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4415](https://github.com/openlayers/openlayers/pull/4415) - Scale StaticImage image to imageExtent ([@ahocevar](https://github.com/ahocevar))
|
* [#4415](https://github.com/openlayers/ol3/pull/4415) - Scale StaticImage image to imageExtent ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4414](https://github.com/openlayers/openlayers/pull/4414) - Remove ol.ImageUrlFunction ([@ahocevar](https://github.com/ahocevar))
|
* [#4414](https://github.com/openlayers/ol3/pull/4414) - Remove ol.ImageUrlFunction ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4389](https://github.com/openlayers/openlayers/pull/4389) - Smooth transitions on parameter changes ([@elemoine](https://github.com/elemoine))
|
* [#4389](https://github.com/openlayers/ol3/pull/4389) - Smooth transitions on parameter changes ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4410](https://github.com/openlayers/openlayers/pull/4410) - Merge in changes from the 3.11.1 release. ([@openlayers](https://github.com/openlayers))
|
* [#4410](https://github.com/openlayers/ol3/pull/4410) - Merge in changes from the 3.11.1 release. ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4401](https://github.com/openlayers/openlayers/pull/4401) - Allow style function to return a style. ([@tschaub](https://github.com/tschaub))
|
* [#4401](https://github.com/openlayers/ol3/pull/4401) - Allow style function to return a style. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4404](https://github.com/openlayers/openlayers/pull/4404) - Set correctly the opt_this parameter when writing a KML document ([@oterral](https://github.com/oterral))
|
* [#4404](https://github.com/openlayers/ol3/pull/4404) - Set correctly the opt_this parameter when writing a KML document ([@oterral](https://github.com/oterral))
|
||||||
* [#4397](https://github.com/openlayers/openlayers/pull/4397) - Update glob to version 6.0.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4397](https://github.com/openlayers/ol3/pull/4397) - Update glob to version 6.0.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4362](https://github.com/openlayers/openlayers/pull/4362) - Rotate control now takes optional resetNorth function. ([@tamarmot](https://github.com/tamarmot))
|
* [#4362](https://github.com/openlayers/ol3/pull/4362) - Rotate control now takes optional resetNorth function. ([@tamarmot](https://github.com/tamarmot))
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
The v3.12.1 release is a patch release that addresses a few regressions in the v3.12.0 release. See the [v3.12.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v3.12.0) for details on upgrading from v3.11.
|
The v3.12.1 release is a patch release that addresses a few regressions in the v3.12.0 release. See the [v3.12.0 release notes](https://github.com/openlayers/ol3/releases/tag/v3.12.0) for details on upgrading from v3.11.
|
||||||
|
|
||||||
## Fixes
|
## Fixes
|
||||||
|
|
||||||
* [#4578](https://github.com/openlayers/openlayers/pull/4578) - Fix apidoc landing page markup ([@ahocevar](https://github.com/ahocevar))
|
* [#4578](https://github.com/openlayers/ol3/pull/4578) - Fix apidoc landing page markup ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4570](https://github.com/openlayers/openlayers/pull/4570) - Rename defaultSort to numberSafeCompareFunction on ol.array ([@bartvde](https://github.com/bartvde))
|
* [#4570](https://github.com/openlayers/ol3/pull/4570) - Rename defaultSort to numberSafeCompareFunction on ol.array ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4567](https://github.com/openlayers/openlayers/pull/4567) - Always pass on a compare function to sort ([@bartvde](https://github.com/bartvde))
|
* [#4567](https://github.com/openlayers/ol3/pull/4567) - Always pass on a compare function to sort ([@bartvde](https://github.com/bartvde))
|
||||||
|
|||||||
@@ -39,71 +39,71 @@ Also for Mapbox v3, make sure you use urls ending with `.json` (which are able t
|
|||||||
|
|
||||||
## Full list of changes
|
## Full list of changes
|
||||||
|
|
||||||
* [#4694](https://github.com/openlayers/openlayers/pull/4694) - Fix eslint errors in wms-time example ([@fredj](https://github.com/fredj))
|
* [#4694](https://github.com/openlayers/ol3/pull/4694) - Fix eslint errors in wms-time example ([@fredj](https://github.com/fredj))
|
||||||
* [#4527](https://github.com/openlayers/openlayers/pull/4527) - Add support for smooth TileWMS dimensions ([@bartvde](https://github.com/bartvde))
|
* [#4527](https://github.com/openlayers/ol3/pull/4527) - Add support for smooth TileWMS dimensions ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4691](https://github.com/openlayers/openlayers/pull/4691) - Updated Bing Maps key. ([@tschaub](https://github.com/tschaub))
|
* [#4691](https://github.com/openlayers/ol3/pull/4691) - Updated Bing Maps key. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4673](https://github.com/openlayers/openlayers/pull/4673) - Respect fixed tile url functions when setting url(s) ([@ahocevar](https://github.com/ahocevar))
|
* [#4673](https://github.com/openlayers/ol3/pull/4673) - Respect fixed tile url functions when setting url(s) ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4689](https://github.com/openlayers/openlayers/pull/4689) - Revert "Do not render in handleDownEvent" ([@openlayers](https://github.com/openlayers))
|
* [#4689](https://github.com/openlayers/ol3/pull/4689) - Revert "Do not render in handleDownEvent" ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4688](https://github.com/openlayers/openlayers/pull/4688) - Give map a focus-outline in accessible-example ([@marcjansen](https://github.com/marcjansen))
|
* [#4688](https://github.com/openlayers/ol3/pull/4688) - Give map a focus-outline in accessible-example ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4642](https://github.com/openlayers/openlayers/pull/4642) - Move the icon style color to its own example ([@alexbrault](https://github.com/alexbrault))
|
* [#4642](https://github.com/openlayers/ol3/pull/4642) - Move the icon style color to its own example ([@alexbrault](https://github.com/alexbrault))
|
||||||
* [#4685](https://github.com/openlayers/openlayers/pull/4685) - Remove bin/check-whitespace.py ([@fredj](https://github.com/fredj))
|
* [#4685](https://github.com/openlayers/ol3/pull/4685) - Remove bin/check-whitespace.py ([@fredj](https://github.com/fredj))
|
||||||
* [#4684](https://github.com/openlayers/openlayers/pull/4684) - Update eslint-config-openlayers to version 3.0.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4684](https://github.com/openlayers/ol3/pull/4684) - Update eslint-config-openlayers to version 3.0.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4677](https://github.com/openlayers/openlayers/pull/4677) - Make pixel projection handling work in compiled mode ([@ahocevar](https://github.com/ahocevar))
|
* [#4677](https://github.com/openlayers/ol3/pull/4677) - Make pixel projection handling work in compiled mode ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4639](https://github.com/openlayers/openlayers/pull/4639) - Remove use of goog.bind and use ES5 .bind. ([@nicholas-l](https://github.com/nicholas-l))
|
* [#4639](https://github.com/openlayers/ol3/pull/4639) - Remove use of goog.bind and use ES5 .bind. ([@nicholas-l](https://github.com/nicholas-l))
|
||||||
* [#4655](https://github.com/openlayers/openlayers/pull/4655) - Update browserify to version 13.0.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4655](https://github.com/openlayers/ol3/pull/4655) - Update browserify to version 13.0.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4666](https://github.com/openlayers/openlayers/pull/4666) - Add a 'boxdrag' event to ol.interaction.DragBox. Resolves #4563 . ([@WeaveTeam](https://github.com/WeaveTeam))
|
* [#4666](https://github.com/openlayers/ol3/pull/4666) - Add a 'boxdrag' event to ol.interaction.DragBox. Resolves #4563 . ([@WeaveTeam](https://github.com/WeaveTeam))
|
||||||
* [#4669](https://github.com/openlayers/openlayers/pull/4669) - Remove reference to Closure Linter in CONTRIBUTING.md ([@fredj](https://github.com/fredj))
|
* [#4669](https://github.com/openlayers/ol3/pull/4669) - Remove reference to Closure Linter in CONTRIBUTING.md ([@fredj](https://github.com/fredj))
|
||||||
* [#4665](https://github.com/openlayers/openlayers/pull/4665) - Update istanbul to version 0.4.2 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4665](https://github.com/openlayers/ol3/pull/4665) - Update istanbul to version 0.4.2 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4663](https://github.com/openlayers/openlayers/pull/4663) - Update glob to version 6.0.4 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4663](https://github.com/openlayers/ol3/pull/4663) - Update glob to version 6.0.4 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4667](https://github.com/openlayers/openlayers/pull/4667) - Fix rendering of transparent MapQuest layer type ([@klokantech](https://github.com/klokantech))
|
* [#4667](https://github.com/openlayers/ol3/pull/4667) - Fix rendering of transparent MapQuest layer type ([@klokantech](https://github.com/klokantech))
|
||||||
* [#4661](https://github.com/openlayers/openlayers/pull/4661) - Fixes #4654 Developer Documentation Updated ([@gaf-ag](https://github.com/gaf-ag))
|
* [#4661](https://github.com/openlayers/ol3/pull/4661) - Fixes #4654 Developer Documentation Updated ([@gaf-ag](https://github.com/gaf-ag))
|
||||||
* [#4658](https://github.com/openlayers/openlayers/pull/4658) - Update jquery to version 2.2.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4658](https://github.com/openlayers/ol3/pull/4658) - Update jquery to version 2.2.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4659](https://github.com/openlayers/openlayers/pull/4659) - Make sure icons show up in Safari ([@bartvde](https://github.com/bartvde))
|
* [#4659](https://github.com/openlayers/ol3/pull/4659) - Make sure icons show up in Safari ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4652](https://github.com/openlayers/openlayers/pull/4652) - Use map.getTargetElement instead of map.getTarget ([@fredj](https://github.com/fredj))
|
* [#4652](https://github.com/openlayers/ol3/pull/4652) - Use map.getTargetElement instead of map.getTarget ([@fredj](https://github.com/fredj))
|
||||||
* [#4649](https://github.com/openlayers/openlayers/pull/4649) - Missing parameter description for ol.source.Tile#getOpaque ([@klokantech](https://github.com/klokantech))
|
* [#4649](https://github.com/openlayers/ol3/pull/4649) - Missing parameter description for ol.source.Tile#getOpaque ([@klokantech](https://github.com/klokantech))
|
||||||
* [#4602](https://github.com/openlayers/openlayers/pull/4602) - Use ESLint. ([@tschaub](https://github.com/tschaub))
|
* [#4602](https://github.com/openlayers/ol3/pull/4602) - Use ESLint. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4628](https://github.com/openlayers/openlayers/pull/4628) - Fix for reprojecting opaque tile sources ([@klokantech](https://github.com/klokantech))
|
* [#4628](https://github.com/openlayers/ol3/pull/4628) - Fix for reprojecting opaque tile sources ([@klokantech](https://github.com/klokantech))
|
||||||
* [#4618](https://github.com/openlayers/openlayers/pull/4618) - Update resemblejs to version 2.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4618](https://github.com/openlayers/ol3/pull/4618) - Update resemblejs to version 2.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4647](https://github.com/openlayers/openlayers/pull/4647) - Proper rounding for possibly negative numbers ([@ahocevar](https://github.com/ahocevar))
|
* [#4647](https://github.com/openlayers/ol3/pull/4647) - Proper rounding for possibly negative numbers ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4641](https://github.com/openlayers/openlayers/pull/4641) - Remove extra options from icon example. ([@tschaub](https://github.com/tschaub))
|
* [#4641](https://github.com/openlayers/ol3/pull/4641) - Remove extra options from icon example. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4629](https://github.com/openlayers/openlayers/pull/4629) - Simplify scaleline calculation ([@ahocevar](https://github.com/ahocevar))
|
* [#4629](https://github.com/openlayers/ol3/pull/4629) - Simplify scaleline calculation ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4457](https://github.com/openlayers/openlayers/pull/4457) - Add color option to ol.style.Icon ([@alexbrault](https://github.com/alexbrault))
|
* [#4457](https://github.com/openlayers/ol3/pull/4457) - Add color option to ol.style.Icon ([@alexbrault](https://github.com/alexbrault))
|
||||||
* [#4638](https://github.com/openlayers/openlayers/pull/4638) - Do not rely on projection extent ([@ahocevar](https://github.com/ahocevar))
|
* [#4638](https://github.com/openlayers/ol3/pull/4638) - Do not rely on projection extent ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4635](https://github.com/openlayers/openlayers/pull/4635) - Update async to version 1.5.2 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4635](https://github.com/openlayers/ol3/pull/4635) - Update async to version 1.5.2 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4581](https://github.com/openlayers/openlayers/pull/4581) - Do not render in handleDownEvent ([@ahocevar](https://github.com/ahocevar))
|
* [#4581](https://github.com/openlayers/ol3/pull/4581) - Do not render in handleDownEvent ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4541](https://github.com/openlayers/openlayers/pull/4541) - Add new ol.geom.LineString#getCoordinateAt function ([@fredj](https://github.com/fredj))
|
* [#4541](https://github.com/openlayers/ol3/pull/4541) - Add new ol.geom.LineString#getCoordinateAt function ([@fredj](https://github.com/fredj))
|
||||||
* [#4489](https://github.com/openlayers/openlayers/pull/4489) - Update phantomjs to version 1.9.19 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4489](https://github.com/openlayers/ol3/pull/4489) - Update phantomjs to version 1.9.19 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4625](https://github.com/openlayers/openlayers/pull/4625) - Use XHR by default to load TileJSON in ol.source.TileJSON ([@klokantech](https://github.com/klokantech))
|
* [#4625](https://github.com/openlayers/ol3/pull/4625) - Use XHR by default to load TileJSON in ol.source.TileJSON ([@klokantech](https://github.com/klokantech))
|
||||||
* [#4622](https://github.com/openlayers/openlayers/pull/4622) - Update fs-extra to version 0.26.4 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4622](https://github.com/openlayers/ol3/pull/4622) - Update fs-extra to version 0.26.4 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4630](https://github.com/openlayers/openlayers/pull/4630) - Simplify meters per unit handling ([@ahocevar](https://github.com/ahocevar))
|
* [#4630](https://github.com/openlayers/ol3/pull/4630) - Simplify meters per unit handling ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4490](https://github.com/openlayers/openlayers/pull/4490) - Update istanbul to version 0.4.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4490](https://github.com/openlayers/ol3/pull/4490) - Update istanbul to version 0.4.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4574](https://github.com/openlayers/openlayers/pull/4574) - Added boxEndCondition to DragBoxOptions to replace the hardcoded chec… ([@WeaveTeam](https://github.com/WeaveTeam))
|
* [#4574](https://github.com/openlayers/ol3/pull/4574) - Added boxEndCondition to DragBoxOptions to replace the hardcoded chec… ([@WeaveTeam](https://github.com/WeaveTeam))
|
||||||
* [#4553](https://github.com/openlayers/openlayers/pull/4553) - Update mustache to version 2.2.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4553](https://github.com/openlayers/ol3/pull/4553) - Update mustache to version 2.2.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4626](https://github.com/openlayers/openlayers/pull/4626) - Fixed documentation error ([@simonseyock](https://github.com/simonseyock))
|
* [#4626](https://github.com/openlayers/ol3/pull/4626) - Fixed documentation error ([@simonseyock](https://github.com/simonseyock))
|
||||||
* [#4606](https://github.com/openlayers/openlayers/pull/4606) - Include originating MapBrowserEvent in ol.DragBoxEvent ([@fredj](https://github.com/fredj))
|
* [#4606](https://github.com/openlayers/ol3/pull/4606) - Include originating MapBrowserEvent in ol.DragBoxEvent ([@fredj](https://github.com/fredj))
|
||||||
* [#4614](https://github.com/openlayers/openlayers/pull/4614) - Remove checksum interface. ([@tschaub](https://github.com/tschaub))
|
* [#4614](https://github.com/openlayers/ol3/pull/4614) - Remove checksum interface. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4613](https://github.com/openlayers/openlayers/pull/4613) - Include own layer in layerFilter and only select unselected features ([@ahocevar](https://github.com/ahocevar))
|
* [#4613](https://github.com/openlayers/ol3/pull/4613) - Include own layer in layerFilter and only select unselected features ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4612](https://github.com/openlayers/openlayers/pull/4612) - Set oli.source.VectorEvent#feature to ol.Feature|undefined ([@fredj](https://github.com/fredj))
|
* [#4612](https://github.com/openlayers/ol3/pull/4612) - Set oli.source.VectorEvent#feature to ol.Feature|undefined ([@fredj](https://github.com/fredj))
|
||||||
* [#4620](https://github.com/openlayers/openlayers/pull/4620) - Fix olx.format.PolylineOptions#factor type ([@fredj](https://github.com/fredj))
|
* [#4620](https://github.com/openlayers/ol3/pull/4620) - Fix olx.format.PolylineOptions#factor type ([@fredj](https://github.com/fredj))
|
||||||
* [#4621](https://github.com/openlayers/openlayers/pull/4621) - Fix olx.format.GPXOptions#readExtensions type ([@fredj](https://github.com/fredj))
|
* [#4621](https://github.com/openlayers/ol3/pull/4621) - Fix olx.format.GPXOptions#readExtensions type ([@fredj](https://github.com/fredj))
|
||||||
* [#4619](https://github.com/openlayers/openlayers/pull/4619) - Add option to load TileJSON via XHR ([@klokantech](https://github.com/klokantech))
|
* [#4619](https://github.com/openlayers/ol3/pull/4619) - Add option to load TileJSON via XHR ([@klokantech](https://github.com/klokantech))
|
||||||
* [#4617](https://github.com/openlayers/openlayers/pull/4617) - Add missing return type to GeoJSON format ([@gberaudo](https://github.com/gberaudo))
|
* [#4617](https://github.com/openlayers/ol3/pull/4617) - Add missing return type to GeoJSON format ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#4615](https://github.com/openlayers/openlayers/pull/4615) - Adjust copyright to include 2016 ([@marcjansen](https://github.com/marcjansen))
|
* [#4615](https://github.com/openlayers/ol3/pull/4615) - Adjust copyright to include 2016 ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4616](https://github.com/openlayers/openlayers/pull/4616) - Update closure-util to version 1.10.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4616](https://github.com/openlayers/ol3/pull/4616) - Update closure-util to version 1.10.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4596](https://github.com/openlayers/openlayers/pull/4596) - Use consistent tile coordinate keys ([@ahocevar](https://github.com/ahocevar))
|
* [#4596](https://github.com/openlayers/ol3/pull/4596) - Use consistent tile coordinate keys ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4609](https://github.com/openlayers/openlayers/pull/4609) - Add ol.proj.setProj4 function ([@bartvde](https://github.com/bartvde))
|
* [#4609](https://github.com/openlayers/ol3/pull/4609) - Add ol.proj.setProj4 function ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4603](https://github.com/openlayers/openlayers/pull/4603) - Update async to version 1.5.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4603](https://github.com/openlayers/ol3/pull/4603) - Update async to version 1.5.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4604](https://github.com/openlayers/openlayers/pull/4604) - Update clean-css to version 3.4.9 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4604](https://github.com/openlayers/ol3/pull/4604) - Update clean-css to version 3.4.9 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4600](https://github.com/openlayers/openlayers/pull/4600) - Update glob to version 6.0.3 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4600](https://github.com/openlayers/ol3/pull/4600) - Update glob to version 6.0.3 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4595](https://github.com/openlayers/openlayers/pull/4595) - Pass 'opaque' option on to superclass ([@ahocevar](https://github.com/ahocevar))
|
* [#4595](https://github.com/openlayers/ol3/pull/4595) - Pass 'opaque' option on to superclass ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4598](https://github.com/openlayers/openlayers/pull/4598) - Make ol.source.Tile#getTilePixelRatio work correctly for all sources ([@klokantech](https://github.com/klokantech))
|
* [#4598](https://github.com/openlayers/ol3/pull/4598) - Make ol.source.Tile#getTilePixelRatio work correctly for all sources ([@klokantech](https://github.com/klokantech))
|
||||||
* [#4594](https://github.com/openlayers/openlayers/pull/4594) - Fix for TileQueue gradually choking up when using raster reprojection ([@klokantech](https://github.com/klokantech))
|
* [#4594](https://github.com/openlayers/ol3/pull/4594) - Fix for TileQueue gradually choking up when using raster reprojection ([@klokantech](https://github.com/klokantech))
|
||||||
* [#4557](https://github.com/openlayers/openlayers/pull/4557) - Conditionally render tiles to a separate tile canvas ([@ahocevar](https://github.com/ahocevar))
|
* [#4557](https://github.com/openlayers/ol3/pull/4557) - Conditionally render tiles to a separate tile canvas ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4580](https://github.com/openlayers/openlayers/pull/4580) - Update fs-extra to version 0.26.3 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4580](https://github.com/openlayers/ol3/pull/4580) - Update fs-extra to version 0.26.3 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4579](https://github.com/openlayers/openlayers/pull/4579) - Release v3.12.1 ([@openlayers](https://github.com/openlayers))
|
* [#4579](https://github.com/openlayers/ol3/pull/4579) - Release v3.12.1 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4578](https://github.com/openlayers/openlayers/pull/4578) - Fix apidoc landing page markup ([@ahocevar](https://github.com/ahocevar))
|
* [#4578](https://github.com/openlayers/ol3/pull/4578) - Fix apidoc landing page markup ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4575](https://github.com/openlayers/openlayers/pull/4575) - Update rbush to version 1.4.2 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4575](https://github.com/openlayers/ol3/pull/4575) - Update rbush to version 1.4.2 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4571](https://github.com/openlayers/openlayers/pull/4571) - Correct typedef of selectinteraction options obj ([@marcjansen](https://github.com/marcjansen))
|
* [#4571](https://github.com/openlayers/ol3/pull/4571) - Correct typedef of selectinteraction options obj ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4570](https://github.com/openlayers/openlayers/pull/4570) - Rename defaultSort to numberSafeCompareFunction on ol.array ([@bartvde](https://github.com/bartvde))
|
* [#4570](https://github.com/openlayers/ol3/pull/4570) - Rename defaultSort to numberSafeCompareFunction on ol.array ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4567](https://github.com/openlayers/openlayers/pull/4567) - Always pass on a compare function to sort ([@bartvde](https://github.com/bartvde))
|
* [#4567](https://github.com/openlayers/ol3/pull/4567) - Always pass on a compare function to sort ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4001](https://github.com/openlayers/openlayers/pull/4001) - Export PDF's using jsPDF ([@bartvde](https://github.com/bartvde))
|
* [#4001](https://github.com/openlayers/ol3/pull/4001) - Export PDF's using jsPDF ([@bartvde](https://github.com/bartvde))
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
The v3.13.1 release is a patch release that addresses a few regressions in the v3.13.0 release. See the [v3.13.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v3.13.0) for details on upgrading from v3.12.
|
The v3.13.1 release is a patch release that addresses a few regressions in the v3.13.0 release. See the [v3.13.0 release notes](https://github.com/openlayers/ol3/releases/tag/v3.13.0) for details on upgrading from v3.12.
|
||||||
|
|
||||||
## Fixes
|
## Fixes
|
||||||
|
|
||||||
* [#4736](https://github.com/openlayers/openlayers/pull/4736) - Properly detect feature on unmanaged layer for toggle selection ([@ahocevar](https://github.com/ahocevar))
|
* [#4736](https://github.com/openlayers/ol3/pull/4736) - Properly detect feature on unmanaged layer for toggle selection ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4777](https://github.com/openlayers/openlayers/pull/4777) - Fix source.UrlTile URL expansion ([@gberaudo](https://github.com/gberaudo))
|
* [#4777](https://github.com/openlayers/ol3/pull/4777) - Fix source.UrlTile URL expansion ([@gberaudo](https://github.com/gberaudo))
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ The v3.14.0 release includes features and fixes from 93 pull requests since the
|
|||||||
|
|
||||||
#### Internet Explorer 9 support
|
#### Internet Explorer 9 support
|
||||||
|
|
||||||
As of this release, OpenLayers requires a `requestAnimationFrame`/`cancelAnimationFrame` polyfill for IE 9 support. See https://cdn.polyfill.io/v2/docs/features/#requestAnimationFrame.
|
As of this release, OpenLayers requires a `requestAnimationFrame`/`cancelAnimationFrame` polyfill for IE 9 support. See http://cdn.polyfill.io/v2/docs/features/#requestAnimationFrame.
|
||||||
|
|
||||||
#### Layer pre-/postcompose event changes
|
#### Layer pre-/postcompose event changes
|
||||||
|
|
||||||
@@ -59,96 +59,96 @@ layer.on('precompose', function(e) {
|
|||||||
|
|
||||||
## Full list of changes
|
## Full list of changes
|
||||||
|
|
||||||
* [#4896](https://github.com/openlayers/openlayers/pull/4896) - Ignore XML sequence when comparing GML ([@ahocevar](https://github.com/ahocevar))
|
* [#4896](https://github.com/openlayers/ol3/pull/4896) - Ignore XML sequence when comparing GML ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4890](https://github.com/openlayers/openlayers/pull/4890) - ol.format.KML cleanup ([@fredj](https://github.com/fredj))
|
* [#4890](https://github.com/openlayers/ol3/pull/4890) - ol.format.KML cleanup ([@fredj](https://github.com/fredj))
|
||||||
* [#4894](https://github.com/openlayers/openlayers/pull/4894) - Only run raster operations after image sources have loaded. ([@tschaub](https://github.com/tschaub))
|
* [#4894](https://github.com/openlayers/ol3/pull/4894) - Only run raster operations after image sources have loaded. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4892](https://github.com/openlayers/openlayers/pull/4892) - Stricter check for ImageData constructor ([@ahocevar](https://github.com/ahocevar))
|
* [#4892](https://github.com/openlayers/ol3/pull/4892) - Stricter check for ImageData constructor ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4891](https://github.com/openlayers/openlayers/pull/4891) - Fix tests so they all pass in IE9 ([@ahocevar](https://github.com/ahocevar))
|
* [#4891](https://github.com/openlayers/ol3/pull/4891) - Fix tests so they all pass in IE9 ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4889](https://github.com/openlayers/openlayers/pull/4889) - Use requestAnimation polyfill for examples and update release notes ([@ahocevar](https://github.com/ahocevar))
|
* [#4889](https://github.com/openlayers/ol3/pull/4889) - Use requestAnimation polyfill for examples and update release notes ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4887](https://github.com/openlayers/openlayers/pull/4887) - Use less aggressive DOM function overrides ([@ahocevar](https://github.com/ahocevar))
|
* [#4887](https://github.com/openlayers/ol3/pull/4887) - Use less aggressive DOM function overrides ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4885](https://github.com/openlayers/openlayers/pull/4885) - Mark overlayContainer and overlayContainerStopEvent as non-nullable ([@fredj](https://github.com/fredj))
|
* [#4885](https://github.com/openlayers/ol3/pull/4885) - Mark overlayContainer and overlayContainerStopEvent as non-nullable ([@fredj](https://github.com/fredj))
|
||||||
* [#4884](https://github.com/openlayers/openlayers/pull/4884) - Remove use of goog.math.isFiniteNumber() ([@fredj](https://github.com/fredj))
|
* [#4884](https://github.com/openlayers/ol3/pull/4884) - Remove use of goog.math.isFiniteNumber() ([@fredj](https://github.com/fredj))
|
||||||
* [#4881](https://github.com/openlayers/openlayers/pull/4881) - Update jquery to version 2.2.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4881](https://github.com/openlayers/ol3/pull/4881) - Update jquery to version 2.2.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4780](https://github.com/openlayers/openlayers/pull/4780) - Adapt the code for the new closure-compiler version ([@fredj](https://github.com/fredj))
|
* [#4780](https://github.com/openlayers/ol3/pull/4780) - Adapt the code for the new closure-compiler version ([@fredj](https://github.com/fredj))
|
||||||
* [#3453](https://github.com/openlayers/openlayers/pull/3453) - Consider multi in add/remove/toggle select logic ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#3453](https://github.com/openlayers/ol3/pull/3453) - Consider multi in add/remove/toggle select logic ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#4876](https://github.com/openlayers/openlayers/pull/4876) - Add `target` property to Drag&Drop interaction ([@tsauerwein](https://github.com/tsauerwein))
|
* [#4876](https://github.com/openlayers/ol3/pull/4876) - Add `target` property to Drag&Drop interaction ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#4854](https://github.com/openlayers/openlayers/pull/4854) - Always report skipped feature hits for the original layer ([@ahocevar](https://github.com/ahocevar))
|
* [#4854](https://github.com/openlayers/ol3/pull/4854) - Always report skipped feature hits for the original layer ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4877](https://github.com/openlayers/openlayers/pull/4877) - Update eslint to version 2.2.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4877](https://github.com/openlayers/ol3/pull/4877) - Update eslint to version 2.2.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4870](https://github.com/openlayers/openlayers/pull/4870) - Reuse dragListenerKeys_ local variable ([@fredj](https://github.com/fredj))
|
* [#4870](https://github.com/openlayers/ol3/pull/4870) - Reuse dragListenerKeys_ local variable ([@fredj](https://github.com/fredj))
|
||||||
* [#4721](https://github.com/openlayers/openlayers/pull/4721) - Fix reprojection of raster sources with gutter ([@klokantech](https://github.com/klokantech))
|
* [#4721](https://github.com/openlayers/ol3/pull/4721) - Fix reprojection of raster sources with gutter ([@klokantech](https://github.com/klokantech))
|
||||||
* [#4874](https://github.com/openlayers/openlayers/pull/4874) - Assert we have a feature id ([@bartvde](https://github.com/bartvde))
|
* [#4874](https://github.com/openlayers/ol3/pull/4874) - Assert we have a feature id ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4869](https://github.com/openlayers/openlayers/pull/4869) - Improve precision of ol.reproj.render ([@klokantech](https://github.com/klokantech))
|
* [#4869](https://github.com/openlayers/ol3/pull/4869) - Improve precision of ol.reproj.render ([@klokantech](https://github.com/klokantech))
|
||||||
* [#4866](https://github.com/openlayers/openlayers/pull/4866) - Use requestAnimationFrame polyfill (for IE9) ([@ahocevar](https://github.com/ahocevar))
|
* [#4866](https://github.com/openlayers/ol3/pull/4866) - Use requestAnimationFrame polyfill (for IE9) ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4863](https://github.com/openlayers/openlayers/pull/4863) - Remove use of goog.dom.createElement ([@fredj](https://github.com/fredj))
|
* [#4863](https://github.com/openlayers/ol3/pull/4863) - Remove use of goog.dom.createElement ([@fredj](https://github.com/fredj))
|
||||||
* [#4864](https://github.com/openlayers/openlayers/pull/4864) - Use querySelectorAll instead of goog.dom.getElementsByClass ([@fredj](https://github.com/fredj))
|
* [#4864](https://github.com/openlayers/ol3/pull/4864) - Use querySelectorAll instead of goog.dom.getElementsByClass ([@fredj](https://github.com/fredj))
|
||||||
* [#4597](https://github.com/openlayers/openlayers/pull/4597) - Render tiles directly to the map canvas ([@ahocevar](https://github.com/ahocevar))
|
* [#4597](https://github.com/openlayers/ol3/pull/4597) - Render tiles directly to the map canvas ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4862](https://github.com/openlayers/openlayers/pull/4862) - Add OSGeo badge ([@ahocevar](https://github.com/ahocevar))
|
* [#4862](https://github.com/openlayers/ol3/pull/4862) - Add OSGeo badge ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4845](https://github.com/openlayers/openlayers/pull/4845) - Fix geolocation error cast ([@gberaudo](https://github.com/gberaudo))
|
* [#4845](https://github.com/openlayers/ol3/pull/4845) - Fix geolocation error cast ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#4851](https://github.com/openlayers/openlayers/pull/4851) - Don't use goog.isBoolean() ([@marcjansen](https://github.com/marcjansen))
|
* [#4851](https://github.com/openlayers/ol3/pull/4851) - Don't use goog.isBoolean() ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4852](https://github.com/openlayers/openlayers/pull/4852) - Don't use goog.isString() ([@marcjansen](https://github.com/marcjansen))
|
* [#4852](https://github.com/openlayers/ol3/pull/4852) - Don't use goog.isString() ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4849](https://github.com/openlayers/openlayers/pull/4849) - Fix docs of LogoOptions.prototype.src ([@openlayers](https://github.com/openlayers))
|
* [#4849](https://github.com/openlayers/ol3/pull/4849) - Fix docs of LogoOptions.prototype.src ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4794](https://github.com/openlayers/openlayers/pull/4794) - Make tile loading count no longer depend on source count ([@ahocevar](https://github.com/ahocevar))
|
* [#4794](https://github.com/openlayers/ol3/pull/4794) - Make tile loading count no longer depend on source count ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4843](https://github.com/openlayers/openlayers/pull/4843) - Remove use of goog.dom.getParentElement ([@fredj](https://github.com/fredj))
|
* [#4843](https://github.com/openlayers/ol3/pull/4843) - Remove use of goog.dom.getParentElement ([@fredj](https://github.com/fredj))
|
||||||
* [#4839](https://github.com/openlayers/openlayers/pull/4839) - Add template type to ol.Collection ([@fredj](https://github.com/fredj))
|
* [#4839](https://github.com/openlayers/ol3/pull/4839) - Add template type to ol.Collection ([@fredj](https://github.com/fredj))
|
||||||
* [#4847](https://github.com/openlayers/openlayers/pull/4847) - Update eslint to version 2.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4847](https://github.com/openlayers/ol3/pull/4847) - Update eslint to version 2.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4632](https://github.com/openlayers/openlayers/pull/4632) - Overloading fill color (polygon or text) with CanvasPattern and CanvasGradient ([@bjnsn](https://github.com/bjnsn))
|
* [#4632](https://github.com/openlayers/ol3/pull/4632) - Overloading fill color (polygon or text) with CanvasPattern and CanvasGradient ([@bjnsn](https://github.com/bjnsn))
|
||||||
* [#4842](https://github.com/openlayers/openlayers/pull/4842) - Remove use of goog.dom.createDom ([@fredj](https://github.com/fredj))
|
* [#4842](https://github.com/openlayers/ol3/pull/4842) - Remove use of goog.dom.createDom ([@fredj](https://github.com/fredj))
|
||||||
* [#4808](https://github.com/openlayers/openlayers/pull/4808) - Type cleanup ([@fredj](https://github.com/fredj))
|
* [#4808](https://github.com/openlayers/ol3/pull/4808) - Type cleanup ([@fredj](https://github.com/fredj))
|
||||||
* [#4737](https://github.com/openlayers/openlayers/pull/4737) - Use olx.format.ReadOptions in ol.interaction.DragAndDrop ([@fredj](https://github.com/fredj))
|
* [#4737](https://github.com/openlayers/ol3/pull/4737) - Use olx.format.ReadOptions in ol.interaction.DragAndDrop ([@fredj](https://github.com/fredj))
|
||||||
* [#4830](https://github.com/openlayers/openlayers/pull/4830) - Make sure window.proj4 is always restored in tests ([@ahocevar](https://github.com/ahocevar))
|
* [#4830](https://github.com/openlayers/ol3/pull/4830) - Make sure window.proj4 is always restored in tests ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4838](https://github.com/openlayers/openlayers/pull/4838) - Use regular expression instead of String#endsWith() check ([@ahocevar](https://github.com/ahocevar))
|
* [#4838](https://github.com/openlayers/ol3/pull/4838) - Use regular expression instead of String#endsWith() check ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4837](https://github.com/openlayers/openlayers/pull/4837) - Update metalsmith-layouts to version 1.5.4 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4837](https://github.com/openlayers/ol3/pull/4837) - Update metalsmith-layouts to version 1.5.4 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4836](https://github.com/openlayers/openlayers/pull/4836) - Use lowercase for all user agent checks ([@ahocevar](https://github.com/ahocevar))
|
* [#4836](https://github.com/openlayers/ol3/pull/4836) - Use lowercase for all user agent checks ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4833](https://github.com/openlayers/openlayers/pull/4833) - Upgrade linter and config. ([@tschaub](https://github.com/tschaub))
|
* [#4833](https://github.com/openlayers/ol3/pull/4833) - Upgrade linter and config. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4831](https://github.com/openlayers/openlayers/pull/4831) - Add navigation header to examples page ([@jonataswalker](https://github.com/jonataswalker))
|
* [#4831](https://github.com/openlayers/ol3/pull/4831) - Add navigation header to examples page ([@jonataswalker](https://github.com/jonataswalker))
|
||||||
* [#4824](https://github.com/openlayers/openlayers/pull/4824) - Don't use goog.string.newlines.* ([@marcjansen](https://github.com/marcjansen))
|
* [#4824](https://github.com/openlayers/ol3/pull/4824) - Don't use goog.string.newlines.* ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4825](https://github.com/openlayers/openlayers/pull/4825) - Don't use goog.string.isEmpty ([@marcjansen](https://github.com/marcjansen))
|
* [#4825](https://github.com/openlayers/ol3/pull/4825) - Don't use goog.string.isEmpty ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4823](https://github.com/openlayers/openlayers/pull/4823) - Fix type for layers option on ol.interaction.Select ([@ahocevar](https://github.com/ahocevar))
|
* [#4823](https://github.com/openlayers/ol3/pull/4823) - Fix type for layers option on ol.interaction.Select ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4815](https://github.com/openlayers/openlayers/pull/4815) - wrapX false in synthetic examples ([@fredj](https://github.com/fredj))
|
* [#4815](https://github.com/openlayers/ol3/pull/4815) - wrapX false in synthetic examples ([@fredj](https://github.com/fredj))
|
||||||
* [#4810](https://github.com/openlayers/openlayers/pull/4810) - Add checks for undefined in controls ([@gberaudo](https://github.com/gberaudo))
|
* [#4810](https://github.com/openlayers/ol3/pull/4810) - Add checks for undefined in controls ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#4787](https://github.com/openlayers/openlayers/pull/4787) - Add precision parameter for HDMS coordinate ([@pfanguin](https://github.com/pfanguin))
|
* [#4787](https://github.com/openlayers/ol3/pull/4787) - Add precision parameter for HDMS coordinate ([@pfanguin](https://github.com/pfanguin))
|
||||||
* [#4811](https://github.com/openlayers/openlayers/pull/4811) - Make ol.style.Style a @struct ([@fredj](https://github.com/fredj))
|
* [#4811](https://github.com/openlayers/ol3/pull/4811) - Make ol.style.Style a @struct ([@fredj](https://github.com/fredj))
|
||||||
* [#4800](https://github.com/openlayers/openlayers/pull/4800) - Update phantomjs-prebuilt to version 2.1.4 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4800](https://github.com/openlayers/ol3/pull/4800) - Update phantomjs-prebuilt to version 2.1.4 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4792](https://github.com/openlayers/openlayers/pull/4792) - Use ol.events.listen instead of ol.Observable#on ([@fredj](https://github.com/fredj))
|
* [#4792](https://github.com/openlayers/ol3/pull/4792) - Use ol.events.listen instead of ol.Observable#on ([@fredj](https://github.com/fredj))
|
||||||
* [#4796](https://github.com/openlayers/openlayers/pull/4796) - Remove use of goog.isString() ([@marcjansen](https://github.com/marcjansen))
|
* [#4796](https://github.com/openlayers/ol3/pull/4796) - Remove use of goog.isString() ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4795](https://github.com/openlayers/openlayers/pull/4795) - Cleanup after goog.array, goog.object and goog.isDef removal ([@ahocevar](https://github.com/ahocevar))
|
* [#4795](https://github.com/openlayers/ol3/pull/4795) - Cleanup after goog.array, goog.object and goog.isDef removal ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4791](https://github.com/openlayers/openlayers/pull/4791) - Remove unnecessary cast ([@fredj](https://github.com/fredj))
|
* [#4791](https://github.com/openlayers/ol3/pull/4791) - Remove unnecessary cast ([@fredj](https://github.com/fredj))
|
||||||
* [#4778](https://github.com/openlayers/openlayers/pull/4778) - Remove use of goog.object. ([@tschaub](https://github.com/tschaub))
|
* [#4778](https://github.com/openlayers/ol3/pull/4778) - Remove use of goog.object. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4789](https://github.com/openlayers/openlayers/pull/4789) - Use ol.array instead of goog.array ([@fredj](https://github.com/fredj))
|
* [#4789](https://github.com/openlayers/ol3/pull/4789) - Use ol.array instead of goog.array ([@fredj](https://github.com/fredj))
|
||||||
* [#4788](https://github.com/openlayers/openlayers/pull/4788) - Remove unnecessary newlines ([@fredj](https://github.com/fredj))
|
* [#4788](https://github.com/openlayers/ol3/pull/4788) - Remove unnecessary newlines ([@fredj](https://github.com/fredj))
|
||||||
* [#4731](https://github.com/openlayers/openlayers/pull/4731) - Remove all remaining unnecessary casts ([@gberaudo](https://github.com/gberaudo))
|
* [#4731](https://github.com/openlayers/ol3/pull/4731) - Remove all remaining unnecessary casts ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#4776](https://github.com/openlayers/openlayers/pull/4776) - Correct assertion message in ol.array.binarySearch-test ([@marcjansen](https://github.com/marcjansen))
|
* [#4776](https://github.com/openlayers/ol3/pull/4776) - Correct assertion message in ol.array.binarySearch-test ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4711](https://github.com/openlayers/openlayers/pull/4711) - Removal of goog.events.* ([@ahocevar](https://github.com/ahocevar))
|
* [#4711](https://github.com/openlayers/ol3/pull/4711) - Removal of goog.events.* ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4777](https://github.com/openlayers/openlayers/pull/4777) - Fix source.UrlTile URL expansion ([@gberaudo](https://github.com/gberaudo))
|
* [#4777](https://github.com/openlayers/ol3/pull/4777) - Fix source.UrlTile URL expansion ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#4730](https://github.com/openlayers/openlayers/pull/4730) - Document ol.Geolocation error event ([@fredj](https://github.com/fredj))
|
* [#4730](https://github.com/openlayers/ol3/pull/4730) - Document ol.Geolocation error event ([@fredj](https://github.com/fredj))
|
||||||
* [#4772](https://github.com/openlayers/openlayers/pull/4772) - Use node.setAttribute to set namespaceURI of a node ([@adube](https://github.com/adube))
|
* [#4772](https://github.com/openlayers/ol3/pull/4772) - Use node.setAttribute to set namespaceURI of a node ([@adube](https://github.com/adube))
|
||||||
* [#4774](https://github.com/openlayers/openlayers/pull/4774) - Update graceful-fs to version 4.1.3 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4774](https://github.com/openlayers/ol3/pull/4774) - Update graceful-fs to version 4.1.3 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4680](https://github.com/openlayers/openlayers/pull/4680) - Remove goog array. ([@nicholas-l](https://github.com/nicholas-l))
|
* [#4680](https://github.com/openlayers/ol3/pull/4680) - Remove goog array. ([@nicholas-l](https://github.com/nicholas-l))
|
||||||
* [#4771](https://github.com/openlayers/openlayers/pull/4771) - Use innerHTML instead of innerText to populate the status element ([@fredj](https://github.com/fredj))
|
* [#4771](https://github.com/openlayers/ol3/pull/4771) - Use innerHTML instead of innerText to populate the status element ([@fredj](https://github.com/fredj))
|
||||||
* [#4769](https://github.com/openlayers/openlayers/pull/4769) - Add opaque option to olx.source.OSMOptions ([@fredj](https://github.com/fredj))
|
* [#4769](https://github.com/openlayers/ol3/pull/4769) - Add opaque option to olx.source.OSMOptions ([@fredj](https://github.com/fredj))
|
||||||
* [#4736](https://github.com/openlayers/openlayers/pull/4736) - Properly detect feature on unmanaged layer for toggle selection ([@ahocevar](https://github.com/ahocevar))
|
* [#4736](https://github.com/openlayers/ol3/pull/4736) - Properly detect feature on unmanaged layer for toggle selection ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4756](https://github.com/openlayers/openlayers/pull/4756) - Remove VectorTile getSource re-definition of return value ([@adube](https://github.com/adube))
|
* [#4756](https://github.com/openlayers/ol3/pull/4756) - Remove VectorTile getSource re-definition of return value ([@adube](https://github.com/adube))
|
||||||
* [#4733](https://github.com/openlayers/openlayers/pull/4733) - Avoid rendering too big and too small images for vector tiles ([@ahocevar](https://github.com/ahocevar))
|
* [#4733](https://github.com/openlayers/ol3/pull/4733) - Avoid rendering too big and too small images for vector tiles ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4754](https://github.com/openlayers/openlayers/pull/4754) - Upgrade to mocha@2.4.5. ([@tschaub](https://github.com/tschaub))
|
* [#4754](https://github.com/openlayers/ol3/pull/4754) - Upgrade to mocha@2.4.5. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4750](https://github.com/openlayers/openlayers/pull/4750) - Update metalsmith-layouts to version 1.4.4 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4750](https://github.com/openlayers/ol3/pull/4750) - Update metalsmith-layouts to version 1.4.4 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4751](https://github.com/openlayers/openlayers/pull/4751) - Update phantomjs to version 2.1.3 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4751](https://github.com/openlayers/ol3/pull/4751) - Update phantomjs to version 2.1.3 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4741](https://github.com/openlayers/openlayers/pull/4741) - Report on installed versions in Travis. ([@openlayers](https://github.com/openlayers))
|
* [#4741](https://github.com/openlayers/ol3/pull/4741) - Report on installed versions in Travis. ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4742](https://github.com/openlayers/openlayers/pull/4742) - Upgrade to eslint@2.0.0-beta.2. ([@tschaub](https://github.com/tschaub))
|
* [#4742](https://github.com/openlayers/ol3/pull/4742) - Upgrade to eslint@2.0.0-beta.2. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4746](https://github.com/openlayers/openlayers/pull/4746) - Downgrade to mocha@2.3.4. ([@tschaub](https://github.com/tschaub))
|
* [#4746](https://github.com/openlayers/ol3/pull/4746) - Downgrade to mocha@2.3.4. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4740](https://github.com/openlayers/openlayers/pull/4740) - Update fs-extra to version 0.26.5 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4740](https://github.com/openlayers/ol3/pull/4740) - Update fs-extra to version 0.26.5 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4738](https://github.com/openlayers/openlayers/pull/4738) - Add unit tests for ol.control.Rotate and ol.control.Zoom ([@fredj](https://github.com/fredj))
|
* [#4738](https://github.com/openlayers/ol3/pull/4738) - Add unit tests for ol.control.Rotate and ol.control.Zoom ([@fredj](https://github.com/fredj))
|
||||||
* [#4718](https://github.com/openlayers/openlayers/pull/4718) - Improve raster reprojection behavior when tiles fail to load ([@klokantech](https://github.com/klokantech))
|
* [#4718](https://github.com/openlayers/ol3/pull/4718) - Improve raster reprojection behavior when tiles fail to load ([@klokantech](https://github.com/klokantech))
|
||||||
* [#4734](https://github.com/openlayers/openlayers/pull/4734) - Update sinon to version 1.17.3 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4734](https://github.com/openlayers/ol3/pull/4734) - Update sinon to version 1.17.3 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4726](https://github.com/openlayers/openlayers/pull/4726) - Update mocha to version 2.4.2 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4726](https://github.com/openlayers/ol3/pull/4726) - Update mocha to version 2.4.2 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4725](https://github.com/openlayers/openlayers/pull/4725) - Untangle vector tile feature reprojection ([@ahocevar](https://github.com/ahocevar))
|
* [#4725](https://github.com/openlayers/ol3/pull/4725) - Untangle vector tile feature reprojection ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4735](https://github.com/openlayers/openlayers/pull/4735) - Add default value for defaultDataProjection ([@fredj](https://github.com/fredj))
|
* [#4735](https://github.com/openlayers/ol3/pull/4735) - Add default value for defaultDataProjection ([@fredj](https://github.com/fredj))
|
||||||
* [#4732](https://github.com/openlayers/openlayers/pull/4732) - Fix '@see' link in src/ol/deviceorientation.js ([@fredj](https://github.com/fredj))
|
* [#4732](https://github.com/openlayers/ol3/pull/4732) - Fix '@see' link in src/ol/deviceorientation.js ([@fredj](https://github.com/fredj))
|
||||||
* [#4720](https://github.com/openlayers/openlayers/pull/4720) - Improve tileLoadFunction docs ([@ahocevar](https://github.com/ahocevar))
|
* [#4720](https://github.com/openlayers/ol3/pull/4720) - Improve tileLoadFunction docs ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4717](https://github.com/openlayers/openlayers/pull/4717) - Update phantomjs to version 2.1.2 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4717](https://github.com/openlayers/ol3/pull/4717) - Update phantomjs to version 2.1.2 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4679](https://github.com/openlayers/openlayers/pull/4679) - Add a source option for the full screen control ([@gaf-ag](https://github.com/gaf-ag))
|
* [#4679](https://github.com/openlayers/ol3/pull/4679) - Add a source option for the full screen control ([@gaf-ag](https://github.com/gaf-ag))
|
||||||
* [#4712](https://github.com/openlayers/openlayers/pull/4712) - Add missing JSDoc tags ([@fredj](https://github.com/fredj))
|
* [#4712](https://github.com/openlayers/ol3/pull/4712) - Add missing JSDoc tags ([@fredj](https://github.com/fredj))
|
||||||
* [#4700](https://github.com/openlayers/openlayers/pull/4700) - Add 'layers' option for WMSGetFeatureInfo format ([@adube](https://github.com/adube))
|
* [#4700](https://github.com/openlayers/ol3/pull/4700) - Add 'layers' option for WMSGetFeatureInfo format ([@adube](https://github.com/adube))
|
||||||
* [#4705](https://github.com/openlayers/openlayers/pull/4705) - Remove remaining unnecessary ol.source.State casts ([@gberaudo](https://github.com/gberaudo))
|
* [#4705](https://github.com/openlayers/ol3/pull/4705) - Remove remaining unnecessary ol.source.State casts ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#4703](https://github.com/openlayers/openlayers/pull/4703) - Source options fixes. ([@gberaudo](https://github.com/gberaudo))
|
* [#4703](https://github.com/openlayers/ol3/pull/4703) - Source options fixes. ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#4698](https://github.com/openlayers/openlayers/pull/4698) - Add rotateWithView option to ol.style.RegularShape ([@fredj](https://github.com/fredj))
|
* [#4698](https://github.com/openlayers/ol3/pull/4698) - Add rotateWithView option to ol.style.RegularShape ([@fredj](https://github.com/fredj))
|
||||||
* [#4697](https://github.com/openlayers/openlayers/pull/4697) - Bind tileUrlFunction to the source ([@gberaudo](https://github.com/gberaudo))
|
* [#4697](https://github.com/openlayers/ol3/pull/4697) - Bind tileUrlFunction to the source ([@gberaudo](https://github.com/gberaudo))
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
The v3.14.1 release is a patch release that addresses a few regressions in the v3.14.0 release. See the [v3.14.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v3.14.0) for details on upgrading from v3.13.x.
|
The v3.14.1 release is a patch release that addresses a few regressions in the v3.14.0 release. See the [v3.14.0 release notes](https://github.com/openlayers/ol3/releases/tag/v3.14.0) for details on upgrading from v3.13.x.
|
||||||
|
|
||||||
## Fixes
|
## Fixes
|
||||||
|
|
||||||
* [#4939](https://github.com/openlayers/openlayers/pull/4939) - Fix rendering of opaque layers with opacity != 1 ([@ahocevar](https://github.com/ahocevar))
|
* [#4939](https://github.com/openlayers/ol3/pull/4939) - Fix rendering of opaque layers with opacity != 1 ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4921](https://github.com/openlayers/openlayers/pull/4921) - Unlisten before calling listener and bind to target by default ([@ahocevar](https://github.com/ahocevar))
|
* [#4921](https://github.com/openlayers/ol3/pull/4921) - Unlisten before calling listener and bind to target by default ([@ahocevar](https://github.com/ahocevar))
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
The v3.14.2 release is a patch release that addresses a few regressions in the v3.14.1 release. See the [v3.14.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v3.14.0) for details on upgrading from v3.13.x.
|
The v3.14.2 release is a patch release that addresses a few regressions in the v3.14.1 release. See the [v3.14.0 release notes](https://github.com/openlayers/ol3/releases/tag/v3.14.0) for details on upgrading from v3.13.x.
|
||||||
|
|
||||||
## Fixes
|
## Fixes
|
||||||
|
|
||||||
* [#4963](https://github.com/openlayers/openlayers/pull/4963) - Handle more XHR errors in the TileJSON source ([@tschaub](https://github.com/tschaub))
|
* [#4963](https://github.com/openlayers/ol3/pull/4963) - Handle more XHR errors in the TileJSON source ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4960](https://github.com/openlayers/openlayers/pull/4960) - Simplify clipping of lower resolution regions ([@ahocevar](https://github.com/ahocevar))
|
* [#4960](https://github.com/openlayers/ol3/pull/4960) - Simplify clipping of lower resolution regions ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4958](https://github.com/openlayers/openlayers/pull/4958) - Stop wheel events instead of DOMMouseScroll events ([@fredj](https://github.com/fredj))
|
* [#4958](https://github.com/openlayers/ol3/pull/4958) - Stop wheel events instead of DOMMouseScroll events ([@fredj](https://github.com/fredj))
|
||||||
* [#4956](https://github.com/openlayers/openlayers/pull/4956) - Fix Examples layout page ([@jonataswalker](https://github.com/jonataswalker))
|
* [#4956](https://github.com/openlayers/ol3/pull/4956) - Fix Examples layout page ([@jonataswalker](https://github.com/jonataswalker))
|
||||||
* [#4809](https://github.com/openlayers/openlayers/pull/4809) - Fix multipolygon clone. ([@fperucic](https://github.com/fperucic))
|
* [#4809](https://github.com/openlayers/ol3/pull/4809) - Fix multipolygon clone. ([@fperucic](https://github.com/fperucic))
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ The v3.15.0 release includes features and fixes from 136 pull requests since the
|
|||||||
|
|
||||||
#### Internet Explorer 9 support
|
#### Internet Explorer 9 support
|
||||||
|
|
||||||
As of this release, OpenLayers requires a `classList` polyfill for IE 9 support. See https://cdn.polyfill.io/v2/docs/features#Element_prototype_classList.
|
As of this release, OpenLayers requires a `classList` polyfill for IE 9 support. See http://cdn.polyfill.io/v2/docs/features#Element_prototype_classList.
|
||||||
|
|
||||||
#### Immediate rendering API
|
#### Immediate rendering API
|
||||||
|
|
||||||
@@ -65,140 +65,140 @@ The default cache size is `2048`.
|
|||||||
|
|
||||||
## Full list of changes
|
## Full list of changes
|
||||||
|
|
||||||
* [#4775](https://github.com/openlayers/openlayers/pull/4775) - Remove goog.math.modulo and goog.math.lerp ([@nicholas-l](https://github.com/nicholas-l))
|
* [#4775](https://github.com/openlayers/ol3/pull/4775) - Remove goog.math.modulo and goog.math.lerp ([@nicholas-l](https://github.com/nicholas-l))
|
||||||
* [#5152](https://github.com/openlayers/openlayers/pull/5152) - Cartodb cleanup ([@fredj](https://github.com/fredj))
|
* [#5152](https://github.com/openlayers/ol3/pull/5152) - Cartodb cleanup ([@fredj](https://github.com/fredj))
|
||||||
* [#4804](https://github.com/openlayers/openlayers/pull/4804) - Use Array.isArray instead of goog.isArray ([@fredj](https://github.com/fredj))
|
* [#4804](https://github.com/openlayers/ol3/pull/4804) - Use Array.isArray instead of goog.isArray ([@fredj](https://github.com/fredj))
|
||||||
* [#5149](https://github.com/openlayers/openlayers/pull/5149) - Batch polygon fill and stroke instructions ([@ahocevar](https://github.com/ahocevar))
|
* [#5149](https://github.com/openlayers/ol3/pull/5149) - Batch polygon fill and stroke instructions ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5159](https://github.com/openlayers/openlayers/pull/5159) - Update eslint to version 2.6.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5159](https://github.com/openlayers/ol3/pull/5159) - Update eslint to version 2.6.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5160](https://github.com/openlayers/openlayers/pull/5160) - Update clean-css to version 3.4.11 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5160](https://github.com/openlayers/ol3/pull/5160) - Update clean-css to version 3.4.11 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5157](https://github.com/openlayers/openlayers/pull/5157) - Improve docs for measure example ([@probins](https://github.com/probins))
|
* [#5157](https://github.com/openlayers/ol3/pull/5157) - Improve docs for measure example ([@probins](https://github.com/probins))
|
||||||
* [#5155](https://github.com/openlayers/openlayers/pull/5155) - Fix ol.source.Zoomify tests on firefox ([@fredj](https://github.com/fredj))
|
* [#5155](https://github.com/openlayers/ol3/pull/5155) - Fix ol.source.Zoomify tests on firefox ([@fredj](https://github.com/fredj))
|
||||||
* [#5086](https://github.com/openlayers/openlayers/pull/5086) - Get rid of goog.functions ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#5086](https://github.com/openlayers/ol3/pull/5086) - Get rid of goog.functions ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#5105](https://github.com/openlayers/openlayers/pull/5105) - Support minZoom in ol.source.Stamen ([@fredj](https://github.com/fredj))
|
* [#5105](https://github.com/openlayers/ol3/pull/5105) - Support minZoom in ol.source.Stamen ([@fredj](https://github.com/fredj))
|
||||||
* [#4926](https://github.com/openlayers/openlayers/pull/4926) - Add CartoDB tile source. ([@aisaacs](https://github.com/aisaacs))
|
* [#4926](https://github.com/openlayers/ol3/pull/4926) - Add CartoDB tile source. ([@aisaacs](https://github.com/aisaacs))
|
||||||
* [#5151](https://github.com/openlayers/openlayers/pull/5151) - Use fs-extra as fs, remove usage of graceful-fs ([@marcjansen](https://github.com/marcjansen))
|
* [#5151](https://github.com/openlayers/ol3/pull/5151) - Use fs-extra as fs, remove usage of graceful-fs ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#5124](https://github.com/openlayers/openlayers/pull/5124) - Removed goog.dom.classlist ([@nicholas-l](https://github.com/nicholas-l))
|
* [#5124](https://github.com/openlayers/ol3/pull/5124) - Removed goog.dom.classlist ([@nicholas-l](https://github.com/nicholas-l))
|
||||||
* [#5150](https://github.com/openlayers/openlayers/pull/5150) - Use fs-extra instead of wrench ([@fredj](https://github.com/fredj))
|
* [#5150](https://github.com/openlayers/ol3/pull/5150) - Use fs-extra instead of wrench ([@fredj](https://github.com/fredj))
|
||||||
* [#5109](https://github.com/openlayers/openlayers/pull/5109) - Add some tests for ol.source.TileUTFGrid ([@marcjansen](https://github.com/marcjansen))
|
* [#5109](https://github.com/openlayers/ol3/pull/5109) - Add some tests for ol.source.TileUTFGrid ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#5139](https://github.com/openlayers/openlayers/pull/5139) - Update closure-util to version 1.13.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5139](https://github.com/openlayers/ol3/pull/5139) - Update closure-util to version 1.13.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5141](https://github.com/openlayers/openlayers/pull/5141) - Reuse dragListenerKeys_ variable in ol.control.ZoomSlider ([@fredj](https://github.com/fredj))
|
* [#5141](https://github.com/openlayers/ol3/pull/5141) - Reuse dragListenerKeys_ variable in ol.control.ZoomSlider ([@fredj](https://github.com/fredj))
|
||||||
* [#5118](https://github.com/openlayers/openlayers/pull/5118) - Remove goog.dom.classlist usage ([@fredj](https://github.com/fredj))
|
* [#5118](https://github.com/openlayers/ol3/pull/5118) - Remove goog.dom.classlist usage ([@fredj](https://github.com/fredj))
|
||||||
* [#5115](https://github.com/openlayers/openlayers/pull/5115) - Clarify that lineDash has no effect in IE 10 and below ([@marcjansen](https://github.com/marcjansen))
|
* [#5115](https://github.com/openlayers/ol3/pull/5115) - Clarify that lineDash has no effect in IE 10 and below ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#5136](https://github.com/openlayers/openlayers/pull/5136) - Update eslint to version 2.5.3 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5136](https://github.com/openlayers/ol3/pull/5136) - Update eslint to version 2.5.3 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5123](https://github.com/openlayers/openlayers/pull/5123) - Update coveralls to version 2.11.9 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5123](https://github.com/openlayers/ol3/pull/5123) - Update coveralls to version 2.11.9 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5131](https://github.com/openlayers/openlayers/pull/5131) - Update phantomjs-prebuilt to version 2.1.7 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5131](https://github.com/openlayers/ol3/pull/5131) - Update phantomjs-prebuilt to version 2.1.7 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5122](https://github.com/openlayers/openlayers/pull/5122) - Update browser support info in intro tutorial ([@probins](https://github.com/probins))
|
* [#5122](https://github.com/openlayers/ol3/pull/5122) - Update browser support info in intro tutorial ([@probins](https://github.com/probins))
|
||||||
* [#5112](https://github.com/openlayers/openlayers/pull/5112) - Add decimals option to format write ([@probins](https://github.com/probins))
|
* [#5112](https://github.com/openlayers/ol3/pull/5112) - Add decimals option to format write ([@probins](https://github.com/probins))
|
||||||
* [#5120](https://github.com/openlayers/openlayers/pull/5120) - Add tileJSON option to ol.source.TileUTFGrid ([@ahocevar](https://github.com/ahocevar))
|
* [#5120](https://github.com/openlayers/ol3/pull/5120) - Add tileJSON option to ol.source.TileUTFGrid ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5119](https://github.com/openlayers/openlayers/pull/5119) - Add ol.source.Raster events on API docs page ([@drnextgis](https://github.com/drnextgis))
|
* [#5119](https://github.com/openlayers/ol3/pull/5119) - Add ol.source.Raster events on API docs page ([@drnextgis](https://github.com/drnextgis))
|
||||||
* [#5116](https://github.com/openlayers/openlayers/pull/5116) - Improve examples pages on mobile devices a bit ([@ahocevar](https://github.com/ahocevar))
|
* [#5116](https://github.com/openlayers/ol3/pull/5116) - Improve examples pages on mobile devices a bit ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5113](https://github.com/openlayers/openlayers/pull/5113) - Memory leak in ol.control.FullScreen ([@AvatharDG](https://github.com/AvatharDG))
|
* [#5113](https://github.com/openlayers/ol3/pull/5113) - Memory leak in ol.control.FullScreen ([@AvatharDG](https://github.com/AvatharDG))
|
||||||
* [#5111](https://github.com/openlayers/openlayers/pull/5111) - Remove CSS filter in examples ([@fredj](https://github.com/fredj))
|
* [#5111](https://github.com/openlayers/ol3/pull/5111) - Remove CSS filter in examples ([@fredj](https://github.com/fredj))
|
||||||
* [#5108](https://github.com/openlayers/openlayers/pull/5108) - Remove unused ol.xml.getAttributeNodeNS function ([@fredj](https://github.com/fredj))
|
* [#5108](https://github.com/openlayers/ol3/pull/5108) - Remove unused ol.xml.getAttributeNodeNS function ([@fredj](https://github.com/fredj))
|
||||||
* [#5106](https://github.com/openlayers/openlayers/pull/5106) - Get rid of goog.math.Vec2 ([@fredj](https://github.com/fredj))
|
* [#5106](https://github.com/openlayers/ol3/pull/5106) - Get rid of goog.math.Vec2 ([@fredj](https://github.com/fredj))
|
||||||
* [#5096](https://github.com/openlayers/openlayers/pull/5096) - Add tests for ol.source.Zoomify ([@marcjansen](https://github.com/marcjansen))
|
* [#5096](https://github.com/openlayers/ol3/pull/5096) - Add tests for ol.source.Zoomify ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#5102](https://github.com/openlayers/openlayers/pull/5102) - Fix typo in API docs ([@openlayers](https://github.com/openlayers))
|
* [#5102](https://github.com/openlayers/ol3/pull/5102) - Fix typo in API docs ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5098](https://github.com/openlayers/openlayers/pull/5098) - Reintroduce log messages for relevant WebGL assertions ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#5098](https://github.com/openlayers/ol3/pull/5098) - Reintroduce log messages for relevant WebGL assertions ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#5094](https://github.com/openlayers/openlayers/pull/5094) - FAQ: answer question 4 ([@probins](https://github.com/probins))
|
* [#5094](https://github.com/openlayers/ol3/pull/5094) - FAQ: answer question 4 ([@probins](https://github.com/probins))
|
||||||
* [#5092](https://github.com/openlayers/openlayers/pull/5092) - add raster.jsdoc ([@drnextgis](https://github.com/drnextgis))
|
* [#5092](https://github.com/openlayers/ol3/pull/5092) - add raster.jsdoc ([@drnextgis](https://github.com/drnextgis))
|
||||||
* [#5081](https://github.com/openlayers/openlayers/pull/5081) - Snap to vertices or edges ([@drnextgis](https://github.com/drnextgis))
|
* [#5081](https://github.com/openlayers/ol3/pull/5081) - Snap to vertices or edges ([@drnextgis](https://github.com/drnextgis))
|
||||||
* [#5090](https://github.com/openlayers/openlayers/pull/5090) - Update custom-builds.md ([@probins](https://github.com/probins))
|
* [#5090](https://github.com/openlayers/ol3/pull/5090) - Update custom-builds.md ([@probins](https://github.com/probins))
|
||||||
* [#5089](https://github.com/openlayers/openlayers/pull/5089) - Test for both transform coords should use roughlyEqual ([@probins](https://github.com/probins))
|
* [#5089](https://github.com/openlayers/ol3/pull/5089) - Test for both transform coords should use roughlyEqual ([@probins](https://github.com/probins))
|
||||||
* [#5080](https://github.com/openlayers/openlayers/pull/5080) - Fix geojson write GeometryCollection ([@probins](https://github.com/probins))
|
* [#5080](https://github.com/openlayers/ol3/pull/5080) - Fix geojson write GeometryCollection ([@probins](https://github.com/probins))
|
||||||
* [#5088](https://github.com/openlayers/openlayers/pull/5088) - DEVELOPING.md: remove section on running Travis on fork ([@probins](https://github.com/probins))
|
* [#5088](https://github.com/openlayers/ol3/pull/5088) - DEVELOPING.md: remove section on running Travis on fork ([@probins](https://github.com/probins))
|
||||||
* [#5087](https://github.com/openlayers/openlayers/pull/5087) - assertion to check that there's a DOM node for target element ([@drnextgis](https://github.com/drnextgis))
|
* [#5087](https://github.com/openlayers/ol3/pull/5087) - assertion to check that there's a DOM node for target element ([@drnextgis](https://github.com/drnextgis))
|
||||||
* [#5069](https://github.com/openlayers/openlayers/pull/5069) - Update jquery to version 2.2.2 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5069](https://github.com/openlayers/ol3/pull/5069) - Update jquery to version 2.2.2 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5083](https://github.com/openlayers/openlayers/pull/5083) - Remove unnecessary lineTo calls in immediate polygon rendering ([@tschaub](https://github.com/tschaub))
|
* [#5083](https://github.com/openlayers/ol3/pull/5083) - Remove unnecessary lineTo calls in immediate polygon rendering ([@tschaub](https://github.com/tschaub))
|
||||||
* [#5082](https://github.com/openlayers/openlayers/pull/5082) - Get rid of goog.log. ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#5082](https://github.com/openlayers/ol3/pull/5082) - Get rid of goog.log. ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#5079](https://github.com/openlayers/openlayers/pull/5079) - Correcting a typo in the upgrade notes ([@tschaub](https://github.com/tschaub))
|
* [#5079](https://github.com/openlayers/ol3/pull/5079) - Correcting a typo in the upgrade notes ([@tschaub](https://github.com/tschaub))
|
||||||
* [#5076](https://github.com/openlayers/openlayers/pull/5076) - Update phantomjs-prebuilt to version 2.1.6 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5076](https://github.com/openlayers/ol3/pull/5076) - Update phantomjs-prebuilt to version 2.1.6 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5077](https://github.com/openlayers/openlayers/pull/5077) - Make immediate API uniformly synchronous. ([@tschaub](https://github.com/tschaub))
|
* [#5077](https://github.com/openlayers/ol3/pull/5077) - Make immediate API uniformly synchronous. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#5072](https://github.com/openlayers/openlayers/pull/5072) - Add setStyle() and drawGeometry() to the immediate rendering API. ([@tschaub](https://github.com/tschaub))
|
* [#5072](https://github.com/openlayers/ol3/pull/5072) - Add setStyle() and drawGeometry() to the immediate rendering API. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#5074](https://github.com/openlayers/openlayers/pull/5074) - Do not rotate map canvas after composition ([@ahocevar](https://github.com/ahocevar))
|
* [#5074](https://github.com/openlayers/ol3/pull/5074) - Do not rotate map canvas after composition ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5071](https://github.com/openlayers/openlayers/pull/5071) - correct way to determine freehand mode is enabled ([@drnextgis](https://github.com/drnextgis))
|
* [#5071](https://github.com/openlayers/ol3/pull/5071) - correct way to determine freehand mode is enabled ([@drnextgis](https://github.com/drnextgis))
|
||||||
* [#5066](https://github.com/openlayers/openlayers/pull/5066) - Add more getters to ol.source.Vector ([@bartvde](https://github.com/bartvde))
|
* [#5066](https://github.com/openlayers/ol3/pull/5066) - Add more getters to ol.source.Vector ([@bartvde](https://github.com/bartvde))
|
||||||
* [#5064](https://github.com/openlayers/openlayers/pull/5064) - Fix inconsistency in geom docs ([@probins](https://github.com/probins))
|
* [#5064](https://github.com/openlayers/ol3/pull/5064) - Fix inconsistency in geom docs ([@probins](https://github.com/probins))
|
||||||
* [#5063](https://github.com/openlayers/openlayers/pull/5063) - Remove inappropriate information from API docs ([@drnextgis](https://github.com/drnextgis))
|
* [#5063](https://github.com/openlayers/ol3/pull/5063) - Remove inappropriate information from API docs ([@drnextgis](https://github.com/drnextgis))
|
||||||
* [#5061](https://github.com/openlayers/openlayers/pull/5061) - Remove redundant required option ([@drnextgis](https://github.com/drnextgis))
|
* [#5061](https://github.com/openlayers/ol3/pull/5061) - Remove redundant required option ([@drnextgis](https://github.com/drnextgis))
|
||||||
* [#5058](https://github.com/openlayers/openlayers/pull/5058) - Note in docs that DOM renderer can also render vectors ([@probins](https://github.com/probins))
|
* [#5058](https://github.com/openlayers/ol3/pull/5058) - Note in docs that DOM renderer can also render vectors ([@probins](https://github.com/probins))
|
||||||
* [#5056](https://github.com/openlayers/openlayers/pull/5056) - Note in docs that WebGL can render points ([@probins](https://github.com/probins))
|
* [#5056](https://github.com/openlayers/ol3/pull/5056) - Note in docs that WebGL can render points ([@probins](https://github.com/probins))
|
||||||
* [#5055](https://github.com/openlayers/openlayers/pull/5055) - Fix cruft on kml scale output ([@probins](https://github.com/probins))
|
* [#5055](https://github.com/openlayers/ol3/pull/5055) - Fix cruft on kml scale output ([@probins](https://github.com/probins))
|
||||||
* [#5051](https://github.com/openlayers/openlayers/pull/5051) - Handle aborted tiles in ol.TileQueue ([@fredj](https://github.com/fredj))
|
* [#5051](https://github.com/openlayers/ol3/pull/5051) - Handle aborted tiles in ol.TileQueue ([@fredj](https://github.com/fredj))
|
||||||
* [#5049](https://github.com/openlayers/openlayers/pull/5049) - Supported browsers all have getComputedStyle ([@marcjansen](https://github.com/marcjansen))
|
* [#5049](https://github.com/openlayers/ol3/pull/5049) - Supported browsers all have getComputedStyle ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#5048](https://github.com/openlayers/openlayers/pull/5048) - Add tests for ol.dom methods ([@marcjansen](https://github.com/marcjansen))
|
* [#5048](https://github.com/openlayers/ol3/pull/5048) - Add tests for ol.dom methods ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#5031](https://github.com/openlayers/openlayers/pull/5031) - support zooming out for ol.interaction.DragZoom ([@drnextgis](https://github.com/drnextgis))
|
* [#5031](https://github.com/openlayers/ol3/pull/5031) - support zooming out for ol.interaction.DragZoom ([@drnextgis](https://github.com/drnextgis))
|
||||||
* [#5036](https://github.com/openlayers/openlayers/pull/5036) - Use imgSize when provided ([@ahocevar](https://github.com/ahocevar))
|
* [#5036](https://github.com/openlayers/ol3/pull/5036) - Use imgSize when provided ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5020](https://github.com/openlayers/openlayers/pull/5020) - Update gaze to version 1.0.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5020](https://github.com/openlayers/ol3/pull/5020) - Update gaze to version 1.0.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5039](https://github.com/openlayers/openlayers/pull/5039) - Update fs-extra to version 0.26.6 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5039](https://github.com/openlayers/ol3/pull/5039) - Update fs-extra to version 0.26.6 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5033](https://github.com/openlayers/openlayers/pull/5033) - Document GPX geometry output types ([@probins](https://github.com/probins))
|
* [#5033](https://github.com/openlayers/ol3/pull/5033) - Document GPX geometry output types ([@probins](https://github.com/probins))
|
||||||
* [#5024](https://github.com/openlayers/openlayers/pull/5024) - Resize the map canvas less aggressively ([@ahocevar](https://github.com/ahocevar))
|
* [#5024](https://github.com/openlayers/ol3/pull/5024) - Resize the map canvas less aggressively ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5000](https://github.com/openlayers/openlayers/pull/5000) - Remove use of goog.math.Size and goog.style.setBorderBoxSize ([@fredj](https://github.com/fredj))
|
* [#5000](https://github.com/openlayers/ol3/pull/5000) - Remove use of goog.math.Size and goog.style.setBorderBoxSize ([@fredj](https://github.com/fredj))
|
||||||
* [#5027](https://github.com/openlayers/openlayers/pull/5027) - Clarify default value of featureProjection on geometry write ([@probins](https://github.com/probins))
|
* [#5027](https://github.com/openlayers/ol3/pull/5027) - Clarify default value of featureProjection on geometry write ([@probins](https://github.com/probins))
|
||||||
* [#5019](https://github.com/openlayers/openlayers/pull/5019) - Update eslint to version 2.4.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5019](https://github.com/openlayers/ol3/pull/5019) - Update eslint to version 2.4.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5016](https://github.com/openlayers/openlayers/pull/5016) - Add basic tests for ol.geom.flat.center ([@marcjansen](https://github.com/marcjansen))
|
* [#5016](https://github.com/openlayers/ol3/pull/5016) - Add basic tests for ol.geom.flat.center ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#5015](https://github.com/openlayers/openlayers/pull/5015) - Update proj4 to version 2.3.14 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5015](https://github.com/openlayers/ol3/pull/5015) - Update proj4 to version 2.3.14 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5013](https://github.com/openlayers/openlayers/pull/5013) - Fix typo in test description ([@openlayers](https://github.com/openlayers))
|
* [#5013](https://github.com/openlayers/ol3/pull/5013) - Fix typo in test description ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5007](https://github.com/openlayers/openlayers/pull/5007) - Accept simpler forms of specifying attribution(s) for sources. ([@marcjansen](https://github.com/marcjansen))
|
* [#5007](https://github.com/openlayers/ol3/pull/5007) - Accept simpler forms of specifying attribution(s) for sources. ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#5011](https://github.com/openlayers/openlayers/pull/5011) - Add missing setProjection function to ol.VectorTile API ([@ahocevar](https://github.com/ahocevar))
|
* [#5011](https://github.com/openlayers/ol3/pull/5011) - Add missing setProjection function to ol.VectorTile API ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5010](https://github.com/openlayers/openlayers/pull/5010) - Add and fix API docs for ol.events.Event stack ([@ahocevar](https://github.com/ahocevar))
|
* [#5010](https://github.com/openlayers/ol3/pull/5010) - Add and fix API docs for ol.events.Event stack ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5009](https://github.com/openlayers/openlayers/pull/5009) - Update tutorials ([@gberaudo](https://github.com/gberaudo))
|
* [#5009](https://github.com/openlayers/ol3/pull/5009) - Update tutorials ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#5006](https://github.com/openlayers/openlayers/pull/5006) - Use the maintained slimerjs package ([@ahocevar](https://github.com/ahocevar))
|
* [#5006](https://github.com/openlayers/ol3/pull/5006) - Use the maintained slimerjs package ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5003](https://github.com/openlayers/openlayers/pull/5003) - Add 'function' jsdoc tag to ol.geom.Geometry#rotate ([@fredj](https://github.com/fredj))
|
* [#5003](https://github.com/openlayers/ol3/pull/5003) - Add 'function' jsdoc tag to ol.geom.Geometry#rotate ([@fredj](https://github.com/fredj))
|
||||||
* [#5002](https://github.com/openlayers/openlayers/pull/5002) - Update eslint-config-openlayers to version 4.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5002](https://github.com/openlayers/ol3/pull/5002) - Update eslint-config-openlayers to version 4.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4999](https://github.com/openlayers/openlayers/pull/4999) - Remove use of goog.dom.removeNode ([@fredj](https://github.com/fredj))
|
* [#4999](https://github.com/openlayers/ol3/pull/4999) - Remove use of goog.dom.removeNode ([@fredj](https://github.com/fredj))
|
||||||
* [#4990](https://github.com/openlayers/openlayers/pull/4990) - Add new ol.source.TileJSON#getTileJSON function ([@fredj](https://github.com/fredj))
|
* [#4990](https://github.com/openlayers/ol3/pull/4990) - Add new ol.source.TileJSON#getTileJSON function ([@fredj](https://github.com/fredj))
|
||||||
* [#4998](https://github.com/openlayers/openlayers/pull/4998) - Remove unused ol.Map#isDef function ([@fredj](https://github.com/fredj))
|
* [#4998](https://github.com/openlayers/ol3/pull/4998) - Remove unused ol.Map#isDef function ([@fredj](https://github.com/fredj))
|
||||||
* [#4995](https://github.com/openlayers/openlayers/pull/4995) - Remove unused ol.color functions. ([@tschaub](https://github.com/tschaub))
|
* [#4995](https://github.com/openlayers/ol3/pull/4995) - Remove unused ol.color functions. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4991](https://github.com/openlayers/openlayers/pull/4991) - Do not remove listeners while dispatching event ([@ahocevar](https://github.com/ahocevar))
|
* [#4991](https://github.com/openlayers/ol3/pull/4991) - Do not remove listeners while dispatching event ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4984](https://github.com/openlayers/openlayers/pull/4984) - Add new ol.geom.Geometry#rotate function ([@fredj](https://github.com/fredj))
|
* [#4984](https://github.com/openlayers/ol3/pull/4984) - Add new ol.geom.Geometry#rotate function ([@fredj](https://github.com/fredj))
|
||||||
* [#4994](https://github.com/openlayers/openlayers/pull/4994) - Add alpha default value to ol.Color array form ([@jonataswalker](https://github.com/jonataswalker))
|
* [#4994](https://github.com/openlayers/ol3/pull/4994) - Add alpha default value to ol.Color array form ([@jonataswalker](https://github.com/jonataswalker))
|
||||||
* [#4992](https://github.com/openlayers/openlayers/pull/4992) - Allow configuration of the test reporter ([@marcjansen](https://github.com/marcjansen))
|
* [#4992](https://github.com/openlayers/ol3/pull/4992) - Allow configuration of the test reporter ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4988](https://github.com/openlayers/openlayers/pull/4988) - Update phantomjs-prebuilt to version 2.1.5 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4988](https://github.com/openlayers/ol3/pull/4988) - Update phantomjs-prebuilt to version 2.1.5 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4983](https://github.com/openlayers/openlayers/pull/4983) - Update Bing Maps Portal url ([@ahocevar](https://github.com/ahocevar))
|
* [#4983](https://github.com/openlayers/ol3/pull/4983) - Update Bing Maps Portal url ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4981](https://github.com/openlayers/openlayers/pull/4981) - Remove the viewport on map dispose ([@fredj](https://github.com/fredj))
|
* [#4981](https://github.com/openlayers/ol3/pull/4981) - Remove the viewport on map dispose ([@fredj](https://github.com/fredj))
|
||||||
* [#4980](https://github.com/openlayers/openlayers/pull/4980) - Remove unused goog.require ([@fredj](https://github.com/fredj))
|
* [#4980](https://github.com/openlayers/ol3/pull/4980) - Remove unused goog.require ([@fredj](https://github.com/fredj))
|
||||||
* [#4977](https://github.com/openlayers/openlayers/pull/4977) - Add basic tests for ol.geom.flat.length methods ([@marcjansen](https://github.com/marcjansen))
|
* [#4977](https://github.com/openlayers/ol3/pull/4977) - Add basic tests for ol.geom.flat.length methods ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4973](https://github.com/openlayers/openlayers/pull/4973) - Update eslint to version 2.3.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4973](https://github.com/openlayers/ol3/pull/4973) - Update eslint to version 2.3.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4971](https://github.com/openlayers/openlayers/pull/4971) - Release v3.14.2 ([@openlayers](https://github.com/openlayers))
|
* [#4971](https://github.com/openlayers/ol3/pull/4971) - Release v3.14.2 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4970](https://github.com/openlayers/openlayers/pull/4970) - Tests for ol.Disposable. ([@tschaub](https://github.com/tschaub))
|
* [#4970](https://github.com/openlayers/ol3/pull/4970) - Tests for ol.Disposable. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4967](https://github.com/openlayers/openlayers/pull/4967) - Add missing goog.inherits for ol.render.canvas.Immediate ([@fredj](https://github.com/fredj))
|
* [#4967](https://github.com/openlayers/ol3/pull/4967) - Add missing goog.inherits for ol.render.canvas.Immediate ([@fredj](https://github.com/fredj))
|
||||||
* [#4955](https://github.com/openlayers/openlayers/pull/4955) - Remove IE workarounds in src/ol/xml.js ([@fredj](https://github.com/fredj))
|
* [#4955](https://github.com/openlayers/ol3/pull/4955) - Remove IE workarounds in src/ol/xml.js ([@fredj](https://github.com/fredj))
|
||||||
* [#4960](https://github.com/openlayers/openlayers/pull/4960) - Simplify clipping of lower resolution regions ([@ahocevar](https://github.com/ahocevar))
|
* [#4960](https://github.com/openlayers/ol3/pull/4960) - Simplify clipping of lower resolution regions ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4950](https://github.com/openlayers/openlayers/pull/4950) - Remove use of goog.Disposable(). ([@tschaub](https://github.com/tschaub))
|
* [#4950](https://github.com/openlayers/ol3/pull/4950) - Remove use of goog.Disposable(). ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4963](https://github.com/openlayers/openlayers/pull/4963) - Handle more XHR errors in the TileJSON source ([@tschaub](https://github.com/tschaub))
|
* [#4963](https://github.com/openlayers/ol3/pull/4963) - Handle more XHR errors in the TileJSON source ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4962](https://github.com/openlayers/openlayers/pull/4962) - Skip tests where features are not available ([@tschaub](https://github.com/tschaub))
|
* [#4962](https://github.com/openlayers/ol3/pull/4962) - Skip tests where features are not available ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4956](https://github.com/openlayers/openlayers/pull/4956) - Fix Examples layout page ([@jonataswalker](https://github.com/jonataswalker))
|
* [#4956](https://github.com/openlayers/ol3/pull/4956) - Fix Examples layout page ([@jonataswalker](https://github.com/jonataswalker))
|
||||||
* [#4958](https://github.com/openlayers/openlayers/pull/4958) - Stop wheel events instead of DOMMouseScroll events ([@fredj](https://github.com/fredj))
|
* [#4958](https://github.com/openlayers/ol3/pull/4958) - Stop wheel events instead of DOMMouseScroll events ([@fredj](https://github.com/fredj))
|
||||||
* [#4947](https://github.com/openlayers/openlayers/pull/4947) - IE support for ol.source.Raster. ([@tschaub](https://github.com/tschaub))
|
* [#4947](https://github.com/openlayers/ol3/pull/4947) - IE support for ol.source.Raster. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4944](https://github.com/openlayers/openlayers/pull/4944) - Update resemblejs to version 2.2.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4944](https://github.com/openlayers/ol3/pull/4944) - Update resemblejs to version 2.2.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4942](https://github.com/openlayers/openlayers/pull/4942) - Remove unused files in examples/data/ ([@fredj](https://github.com/fredj))
|
* [#4942](https://github.com/openlayers/ol3/pull/4942) - Remove unused files in examples/data/ ([@fredj](https://github.com/fredj))
|
||||||
* [#4805](https://github.com/openlayers/openlayers/pull/4805) - Add new cacheSize option to ol.source ([@fredj](https://github.com/fredj))
|
* [#4805](https://github.com/openlayers/ol3/pull/4805) - Add new cacheSize option to ol.source ([@fredj](https://github.com/fredj))
|
||||||
* [#4940](https://github.com/openlayers/openlayers/pull/4940) - Release v3.14.1 ([@openlayers](https://github.com/openlayers))
|
* [#4940](https://github.com/openlayers/ol3/pull/4940) - Release v3.14.1 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4939](https://github.com/openlayers/openlayers/pull/4939) - Fix rendering of opaque layers with opacity != 1 ([@ahocevar](https://github.com/ahocevar))
|
* [#4939](https://github.com/openlayers/ol3/pull/4939) - Fix rendering of opaque layers with opacity != 1 ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4938](https://github.com/openlayers/openlayers/pull/4938) - Get rid of goog.dom.getFirstElementChild ([@fredj](https://github.com/fredj))
|
* [#4938](https://github.com/openlayers/ol3/pull/4938) - Get rid of goog.dom.getFirstElementChild ([@fredj](https://github.com/fredj))
|
||||||
* [#4937](https://github.com/openlayers/openlayers/pull/4937) - Get rid of goog.json ([@fredj](https://github.com/fredj))
|
* [#4937](https://github.com/openlayers/ol3/pull/4937) - Get rid of goog.json ([@fredj](https://github.com/fredj))
|
||||||
* [#4936](https://github.com/openlayers/openlayers/pull/4936) - Remove jquery from getfeatureinfo-layers example ([@fredj](https://github.com/fredj))
|
* [#4936](https://github.com/openlayers/ol3/pull/4936) - Remove jquery from getfeatureinfo-layers example ([@fredj](https://github.com/fredj))
|
||||||
* [#4930](https://github.com/openlayers/openlayers/pull/4930) - Use ADVANCED instead of ADVANCED_OPTIMIZATIONS ([@fredj](https://github.com/fredj))
|
* [#4930](https://github.com/openlayers/ol3/pull/4930) - Use ADVANCED instead of ADVANCED_OPTIMIZATIONS ([@fredj](https://github.com/fredj))
|
||||||
* [#4917](https://github.com/openlayers/openlayers/pull/4917) - Make ol.source.Cluster more flexible by adding a geometryFunction option ([@ahocevar](https://github.com/ahocevar))
|
* [#4917](https://github.com/openlayers/ol3/pull/4917) - Make ol.source.Cluster more flexible by adding a geometryFunction option ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4918](https://github.com/openlayers/openlayers/pull/4918) - Don't change the canvas size to clear it ([@fredj](https://github.com/fredj))
|
* [#4918](https://github.com/openlayers/ol3/pull/4918) - Don't change the canvas size to clear it ([@fredj](https://github.com/fredj))
|
||||||
* [#4923](https://github.com/openlayers/openlayers/pull/4923) - Update custom-builds.md ([@xlhomme](https://github.com/xlhomme))
|
* [#4923](https://github.com/openlayers/ol3/pull/4923) - Update custom-builds.md ([@xlhomme](https://github.com/xlhomme))
|
||||||
* [#4929](https://github.com/openlayers/openlayers/pull/4929) - Update clean-css to version 3.4.10 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4929](https://github.com/openlayers/ol3/pull/4929) - Update clean-css to version 3.4.10 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4928](https://github.com/openlayers/openlayers/pull/4928) - Upgrade to JSTS 1.0.2 in example ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#4928](https://github.com/openlayers/ol3/pull/4928) - Upgrade to JSTS 1.0.2 in example ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#4927](https://github.com/openlayers/openlayers/pull/4927) - Upgrade JSTS in example. ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#4927](https://github.com/openlayers/ol3/pull/4927) - Upgrade JSTS in example. ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#4809](https://github.com/openlayers/openlayers/pull/4809) - Fix multipolygon clone. ([@fperucic](https://github.com/fperucic))
|
* [#4809](https://github.com/openlayers/ol3/pull/4809) - Fix multipolygon clone. ([@fperucic](https://github.com/fperucic))
|
||||||
* [#4924](https://github.com/openlayers/openlayers/pull/4924) - Update coveralls to version 2.11.8 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4924](https://github.com/openlayers/ol3/pull/4924) - Update coveralls to version 2.11.8 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4921](https://github.com/openlayers/openlayers/pull/4921) - Unlisten before calling listener and bind to target by default ([@ahocevar](https://github.com/ahocevar))
|
* [#4921](https://github.com/openlayers/ol3/pull/4921) - Unlisten before calling listener and bind to target by default ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4868](https://github.com/openlayers/openlayers/pull/4868) - Allow to refresh a source and reload its data. ([@sebasbaumh](https://github.com/sebasbaumh))
|
* [#4868](https://github.com/openlayers/ol3/pull/4868) - Allow to refresh a source and reload its data. ([@sebasbaumh](https://github.com/sebasbaumh))
|
||||||
* [#4903](https://github.com/openlayers/openlayers/pull/4903) - Remove use of goog.style.getRelativePosition ([@fredj](https://github.com/fredj))
|
* [#4903](https://github.com/openlayers/ol3/pull/4903) - Remove use of goog.style.getRelativePosition ([@fredj](https://github.com/fredj))
|
||||||
* [#4902](https://github.com/openlayers/openlayers/pull/4902) - Remove use of goog.style.getClientPosition ([@fredj](https://github.com/fredj))
|
* [#4902](https://github.com/openlayers/ol3/pull/4902) - Remove use of goog.style.getClientPosition ([@fredj](https://github.com/fredj))
|
||||||
* [#4916](https://github.com/openlayers/openlayers/pull/4916) - Fix ol.format.GeoJSON#writeFeatureObject return type ([@fredj](https://github.com/fredj))
|
* [#4916](https://github.com/openlayers/ol3/pull/4916) - Fix ol.format.GeoJSON#writeFeatureObject return type ([@fredj](https://github.com/fredj))
|
||||||
* [#4909](https://github.com/openlayers/openlayers/pull/4909) - Add ol.renderer.dom.VectorLayer#clearFrame ([@fredj](https://github.com/fredj))
|
* [#4909](https://github.com/openlayers/ol3/pull/4909) - Add ol.renderer.dom.VectorLayer#clearFrame ([@fredj](https://github.com/fredj))
|
||||||
* [#4915](https://github.com/openlayers/openlayers/pull/4915) - Use {} instead of Object ([@fredj](https://github.com/fredj))
|
* [#4915](https://github.com/openlayers/ol3/pull/4915) - Use {} instead of Object ([@fredj](https://github.com/fredj))
|
||||||
* [#4914](https://github.com/openlayers/openlayers/pull/4914) - Export ol.proj.equivalent ([@sebasbaumh](https://github.com/sebasbaumh))
|
* [#4914](https://github.com/openlayers/ol3/pull/4914) - Export ol.proj.equivalent ([@sebasbaumh](https://github.com/sebasbaumh))
|
||||||
* [#4908](https://github.com/openlayers/openlayers/pull/4908) - Remove use of goog.math.Rect ([@fredj](https://github.com/fredj))
|
* [#4908](https://github.com/openlayers/ol3/pull/4908) - Remove use of goog.math.Rect ([@fredj](https://github.com/fredj))
|
||||||
* [#4900](https://github.com/openlayers/openlayers/pull/4900) - Make ol.format.XML a @struct ([@fredj](https://github.com/fredj))
|
* [#4900](https://github.com/openlayers/ol3/pull/4900) - Make ol.format.XML a @struct ([@fredj](https://github.com/fredj))
|
||||||
* [#4880](https://github.com/openlayers/openlayers/pull/4880) - Update closure-util to version 1.11.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4880](https://github.com/openlayers/ol3/pull/4880) - Update closure-util to version 1.11.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4905](https://github.com/openlayers/openlayers/pull/4905) - Remove use of goog.style.setPosition ([@fredj](https://github.com/fredj))
|
* [#4905](https://github.com/openlayers/ol3/pull/4905) - Remove use of goog.style.setPosition ([@fredj](https://github.com/fredj))
|
||||||
* [#4879](https://github.com/openlayers/openlayers/pull/4879) - Update metalsmith-layouts to version 1.6.4 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#4879](https://github.com/openlayers/ol3/pull/4879) - Update metalsmith-layouts to version 1.6.4 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4901](https://github.com/openlayers/openlayers/pull/4901) - Release v3.14.0 ([@openlayers](https://github.com/openlayers))
|
* [#4901](https://github.com/openlayers/ol3/pull/4901) - Release v3.14.0 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4899](https://github.com/openlayers/openlayers/pull/4899) - Use ol.format.GMLBase#srsName instead of undeclared srsName_ ([@fredj](https://github.com/fredj))
|
* [#4899](https://github.com/openlayers/ol3/pull/4899) - Use ol.format.GMLBase#srsName instead of undeclared srsName_ ([@fredj](https://github.com/fredj))
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
The v3.15.1 release is a patch release that addresses a regression in the v3.15.0 release. See the [v3.15.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v3.15.0) for details on upgrading from v3.14.x.
|
The v3.15.1 release is a patch release that addresses a regression in the v3.15.0 release. See the [v3.15.0 release notes](https://github.com/openlayers/ol3/releases/tag/v3.15.0) for details on upgrading from v3.14.x.
|
||||||
|
|
||||||
## Fixes
|
## Fixes
|
||||||
|
|
||||||
* [#5190](https://github.com/openlayers/openlayers/pull/5190) - Revert "Batch polygon fill and stroke instructions" ([@ahocevar](https://github.com/ahocevar))
|
* [#5190](https://github.com/openlayers/ol3/pull/5190) - Revert "Batch polygon fill and stroke instructions" ([@ahocevar](https://github.com/ahocevar))
|
||||||
|
|||||||
@@ -50,99 +50,99 @@ var v3source = new ol.source.TileUTFGrid({
|
|||||||
|
|
||||||
## Full list of changes
|
## Full list of changes
|
||||||
|
|
||||||
* [#5377](https://github.com/openlayers/openlayers/pull/5377) - Fix link to jspdf.min.js in export-pdf example ([@fredj](https://github.com/fredj))
|
* [#5377](https://github.com/openlayers/ol3/pull/5377) - Fix link to jspdf.min.js in export-pdf example ([@fredj](https://github.com/fredj))
|
||||||
* [#5372](https://github.com/openlayers/openlayers/pull/5372) - Update jquery to version 2.2.4 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5372](https://github.com/openlayers/ol3/pull/5372) - Update jquery to version 2.2.4 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5364](https://github.com/openlayers/openlayers/pull/5364) - Make it so things don't flash so much when you change the tile source URL. ([@tschaub](https://github.com/tschaub))
|
* [#5364](https://github.com/openlayers/ol3/pull/5364) - Make it so things don't flash so much when you change the tile source URL. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#5368](https://github.com/openlayers/openlayers/pull/5368) - Move WFS typedefs to typedefs.js ([@probins](https://github.com/probins))
|
* [#5368](https://github.com/openlayers/ol3/pull/5368) - Move WFS typedefs to typedefs.js ([@probins](https://github.com/probins))
|
||||||
* [#5369](https://github.com/openlayers/openlayers/pull/5369) - format/igc: Remove duplicate regex exec() call ([@Turbo87](https://github.com/Turbo87))
|
* [#5369](https://github.com/openlayers/ol3/pull/5369) - format/igc: Remove duplicate regex exec() call ([@Turbo87](https://github.com/Turbo87))
|
||||||
* [#5363](https://github.com/openlayers/openlayers/pull/5363) - Convert all typedefs to CamelCase ([@probins](https://github.com/probins))
|
* [#5363](https://github.com/openlayers/ol3/pull/5363) - Convert all typedefs to CamelCase ([@probins](https://github.com/probins))
|
||||||
* [#5362](https://github.com/openlayers/openlayers/pull/5362) - Update vector-tile to version 1.2.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5362](https://github.com/openlayers/ol3/pull/5362) - Update vector-tile to version 1.2.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5352](https://github.com/openlayers/openlayers/pull/5352) - Add getResolutions() to ol.View ([@marlowp](https://github.com/marlowp))
|
* [#5352](https://github.com/openlayers/ol3/pull/5352) - Add getResolutions() to ol.View ([@marlowp](https://github.com/marlowp))
|
||||||
* [#5359](https://github.com/openlayers/openlayers/pull/5359) - Move upgrade notes to correct place ([@probins](https://github.com/probins))
|
* [#5359](https://github.com/openlayers/ol3/pull/5359) - Move upgrade notes to correct place ([@probins](https://github.com/probins))
|
||||||
* [#5343](https://github.com/openlayers/openlayers/pull/5343) - Rename non-api sub-namespace typedefs ([@probins](https://github.com/probins))
|
* [#5343](https://github.com/openlayers/ol3/pull/5343) - Rename non-api sub-namespace typedefs ([@probins](https://github.com/probins))
|
||||||
* [#5361](https://github.com/openlayers/openlayers/pull/5361) - Fix url to maki icons ([@fredj](https://github.com/fredj))
|
* [#5361](https://github.com/openlayers/ol3/pull/5361) - Fix url to maki icons ([@fredj](https://github.com/fredj))
|
||||||
* [#5358](https://github.com/openlayers/openlayers/pull/5358) - Handle multiple featureMember elements for different types (WFS format) ([@tsauerwein](https://github.com/tsauerwein))
|
* [#5358](https://github.com/openlayers/ol3/pull/5358) - Handle multiple featureMember elements for different types (WFS format) ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#5355](https://github.com/openlayers/openlayers/pull/5355) - Fix navigation-controls example description ([@fredj](https://github.com/fredj))
|
* [#5355](https://github.com/openlayers/ol3/pull/5355) - Fix navigation-controls example description ([@fredj](https://github.com/fredj))
|
||||||
* [#5353](https://github.com/openlayers/openlayers/pull/5353) - Add API definition to docs landing page ([@probins](https://github.com/probins))
|
* [#5353](https://github.com/openlayers/ol3/pull/5353) - Add API definition to docs landing page ([@probins](https://github.com/probins))
|
||||||
* [#5356](https://github.com/openlayers/openlayers/pull/5356) - Update rbush to version 1.4.3 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5356](https://github.com/openlayers/ol3/pull/5356) - Update rbush to version 1.4.3 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5354](https://github.com/openlayers/openlayers/pull/5354) - Update eslint to version 2.10.2 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5354](https://github.com/openlayers/ol3/pull/5354) - Update eslint to version 2.10.2 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5347](https://github.com/openlayers/openlayers/pull/5347) - Update eslint to version 2.10.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5347](https://github.com/openlayers/ol3/pull/5347) - Update eslint to version 2.10.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5344](https://github.com/openlayers/openlayers/pull/5344) - Remove raster enum from test ([@probins](https://github.com/probins))
|
* [#5344](https://github.com/openlayers/ol3/pull/5344) - Remove raster enum from test ([@probins](https://github.com/probins))
|
||||||
* [#5329](https://github.com/openlayers/openlayers/pull/5329) - UTFGrid updates. ([@tschaub](https://github.com/tschaub))
|
* [#5329](https://github.com/openlayers/ol3/pull/5329) - UTFGrid updates. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#5335](https://github.com/openlayers/openlayers/pull/5335) - Move typedefs to separate file ([@probins](https://github.com/probins))
|
* [#5335](https://github.com/openlayers/ol3/pull/5335) - Move typedefs to separate file ([@probins](https://github.com/probins))
|
||||||
* [#5332](https://github.com/openlayers/openlayers/pull/5332) - Warn when viewing an outdated example, and offer a redirect to latest ([@ahocevar](https://github.com/ahocevar))
|
* [#5332](https://github.com/openlayers/ol3/pull/5332) - Warn when viewing an outdated example, and offer a redirect to latest ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5342](https://github.com/openlayers/openlayers/pull/5342) - Fix incorrect source links ([@ahocevar](https://github.com/ahocevar))
|
* [#5342](https://github.com/openlayers/ol3/pull/5342) - Fix incorrect source links ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5339](https://github.com/openlayers/openlayers/pull/5339) - Use a div instead of alert for version warning ([@ahocevar](https://github.com/ahocevar))
|
* [#5339](https://github.com/openlayers/ol3/pull/5339) - Use a div instead of alert for version warning ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5320](https://github.com/openlayers/openlayers/pull/5320) - Add a 'condition' option to ol.interaction.Modify ([@fredj](https://github.com/fredj))
|
* [#5320](https://github.com/openlayers/ol3/pull/5320) - Add a 'condition' option to ol.interaction.Modify ([@fredj](https://github.com/fredj))
|
||||||
* [#5333](https://github.com/openlayers/openlayers/pull/5333) - Improve code readability with better comments ([@openlayers](https://github.com/openlayers))
|
* [#5333](https://github.com/openlayers/ol3/pull/5333) - Improve code readability with better comments ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5330](https://github.com/openlayers/openlayers/pull/5330) - Fix source links, display version and warn about outdated docs ([@ahocevar](https://github.com/ahocevar))
|
* [#5330](https://github.com/openlayers/ol3/pull/5330) - Fix source links, display version and warn about outdated docs ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5324](https://github.com/openlayers/openlayers/pull/5324) - Remove unneeded goog.provides/requires for typedefs ([@probins](https://github.com/probins))
|
* [#5324](https://github.com/openlayers/ol3/pull/5324) - Remove unneeded goog.provides/requires for typedefs ([@probins](https://github.com/probins))
|
||||||
* [#5328](https://github.com/openlayers/openlayers/pull/5328) - Use Node 6 on Travis. ([@tschaub](https://github.com/tschaub))
|
* [#5328](https://github.com/openlayers/ol3/pull/5328) - Use Node 6 on Travis. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#5313](https://github.com/openlayers/openlayers/pull/5313) - Rastersource framestate extent ([@ahocevar](https://github.com/ahocevar))
|
* [#5313](https://github.com/openlayers/ol3/pull/5313) - Rastersource framestate extent ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5326](https://github.com/openlayers/openlayers/pull/5326) - Fix wording in tile-load-event example ([@tsauerwein](https://github.com/tsauerwein))
|
* [#5326](https://github.com/openlayers/ol3/pull/5326) - Fix wording in tile-load-event example ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#5327](https://github.com/openlayers/openlayers/pull/5327) - Update closure-util to version 1.13.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5327](https://github.com/openlayers/ol3/pull/5327) - Update closure-util to version 1.13.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5289](https://github.com/openlayers/openlayers/pull/5289) - Update fs-extra to version 0.30.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5289](https://github.com/openlayers/ol3/pull/5289) - Update fs-extra to version 0.30.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5319](https://github.com/openlayers/openlayers/pull/5319) - Remove outdated fixme from framestate.js. ([@probins](https://github.com/probins))
|
* [#5319](https://github.com/openlayers/ol3/pull/5319) - Remove outdated fixme from framestate.js. ([@probins](https://github.com/probins))
|
||||||
* [#5274](https://github.com/openlayers/openlayers/pull/5274) - Allow using elements in logo attribution options ([@samuellapointe](https://github.com/samuellapointe))
|
* [#5274](https://github.com/openlayers/ol3/pull/5274) - Allow using elements in logo attribution options ([@samuellapointe](https://github.com/samuellapointe))
|
||||||
* [#5162](https://github.com/openlayers/openlayers/pull/5162) - Improve docs/examples for loadingstrategy ([@probins](https://github.com/probins))
|
* [#5162](https://github.com/openlayers/ol3/pull/5162) - Improve docs/examples for loadingstrategy ([@probins](https://github.com/probins))
|
||||||
* [#5314](https://github.com/openlayers/openlayers/pull/5314) - Update browserify to version 13.0.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5314](https://github.com/openlayers/ol3/pull/5314) - Update browserify to version 13.0.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5315](https://github.com/openlayers/openlayers/pull/5315) - Remove unused ol.TileCoordTransformType ([@probins](https://github.com/probins))
|
* [#5315](https://github.com/openlayers/ol3/pull/5315) - Remove unused ol.TileCoordTransformType ([@probins](https://github.com/probins))
|
||||||
* [#5310](https://github.com/openlayers/openlayers/pull/5310) - Get raster sources working again. ([@tschaub](https://github.com/tschaub))
|
* [#5310](https://github.com/openlayers/ol3/pull/5310) - Get raster sources working again. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#5291](https://github.com/openlayers/openlayers/pull/5291) - Allow once listeners to dispatch events of same type ([@ahocevar](https://github.com/ahocevar))
|
* [#5291](https://github.com/openlayers/ol3/pull/5291) - Allow once listeners to dispatch events of same type ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5309](https://github.com/openlayers/openlayers/pull/5309) - Update metalsmith-layouts to version 1.6.5 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5309](https://github.com/openlayers/ol3/pull/5309) - Update metalsmith-layouts to version 1.6.5 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5052](https://github.com/openlayers/openlayers/pull/5052) - Update fs-extra to version 0.26.7 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5052](https://github.com/openlayers/ol3/pull/5052) - Update fs-extra to version 0.26.7 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5306](https://github.com/openlayers/openlayers/pull/5306) - Make olx.view.FitOptions.padding optional ([@gberaudo](https://github.com/gberaudo))
|
* [#5306](https://github.com/openlayers/ol3/pull/5306) - Make olx.view.FitOptions.padding optional ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#5302](https://github.com/openlayers/openlayers/pull/5302) - Remove use of goog.partial ([@fredj](https://github.com/fredj))
|
* [#5302](https://github.com/openlayers/ol3/pull/5302) - Remove use of goog.partial ([@fredj](https://github.com/fredj))
|
||||||
* [#5304](https://github.com/openlayers/openlayers/pull/5304) - Update sinon to version 1.17.4 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5304](https://github.com/openlayers/ol3/pull/5304) - Update sinon to version 1.17.4 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4644](https://github.com/openlayers/openlayers/pull/4644) - Remove check-requires script ([@fredj](https://github.com/fredj))
|
* [#4644](https://github.com/openlayers/ol3/pull/4644) - Remove check-requires script ([@fredj](https://github.com/fredj))
|
||||||
* [#5298](https://github.com/openlayers/openlayers/pull/5298) - Update eslint to version 2.9.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5298](https://github.com/openlayers/ol3/pull/5298) - Update eslint to version 2.9.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5296](https://github.com/openlayers/openlayers/pull/5296) - Document handling of KML MultiGeometries ([@probins](https://github.com/probins))
|
* [#5296](https://github.com/openlayers/ol3/pull/5296) - Document handling of KML MultiGeometries ([@probins](https://github.com/probins))
|
||||||
* [#5293](https://github.com/openlayers/openlayers/pull/5293) - Block removePoint while dragging ([@giohappy](https://github.com/giohappy))
|
* [#5293](https://github.com/openlayers/ol3/pull/5293) - Block removePoint while dragging ([@giohappy](https://github.com/giohappy))
|
||||||
* [#5285](https://github.com/openlayers/openlayers/pull/5285) - Add more tests for the scaleline control ([@marcjansen](https://github.com/marcjansen))
|
* [#5285](https://github.com/openlayers/ol3/pull/5285) - Add more tests for the scaleline control ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#5287](https://github.com/openlayers/openlayers/pull/5287) - Add and fix vectortile tests ([@ahocevar](https://github.com/ahocevar))
|
* [#5287](https://github.com/openlayers/ol3/pull/5287) - Add and fix vectortile tests ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5288](https://github.com/openlayers/openlayers/pull/5288) - Expose removeVertex_ as removePoint ([@giohappy](https://github.com/giohappy))
|
* [#5288](https://github.com/openlayers/ol3/pull/5288) - Expose removeVertex_ as removePoint ([@giohappy](https://github.com/giohappy))
|
||||||
* [#5286](https://github.com/openlayers/openlayers/pull/5286) - Skip unnecessary render functions ([@ahocevar](https://github.com/ahocevar))
|
* [#5286](https://github.com/openlayers/ol3/pull/5286) - Skip unnecessary render functions ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5177](https://github.com/openlayers/openlayers/pull/5177) - Add render options for vector tile layers ([@ahocevar](https://github.com/ahocevar))
|
* [#5177](https://github.com/openlayers/ol3/pull/5177) - Add render options for vector tile layers ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5278](https://github.com/openlayers/openlayers/pull/5278) - Fix invalid generics type instantiation ([@fredj](https://github.com/fredj))
|
* [#5278](https://github.com/openlayers/ol3/pull/5278) - Fix invalid generics type instantiation ([@fredj](https://github.com/fredj))
|
||||||
* [#5044](https://github.com/openlayers/openlayers/pull/5044) - Snap interaction now handle feature without geometry properly ([@fblackburn](https://github.com/fblackburn))
|
* [#5044](https://github.com/openlayers/ol3/pull/5044) - Snap interaction now handle feature without geometry properly ([@fblackburn](https://github.com/fblackburn))
|
||||||
* [#5277](https://github.com/openlayers/openlayers/pull/5277) - Type cleanup ([@fredj](https://github.com/fredj))
|
* [#5277](https://github.com/openlayers/ol3/pull/5277) - Type cleanup ([@fredj](https://github.com/fredj))
|
||||||
* [#5275](https://github.com/openlayers/openlayers/pull/5275) - Fix feature-layer association on replaced selections ([@ahocevar](https://github.com/ahocevar))
|
* [#5275](https://github.com/openlayers/ol3/pull/5275) - Fix feature-layer association on replaced selections ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5252](https://github.com/openlayers/openlayers/pull/5252) - Add filter option to ol.format.WFS#writeGetFeature ([@tsauerwein](https://github.com/tsauerwein))
|
* [#5252](https://github.com/openlayers/ol3/pull/5252) - Add filter option to ol.format.WFS#writeGetFeature ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#5264](https://github.com/openlayers/openlayers/pull/5264) - Fix for close draw polygon error ([@matjos](https://github.com/matjos))
|
* [#5264](https://github.com/openlayers/ol3/pull/5264) - Fix for close draw polygon error ([@matjos](https://github.com/matjos))
|
||||||
* [#5267](https://github.com/openlayers/openlayers/pull/5267) - Use ol.functions instead of goog.functions ([@ahocevar](https://github.com/ahocevar))
|
* [#5267](https://github.com/openlayers/ol3/pull/5267) - Use ol.functions instead of goog.functions ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5266](https://github.com/openlayers/openlayers/pull/5266) - Document ol.colorlike ([@ahocevar](https://github.com/ahocevar))
|
* [#5266](https://github.com/openlayers/ol3/pull/5266) - Document ol.colorlike ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5261](https://github.com/openlayers/openlayers/pull/5261) - add finishCondition to ol.interaction.Draw ([@giohappy](https://github.com/giohappy))
|
* [#5261](https://github.com/openlayers/ol3/pull/5261) - add finishCondition to ol.interaction.Draw ([@giohappy](https://github.com/giohappy))
|
||||||
* [#5259](https://github.com/openlayers/openlayers/pull/5259) - Include squash commit merges in changelog ([@ahocevar](https://github.com/ahocevar))
|
* [#5259](https://github.com/openlayers/ol3/pull/5259) - Include squash commit merges in changelog ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5257](https://github.com/openlayers/openlayers/pull/5257) - Add readFeatures and readProjection as MVT experimental API ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#5257](https://github.com/openlayers/ol3/pull/5257) - Add readFeatures and readProjection as MVT experimental API ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#3880](https://github.com/openlayers/openlayers/pull/3880) - Add ol.source.ImageArcGISRest ([Anna Lambrechtsen](https://github.com/search?q=Anna Lambrechtsen&type=Users))
|
* [#3880](https://github.com/openlayers/ol3/pull/3880) - Add ol.source.ImageArcGISRest ([Anna Lambrechtsen](https://github.com/search?q=Anna Lambrechtsen&type=Users))
|
||||||
* [#5239](https://github.com/openlayers/openlayers/pull/5239) - Update eslint to version 2.8.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5239](https://github.com/openlayers/ol3/pull/5239) - Update eslint to version 2.8.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5230](https://github.com/openlayers/openlayers/pull/5230) - Reuse frame state arrays ([@fredj](https://github.com/fredj))
|
* [#5230](https://github.com/openlayers/ol3/pull/5230) - Reuse frame state arrays ([@fredj](https://github.com/fredj))
|
||||||
* [#5213](https://github.com/openlayers/openlayers/pull/5213) - Remove unused ol.source.Source#setProjection function ([@fredj](https://github.com/fredj))
|
* [#5213](https://github.com/openlayers/ol3/pull/5213) - Remove unused ol.source.Source#setProjection function ([@fredj](https://github.com/fredj))
|
||||||
* [#5223](https://github.com/openlayers/openlayers/pull/5223) - Create tmpSize_ before calling calculateTileRanges_ ([@fredj](https://github.com/fredj))
|
* [#5223](https://github.com/openlayers/ol3/pull/5223) - Create tmpSize_ before calling calculateTileRanges_ ([@fredj](https://github.com/fredj))
|
||||||
* [#5225](https://github.com/openlayers/openlayers/pull/5225) - Remove unused ol.extent.transform2D function ([@fredj](https://github.com/fredj))
|
* [#5225](https://github.com/openlayers/ol3/pull/5225) - Remove unused ol.extent.transform2D function ([@fredj](https://github.com/fredj))
|
||||||
* [#5212](https://github.com/openlayers/openlayers/pull/5212) - KML: fix GeometryCollection write ([@probins](https://github.com/probins))
|
* [#5212](https://github.com/openlayers/ol3/pull/5212) - KML: fix GeometryCollection write ([@probins](https://github.com/probins))
|
||||||
* [#5228](https://github.com/openlayers/openlayers/pull/5228) - Add 'layers' option to Translate interaction ([@adube](https://github.com/adube))
|
* [#5228](https://github.com/openlayers/ol3/pull/5228) - Add 'layers' option to Translate interaction ([@adube](https://github.com/adube))
|
||||||
* [#5221](https://github.com/openlayers/openlayers/pull/5221) - Update jquery, bootstrap and proj4js in examples ([@fredj](https://github.com/fredj))
|
* [#5221](https://github.com/openlayers/ol3/pull/5221) - Update jquery, bootstrap and proj4js in examples ([@fredj](https://github.com/fredj))
|
||||||
* [#5227](https://github.com/openlayers/openlayers/pull/5227) - Add a temporary ol.TileCoord in ol.renderer.canvas.TileLayer ([@fredj](https://github.com/fredj))
|
* [#5227](https://github.com/openlayers/ol3/pull/5227) - Add a temporary ol.TileCoord in ol.renderer.canvas.TileLayer ([@fredj](https://github.com/fredj))
|
||||||
* [#5222](https://github.com/openlayers/openlayers/pull/5222) - Remove unused private variables in ol.renderer.canvas.Map ([@fredj](https://github.com/fredj))
|
* [#5222](https://github.com/openlayers/ol3/pull/5222) - Remove unused private variables in ol.renderer.canvas.Map ([@fredj](https://github.com/fredj))
|
||||||
* [#5220](https://github.com/openlayers/openlayers/pull/5220) - Externs cleanup ([@fredj](https://github.com/fredj))
|
* [#5220](https://github.com/openlayers/ol3/pull/5220) - Externs cleanup ([@fredj](https://github.com/fredj))
|
||||||
* [#5224](https://github.com/openlayers/openlayers/pull/5224) - Fix jsdoc tags indentation ([@fredj](https://github.com/fredj))
|
* [#5224](https://github.com/openlayers/ol3/pull/5224) - Fix jsdoc tags indentation ([@fredj](https://github.com/fredj))
|
||||||
* [#5218](https://github.com/openlayers/openlayers/pull/5218) - Add @api annotation to setConfig. ([@aisaacs](https://github.com/aisaacs))
|
* [#5218](https://github.com/openlayers/ol3/pull/5218) - Add @api annotation to setConfig. ([@aisaacs](https://github.com/aisaacs))
|
||||||
* [#5215](https://github.com/openlayers/openlayers/pull/5215) - Add an optional feature filter to getClosestFeatureToCoordinate ([@fredj](https://github.com/fredj))
|
* [#5215](https://github.com/openlayers/ol3/pull/5215) - Add an optional feature filter to getClosestFeatureToCoordinate ([@fredj](https://github.com/fredj))
|
||||||
* [#5132](https://github.com/openlayers/openlayers/pull/5132) - Remove goog.string ([@nicholas-l](https://github.com/nicholas-l))
|
* [#5132](https://github.com/openlayers/ol3/pull/5132) - Remove goog.string ([@nicholas-l](https://github.com/nicholas-l))
|
||||||
* [#5206](https://github.com/openlayers/openlayers/pull/5206) - Minor correction of StyleFunction docs ([@probins](https://github.com/probins))
|
* [#5206](https://github.com/openlayers/ol3/pull/5206) - Minor correction of StyleFunction docs ([@probins](https://github.com/probins))
|
||||||
* [#4932](https://github.com/openlayers/openlayers/pull/4932) - Remove undefined parameters to ol.format.WMSGetFeatureInfo#readFeatures_ ([@fredj](https://github.com/fredj))
|
* [#4932](https://github.com/openlayers/ol3/pull/4932) - Remove undefined parameters to ol.format.WMSGetFeatureInfo#readFeatures_ ([@fredj](https://github.com/fredj))
|
||||||
* [#5207](https://github.com/openlayers/openlayers/pull/5207) - Update clean-css to version 3.4.12 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5207](https://github.com/openlayers/ol3/pull/5207) - Update clean-css to version 3.4.12 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5201](https://github.com/openlayers/openlayers/pull/5201) - Small clarification for vector source loader docs ([@probins](https://github.com/probins))
|
* [#5201](https://github.com/openlayers/ol3/pull/5201) - Small clarification for vector source loader docs ([@probins](https://github.com/probins))
|
||||||
* [#5200](https://github.com/openlayers/openlayers/pull/5200) - Fix typo in rotate control for css classList ([@bartvde](https://github.com/bartvde))
|
* [#5200](https://github.com/openlayers/ol3/pull/5200) - Fix typo in rotate control for css classList ([@bartvde](https://github.com/bartvde))
|
||||||
* [#5178](https://github.com/openlayers/openlayers/pull/5178) - Remove goog.global ([Nicholas Latham](https://github.com/search?q=Nicholas Latham&type=Users))
|
* [#5178](https://github.com/openlayers/ol3/pull/5178) - Remove goog.global ([Nicholas Latham](https://github.com/search?q=Nicholas Latham&type=Users))
|
||||||
* [#5189](https://github.com/openlayers/openlayers/pull/5189) - Add rendering tests to ensure correct circle and polygon rendering ([Andreas Hocevar](https://github.com/search?q=Andreas Hocevar&type=Users))
|
* [#5189](https://github.com/openlayers/ol3/pull/5189) - Add rendering tests to ensure correct circle and polygon rendering ([Andreas Hocevar](https://github.com/search?q=Andreas Hocevar&type=Users))
|
||||||
* [#5183](https://github.com/openlayers/openlayers/pull/5183) - Update istanbul to version 0.4.3 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5183](https://github.com/openlayers/ol3/pull/5183) - Update istanbul to version 0.4.3 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5187](https://github.com/openlayers/openlayers/pull/5187) - Remove goog.functions.and from ol.interaction.Modify ([@fredj](https://github.com/fredj))
|
* [#5187](https://github.com/openlayers/ol3/pull/5187) - Remove goog.functions.and from ol.interaction.Modify ([@fredj](https://github.com/fredj))
|
||||||
* [#5176](https://github.com/openlayers/openlayers/pull/5176) - Update jquery to version 2.2.3 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5176](https://github.com/openlayers/ol3/pull/5176) - Update jquery to version 2.2.3 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5173](https://github.com/openlayers/openlayers/pull/5173) - Use ol.dom.createCanvasContext2D ([@fredj](https://github.com/fredj))
|
* [#5173](https://github.com/openlayers/ol3/pull/5173) - Use ol.dom.createCanvasContext2D ([@fredj](https://github.com/fredj))
|
||||||
* [#5171](https://github.com/openlayers/openlayers/pull/5171) - Move olx.source.AttributionOption out of externs/olx.js ([@fredj](https://github.com/fredj))
|
* [#5171](https://github.com/openlayers/ol3/pull/5171) - Move olx.source.AttributionOption out of externs/olx.js ([@fredj](https://github.com/fredj))
|
||||||
* [#5170](https://github.com/openlayers/openlayers/pull/5170) - Update eslint to version 2.7.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5170](https://github.com/openlayers/ol3/pull/5170) - Update eslint to version 2.7.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5167](https://github.com/openlayers/openlayers/pull/5167) - Remove FastClick from mobile-full-screen example ([@fredj](https://github.com/fredj))
|
* [#5167](https://github.com/openlayers/ol3/pull/5167) - Remove FastClick from mobile-full-screen example ([@fredj](https://github.com/fredj))
|
||||||
* [#5166](https://github.com/openlayers/openlayers/pull/5166) - Remove jquery dependency from measure example ([@fredj](https://github.com/fredj))
|
* [#5166](https://github.com/openlayers/ol3/pull/5166) - Remove jquery dependency from measure example ([@fredj](https://github.com/fredj))
|
||||||
* [#5164](https://github.com/openlayers/openlayers/pull/5164) - Cartodb cleanup ([@fredj](https://github.com/fredj))
|
* [#5164](https://github.com/openlayers/ol3/pull/5164) - Cartodb cleanup ([@fredj](https://github.com/fredj))
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ The v3.17.0 release includes features and fixes from 60 pull requests since the
|
|||||||
|
|
||||||
#### `ol.source.MapQuest` removal
|
#### `ol.source.MapQuest` removal
|
||||||
|
|
||||||
Because of changes at MapQuest (see: https://lists.openstreetmap.org/pipermail/talk/2016-June/076106.html) we had to remove the MapQuest source for now (see https://github.com/openlayers/openlayers/issues/5484 for details).
|
Because of changes at MapQuest (see: https://lists.openstreetmap.org/pipermail/talk/2016-June/076106.html) we had to remove the MapQuest source for now (see https://github.com/openlayers/ol3/issues/5484 for details).
|
||||||
|
|
||||||
#### `ol.interaction.ModifyEvent` changes
|
#### `ol.interaction.ModifyEvent` changes
|
||||||
|
|
||||||
@@ -45,63 +45,63 @@ Users compiling their code with the library should note that the following typed
|
|||||||
|
|
||||||
## Full list of changes
|
## Full list of changes
|
||||||
|
|
||||||
* [#5539](https://github.com/openlayers/openlayers/pull/5539) - Remove outdated comments re goog.dom ([@probins](https://github.com/probins))
|
* [#5539](https://github.com/openlayers/ol3/pull/5539) - Remove outdated comments re goog.dom ([@probins](https://github.com/probins))
|
||||||
* [#5543](https://github.com/openlayers/openlayers/pull/5543) - Update rbush to 2.0.1 ([@tsauerwein](https://github.com/tsauerwein))
|
* [#5543](https://github.com/openlayers/ol3/pull/5543) - Update rbush to 2.0.1 ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#5540](https://github.com/openlayers/openlayers/pull/5540) - Remove MapQuest source ([@bartvde](https://github.com/bartvde))
|
* [#5540](https://github.com/openlayers/ol3/pull/5540) - Remove MapQuest source ([@bartvde](https://github.com/bartvde))
|
||||||
* [#5538](https://github.com/openlayers/openlayers/pull/5538) - Replace remaining goog.inherits ([@probins](https://github.com/probins))
|
* [#5538](https://github.com/openlayers/ol3/pull/5538) - Replace remaining goog.inherits ([@probins](https://github.com/probins))
|
||||||
* [#5536](https://github.com/openlayers/openlayers/pull/5536) - Update to layer-extent example ([@tschaub](https://github.com/tschaub))
|
* [#5536](https://github.com/openlayers/ol3/pull/5536) - Update to layer-extent example ([@tschaub](https://github.com/tschaub))
|
||||||
* [#5482](https://github.com/openlayers/openlayers/pull/5482) - Fix for regression in tile layer extent ([@ischneider](https://github.com/ischneider))
|
* [#5482](https://github.com/openlayers/ol3/pull/5482) - Fix for regression in tile layer extent ([@ischneider](https://github.com/ischneider))
|
||||||
* [#5475](https://github.com/openlayers/openlayers/pull/5475) - Remove goog.provide from enums only used internally or in olx.js ([@probins](https://github.com/probins))
|
* [#5475](https://github.com/openlayers/ol3/pull/5475) - Remove goog.provide from enums only used internally or in olx.js ([@probins](https://github.com/probins))
|
||||||
* [#5424](https://github.com/openlayers/openlayers/pull/5424) - Don't dispatch select event if no feature is selected or deselected ([@fredj](https://github.com/fredj))
|
* [#5424](https://github.com/openlayers/ol3/pull/5424) - Don't dispatch select event if no feature is selected or deselected ([@fredj](https://github.com/fredj))
|
||||||
* [#5522](https://github.com/openlayers/openlayers/pull/5522) - Add 'condition' option to ol.interaction.DragPanOptions in olx.js ([@SamuelBerger](https://github.com/SamuelBerger))
|
* [#5522](https://github.com/openlayers/ol3/pull/5522) - Add 'condition' option to ol.interaction.DragPanOptions in olx.js ([@SamuelBerger](https://github.com/SamuelBerger))
|
||||||
* [#5443](https://github.com/openlayers/openlayers/pull/5443) - Remove olx.source.WMTSOptions#maxZoom option ([@fredj](https://github.com/fredj))
|
* [#5443](https://github.com/openlayers/ol3/pull/5443) - Remove olx.source.WMTSOptions#maxZoom option ([@fredj](https://github.com/fredj))
|
||||||
* [#5497](https://github.com/openlayers/openlayers/pull/5497) - Update istanbul to version 0.4.4 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5497](https://github.com/openlayers/ol3/pull/5497) - Update istanbul to version 0.4.4 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5523](https://github.com/openlayers/openlayers/pull/5523) - Update closure-util to version 1.15.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5523](https://github.com/openlayers/ol3/pull/5523) - Update closure-util to version 1.15.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5508](https://github.com/openlayers/openlayers/pull/5508) - Fix problems with ol.format.WFS in compiled mode ([@tsauerwein](https://github.com/tsauerwein))
|
* [#5508](https://github.com/openlayers/ol3/pull/5508) - Fix problems with ol.format.WFS in compiled mode ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#5512](https://github.com/openlayers/openlayers/pull/5512) - Use forEachTileCoord name instead of forEachTileCoordInExtentAndZ ([@ahocevar](https://github.com/ahocevar))
|
* [#5512](https://github.com/openlayers/ol3/pull/5512) - Use forEachTileCoord name instead of forEachTileCoordInExtentAndZ ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5513](https://github.com/openlayers/openlayers/pull/5513) - Add getters for min and max resolution of the view ([@bartvde](https://github.com/bartvde))
|
* [#5513](https://github.com/openlayers/ol3/pull/5513) - Add getters for min and max resolution of the view ([@bartvde](https://github.com/bartvde))
|
||||||
* [#5471](https://github.com/openlayers/openlayers/pull/5471) - Fix GPX write of xsi ns ([@probins](https://github.com/probins))
|
* [#5471](https://github.com/openlayers/ol3/pull/5471) - Fix GPX write of xsi ns ([@probins](https://github.com/probins))
|
||||||
* [#5134](https://github.com/openlayers/openlayers/pull/5134) - Remove goog.dom ([@nicholas-l](https://github.com/nicholas-l))
|
* [#5134](https://github.com/openlayers/ol3/pull/5134) - Remove goog.dom ([@nicholas-l](https://github.com/nicholas-l))
|
||||||
* [#5511](https://github.com/openlayers/openlayers/pull/5511) - Do not optimize lines away entirely ([@ahocevar](https://github.com/ahocevar))
|
* [#5511](https://github.com/openlayers/ol3/pull/5511) - Do not optimize lines away entirely ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5509](https://github.com/openlayers/openlayers/pull/5509) - Make it easier to work with tile ranges in custom source implementations ([@ahocevar](https://github.com/ahocevar))
|
* [#5509](https://github.com/openlayers/ol3/pull/5509) - Make it easier to work with tile ranges in custom source implementations ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5498](https://github.com/openlayers/openlayers/pull/5498) - Update eslint to version 2.13.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5498](https://github.com/openlayers/ol3/pull/5498) - Update eslint to version 2.13.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5495](https://github.com/openlayers/openlayers/pull/5495) - Get rid of goog.isFunction ([@fredj](https://github.com/fredj))
|
* [#5495](https://github.com/openlayers/ol3/pull/5495) - Get rid of goog.isFunction ([@fredj](https://github.com/fredj))
|
||||||
* [#5499](https://github.com/openlayers/openlayers/pull/5499) - Update glob to version 7.0.5 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5499](https://github.com/openlayers/ol3/pull/5499) - Update glob to version 7.0.5 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5125](https://github.com/openlayers/openlayers/pull/5125) - Remove goog style ([@nicholas-l](https://github.com/nicholas-l))
|
* [#5125](https://github.com/openlayers/ol3/pull/5125) - Remove goog style ([@nicholas-l](https://github.com/nicholas-l))
|
||||||
* [#5494](https://github.com/openlayers/openlayers/pull/5494) - Remove goog.global ([@probins](https://github.com/probins))
|
* [#5494](https://github.com/openlayers/ol3/pull/5494) - Remove goog.global ([@probins](https://github.com/probins))
|
||||||
* [#5492](https://github.com/openlayers/openlayers/pull/5492) - Update eslint to version 2.13.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5492](https://github.com/openlayers/ol3/pull/5492) - Update eslint to version 2.13.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5490](https://github.com/openlayers/openlayers/pull/5490) - Update glob to version 7.0.4 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5490](https://github.com/openlayers/ol3/pull/5490) - Update glob to version 7.0.4 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5460](https://github.com/openlayers/openlayers/pull/5460) - Update eslint to version 2.12.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5460](https://github.com/openlayers/ol3/pull/5460) - Update eslint to version 2.12.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5479](https://github.com/openlayers/openlayers/pull/5479) - Update slimerjs to version 0.906.2 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5479](https://github.com/openlayers/ol3/pull/5479) - Update slimerjs to version 0.906.2 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5474](https://github.com/openlayers/openlayers/pull/5474) - Update clean-css to version 3.4.18 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5474](https://github.com/openlayers/ol3/pull/5474) - Update clean-css to version 3.4.18 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5450](https://github.com/openlayers/openlayers/pull/5450) - Remove sub-namespaces from all remaining typedefs ([@probins](https://github.com/probins))
|
* [#5450](https://github.com/openlayers/ol3/pull/5450) - Remove sub-namespaces from all remaining typedefs ([@probins](https://github.com/probins))
|
||||||
* [#5465](https://github.com/openlayers/openlayers/pull/5465) - Fix custom icon positions and rotation ([@ahocevar](https://github.com/ahocevar))
|
* [#5465](https://github.com/openlayers/ol3/pull/5465) - Fix custom icon positions and rotation ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5469](https://github.com/openlayers/openlayers/pull/5469) - Fix typo ([@gberaudo](https://github.com/gberaudo))
|
* [#5469](https://github.com/openlayers/ol3/pull/5469) - Fix typo ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#5453](https://github.com/openlayers/openlayers/pull/5453) - Reference ol.MapBrowserEvent instead of ol.MapBrowserPointerEvent ([@ahocevar](https://github.com/ahocevar))
|
* [#5453](https://github.com/openlayers/ol3/pull/5453) - Reference ol.MapBrowserEvent instead of ol.MapBrowserPointerEvent ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5208](https://github.com/openlayers/openlayers/pull/5208) - Stop GPX writing rtept properties ([@probins](https://github.com/probins))
|
* [#5208](https://github.com/openlayers/ol3/pull/5208) - Stop GPX writing rtept properties ([@probins](https://github.com/probins))
|
||||||
* [#5452](https://github.com/openlayers/openlayers/pull/5452) - Update eslint-config-openlayers to version 5.0.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5452](https://github.com/openlayers/ol3/pull/5452) - Update eslint-config-openlayers to version 5.0.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5432](https://github.com/openlayers/openlayers/pull/5432) - Remove use of goog.uri ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#5432](https://github.com/openlayers/ol3/pull/5432) - Remove use of goog.uri ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#5449](https://github.com/openlayers/openlayers/pull/5449) - Make example data/ paths absolute for source view and JSFiddle ([@ahocevar](https://github.com/ahocevar))
|
* [#5449](https://github.com/openlayers/ol3/pull/5449) - Make example data/ paths absolute for source view and JSFiddle ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5399](https://github.com/openlayers/openlayers/pull/5399) - Remove ol.raster namespace ([@probins](https://github.com/probins))
|
* [#5399](https://github.com/openlayers/ol3/pull/5399) - Remove ol.raster namespace ([@probins](https://github.com/probins))
|
||||||
* [#5270](https://github.com/openlayers/openlayers/pull/5270) - Load erroneous image in ol.Image#load and ol.ImageTile#load ([@fredj](https://github.com/fredj))
|
* [#5270](https://github.com/openlayers/ol3/pull/5270) - Load erroneous image in ol.Image#load and ol.ImageTile#load ([@fredj](https://github.com/fredj))
|
||||||
* [#5194](https://github.com/openlayers/openlayers/pull/5194) - Get rid of goog.inherits and goog.base ([@fredj](https://github.com/fredj))
|
* [#5194](https://github.com/openlayers/ol3/pull/5194) - Get rid of goog.inherits and goog.base ([@fredj](https://github.com/fredj))
|
||||||
* [#5427](https://github.com/openlayers/openlayers/pull/5427) - Document typedefs and enums used by API symbols ([@ahocevar](https://github.com/ahocevar))
|
* [#5427](https://github.com/openlayers/ol3/pull/5427) - Document typedefs and enums used by API symbols ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5438](https://github.com/openlayers/openlayers/pull/5438) - Don't make ol.format.ogc.filter.Filter inherit from ol.Object ([@fredj](https://github.com/fredj))
|
* [#5438](https://github.com/openlayers/ol3/pull/5438) - Don't make ol.format.ogc.filter.Filter inherit from ol.Object ([@fredj](https://github.com/fredj))
|
||||||
* [#5433](https://github.com/openlayers/openlayers/pull/5433) - Update clean-css to version 3.4.17 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5433](https://github.com/openlayers/ol3/pull/5433) - Update clean-css to version 3.4.17 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5434](https://github.com/openlayers/openlayers/pull/5434) - Fix externs in closure compiler tutorial ([@tsauerwein](https://github.com/tsauerwein))
|
* [#5434](https://github.com/openlayers/ol3/pull/5434) - Fix externs in closure compiler tutorial ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#5426](https://github.com/openlayers/openlayers/pull/5426) - Fix icon example to anchor popup to feature location ([@frankrowe](https://github.com/frankrowe))
|
* [#5426](https://github.com/openlayers/ol3/pull/5426) - Fix icon example to anchor popup to feature location ([@frankrowe](https://github.com/frankrowe))
|
||||||
* [#5421](https://github.com/openlayers/openlayers/pull/5421) - Correct typo in config/jsdoc/api/readme.md ([@probins](https://github.com/probins))
|
* [#5421](https://github.com/openlayers/ol3/pull/5421) - Correct typo in config/jsdoc/api/readme.md ([@probins](https://github.com/probins))
|
||||||
* [#5417](https://github.com/openlayers/openlayers/pull/5417) - Update clean-css to version 3.4.16 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5417](https://github.com/openlayers/ol3/pull/5417) - Update clean-css to version 3.4.16 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5413](https://github.com/openlayers/openlayers/pull/5413) - Update clean-css to version 3.4.15 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5413](https://github.com/openlayers/ol3/pull/5413) - Update clean-css to version 3.4.15 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5410](https://github.com/openlayers/openlayers/pull/5410) - Update eslint to version 2.11.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5410](https://github.com/openlayers/ol3/pull/5410) - Update eslint to version 2.11.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5408](https://github.com/openlayers/openlayers/pull/5408) - Update pbf to version 2.0.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5408](https://github.com/openlayers/ol3/pull/5408) - Update pbf to version 2.0.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5404](https://github.com/openlayers/openlayers/pull/5404) - Update eslint to version 2.11.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5404](https://github.com/openlayers/ol3/pull/5404) - Update eslint to version 2.11.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5402](https://github.com/openlayers/openlayers/pull/5402) - Pass in srsName option to writeTransaction ([@anzhihun](https://github.com/anzhihun))
|
* [#5402](https://github.com/openlayers/ol3/pull/5402) - Pass in srsName option to writeTransaction ([@anzhihun](https://github.com/anzhihun))
|
||||||
* [#5393](https://github.com/openlayers/openlayers/pull/5393) - Update mocha to version 2.5.3 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5393](https://github.com/openlayers/ol3/pull/5393) - Update mocha to version 2.5.3 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5394](https://github.com/openlayers/openlayers/pull/5394) - Update resemblejs to version 2.2.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5394](https://github.com/openlayers/ol3/pull/5394) - Update resemblejs to version 2.2.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5390](https://github.com/openlayers/openlayers/pull/5390) - Fix the requestEncoding automatic selection ([@fredj](https://github.com/fredj))
|
* [#5390](https://github.com/openlayers/ol3/pull/5390) - Fix the requestEncoding automatic selection ([@fredj](https://github.com/fredj))
|
||||||
* [#5392](https://github.com/openlayers/openlayers/pull/5392) - Update closure-util to version 1.14.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5392](https://github.com/openlayers/ol3/pull/5392) - Update closure-util to version 1.14.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5388](https://github.com/openlayers/openlayers/pull/5388) - Update mocha to version 2.5.2 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5388](https://github.com/openlayers/ol3/pull/5388) - Update mocha to version 2.5.2 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5382](https://github.com/openlayers/openlayers/pull/5382) - Handle UTC midnight wrap around, fixes #5371 ([@twpayne](https://github.com/twpayne))
|
* [#5382](https://github.com/openlayers/ol3/pull/5382) - Handle UTC midnight wrap around, fixes #5371 ([@twpayne](https://github.com/twpayne))
|
||||||
* [#5381](https://github.com/openlayers/openlayers/pull/5381) - Update mocha to version 2.5.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5381](https://github.com/openlayers/ol3/pull/5381) - Update mocha to version 2.5.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5383](https://github.com/openlayers/openlayers/pull/5383) - Update clean-css to version 3.4.13 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5383](https://github.com/openlayers/ol3/pull/5383) - Update clean-css to version 3.4.13 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
The v3.17.1 release is a patch release that addresses a regression in the v3.17.0 release. See the [v3.17.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v3.17.0) for details on upgrading from v3.16.
|
The v3.17.1 release is a patch release that addresses a regression in the v3.17.0 release. See the [v3.17.0 release notes](https://github.com/openlayers/ol3/releases/tag/v3.17.0) for details on upgrading from v3.16.
|
||||||
|
|
||||||
## Fixes
|
## Fixes
|
||||||
|
|
||||||
* [#5548](https://github.com/openlayers/openlayers/pull/5548) - Fix CHANGETYPE in ol.control.FullScreen ([@GaborFarkas](https://github.com/GaborFarkas))
|
* [#5548](https://github.com/openlayers/ol3/pull/5548) - Fix CHANGETYPE in ol.control.FullScreen ([@GaborFarkas](https://github.com/GaborFarkas))
|
||||||
|
|||||||
@@ -4,17 +4,17 @@
|
|||||||
|
|
||||||
The v3.18.0 release includes features and fixes from almost 120 pull requests since the v3.17.1 release. Most of the changes are bug fixes and continuing removal of the dependency on Closure Library. New features include:
|
The v3.18.0 release includes features and fixes from almost 120 pull requests since the v3.17.1 release. Most of the changes are bug fixes and continuing removal of the dependency on Closure Library. New features include:
|
||||||
|
|
||||||
* Addition of `Intersects` and `Within` filters to `ol.format.ogc.filter` [#5668](https://github.com/openlayers/openlayers/pull/5668)
|
* Addition of `Intersects` and `Within` filters to `ol.format.ogc.filter` [#5668](https://github.com/openlayers/ol3/pull/5668)
|
||||||
* New `overlaps` option for `ol.source.Vector` and `ol.source.VectorTile` to improve rendering performance for polygon topologies [#5196](https://github.com/openlayers/openlayers/pull/5196)
|
* New `overlaps` option for `ol.source.Vector` and `ol.source.VectorTile` to improve rendering performance for polygon topologies [#5196](https://github.com/openlayers/ol3/pull/5196)
|
||||||
* New `rotateWithView` option for `ol.style.Text` to control appearance of text on rotated views [#5050](https://github.com/openlayers/openlayers/pull/5050)
|
* New `rotateWithView` option for `ol.style.Text` to control appearance of text on rotated views [#5050](https://github.com/openlayers/ol3/pull/5050)
|
||||||
* Add a `#scale()` method to `ol.geom.Geometry` and subclasses [#5685](https://github.com/openlayers/openlayers/pull/5685)
|
* Add a `#scale()` method to `ol.geom.Geometry` and subclasses [#5685](https://github.com/openlayers/ol3/pull/5685)
|
||||||
* Parse `id` of features in `ol.format.MVT` [#5613](https://github.com/openlayers/openlayers/pull/5613)
|
* Parse `id` of features in `ol.format.MVT` [#5613](https://github.com/openlayers/ol3/pull/5613)
|
||||||
|
|
||||||
## Upgrade notes
|
## Upgrade notes
|
||||||
|
|
||||||
#### Changes in the way assertions are handled
|
#### Changes in the way assertions are handled
|
||||||
|
|
||||||
Previously, minified builds of the library did not have any assertions. This caused applications to fail silently or with cryptic stack traces. Starting with this release, developers get notified of many runtime errors through the new `ol.AssertionError`. This error has a `code` property. The meaning of the code can be found on https://openlayers.org/en/latest/doc/errors/. There are additional console assertion checks in debug mode when the `goog.DEBUG` compiler flag is `true`. As this is `true` by default, it is recommended that those creating custom builds set this to `false` so these assertions are stripped.'
|
Previously, minified builds of the library did not have any assertions. This caused applications to fail silently or with cryptic stack traces. Starting with this release, developers get notified of many runtime errors through the new `ol.AssertionError`. This error has a `code` property. The meaning of the code can be found on http://openlayers.org/en/latest/doc/errors/. There are additional console assertion checks in debug mode when the `goog.DEBUG` compiler flag is `true`. As this is `true` by default, it is recommended that those creating custom builds set this to `false` so these assertions are stripped.'
|
||||||
|
|
||||||
#### Removal of `ol.ENABLE_NAMED_COLORS`
|
#### Removal of `ol.ENABLE_NAMED_COLORS`
|
||||||
|
|
||||||
@@ -48,123 +48,123 @@ A number of internal types have been renamed. This will not affect those who us
|
|||||||
|
|
||||||
## Full list of changes
|
## Full list of changes
|
||||||
|
|
||||||
* [#5782](https://github.com/openlayers/openlayers/pull/5782) - Compare URLs in an IE compatible way ([@ahocevar](https://github.com/ahocevar))
|
* [#5782](https://github.com/openlayers/ol3/pull/5782) - Compare URLs in an IE compatible way ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5778](https://github.com/openlayers/openlayers/pull/5778) - Use Mapzen instead of openstreetmap.us tiles ([@ahocevar](https://github.com/ahocevar))
|
* [#5778](https://github.com/openlayers/ol3/pull/5778) - Use Mapzen instead of openstreetmap.us tiles ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5774](https://github.com/openlayers/openlayers/pull/5774) - Update glob to version 7.0.6 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5774](https://github.com/openlayers/ol3/pull/5774) - Update glob to version 7.0.6 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5708](https://github.com/openlayers/openlayers/pull/5708) - Remove unnecessary closePath() instructions ([@ahocevar](https://github.com/ahocevar))
|
* [#5708](https://github.com/openlayers/ol3/pull/5708) - Remove unnecessary closePath() instructions ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5196](https://github.com/openlayers/openlayers/pull/5196) - Batch polygon and circle fills and strokes ([@ahocevar](https://github.com/ahocevar))
|
* [#5196](https://github.com/openlayers/ol3/pull/5196) - Batch polygon and circle fills and strokes ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5768](https://github.com/openlayers/openlayers/pull/5768) - Enable extent clipping for vector layers ([@ahocevar](https://github.com/ahocevar))
|
* [#5768](https://github.com/openlayers/ol3/pull/5768) - Enable extent clipping for vector layers ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4753](https://github.com/openlayers/openlayers/pull/4753) - Export ol.geom.Geometry#containsCoordinate function ([@fredj](https://github.com/fredj))
|
* [#4753](https://github.com/openlayers/ol3/pull/4753) - Export ol.geom.Geometry#containsCoordinate function ([@fredj](https://github.com/fredj))
|
||||||
* [#5050](https://github.com/openlayers/openlayers/pull/5050) - Add rotateWithView option to ol.style.Text ([@fredj](https://github.com/fredj))
|
* [#5050](https://github.com/openlayers/ol3/pull/5050) - Add rotateWithView option to ol.style.Text ([@fredj](https://github.com/fredj))
|
||||||
* [#5767](https://github.com/openlayers/openlayers/pull/5767) - Accept feature without geometry in ol.interaction.Modify ([@fredj](https://github.com/fredj))
|
* [#5767](https://github.com/openlayers/ol3/pull/5767) - Accept feature without geometry in ol.interaction.Modify ([@fredj](https://github.com/fredj))
|
||||||
* [#5334](https://github.com/openlayers/openlayers/pull/5334) - Load the examples resources with HTTPS ([@fredj](https://github.com/fredj))
|
* [#5334](https://github.com/openlayers/ol3/pull/5334) - Load the examples resources with HTTPS ([@fredj](https://github.com/fredj))
|
||||||
* [#5766](https://github.com/openlayers/openlayers/pull/5766) - Use HTTPS to access tiles at tileserver.maptiler.com in examples ([@klokantech](https://github.com/klokantech))
|
* [#5766](https://github.com/openlayers/ol3/pull/5766) - Use HTTPS to access tiles at tileserver.maptiler.com in examples ([@klokantech](https://github.com/klokantech))
|
||||||
* [#5765](https://github.com/openlayers/openlayers/pull/5765) - Force a map render when the view is not updated ([@fredj](https://github.com/fredj))
|
* [#5765](https://github.com/openlayers/ol3/pull/5765) - Force a map render when the view is not updated ([@fredj](https://github.com/fredj))
|
||||||
* [#5724](https://github.com/openlayers/openlayers/pull/5724) - Fix clipping of the tile layer extent on HiDPI devices ([@ahocevar](https://github.com/ahocevar))
|
* [#5724](https://github.com/openlayers/ol3/pull/5724) - Fix clipping of the tile layer extent on HiDPI devices ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5764](https://github.com/openlayers/openlayers/pull/5764) - Remove unnecessary map.render() calls ([@bartvde](https://github.com/bartvde))
|
* [#5764](https://github.com/openlayers/ol3/pull/5764) - Remove unnecessary map.render() calls ([@bartvde](https://github.com/bartvde))
|
||||||
* [#5763](https://github.com/openlayers/openlayers/pull/5763) - Fix assert namespace ([@ahocevar](https://github.com/ahocevar))
|
* [#5763](https://github.com/openlayers/ol3/pull/5763) - Fix assert namespace ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5616](https://github.com/openlayers/openlayers/pull/5616) - Fix event type and documentation of ol.events.condition.mouseOnly ([@ahocevar](https://github.com/ahocevar))
|
* [#5616](https://github.com/openlayers/ol3/pull/5616) - Fix event type and documentation of ol.events.condition.mouseOnly ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5755](https://github.com/openlayers/openlayers/pull/5755) - Increase the size of the map in ol.layer.Tile rendering tests ([@fredj](https://github.com/fredj))
|
* [#5755](https://github.com/openlayers/ol3/pull/5755) - Increase the size of the map in ol.layer.Tile rendering tests ([@fredj](https://github.com/fredj))
|
||||||
* [#5757](https://github.com/openlayers/openlayers/pull/5757) - Add ol.source.Cluster#setDistance function ([@fredj](https://github.com/fredj))
|
* [#5757](https://github.com/openlayers/ol3/pull/5757) - Add ol.source.Cluster#setDistance function ([@fredj](https://github.com/fredj))
|
||||||
* [#5752](https://github.com/openlayers/openlayers/pull/5752) - Set proper replay canvas size and offset for rotated view ([@ahocevar](https://github.com/ahocevar))
|
* [#5752](https://github.com/openlayers/ol3/pull/5752) - Set proper replay canvas size and offset for rotated view ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5754](https://github.com/openlayers/openlayers/pull/5754) - Update istanbul to version 0.4.5 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5754](https://github.com/openlayers/ol3/pull/5754) - Update istanbul to version 0.4.5 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5727](https://github.com/openlayers/openlayers/pull/5727) - Add missing goog require ([@fredj](https://github.com/fredj))
|
* [#5727](https://github.com/openlayers/ol3/pull/5727) - Add missing goog require ([@fredj](https://github.com/fredj))
|
||||||
* [#5273](https://github.com/openlayers/openlayers/pull/5273) - Take the pixelRatio into account when computing the gutter ([@fredj](https://github.com/fredj))
|
* [#5273](https://github.com/openlayers/ol3/pull/5273) - Take the pixelRatio into account when computing the gutter ([@fredj](https://github.com/fredj))
|
||||||
* [#5753](https://github.com/openlayers/openlayers/pull/5753) - Update proj4 to version 2.3.15 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5753](https://github.com/openlayers/ol3/pull/5753) - Update proj4 to version 2.3.15 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5741](https://github.com/openlayers/openlayers/pull/5741) - Point to the English workshop ([@bartvde](https://github.com/bartvde))
|
* [#5741](https://github.com/openlayers/ol3/pull/5741) - Point to the English workshop ([@bartvde](https://github.com/bartvde))
|
||||||
* [#5721](https://github.com/openlayers/openlayers/pull/5721) - Update metalsmith to version 2.2.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5721](https://github.com/openlayers/ol3/pull/5721) - Update metalsmith to version 2.2.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5733](https://github.com/openlayers/openlayers/pull/5733) - Fix #5730 - Ignore null/undef. values in uri.appendParams ([@adube](https://github.com/adube))
|
* [#5733](https://github.com/openlayers/ol3/pull/5733) - Fix #5730 - Ignore null/undef. values in uri.appendParams ([@adube](https://github.com/adube))
|
||||||
* [#5736](https://github.com/openlayers/openlayers/pull/5736) - Show `resultType` attribute in docs ([@tsauerwein](https://github.com/tsauerwein))
|
* [#5736](https://github.com/openlayers/ol3/pull/5736) - Show `resultType` attribute in docs ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#5735](https://github.com/openlayers/openlayers/pull/5735) - Update eslint to version 3.3.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5735](https://github.com/openlayers/ol3/pull/5735) - Update eslint to version 3.3.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5731](https://github.com/openlayers/openlayers/pull/5731) - Added a pixelRatio adjust to the canvasTileLayer 'forEachLayerAtPixel… ([@Benjaki2](https://github.com/Benjaki2))
|
* [#5731](https://github.com/openlayers/ol3/pull/5731) - Added a pixelRatio adjust to the canvasTileLayer 'forEachLayerAtPixel… ([@Benjaki2](https://github.com/Benjaki2))
|
||||||
* [#5732](https://github.com/openlayers/openlayers/pull/5732) - Add missing curly braces in type annotations ([@fredj](https://github.com/fredj))
|
* [#5732](https://github.com/openlayers/ol3/pull/5732) - Add missing curly braces in type annotations ([@fredj](https://github.com/fredj))
|
||||||
* [#5728](https://github.com/openlayers/openlayers/pull/5728) - Update closure-util to version 1.15.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5728](https://github.com/openlayers/ol3/pull/5728) - Update closure-util to version 1.15.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5717](https://github.com/openlayers/openlayers/pull/5717) - Update phantomjs-prebuilt to version 2.1.12 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5717](https://github.com/openlayers/ol3/pull/5717) - Update phantomjs-prebuilt to version 2.1.12 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5725](https://github.com/openlayers/openlayers/pull/5725) - Remove tilerange assert from tilegrid/wmts ([@probins](https://github.com/probins))
|
* [#5725](https://github.com/openlayers/ol3/pull/5725) - Remove tilerange assert from tilegrid/wmts ([@probins](https://github.com/probins))
|
||||||
* [#5723](https://github.com/openlayers/openlayers/pull/5723) - Update eslint to version 3.3.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5723](https://github.com/openlayers/ol3/pull/5723) - Update eslint to version 3.3.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5702](https://github.com/openlayers/openlayers/pull/5702) - Add rule to identify missing requires ([@tschaub](https://github.com/tschaub))
|
* [#5702](https://github.com/openlayers/ol3/pull/5702) - Add rule to identify missing requires ([@tschaub](https://github.com/tschaub))
|
||||||
* [#5670](https://github.com/openlayers/openlayers/pull/5670) - Added image data value to 'forEachLayerAtPixel' method callback ([@Benjaki2](https://github.com/Benjaki2))
|
* [#5670](https://github.com/openlayers/ol3/pull/5670) - Added image data value to 'forEachLayerAtPixel' method callback ([@Benjaki2](https://github.com/Benjaki2))
|
||||||
* [#5720](https://github.com/openlayers/openlayers/pull/5720) - Fix typo in tilegrid/wmts ([@probins](https://github.com/probins))
|
* [#5720](https://github.com/openlayers/ol3/pull/5720) - Fix typo in tilegrid/wmts ([@probins](https://github.com/probins))
|
||||||
* [#5715](https://github.com/openlayers/openlayers/pull/5715) - Create a check-example task for smarter example checking with PhantomJS ([@ahocevar](https://github.com/ahocevar))
|
* [#5715](https://github.com/openlayers/ol3/pull/5715) - Create a check-example task for smarter example checking with PhantomJS ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5714](https://github.com/openlayers/openlayers/pull/5714) - Add FAQ entry about renderBuffer ([@tsauerwein](https://github.com/tsauerwein))
|
* [#5714](https://github.com/openlayers/ol3/pull/5714) - Add FAQ entry about renderBuffer ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#5713](https://github.com/openlayers/openlayers/pull/5713) - Check examples with http protocol instead of file ([@ahocevar](https://github.com/ahocevar))
|
* [#5713](https://github.com/openlayers/ol3/pull/5713) - Check examples with http protocol instead of file ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5689](https://github.com/openlayers/openlayers/pull/5689) - Fix cursor change in translate interaction ([@pgiraud](https://github.com/pgiraud))
|
* [#5689](https://github.com/openlayers/ol3/pull/5689) - Fix cursor change in translate interaction ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#5165](https://github.com/openlayers/openlayers/pull/5165) - Remove goog.addSingletonGetter function ([@fredj](https://github.com/fredj))
|
* [#5165](https://github.com/openlayers/ol3/pull/5165) - Remove goog.addSingletonGetter function ([@fredj](https://github.com/fredj))
|
||||||
* [#5701](https://github.com/openlayers/openlayers/pull/5701) - Update phantomjs-prebuilt to version 2.1.11 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5701](https://github.com/openlayers/ol3/pull/5701) - Update phantomjs-prebuilt to version 2.1.11 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5698](https://github.com/openlayers/openlayers/pull/5698) - Custom rule to identify unused goog.require() calls ([@tschaub](https://github.com/tschaub))
|
* [#5698](https://github.com/openlayers/ol3/pull/5698) - Custom rule to identify unused goog.require() calls ([@tschaub](https://github.com/tschaub))
|
||||||
* [#5699](https://github.com/openlayers/openlayers/pull/5699) - Update mocha to version 3.0.2 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5699](https://github.com/openlayers/ol3/pull/5699) - Update mocha to version 3.0.2 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5697](https://github.com/openlayers/openlayers/pull/5697) - Re-enable ESLint config ([@tschaub](https://github.com/tschaub))
|
* [#5697](https://github.com/openlayers/ol3/pull/5697) - Re-enable ESLint config ([@tschaub](https://github.com/tschaub))
|
||||||
* [#5693](https://github.com/openlayers/openlayers/pull/5693) - Reorganize files so they are named like their default export ([@tschaub](https://github.com/tschaub))
|
* [#5693](https://github.com/openlayers/ol3/pull/5693) - Reorganize files so they are named like their default export ([@tschaub](https://github.com/tschaub))
|
||||||
* [#5694](https://github.com/openlayers/openlayers/pull/5694) - layer.Base in Map not required ([@probins](https://github.com/probins))
|
* [#5694](https://github.com/openlayers/ol3/pull/5694) - layer.Base in Map not required ([@probins](https://github.com/probins))
|
||||||
* [#5695](https://github.com/openlayers/openlayers/pull/5695) - Remove unneeded requires in renderers ([@probins](https://github.com/probins))
|
* [#5695](https://github.com/openlayers/ol3/pull/5695) - Remove unneeded requires in renderers ([@probins](https://github.com/probins))
|
||||||
* [#5692](https://github.com/openlayers/openlayers/pull/5692) - Small text fix ([@bngsudheer](https://github.com/bngsudheer))
|
* [#5692](https://github.com/openlayers/ol3/pull/5692) - Small text fix ([@bngsudheer](https://github.com/bngsudheer))
|
||||||
* [#5682](https://github.com/openlayers/openlayers/pull/5682) - Update mocha to version 3.0.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5682](https://github.com/openlayers/ol3/pull/5682) - Update mocha to version 3.0.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5619](https://github.com/openlayers/openlayers/pull/5619) - Remove goog.asserts.* ([@ahocevar](https://github.com/ahocevar))
|
* [#5619](https://github.com/openlayers/ol3/pull/5619) - Remove goog.asserts.* ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5685](https://github.com/openlayers/openlayers/pull/5685) - Add a method to scale geometries ([@tschaub](https://github.com/tschaub))
|
* [#5685](https://github.com/openlayers/ol3/pull/5685) - Add a method to scale geometries ([@tschaub](https://github.com/tschaub))
|
||||||
* [#5674](https://github.com/openlayers/openlayers/pull/5674) - Support fractional zoom levels in ol.View#getZoom and #setZoom ([@ahocevar](https://github.com/ahocevar))
|
* [#5674](https://github.com/openlayers/ol3/pull/5674) - Support fractional zoom levels in ol.View#getZoom and #setZoom ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5681](https://github.com/openlayers/openlayers/pull/5681) - Remove extra goog.require ([@fredj](https://github.com/fredj))
|
* [#5681](https://github.com/openlayers/ol3/pull/5681) - Remove extra goog.require ([@fredj](https://github.com/fredj))
|
||||||
* [#5680](https://github.com/openlayers/openlayers/pull/5680) - Update phantomjs-prebuilt to version 2.1.10 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5680](https://github.com/openlayers/ol3/pull/5680) - Update phantomjs-prebuilt to version 2.1.10 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5668](https://github.com/openlayers/openlayers/pull/5668) - Added Intersects and Within filters into ol.format.wfs ([@cpsTinK](https://github.com/cpsTinK))
|
* [#5668](https://github.com/openlayers/ol3/pull/5668) - Added Intersects and Within filters into ol.format.wfs ([@cpsTinK](https://github.com/cpsTinK))
|
||||||
* [#5675](https://github.com/openlayers/openlayers/pull/5675) - Remove unused goog.provide ([@fredj](https://github.com/fredj))
|
* [#5675](https://github.com/openlayers/ol3/pull/5675) - Remove unused goog.provide ([@fredj](https://github.com/fredj))
|
||||||
* [#5673](https://github.com/openlayers/openlayers/pull/5673) - Add missing semicolon ([@ahocevar](https://github.com/ahocevar))
|
* [#5673](https://github.com/openlayers/ol3/pull/5673) - Add missing semicolon ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5587](https://github.com/openlayers/openlayers/pull/5587) - Lazily create KML style defaults ([@ahocevar](https://github.com/ahocevar))
|
* [#5587](https://github.com/openlayers/ol3/pull/5587) - Lazily create KML style defaults ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5599](https://github.com/openlayers/openlayers/pull/5599) - Allow subpixel center on view ([@ahocevar](https://github.com/ahocevar))
|
* [#5599](https://github.com/openlayers/ol3/pull/5599) - Allow subpixel center on view ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5630](https://github.com/openlayers/openlayers/pull/5630) - chore(build): guard against unterminated scripts ([@tlvince](https://github.com/tlvince))
|
* [#5630](https://github.com/openlayers/ol3/pull/5630) - chore(build): guard against unterminated scripts ([@tlvince](https://github.com/tlvince))
|
||||||
* [#5669](https://github.com/openlayers/openlayers/pull/5669) - Fix Github links to specific lines on jsdoc pages ([@dtreiter](https://github.com/dtreiter))
|
* [#5669](https://github.com/openlayers/ol3/pull/5669) - Fix Github links to specific lines on jsdoc pages ([@dtreiter](https://github.com/dtreiter))
|
||||||
* [#5667](https://github.com/openlayers/openlayers/pull/5667) - Do not return undefined from ol.proj.get ([@ahocevar](https://github.com/ahocevar))
|
* [#5667](https://github.com/openlayers/ol3/pull/5667) - Do not return undefined from ol.proj.get ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5665](https://github.com/openlayers/openlayers/pull/5665) - Update eslint to version 3.2.2 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5665](https://github.com/openlayers/ol3/pull/5665) - Update eslint to version 3.2.2 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5632](https://github.com/openlayers/openlayers/pull/5632) - Improve docs for the ol.LoadingStrategy type ([@ahocevar](https://github.com/ahocevar))
|
* [#5632](https://github.com/openlayers/ol3/pull/5632) - Improve docs for the ol.LoadingStrategy type ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5641](https://github.com/openlayers/openlayers/pull/5641) - De-randomize the listener map property ([@ahocevar](https://github.com/ahocevar))
|
* [#5641](https://github.com/openlayers/ol3/pull/5641) - De-randomize the listener map property ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5664](https://github.com/openlayers/openlayers/pull/5664) - Update eslint to version 3.2.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5664](https://github.com/openlayers/ol3/pull/5664) - Update eslint to version 3.2.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5658](https://github.com/openlayers/openlayers/pull/5658) - Update marked to version 0.3.6 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5658](https://github.com/openlayers/ol3/pull/5658) - Update marked to version 0.3.6 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5657](https://github.com/openlayers/openlayers/pull/5657) - Update phantomjs-prebuilt to version 2.1.9 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5657](https://github.com/openlayers/ol3/pull/5657) - Update phantomjs-prebuilt to version 2.1.9 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5652](https://github.com/openlayers/openlayers/pull/5652) - Make XHR work for file:// urls ([@ahocevar](https://github.com/ahocevar))
|
* [#5652](https://github.com/openlayers/ol3/pull/5652) - Make XHR work for file:// urls ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5653](https://github.com/openlayers/openlayers/pull/5653) - Fix namespace in filter docs ([@ahocevar](https://github.com/ahocevar))
|
* [#5653](https://github.com/openlayers/ol3/pull/5653) - Fix namespace in filter docs ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5651](https://github.com/openlayers/openlayers/pull/5651) - Update coveralls to version 2.11.12 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5651](https://github.com/openlayers/ol3/pull/5651) - Update coveralls to version 2.11.12 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5649](https://github.com/openlayers/openlayers/pull/5649) - Fix DateTime parsing with non-Zulu times ([@ahocevar](https://github.com/ahocevar))
|
* [#5649](https://github.com/openlayers/ol3/pull/5649) - Fix DateTime parsing with non-Zulu times ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5648](https://github.com/openlayers/openlayers/pull/5648) - Update sinon to version 1.17.5 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5648](https://github.com/openlayers/ol3/pull/5648) - Update sinon to version 1.17.5 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5646](https://github.com/openlayers/openlayers/pull/5646) - Update phantomjs-prebuilt to version 2.1.8 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5646](https://github.com/openlayers/ol3/pull/5646) - Update phantomjs-prebuilt to version 2.1.8 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5644](https://github.com/openlayers/openlayers/pull/5644) - Update browserify to version 13.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5644](https://github.com/openlayers/ol3/pull/5644) - Update browserify to version 13.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5640](https://github.com/openlayers/openlayers/pull/5640) - Add example for usage of HERE Map Tile API ([@chrismayer](https://github.com/chrismayer))
|
* [#5640](https://github.com/openlayers/ol3/pull/5640) - Add example for usage of HERE Map Tile API ([@chrismayer](https://github.com/chrismayer))
|
||||||
* [#5579](https://github.com/openlayers/openlayers/pull/5579) - Update jquery to version 3.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5579](https://github.com/openlayers/ol3/pull/5579) - Update jquery to version 3.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5636](https://github.com/openlayers/openlayers/pull/5636) - Update clean-css to version 3.4.19 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5636](https://github.com/openlayers/ol3/pull/5636) - Update clean-css to version 3.4.19 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5634](https://github.com/openlayers/openlayers/pull/5634) - Update async to version 2.0.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5634](https://github.com/openlayers/ol3/pull/5634) - Update async to version 2.0.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5622](https://github.com/openlayers/openlayers/pull/5622) - Update TileWMS.coordKeyPrefix_ on setUrls ([@rrutkows](https://github.com/rrutkows))
|
* [#5622](https://github.com/openlayers/ol3/pull/5622) - Update TileWMS.coordKeyPrefix_ on setUrls ([@rrutkows](https://github.com/rrutkows))
|
||||||
* [#5611](https://github.com/openlayers/openlayers/pull/5611) - Fix broken link to Google JavaScript Style Guide ([@ischas](https://github.com/ischas))
|
* [#5611](https://github.com/openlayers/ol3/pull/5611) - Fix broken link to Google JavaScript Style Guide ([@ischas](https://github.com/ischas))
|
||||||
* [#5620](https://github.com/openlayers/openlayers/pull/5620) - Replace goog.getUid with ol.getUid ([@probins](https://github.com/probins))
|
* [#5620](https://github.com/openlayers/ol3/pull/5620) - Replace goog.getUid with ol.getUid ([@probins](https://github.com/probins))
|
||||||
* [#5614](https://github.com/openlayers/openlayers/pull/5614) - Replace goog.abstractMethod ([@probins](https://github.com/probins))
|
* [#5614](https://github.com/openlayers/ol3/pull/5614) - Replace goog.abstractMethod ([@probins](https://github.com/probins))
|
||||||
* [#5613](https://github.com/openlayers/openlayers/pull/5613) - Parse MVT id property ([@drnextgis](https://github.com/drnextgis))
|
* [#5613](https://github.com/openlayers/ol3/pull/5613) - Parse MVT id property ([@drnextgis](https://github.com/drnextgis))
|
||||||
* [#5612](https://github.com/openlayers/openlayers/pull/5612) - Update vector-tile to version 1.3.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5612](https://github.com/openlayers/ol3/pull/5612) - Update vector-tile to version 1.3.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5609](https://github.com/openlayers/openlayers/pull/5609) - Update eslint to version 3.1.1 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5609](https://github.com/openlayers/ol3/pull/5609) - Update eslint to version 3.1.1 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5605](https://github.com/openlayers/openlayers/pull/5605) - Remove goog.isObject not in assertions ([@probins](https://github.com/probins))
|
* [#5605](https://github.com/openlayers/ol3/pull/5605) - Remove goog.isObject not in assertions ([@probins](https://github.com/probins))
|
||||||
* [#5603](https://github.com/openlayers/openlayers/pull/5603) - Update eslint to version 3.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5603](https://github.com/openlayers/ol3/pull/5603) - Update eslint to version 3.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5597](https://github.com/openlayers/openlayers/pull/5597) - Avoid unnecessary getImageData calls in hit detection ([@schmidtk](https://github.com/schmidtk))
|
* [#5597](https://github.com/openlayers/ol3/pull/5597) - Avoid unnecessary getImageData calls in hit detection ([@schmidtk](https://github.com/schmidtk))
|
||||||
* [#5429](https://github.com/openlayers/openlayers/pull/5429) - Remove enums from tests ([@probins](https://github.com/probins))
|
* [#5429](https://github.com/openlayers/ol3/pull/5429) - Remove enums from tests ([@probins](https://github.com/probins))
|
||||||
* [#5516](https://github.com/openlayers/openlayers/pull/5516) - Remove goog.Uri from KML format ([@probins](https://github.com/probins))
|
* [#5516](https://github.com/openlayers/ol3/pull/5516) - Remove goog.Uri from KML format ([@probins](https://github.com/probins))
|
||||||
* [#5598](https://github.com/openlayers/openlayers/pull/5598) - Clarify that default source.Vector loader only handles features ([@probins](https://github.com/probins))
|
* [#5598](https://github.com/openlayers/ol3/pull/5598) - Clarify that default source.Vector loader only handles features ([@probins](https://github.com/probins))
|
||||||
* [#5595](https://github.com/openlayers/openlayers/pull/5595) - Use tile keys instead of coord keys ([@ahocevar](https://github.com/ahocevar))
|
* [#5595](https://github.com/openlayers/ol3/pull/5595) - Use tile keys instead of coord keys ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5594](https://github.com/openlayers/openlayers/pull/5594) - Add renderBuffer option for ol.source.ImageVector ([@ahocevar](https://github.com/ahocevar))
|
* [#5594](https://github.com/openlayers/ol3/pull/5594) - Add renderBuffer option for ol.source.ImageVector ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5592](https://github.com/openlayers/openlayers/pull/5592) - Update coveralls to version 2.11.11 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5592](https://github.com/openlayers/ol3/pull/5592) - Update coveralls to version 2.11.11 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#5593](https://github.com/openlayers/openlayers/pull/5593) - Update async to version 2.0.0 🚀 ([@openlayers](https://github.com/openlayers))
|
* [#5593](https://github.com/openlayers/ol3/pull/5593) - Update async to version 2.0.0 🚀 ([@openlayers](https://github.com/openlayers))
|
||||||
* [#4194](https://github.com/openlayers/openlayers/pull/4194) - Remove usage of goog.color and closure named colors ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#4194](https://github.com/openlayers/ol3/pull/4194) - Remove usage of goog.color and closure named colors ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#5583](https://github.com/openlayers/openlayers/pull/5583) - Fix dead link for change event in API docs ([@ahocevar](https://github.com/ahocevar))
|
* [#5583](https://github.com/openlayers/ol3/pull/5583) - Fix dead link for change event in API docs ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5560](https://github.com/openlayers/openlayers/pull/5560) - Get rid of goog.isArrayLike ([@fredj](https://github.com/fredj))
|
* [#5560](https://github.com/openlayers/ol3/pull/5560) - Get rid of goog.isArrayLike ([@fredj](https://github.com/fredj))
|
||||||
* [#5573](https://github.com/openlayers/openlayers/pull/5573) - Determine ol.global in a way that works in more environments ([@ahocevar](https://github.com/ahocevar))
|
* [#5573](https://github.com/openlayers/ol3/pull/5573) - Determine ol.global in a way that works in more environments ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5558](https://github.com/openlayers/openlayers/pull/5558) - Remove goog.Uri from tests ([@probins](https://github.com/probins))
|
* [#5558](https://github.com/openlayers/ol3/pull/5558) - Remove goog.Uri from tests ([@probins](https://github.com/probins))
|
||||||
* [#5578](https://github.com/openlayers/openlayers/pull/5578) - Add polyfills to copy/paste code ([@ahocevar](https://github.com/ahocevar))
|
* [#5578](https://github.com/openlayers/ol3/pull/5578) - Add polyfills to copy/paste code ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5577](https://github.com/openlayers/openlayers/pull/5577) - Fix olx.source.OSMOptions#url default value documentation ([@fredj](https://github.com/fredj))
|
* [#5577](https://github.com/openlayers/ol3/pull/5577) - Fix olx.source.OSMOptions#url default value documentation ([@fredj](https://github.com/fredj))
|
||||||
* [#5576](https://github.com/openlayers/openlayers/pull/5576) - Use the word "documentation" ([@ahocevar](https://github.com/ahocevar))
|
* [#5576](https://github.com/openlayers/ol3/pull/5576) - Use the word "documentation" ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5575](https://github.com/openlayers/openlayers/pull/5575) - Add a bit more info about the library to the README ([@ahocevar](https://github.com/ahocevar))
|
* [#5575](https://github.com/openlayers/ol3/pull/5575) - Add a bit more info about the library to the README ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5574](https://github.com/openlayers/openlayers/pull/5574) - Add paragraph about supported browsers and polyfills ([@ahocevar](https://github.com/ahocevar))
|
* [#5574](https://github.com/openlayers/ol3/pull/5574) - Add paragraph about supported browsers and polyfills ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5570](https://github.com/openlayers/openlayers/pull/5570) - Upgrade JSTS in example to 1.2.0 ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#5570](https://github.com/openlayers/ol3/pull/5570) - Upgrade JSTS in example to 1.2.0 ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#5566](https://github.com/openlayers/openlayers/pull/5566) - Fix ol.style.Image#getAnchor documentation ([@fredj](https://github.com/fredj))
|
* [#5566](https://github.com/openlayers/ol3/pull/5566) - Fix ol.style.Image#getAnchor documentation ([@fredj](https://github.com/fredj))
|
||||||
* [#5546](https://github.com/openlayers/openlayers/pull/5546) - Remove useless target argument from ol.Event and subclass constructors ([@ahocevar](https://github.com/ahocevar))
|
* [#5546](https://github.com/openlayers/ol3/pull/5546) - Remove useless target argument from ol.Event and subclass constructors ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5565](https://github.com/openlayers/openlayers/pull/5565) - Reinsert goog.provide for enums in olx.js ([@probins](https://github.com/probins))
|
* [#5565](https://github.com/openlayers/ol3/pull/5565) - Reinsert goog.provide for enums in olx.js ([@probins](https://github.com/probins))
|
||||||
* [#5561](https://github.com/openlayers/openlayers/pull/5561) - Add unit tests for ol.View.createCenterConstraint ([@fredj](https://github.com/fredj))
|
* [#5561](https://github.com/openlayers/ol3/pull/5561) - Add unit tests for ol.View.createCenterConstraint ([@fredj](https://github.com/fredj))
|
||||||
* [#5563](https://github.com/openlayers/openlayers/pull/5563) - Return if a vertex was removed in ol.interaction.Modify#removeVertex_ ([@fredj](https://github.com/fredj))
|
* [#5563](https://github.com/openlayers/ol3/pull/5563) - Return if a vertex was removed in ol.interaction.Modify#removeVertex_ ([@fredj](https://github.com/fredj))
|
||||||
* [#5533](https://github.com/openlayers/openlayers/pull/5533) - Make sure reprojected tiles are recreated on updateParams ([@ahocevar](https://github.com/ahocevar))
|
* [#5533](https://github.com/openlayers/ol3/pull/5533) - Make sure reprojected tiles are recreated on updateParams ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5534](https://github.com/openlayers/openlayers/pull/5534) - Fix ScaleLine control documentation ([@ahocevar](https://github.com/ahocevar))
|
* [#5534](https://github.com/openlayers/ol3/pull/5534) - Fix ScaleLine control documentation ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5541](https://github.com/openlayers/openlayers/pull/5541) - Replace goog.isNumber ([@probins](https://github.com/probins))
|
* [#5541](https://github.com/openlayers/ol3/pull/5541) - Replace goog.isNumber ([@probins](https://github.com/probins))
|
||||||
* [#5552](https://github.com/openlayers/openlayers/pull/5552) - Replace goog.webgl. ([@probins](https://github.com/probins))
|
* [#5552](https://github.com/openlayers/ol3/pull/5552) - Replace goog.webgl. ([@probins](https://github.com/probins))
|
||||||
* [#5550](https://github.com/openlayers/openlayers/pull/5550) - Remove use of ol.vec.Mat4 calls remaining after #5482 ([@ahocevar](https://github.com/ahocevar))
|
* [#5550](https://github.com/openlayers/ol3/pull/5550) - Remove use of ol.vec.Mat4 calls remaining after #5482 ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5507](https://github.com/openlayers/openlayers/pull/5507) - Remove use of goog.vec.* ([@ahocevar](https://github.com/ahocevar))
|
* [#5507](https://github.com/openlayers/ol3/pull/5507) - Remove use of goog.vec.* ([@ahocevar](https://github.com/ahocevar))
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
The v3.18.1 release is a patch release that addresses two regressions in the v3.18.0 release. See the [v3.18.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v3.18.0) for details on upgrading from v3.17.x.
|
The v3.18.1 release is a patch release that addresses two regressions in the v3.18.0 release. See the [v3.18.0 release notes](https://github.com/openlayers/ol3/releases/tag/v3.18.0) for details on upgrading from v3.17.x.
|
||||||
|
|
||||||
## Fixes
|
## Fixes
|
||||||
|
|
||||||
* [#5798](https://github.com/openlayers/openlayers/pull/5798) - Move to 90° along the circle, not 0° ([@ahocevar](https://github.com/ahocevar))
|
* [#5798](https://github.com/openlayers/ol3/pull/5798) - Move to 90° along the circle, not 0° ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#5790](https://github.com/openlayers/openlayers/pull/5790) - Fix vector tile rotation on HiDPI devices ([@ahocevar](https://github.com/ahocevar))
|
* [#5790](https://github.com/openlayers/ol3/pull/5790) - Fix vector tile rotation on HiDPI devices ([@ahocevar](https://github.com/ahocevar))
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
The v3.18.2 release is a patch release that addresses a regression in the v3.18.1 release. See the [v3.18.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v3.18.0) for details on upgrading from v3.17.x.
|
The v3.18.2 release is a patch release that addresses a regression in the v3.18.1 release. See the [v3.18.0 release notes](https://github.com/openlayers/ol3/releases/tag/v3.18.0) for details on upgrading from v3.17.x.
|
||||||
|
|
||||||
## Fixes
|
## Fixes
|
||||||
|
|
||||||
* [#5828](https://github.com/openlayers/openlayers/pull/5828) - Always close polygon rings ([@ahocevar](https://github.com/ahocevar))
|
* [#5828](https://github.com/openlayers/ol3/pull/5828) - Always close polygon rings ([@ahocevar](https://github.com/ahocevar))
|
||||||
|
|||||||
@@ -1,203 +0,0 @@
|
|||||||
# v3.19.0
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The v3.19.0 release includes features and fixes from a little more than 120 pull requests with more than 380 commits. Most of the changes are bug fixes, documentation enhancements or target the continuing removal of the dependency on Closure Library. Some notable new or enhanced features are:
|
|
||||||
|
|
||||||
* Vector fills with `CanvasGradient` or `CanvasPattern` now move and rotate with the map which is far more intuitive ([#5950](https://github.com/openlayers/openlayers/pull/5950))
|
|
||||||
* Drawing in `freehand`-mode also became more intuitive ([#5970](https://github.com/openlayers/openlayers/pull/5970), [#5973](https://github.com/openlayers/openlayers/pull/5973), [#5975](https://github.com/openlayers/openlayers/pull/5975))
|
|
||||||
* When tiles of different resolutions are combined for a layer (which is the case before all tiles of the best resolution have been loaded), lower resolution tiles now align with higher resolution tiles resulting in a map without gaps ([#5890](https://github.com/openlayers/openlayers/pull/5890))
|
|
||||||
* Styles can now easily be cloned ([#5832](https://github.com/openlayers/openlayers/pull/5832))
|
|
||||||
|
|
||||||
Additionally the [openlayers.org](https://openlayers.org) homepage is now available via the `https`-protocol.
|
|
||||||
|
|
||||||
## Upgrade notes
|
|
||||||
|
|
||||||
#### `ol.style.Fill` with `CanvasGradient` or `CanvasPattern`
|
|
||||||
|
|
||||||
Previously, gradients and patterns were aligned with the canvas, so they did not
|
|
||||||
move and rotate with the map. This was changed to a more expected behavior by anchoring the fill to the map origin (usually at map coordinate `[0, 0]`).
|
|
||||||
|
|
||||||
#### `goog.DEBUG` define was renamed to `ol.DEBUG`
|
|
||||||
|
|
||||||
As last step in the removal of the dependency on Google Closure Library, the `goog.DEBUG` compiler define was renamed to `ol.DEBUG`. Please change accordingly in your custom build configuration json files.
|
|
||||||
|
|
||||||
#### `ol.format.ogc.filter` namespace was renamed to `ol.format.filter`
|
|
||||||
|
|
||||||
`ol.format.ogc.filter` was simplified to `ol.format.filter`; to upgrade your code, simply remove the `ogc` string from the name.
|
|
||||||
For example: `ol.format.ogc.filter.and` to `ol.format.filter.and`.
|
|
||||||
|
|
||||||
#### Changes only relevant to those who compile their applications together with the Closure Compiler
|
|
||||||
|
|
||||||
A number of internal types have been renamed. This will not affect those who use the API provided by the library, but if you are compiling your application together with OpenLayers and using type names, you'll need to do the following:
|
|
||||||
|
|
||||||
* rename `ol.CollectionProperty` to `ol.Collection.Property`
|
|
||||||
* rename `ol.DeviceOrientationProperty` to `ol.DeviceOrientation.Property`
|
|
||||||
* rename `ol.DragBoxEvent` to `ol.interaction.DragBox.Event`
|
|
||||||
* rename `ol.DragBoxEventType` to `ol.interaction.DragBox.EventType`
|
|
||||||
* rename `ol.GeolocationProperty` to `ol.Geolocation.Property`
|
|
||||||
* rename `ol.OverlayPositioning` to `ol.Overlay.Positioning`
|
|
||||||
* rename `ol.OverlayProperty` to `ol.Overlay.Property`
|
|
||||||
* rename `ol.control.MousePositionProperty` to `ol.control.MousePosition.Property`
|
|
||||||
* rename `ol.format.IGCZ` to `ol.format.IGC.Z`
|
|
||||||
* rename `ol.interaction.InteractionProperty` to `ol.interaction.Interaction.Property`
|
|
||||||
* rename `ol.interaction.DrawMode` to `ol.interaction.Draw.Mode`
|
|
||||||
* rename `ol.interaction.DrawEvent` to `ol.interaction.Draw.Event`
|
|
||||||
* rename `ol.interaction.DrawEventType` to `ol.interaction.Draw.EventType`
|
|
||||||
* rename `ol.interaction.ExtentEvent` to `ol.interaction.Extent.Event`
|
|
||||||
* rename `ol.interaction.ExtentEventType` to `ol.interaction.Extent.EventType`
|
|
||||||
* rename `ol.interaction.DragAndDropEvent` to `ol.interaction.DragAndDrop.Event`
|
|
||||||
* rename `ol.interaction.DragAndDropEventType` to `ol.interaction.DragAndDrop.EventType`
|
|
||||||
* rename `ol.interaction.ModifyEvent` to `ol.interaction.Modify.Event`
|
|
||||||
* rename `ol.interaction.SelectEvent` to `ol.interaction.Select.Event`
|
|
||||||
* rename `ol.interaction.SelectEventType` to `ol.interaction.Select.EventType`
|
|
||||||
* rename `ol.interaction.TranslateEvent` to `ol.interaction.Translate.Event`
|
|
||||||
* rename `ol.interaction.TranslateEventType` to `ol.interaction.Translate.EventType`
|
|
||||||
* rename `ol.layer.GroupProperty` to `ol.layer.Group.Property`
|
|
||||||
* rename `ol.layer.HeatmapLayerProperty` to `ol.layer.Heatmap.Property`
|
|
||||||
* rename `ol.layer.TileProperty` to `ol.layer.Tile.Property`
|
|
||||||
* rename `ol.layer.VectorTileRenderType` to `ol.layer.VectorTile.RenderType`
|
|
||||||
* rename `ol.MapEventType` to `ol.MapEvent.Type`
|
|
||||||
* rename `ol.MapProperty` to `ol.Map.Property`
|
|
||||||
* rename `ol.ModifyEventType` to `ol.interaction.Modify.EventType`
|
|
||||||
* rename `ol.RendererType` to `ol.renderer.Type`
|
|
||||||
* rename `ol.render.EventType` to `ol.render.Event.Type`
|
|
||||||
* rename `ol.source.ImageEvent` to `ol.source.Image.Event`
|
|
||||||
* rename `ol.source.ImageEventType` to `ol.source.Image.EventType`
|
|
||||||
* rename `ol.source.RasterEvent` to `ol.source.Raster.Event`
|
|
||||||
* rename `ol.source.RasterEventType` to `ol.source.Raster.EventType`
|
|
||||||
* rename `ol.source.TileEvent` to `ol.source.Tile.Event`
|
|
||||||
* rename `ol.source.TileEventType` to `ol.source.Tile.EventType`
|
|
||||||
* rename `ol.source.VectorEvent` to `ol.source.Vector.Event`
|
|
||||||
* rename `ol.source.VectorEventType` to `ol.source.Vector.EventType`
|
|
||||||
* rename `ol.source.wms.ServerType` to `ol.source.WMSServerType`
|
|
||||||
* rename `ol.source.WMTSRequestEncoding` to `ol.source.WMTS.RequestEncoding`
|
|
||||||
* rename `ol.style.IconAnchorUnits` to `ol.style.Icon.AnchorUnits`
|
|
||||||
* rename `ol.style.IconOrigin` to `ol.style.Icon.Origin`
|
|
||||||
|
|
||||||
## Full list of changes
|
|
||||||
|
|
||||||
* [#6007](https://github.com/openlayers/openlayers/pull/6007) - Add note to example that canvas.toBlob() is required ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#5979](https://github.com/openlayers/openlayers/pull/5979) - Use FileSaver.js in export-map example ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6004](https://github.com/openlayers/openlayers/pull/6004) - Bring back the vector-osm example, using a different service ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6002](https://github.com/openlayers/openlayers/pull/6002) - Use tile pixel ratio for gutter calculation ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5991](https://github.com/openlayers/openlayers/pull/5991) - Only test ol.format.MVT if ArrayBuffer.isView is supported ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6000](https://github.com/openlayers/openlayers/pull/6000) - Fix mockup of tile layer to keep drawImage arguments in range ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5997](https://github.com/openlayers/openlayers/pull/5997) - Always load a gated URL polyfill when testing ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#5963](https://github.com/openlayers/openlayers/pull/5963) - Remove the vertex on ol.interaction.Modify deactivation ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5994](https://github.com/openlayers/openlayers/pull/5994) - Setup a loaded image with src for TileLayer test ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#5989](https://github.com/openlayers/openlayers/pull/5989) - Remove vector-osm example ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5985](https://github.com/openlayers/openlayers/pull/5985) - Update Mapzen urls to new scheme ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5984](https://github.com/openlayers/openlayers/pull/5984) - Less examples with mixed content ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5986](https://github.com/openlayers/openlayers/pull/5986) - Update eslint to version 3.8.1 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5982](https://github.com/openlayers/openlayers/pull/5982) - Use a https enabled GeoServer ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5977](https://github.com/openlayers/openlayers/pull/5977) - Convenience function for drawing boxes ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#5978](https://github.com/openlayers/openlayers/pull/5978) - Update async to version 2.1.2 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5975](https://github.com/openlayers/openlayers/pull/5975) - Finish drawing on pointerup when in freehand mode ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#5976](https://github.com/openlayers/openlayers/pull/5976) - Use https where available ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#5973](https://github.com/openlayers/openlayers/pull/5973) - Add a freehand option to the draw interaction ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#5964](https://github.com/openlayers/openlayers/pull/5964) - Set one-off transform instead of transforming back and forth ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5970](https://github.com/openlayers/openlayers/pull/5970) - Allow circles, squares, and boxes to be drawn in freehand mode ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#5972](https://github.com/openlayers/openlayers/pull/5972) - Update eslint to version 3.8.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5969](https://github.com/openlayers/openlayers/pull/5969) - Test all, not just one ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5967](https://github.com/openlayers/openlayers/pull/5967) - Add missing jsdoc to ol.render.canvas.Replay#fill_ function ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5962](https://github.com/openlayers/openlayers/pull/5962) - Use same proj4js version in examples and tests ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5961](https://github.com/openlayers/openlayers/pull/5961) - Remove unused error codes ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5960](https://github.com/openlayers/openlayers/pull/5960) - More renaming to have one provide per file ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5959](https://github.com/openlayers/openlayers/pull/5959) - Remove unnecessary and misleading assertion ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5950](https://github.com/openlayers/openlayers/pull/5950) - Move gradient and pattern fills with the view ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5957](https://github.com/openlayers/openlayers/pull/5957) - Update async to version 2.1.1 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5956](https://github.com/openlayers/openlayers/pull/5956) - Update async to version 2.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5955](https://github.com/openlayers/openlayers/pull/5955) - Add getters to BingMaps source for api key and imagerySet ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#5944](https://github.com/openlayers/openlayers/pull/5944) - Allow readFeature and readFeatures to be called with GeoJSON geometries ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#5949](https://github.com/openlayers/openlayers/pull/5949) - Add prose documentation for ol.AttributionLike ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#5948](https://github.com/openlayers/openlayers/pull/5948) - Fix API docs of ol.Feature#getStyle ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#5946](https://github.com/openlayers/openlayers/pull/5946) - Update mocha to version 3.1.2 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5941](https://github.com/openlayers/openlayers/pull/5941) - Update mocha to version 3.1.1 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5890](https://github.com/openlayers/openlayers/pull/5890) - No gaps between tiles of different resolutions ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5935](https://github.com/openlayers/openlayers/pull/5935) - Keep transformed coordinates within valid y range ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#5937](https://github.com/openlayers/openlayers/pull/5937) - One provide per file for vector tiles ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5933](https://github.com/openlayers/openlayers/pull/5933) - Update phantomjs-prebuilt to version 2.1.13 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5932](https://github.com/openlayers/openlayers/pull/5932) - Update eslint to version 3.7.1 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5931](https://github.com/openlayers/openlayers/pull/5931) - Update jsdoc to version 3.4.2 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5923](https://github.com/openlayers/openlayers/pull/5923) - Update pbf to version 3.0.2 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5926](https://github.com/openlayers/openlayers/pull/5926) - Ensure correct type of event.element ([@adube](https://github.com/adube))
|
|
||||||
* [#5928](https://github.com/openlayers/openlayers/pull/5928) - Update eslint to version 3.7.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5919](https://github.com/openlayers/openlayers/pull/5919) - Update resemblejs to version 2.2.2 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5909](https://github.com/openlayers/openlayers/pull/5909) - Update jquery to version 3.1.1 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5917](https://github.com/openlayers/openlayers/pull/5917) - Accept feature projection in GeoJSON constructor ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#5918](https://github.com/openlayers/openlayers/pull/5918) - Update mocha to version 3.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5916](https://github.com/openlayers/openlayers/pull/5916) - Update eslint to version 3.6.1 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5914](https://github.com/openlayers/openlayers/pull/5914) - Allow clipping by MultiPolygon ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#5894](https://github.com/openlayers/openlayers/pull/5894) - Reuse arrays for rendered tiles and extent ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5895](https://github.com/openlayers/openlayers/pull/5895) - Always use the frameState's extent ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5911](https://github.com/openlayers/openlayers/pull/5911) - Update eslint to version 3.6.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5903](https://github.com/openlayers/openlayers/pull/5903) - Rename ol.format.ogc.filter namespace to ol.format.filter ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5913](https://github.com/openlayers/openlayers/pull/5913) - Update clean-css to version 3.4.20 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5776](https://github.com/openlayers/openlayers/pull/5776) - Add ol.style.Circle#setRadius ([@jonataswalker](https://github.com/jonataswalker))
|
|
||||||
* [#5905](https://github.com/openlayers/openlayers/pull/5905) - Update pbf to version 3.0.1 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5904](https://github.com/openlayers/openlayers/pull/5904) - Fix changelog/upgrade-notes.md formating ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5906](https://github.com/openlayers/openlayers/pull/5906) - Update glob to version 7.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5898](https://github.com/openlayers/openlayers/pull/5898) - Update sinon to version 1.17.6 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5888](https://github.com/openlayers/openlayers/pull/5888) - Remove unused functions ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5900](https://github.com/openlayers/openlayers/pull/5900) - Update coveralls to version 2.11.14 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5897](https://github.com/openlayers/openlayers/pull/5897) - Show NEXRAD data in WMS Time example ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5896](https://github.com/openlayers/openlayers/pull/5896) - Remove plain string from Map renderer option ([@probins](https://github.com/probins))
|
|
||||||
* [#5893](https://github.com/openlayers/openlayers/pull/5893) - Fix fillStyle or strokeStyle defined assertion ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5892](https://github.com/openlayers/openlayers/pull/5892) - Remove getRendererFromQueryString from examples ([@probins](https://github.com/probins))
|
|
||||||
* [#5889](https://github.com/openlayers/openlayers/pull/5889) - Update coveralls to version 2.11.13 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5886](https://github.com/openlayers/openlayers/pull/5886) - Remove unused functions ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5885](https://github.com/openlayers/openlayers/pull/5885) - Remove unused pruneTileRange function ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#5853](https://github.com/openlayers/openlayers/pull/5853) - Allow more than one digit range in ol.TileUrlFunction.expandUrl ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5445](https://github.com/openlayers/openlayers/pull/5445) - Select interaction default styling function can now handle geometry less features ([@fblackburn](https://github.com/fblackburn))
|
|
||||||
* [#5884](https://github.com/openlayers/openlayers/pull/5884) - Fix jsdoc tag indentation ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5863](https://github.com/openlayers/openlayers/pull/5863) - Allow CanvasPattern or CanvasGradient as stroke style ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5838](https://github.com/openlayers/openlayers/pull/5838) - Require ol where ol.DEBUG is being used ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#5878](https://github.com/openlayers/openlayers/pull/5878) - Smarter handling of closed rings and closePath() instructions ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5880](https://github.com/openlayers/openlayers/pull/5880) - More work towards one provide per file ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#5857](https://github.com/openlayers/openlayers/pull/5857) - Fixed issue with multi option of ol.interaction.Select ([@KlausBenndorf](https://github.com/KlausBenndorf))
|
|
||||||
* [#5876](https://github.com/openlayers/openlayers/pull/5876) - Use clone method in kml format ([@KlausBenndorf](https://github.com/KlausBenndorf))
|
|
||||||
* [#5832](https://github.com/openlayers/openlayers/pull/5832) - Add clone methods to styles ([@KlausBenndorf](https://github.com/KlausBenndorf))
|
|
||||||
* [#5869](https://github.com/openlayers/openlayers/pull/5869) - Update jsdoc to version 3.4.1 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5872](https://github.com/openlayers/openlayers/pull/5872) - Keep ol.Color as Array<number> ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#5870](https://github.com/openlayers/openlayers/pull/5870) - Update eslint to version 3.5.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5867](https://github.com/openlayers/openlayers/pull/5867) - Add dedicated example using CanvasPattern and CanvasGradient for styling vectors ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#5864](https://github.com/openlayers/openlayers/pull/5864) - More renaming ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5861](https://github.com/openlayers/openlayers/pull/5861) - More renaming to have one provide per file ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5860](https://github.com/openlayers/openlayers/pull/5860) - Rename ol.MapProperty and ol.interaction.DragAndDropEvent* ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5855](https://github.com/openlayers/openlayers/pull/5855) - Rename ol.DragBoxEvent* to ol.interaction.DragBox.Event* ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5859](https://github.com/openlayers/openlayers/pull/5859) - Rename ol.RendererType to ol.renderer.Type ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5846](https://github.com/openlayers/openlayers/pull/5846) - Remove unused goog.require('ol') ([@probins](https://github.com/probins))
|
|
||||||
* [#5854](https://github.com/openlayers/openlayers/pull/5854) - Use a canvas pattern in the vector-layer example ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5852](https://github.com/openlayers/openlayers/pull/5852) - ol.interaction.extent cleanup ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5851](https://github.com/openlayers/openlayers/pull/5851) - Remove unused imageByContext_ in ol.ImageTile ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5849](https://github.com/openlayers/openlayers/pull/5849) - Remove 'global' from externs/closure-compiler.js ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5837](https://github.com/openlayers/openlayers/pull/5837) - Remove ol.global ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#5842](https://github.com/openlayers/openlayers/pull/5842) - Remove extra provide causing a circular dependency ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5795](https://github.com/openlayers/openlayers/pull/5795) - Render older loaded tiles while waiting for new tiles ([@thomasmoelhave](https://github.com/thomasmoelhave))
|
|
||||||
* [#5840](https://github.com/openlayers/openlayers/pull/5840) - Rename source.wms.ServerType ➛ source.WMSServerType ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#5839](https://github.com/openlayers/openlayers/pull/5839) - Rename source.VectorEvent(*) to source.Vector.Event(*) ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#5835](https://github.com/openlayers/openlayers/pull/5835) - document and test ol.getUid sequence behavior ([@thomasmoelhave](https://github.com/thomasmoelhave))
|
|
||||||
* [#5834](https://github.com/openlayers/openlayers/pull/5834) - Rename goog.DEBUG to ol.DEBUG ([@thomasmoelhave](https://github.com/thomasmoelhave))
|
|
||||||
* [#5815](https://github.com/openlayers/openlayers/pull/5815) - Remove the DOM renderer ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#5828](https://github.com/openlayers/openlayers/pull/5828) - Always close polygon rings ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5794](https://github.com/openlayers/openlayers/pull/5794) - Fix more missing requires ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5820](https://github.com/openlayers/openlayers/pull/5820) - Change ol.format.Format to ol.format.Feature in format/readme.md ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5819](https://github.com/openlayers/openlayers/pull/5819) - Add ArrayBuffer.isView method in externs/closure-compiler.js ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5793](https://github.com/openlayers/openlayers/pull/5793) - Closure bye bye ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5809](https://github.com/openlayers/openlayers/pull/5809) - Reuse ol.LayerState object ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5811](https://github.com/openlayers/openlayers/pull/5811) - Use ol.global.getComputedStyle instead of window.getComputedStyle ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5810](https://github.com/openlayers/openlayers/pull/5810) - ESLint rule typo ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#5807](https://github.com/openlayers/openlayers/pull/5807) - Update pbf to version 3.0.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5806](https://github.com/openlayers/openlayers/pull/5806) - Fix olx.style.TextOptions.rotateWithView option in externs ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5770](https://github.com/openlayers/openlayers/pull/5770) - Update ol.source.Vector comments ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5803](https://github.com/openlayers/openlayers/pull/5803) - V3.18.1 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5801](https://github.com/openlayers/openlayers/pull/5801) - Remove ol.style.ImageState and use ol.ImageState instead ([@fredj](https://github.com/fredj))
|
|
||||||
* [#5790](https://github.com/openlayers/openlayers/pull/5790) - Fix vector tile rotation on HiDPI devices ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5798](https://github.com/openlayers/openlayers/pull/5798) - Move to 90° along the circle, not 0° ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#5800](https://github.com/openlayers/openlayers/pull/5800) - Wrap values in <Literal> for InBetween filter ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#5769](https://github.com/openlayers/openlayers/pull/5769) - Only call addToDrawing if sketchFeature ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#5745](https://github.com/openlayers/openlayers/pull/5745) - removed dependencies on goog.object.clone and fixed placemark rendering ([@tamarmot](https://github.com/tamarmot))
|
|
||||||
* [#5290](https://github.com/openlayers/openlayers/pull/5290) - Add extent interaction ([@tbarsballe](https://github.com/tbarsballe))
|
|
||||||
* [#5786](https://github.com/openlayers/openlayers/pull/5786) - Update eslint to version 3.4.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5785](https://github.com/openlayers/openlayers/pull/5785) - Release v3.18.0 ([@openlayers](https://github.com/openlayers))
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
# v3.19.1
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The v3.19.1 release is a patch release that addresses four regressions in the
|
|
||||||
v3.19.0 release. See the
|
|
||||||
[v3.19.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v3.19.0)
|
|
||||||
for details on upgrading from v3.18.x.
|
|
||||||
|
|
||||||
## Upgrade notes
|
|
||||||
|
|
||||||
#### `ol.style.Fill` with `CanvasGradient` or `CanvasPattern`
|
|
||||||
|
|
||||||
The origin for gradients and patterns has changed from `[0, 0]` to the top-left
|
|
||||||
corner of the extent of the geometry being filled.
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
* [#6039](https://github.com/openlayers/openlayers/pull/6039) - Do not fill when there is no fillStyle ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6034](https://github.com/openlayers/openlayers/pull/6034) - Use geometry extent's top left corner as pattern/gradient origin ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6027](https://github.com/openlayers/openlayers/pull/6027) - Close polygon sketch at all times ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#6022](https://github.com/openlayers/openlayers/pull/6022) - Revert "Merge pull request #5890 from ahocevar/no-white-lines" ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
@@ -2,85 +2,85 @@
|
|||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
The 3.1.0 release includes 70 merged pull requests since 3.1.0. Of note, the KML format [now parses `NetworkingLink` tags](https://github.com/openlayers/openlayers/pull/3171). The [measure example](https://openlayers.org/en/v3.2.0/examples/measure.html) was [reworked](https://github.com/openlayers/openlayers/pull/3206) to display measurements and help messages while drawing. A WMTS GetCapabilities format was [added](https://github.com/openlayers/openlayers/pull/3026). The WebGL renderer [now supports feature hit detection](https://github.com/openlayers/openlayers/pull/3065) (on point features). And you can now [detect](https://github.com/openlayers/openlayers/pull/3172) features/colored pixels on image and tile layers! See the full list of [changes](#changes) below.
|
The 3.1.0 release includes 70 merged pull requests since 3.1.0. Of note, the KML format [now parses `NetworkingLink` tags](https://github.com/openlayers/ol3/pull/3171). The [measure example](http://openlayers.org/en/v3.2.0/examples/measure.html) was [reworked](https://github.com/openlayers/ol3/pull/3206) to display measurements and help messages while drawing. A WMTS GetCapabilities format was [added](https://github.com/openlayers/ol3/pull/3026). The WebGL renderer [now supports feature hit detection](https://github.com/openlayers/ol3/pull/3065) (on point features). And you can now [detect](https://github.com/openlayers/ol3/pull/3172) features/colored pixels on image and tile layers! See the full list of [changes](#changes) below.
|
||||||
|
|
||||||
## Upgrade notes
|
## Upgrade notes
|
||||||
|
|
||||||
The 3.2.0 release maintains a backwards-compatible API with the 3.1.0 release, so upgrades should be painless. Some special considerations below.
|
The 3.2.0 release maintains a backwards-compatible API with the 3.1.0 release, so upgrades should be painless. Some special considerations below.
|
||||||
|
|
||||||
* You should not call `view.setRotation` with `undefined`, to reset the view rotation to `0` then use `view.setRotation(0)` (see [#3176](https://github.com/openlayers/openlayers/pull/3176)).
|
* You should not call `view.setRotation` with `undefined`, to reset the view rotation to `0` then use `view.setRotation(0)` (see [#3176](https://github.com/openlayers/ol3/pull/3176)).
|
||||||
|
|
||||||
* If you use `$(map.getViewport()).on('mousemove')` to detect features when the mouse is hovered on the map, you should now rely on the `pointermove` map event type and check in the `pointermove` listener that the `dragging` event property is `false` (see [#3190](https://github.com/openlayers/openlayers/pull/3190)).
|
* If you use `$(map.getViewport()).on('mousemove')` to detect features when the mouse is hovered on the map, you should now rely on the `pointermove` map event type and check in the `pointermove` listener that the `dragging` event property is `false` (see [#3190](https://github.com/openlayers/ol3/pull/3190)).
|
||||||
|
|
||||||
## Changes
|
## Changes
|
||||||
|
|
||||||
* [#3171](https://github.com/openlayers/openlayers/pull/3171) - KML: Parsing of NetworkLink tag ([@oterral](https://github.com/oterral))
|
* [#3171](https://github.com/openlayers/ol3/pull/3171) - KML: Parsing of NetworkLink tag ([@oterral](https://github.com/oterral))
|
||||||
* [#3209](https://github.com/openlayers/openlayers/pull/3209) - Coding style fixes ([@fredj](https://github.com/fredj))
|
* [#3209](https://github.com/openlayers/ol3/pull/3209) - Coding style fixes ([@fredj](https://github.com/fredj))
|
||||||
* [#3208](https://github.com/openlayers/openlayers/pull/3208) - Add setters and getters for imageLoadFunction ([@bartvde](https://github.com/bartvde))
|
* [#3208](https://github.com/openlayers/ol3/pull/3208) - Add setters and getters for imageLoadFunction ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3019](https://github.com/openlayers/openlayers/pull/3019) - Add option to allow Select interaction logic to select overlapping features ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#3019](https://github.com/openlayers/ol3/pull/3019) - Add option to allow Select interaction logic to select overlapping features ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#3206](https://github.com/openlayers/openlayers/pull/3206) - Add tooltip to show measure + help message while drawing ([@pgiraud](https://github.com/pgiraud))
|
* [#3206](https://github.com/openlayers/ol3/pull/3206) - Add tooltip to show measure + help message while drawing ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#3205](https://github.com/openlayers/openlayers/pull/3205) - Use ol.extent.createOrUpdateFromCoordinate ([@fredj](https://github.com/fredj))
|
* [#3205](https://github.com/openlayers/ol3/pull/3205) - Use ol.extent.createOrUpdateFromCoordinate ([@fredj](https://github.com/fredj))
|
||||||
* [#3026](https://github.com/openlayers/openlayers/pull/3026) - Add support of reading WMTS Get Cap document ([@htulipe](https://github.com/htulipe))
|
* [#3026](https://github.com/openlayers/ol3/pull/3026) - Add support of reading WMTS Get Cap document ([@htulipe](https://github.com/htulipe))
|
||||||
* [#3201](https://github.com/openlayers/openlayers/pull/3201) - Pass on opt_fast to parent clear function in ol.source.ServerVector (r=@elemoine,@gberaudo) ([@bartvde](https://github.com/bartvde))
|
* [#3201](https://github.com/openlayers/ol3/pull/3201) - Pass on opt_fast to parent clear function in ol.source.ServerVector (r=@elemoine,@gberaudo) ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3199](https://github.com/openlayers/openlayers/pull/3199) - Minor jsdoc fixes ([@fredj](https://github.com/fredj))
|
* [#3199](https://github.com/openlayers/ol3/pull/3199) - Minor jsdoc fixes ([@fredj](https://github.com/fredj))
|
||||||
* [#3059](https://github.com/openlayers/openlayers/pull/3059) - Cache the buffered extent value ([@fredj](https://github.com/fredj))
|
* [#3059](https://github.com/openlayers/ol3/pull/3059) - Cache the buffered extent value ([@fredj](https://github.com/fredj))
|
||||||
* [#3196](https://github.com/openlayers/openlayers/pull/3196) - Remove unnecessary newlines ([@fredj](https://github.com/fredj))
|
* [#3196](https://github.com/openlayers/ol3/pull/3196) - Remove unnecessary newlines ([@fredj](https://github.com/fredj))
|
||||||
* [#3099](https://github.com/openlayers/openlayers/pull/3099) - Fix up parsing of OGR GML with ol.format.GML ([@bartvde](https://github.com/bartvde))
|
* [#3099](https://github.com/openlayers/ol3/pull/3099) - Fix up parsing of OGR GML with ol.format.GML ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3195](https://github.com/openlayers/openlayers/pull/3195) - Coding style ([@fredj](https://github.com/fredj))
|
* [#3195](https://github.com/openlayers/ol3/pull/3195) - Coding style ([@fredj](https://github.com/fredj))
|
||||||
* [#3192](https://github.com/openlayers/openlayers/pull/3192) - Add "url" option to ol.source.MapQuest ([@elemoine](https://github.com/elemoine))
|
* [#3192](https://github.com/openlayers/ol3/pull/3192) - Add "url" option to ol.source.MapQuest ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3172](https://github.com/openlayers/openlayers/pull/3172) - Introduce forEachLayerAtPixel ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3172](https://github.com/openlayers/ol3/pull/3172) - Introduce forEachLayerAtPixel ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3178](https://github.com/openlayers/openlayers/pull/3178) - GeoJSON externs fixes ([@fredj](https://github.com/fredj))
|
* [#3178](https://github.com/openlayers/ol3/pull/3178) - GeoJSON externs fixes ([@fredj](https://github.com/fredj))
|
||||||
* [#3179](https://github.com/openlayers/openlayers/pull/3179) - Disallow undefined values for ol.layer.Base ([@fredj](https://github.com/fredj))
|
* [#3179](https://github.com/openlayers/ol3/pull/3179) - Disallow undefined values for ol.layer.Base ([@fredj](https://github.com/fredj))
|
||||||
* [#3161](https://github.com/openlayers/openlayers/pull/3161) - Doc fix. writeFeaturesNode receives an array of Feature ([@3x0dv5](https://github.com/3x0dv5))
|
* [#3161](https://github.com/openlayers/ol3/pull/3161) - Doc fix. writeFeaturesNode receives an array of Feature ([@3x0dv5](https://github.com/3x0dv5))
|
||||||
* [#3169](https://github.com/openlayers/openlayers/pull/3169) - Fix default icon style in kml format ([@oterral](https://github.com/oterral))
|
* [#3169](https://github.com/openlayers/ol3/pull/3169) - Fix default icon style in kml format ([@oterral](https://github.com/oterral))
|
||||||
* [#3190](https://github.com/openlayers/openlayers/pull/3190) - Introduce `dragging` flag for MapBrowserEvent ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3190](https://github.com/openlayers/ol3/pull/3190) - Introduce `dragging` flag for MapBrowserEvent ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3135](https://github.com/openlayers/openlayers/pull/3135) - Make changing the label of ZoomToExtent/FullScreen control consistent ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3135](https://github.com/openlayers/ol3/pull/3135) - Make changing the label of ZoomToExtent/FullScreen control consistent ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3186](https://github.com/openlayers/openlayers/pull/3186) - Take the pixel ratio into account when clipping the layer ([@fredj](https://github.com/fredj))
|
* [#3186](https://github.com/openlayers/ol3/pull/3186) - Take the pixel ratio into account when clipping the layer ([@fredj](https://github.com/fredj))
|
||||||
* [#3183](https://github.com/openlayers/openlayers/pull/3183) - Allow other params than 'mode' in example page query string. ([@htulipe](https://github.com/htulipe))
|
* [#3183](https://github.com/openlayers/ol3/pull/3183) - Allow other params than 'mode' in example page query string. ([@htulipe](https://github.com/htulipe))
|
||||||
* [#2791](https://github.com/openlayers/openlayers/pull/2791) - Re enable rotation button transition ([@fredj](https://github.com/fredj))
|
* [#2791](https://github.com/openlayers/ol3/pull/2791) - Re enable rotation button transition ([@fredj](https://github.com/fredj))
|
||||||
* [#3180](https://github.com/openlayers/openlayers/pull/3180) - Add a getMap function to ol.FeatureOverlay (r=@ahocevar) ([@bartvde](https://github.com/bartvde))
|
* [#3180](https://github.com/openlayers/ol3/pull/3180) - Add a getMap function to ol.FeatureOverlay (r=@ahocevar) ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3176](https://github.com/openlayers/openlayers/pull/3176) - Disallowed undefined rotation value ([@fredj](https://github.com/fredj))
|
* [#3176](https://github.com/openlayers/ol3/pull/3176) - Disallowed undefined rotation value ([@fredj](https://github.com/fredj))
|
||||||
* [#3177](https://github.com/openlayers/openlayers/pull/3177) - Add example showing how to style polygon vertices ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3177](https://github.com/openlayers/ol3/pull/3177) - Add example showing how to style polygon vertices ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3174](https://github.com/openlayers/openlayers/pull/3174) - Use view.getRotation or view.getResolution instead of view.getState ([@fredj](https://github.com/fredj))
|
* [#3174](https://github.com/openlayers/ol3/pull/3174) - Use view.getRotation or view.getResolution instead of view.getState ([@fredj](https://github.com/fredj))
|
||||||
* [#3170](https://github.com/openlayers/openlayers/pull/3170) - Coding style ([@fredj](https://github.com/fredj))
|
* [#3170](https://github.com/openlayers/ol3/pull/3170) - Coding style ([@fredj](https://github.com/fredj))
|
||||||
* [#3108](https://github.com/openlayers/openlayers/pull/3108) - Support skipping features in the WebGL renderer ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3108](https://github.com/openlayers/ol3/pull/3108) - Support skipping features in the WebGL renderer ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3163](https://github.com/openlayers/openlayers/pull/3163) - Use the layerStatesArray property from the frameState ([@fredj](https://github.com/fredj))
|
* [#3163](https://github.com/openlayers/ol3/pull/3163) - Use the layerStatesArray property from the frameState ([@fredj](https://github.com/fredj))
|
||||||
* [#3159](https://github.com/openlayers/openlayers/pull/3159) - Don't pass specific options to the parent constructor ([@fredj](https://github.com/fredj))
|
* [#3159](https://github.com/openlayers/ol3/pull/3159) - Don't pass specific options to the parent constructor ([@fredj](https://github.com/fredj))
|
||||||
* [#3066](https://github.com/openlayers/openlayers/pull/3066) - Introduce hasFeatureAtPixel ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3066](https://github.com/openlayers/ol3/pull/3066) - Introduce hasFeatureAtPixel ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3065](https://github.com/openlayers/openlayers/pull/3065) - Add hit-detection support for WebGL ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3065](https://github.com/openlayers/ol3/pull/3065) - Add hit-detection support for WebGL ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3128](https://github.com/openlayers/openlayers/pull/3128) - Allow rendering of feature when download of icon failed ([@oterral](https://github.com/oterral))
|
* [#3128](https://github.com/openlayers/ol3/pull/3128) - Allow rendering of feature when download of icon failed ([@oterral](https://github.com/oterral))
|
||||||
* [#3156](https://github.com/openlayers/openlayers/pull/3156) - Move readProjectionFrom* functions to the base classes ([@fredj](https://github.com/fredj))
|
* [#3156](https://github.com/openlayers/ol3/pull/3156) - Move readProjectionFrom* functions to the base classes ([@fredj](https://github.com/fredj))
|
||||||
* [#3107](https://github.com/openlayers/openlayers/pull/3107) - Also listen on loading images ([@elemoine](https://github.com/elemoine))
|
* [#3107](https://github.com/openlayers/ol3/pull/3107) - Also listen on loading images ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3153](https://github.com/openlayers/openlayers/pull/3153) - Add missing GeoJSONFeature#bbox property ([@fredj](https://github.com/fredj))
|
* [#3153](https://github.com/openlayers/ol3/pull/3153) - Add missing GeoJSONFeature#bbox property ([@fredj](https://github.com/fredj))
|
||||||
* [#3154](https://github.com/openlayers/openlayers/pull/3154) - Remove unnecessary newlines ([@fredj](https://github.com/fredj))
|
* [#3154](https://github.com/openlayers/ol3/pull/3154) - Remove unnecessary newlines ([@fredj](https://github.com/fredj))
|
||||||
* [#3146](https://github.com/openlayers/openlayers/pull/3146) - Enable tests for ol.geom.flat.reverse ([@icholy](https://github.com/icholy))
|
* [#3146](https://github.com/openlayers/ol3/pull/3146) - Enable tests for ol.geom.flat.reverse ([@icholy](https://github.com/icholy))
|
||||||
* [#3152](https://github.com/openlayers/openlayers/pull/3152) - Update closure-library and closure-util version ([@fredj](https://github.com/fredj))
|
* [#3152](https://github.com/openlayers/ol3/pull/3152) - Update closure-library and closure-util version ([@fredj](https://github.com/fredj))
|
||||||
* [#3145](https://github.com/openlayers/openlayers/pull/3145) - Add wrapX option to source.OSM and source.BingMaps ([@elemoine](https://github.com/elemoine))
|
* [#3145](https://github.com/openlayers/ol3/pull/3145) - Add wrapX option to source.OSM and source.BingMaps ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3139](https://github.com/openlayers/openlayers/pull/3139) - Add ol.control.Control#setTarget ([@elemoine](https://github.com/elemoine))
|
* [#3139](https://github.com/openlayers/ol3/pull/3139) - Add ol.control.Control#setTarget ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3144](https://github.com/openlayers/openlayers/pull/3144) - Update CONTRIBUTING style guide with recent guidelines ([@bartvde](https://github.com/bartvde))
|
* [#3144](https://github.com/openlayers/ol3/pull/3144) - Update CONTRIBUTING style guide with recent guidelines ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3136](https://github.com/openlayers/openlayers/pull/3136) - Use array.length = 0 instead of goog.array.clear ([@fredj](https://github.com/fredj))
|
* [#3136](https://github.com/openlayers/ol3/pull/3136) - Use array.length = 0 instead of goog.array.clear ([@fredj](https://github.com/fredj))
|
||||||
* [#3140](https://github.com/openlayers/openlayers/pull/3140) - Avoid use of goog.array.clone with arrays. ([@tschaub](https://github.com/tschaub))
|
* [#3140](https://github.com/openlayers/ol3/pull/3140) - Avoid use of goog.array.clone with arrays. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3122](https://github.com/openlayers/openlayers/pull/3122) - Revert "Use offsetX and offsetY if available" ([@fredj](https://github.com/fredj))
|
* [#3122](https://github.com/openlayers/ol3/pull/3122) - Revert "Use offsetX and offsetY if available" ([@fredj](https://github.com/fredj))
|
||||||
* [#2385](https://github.com/openlayers/openlayers/pull/2385) - Option to update vector layers while animating ([@ahocevar](https://github.com/ahocevar))
|
* [#2385](https://github.com/openlayers/ol3/pull/2385) - Option to update vector layers while animating ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3129](https://github.com/openlayers/openlayers/pull/3129) - Only update the rbush item if the extent has changed ([@fredj](https://github.com/fredj))
|
* [#3129](https://github.com/openlayers/ol3/pull/3129) - Only update the rbush item if the extent has changed ([@fredj](https://github.com/fredj))
|
||||||
* [#3117](https://github.com/openlayers/openlayers/pull/3117) - Add pixelRatio support for DOM vector renderer ([@ahocevar](https://github.com/ahocevar))
|
* [#3117](https://github.com/openlayers/ol3/pull/3117) - Add pixelRatio support for DOM vector renderer ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3124](https://github.com/openlayers/openlayers/pull/3124) - Add a space between scale -value and -unit ([@sirtet](https://github.com/sirtet))
|
* [#3124](https://github.com/openlayers/ol3/pull/3124) - Add a space between scale -value and -unit ([@sirtet](https://github.com/sirtet))
|
||||||
* [#3130](https://github.com/openlayers/openlayers/pull/3130) - Document default value ([@fredj](https://github.com/fredj))
|
* [#3130](https://github.com/openlayers/ol3/pull/3130) - Document default value ([@fredj](https://github.com/fredj))
|
||||||
* [#3105](https://github.com/openlayers/openlayers/pull/3105) - ol.geom.Geometry#getExtent re-factoring ([@fredj](https://github.com/fredj))
|
* [#3105](https://github.com/openlayers/ol3/pull/3105) - ol.geom.Geometry#getExtent re-factoring ([@fredj](https://github.com/fredj))
|
||||||
* [#3118](https://github.com/openlayers/openlayers/pull/3118) - Bugfix: "Cannot read property 'firstElementChild' of null" (WFS) ([@naturalatlas](https://github.com/naturalatlas))
|
* [#3118](https://github.com/openlayers/ol3/pull/3118) - Bugfix: "Cannot read property 'firstElementChild' of null" (WFS) ([@naturalatlas](https://github.com/naturalatlas))
|
||||||
* [#3114](https://github.com/openlayers/openlayers/pull/3114) - Specify node version in CONTRIBUTING.md ([@elemoine](https://github.com/elemoine))
|
* [#3114](https://github.com/openlayers/ol3/pull/3114) - Specify node version in CONTRIBUTING.md ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3106](https://github.com/openlayers/openlayers/pull/3106) - Don't pass specific options to the parent constructor ([@fredj](https://github.com/fredj))
|
* [#3106](https://github.com/openlayers/ol3/pull/3106) - Don't pass specific options to the parent constructor ([@fredj](https://github.com/fredj))
|
||||||
* [#3110](https://github.com/openlayers/openlayers/pull/3110) - Use svg instead of png to get better image quality ([@PeterDaveHello](https://github.com/PeterDaveHello))
|
* [#3110](https://github.com/openlayers/ol3/pull/3110) - Use svg instead of png to get better image quality ([@PeterDaveHello](https://github.com/PeterDaveHello))
|
||||||
* [#2707](https://github.com/openlayers/openlayers/pull/2707) - Generate source map of minified ol.js ([@gberaudo](https://github.com/gberaudo))
|
* [#2707](https://github.com/openlayers/ol3/pull/2707) - Generate source map of minified ol.js ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#3104](https://github.com/openlayers/openlayers/pull/3104) - Don't pass renderBuffer option to the parent constructor ([@fredj](https://github.com/fredj))
|
* [#3104](https://github.com/openlayers/ol3/pull/3104) - Don't pass renderBuffer option to the parent constructor ([@fredj](https://github.com/fredj))
|
||||||
* [#3096](https://github.com/openlayers/openlayers/pull/3096) - popup example cleanup / simplification ([@fredj](https://github.com/fredj))
|
* [#3096](https://github.com/openlayers/ol3/pull/3096) - popup example cleanup / simplification ([@fredj](https://github.com/fredj))
|
||||||
* [#3072](https://github.com/openlayers/openlayers/pull/3072) - Optimize canvas hit detection by rendering features in a limited extent. ([@tschaub](https://github.com/tschaub))
|
* [#3072](https://github.com/openlayers/ol3/pull/3072) - Optimize canvas hit detection by rendering features in a limited extent. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3101](https://github.com/openlayers/openlayers/pull/3101) - Use bracket notation instead of goog.object functions. ([@tschaub](https://github.com/tschaub))
|
* [#3101](https://github.com/openlayers/ol3/pull/3101) - Use bracket notation instead of goog.object functions. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3079](https://github.com/openlayers/openlayers/pull/3079) - Exclude source files from docs. ([@tschaub](https://github.com/tschaub))
|
* [#3079](https://github.com/openlayers/ol3/pull/3079) - Exclude source files from docs. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3100](https://github.com/openlayers/openlayers/pull/3100) - Assert that ol.layer.Tile#getPreload is always set ([@fredj](https://github.com/fredj))
|
* [#3100](https://github.com/openlayers/ol3/pull/3100) - Assert that ol.layer.Tile#getPreload is always set ([@fredj](https://github.com/fredj))
|
||||||
* [#3084](https://github.com/openlayers/openlayers/pull/3084) - Changes from the v3.1.x branch. ([@openlayers](https://github.com/openlayers))
|
* [#3084](https://github.com/openlayers/ol3/pull/3084) - Changes from the v3.1.x branch. ([@openlayers](https://github.com/openlayers))
|
||||||
* [#3094](https://github.com/openlayers/openlayers/pull/3094) - Remove AUTHORS.md. ([@tschaub](https://github.com/tschaub))
|
* [#3094](https://github.com/openlayers/ol3/pull/3094) - Remove AUTHORS.md. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3089](https://github.com/openlayers/openlayers/pull/3089) - Fixed URL link for test README ([@mike-mcgann](https://github.com/mike-mcgann))
|
* [#3089](https://github.com/openlayers/ol3/pull/3089) - Fixed URL link for test README ([@mike-mcgann](https://github.com/mike-mcgann))
|
||||||
* [#2894](https://github.com/openlayers/openlayers/pull/2894) - Simplify CSS code in custom-controls example ([@fredj](https://github.com/fredj))
|
* [#2894](https://github.com/openlayers/ol3/pull/2894) - Simplify CSS code in custom-controls example ([@fredj](https://github.com/fredj))
|
||||||
* [#3085](https://github.com/openlayers/openlayers/pull/3085) - Fixed documentation typo for return value of ol.proj.Projection.isGlobal(). ([@mike-mcgann](https://github.com/mike-mcgann))
|
* [#3085](https://github.com/openlayers/ol3/pull/3085) - Fixed documentation typo for return value of ol.proj.Projection.isGlobal(). ([@mike-mcgann](https://github.com/mike-mcgann))
|
||||||
* [#3073](https://github.com/openlayers/openlayers/pull/3073) - Make map's deviceOptions map options ([@ahocevar](https://github.com/ahocevar))
|
* [#3073](https://github.com/openlayers/ol3/pull/3073) - Make map's deviceOptions map options ([@ahocevar](https://github.com/ahocevar))
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
This is a patch release that fixes a regression with the select interaction in the [3.2.0 release](https://github.com/openlayers/openlayers/releases/tag/v3.2.0).
|
This is a patch release that fixes a regression with the select interaction in the [3.2.0 release](https://github.com/openlayers/ol3/releases/tag/v3.2.0).
|
||||||
|
|
||||||
## Changes
|
## Changes
|
||||||
|
|
||||||
* [#3236](https://github.com/openlayers/openlayers/pull/3236) - Select the uppermost feature. ([@tschaub](https://github.com/tschaub))
|
* [#3236](https://github.com/openlayers/ol3/pull/3236) - Select the uppermost feature. ([@tschaub](https://github.com/tschaub))
|
||||||
|
|||||||
@@ -1,195 +0,0 @@
|
|||||||
# v3.20.0
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The v3.20.0 release includes enhancements and fixes from 89 pull requests since the previous release.
|
|
||||||
|
|
||||||
Among the changes, take a look at the new `view.animate()` function. This replaces the previous `map.beforeRender()` and `ol.animation` functions with more intuitive view animations that allow for chaining together multiple transitions and support a callback on animation end. In addition, two or more maps that share a view will be animated together. See the upgrade notes and the animation example for more detail.
|
|
||||||
|
|
||||||
On the subject of view transitions, scrolling with a trackpad or magic mouse now transitions the view resolution smoothly. Instead of jumping to the next integer zoom level, trackpad or magic mouse scrolling can leave the view at a fractional zoom level. In line with this trackpad behavior, pinch zooming on touch devices also now leaves the view at a fractional zoom level (see the upgrade notes for an option to restore the old behavior).
|
|
||||||
|
|
||||||
On the rendering front, the Canvas renderer got another overhaul. This release brings back the strategy of rendering to a dedicated Canvas element per layer. If you were experiencing issues with gaps between tiles on rotated views or when zooming, this change should bring rendering improvements.
|
|
||||||
|
|
||||||
Also on the rendering front, @GaborFarkas completed a nearly 5 month effort to bring line and polygon support to the WebGL renderer. If you're interested in experimenting with WebGL for vector rendering, use `renderer: 'webgl'` in your map constructor.
|
|
||||||
|
|
||||||
See the full list of changes below. There are some other gems down there.
|
|
||||||
|
|
||||||
## Upgrade notes
|
|
||||||
|
|
||||||
#### Use `view.animate()` instead of `map.beforeRender()` and `ol.animation` functions
|
|
||||||
|
|
||||||
The `map.beforeRender()` and `ol.animation` functions have been deprecated in favor of a new `view.animate()` function. Use of the deprecated functions will result in a warning during development. These functions are subject to removal in an upcoming release.
|
|
||||||
|
|
||||||
For details on the `view.animate()` method, see the API docs and the view animation example. Upgrading should be relatively straightforward. For example, if you wanted to have an animated pan, zoom, and rotation previously, you might have done this:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var zoom = ol.animation.zoom({
|
|
||||||
resolution: view.getResolution()
|
|
||||||
});
|
|
||||||
var pan = ol.animation.pan({
|
|
||||||
source: view.getCenter()
|
|
||||||
});
|
|
||||||
var rotate = ol.animation.rotate({
|
|
||||||
rotation: view.getRotation()
|
|
||||||
});
|
|
||||||
|
|
||||||
map.beforeRender(zoom, pan, rotate);
|
|
||||||
|
|
||||||
map.setZoom(1);
|
|
||||||
map.setCenter([0, 0]);
|
|
||||||
map.setRotation(Math.PI);
|
|
||||||
```
|
|
||||||
|
|
||||||
Now, the same can be accomplished with this:
|
|
||||||
```js
|
|
||||||
view.animate({
|
|
||||||
zoom: 1,
|
|
||||||
center: [0, 0],
|
|
||||||
rotation: Math.PI
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
#### `ol.Map#forEachFeatureAtPixel` and `ol.Map#hasFeatureAtPixel` parameters have changed
|
|
||||||
|
|
||||||
If you are using the layer filter of one of these methods, please note that you now have to pass in the layer filter via an `ol.AtPixelOptions` object. If you are not using the layer filter the usage has not changed.
|
|
||||||
|
|
||||||
Old syntax:
|
|
||||||
```js
|
|
||||||
map.forEachFeatureAtPixel(pixel, callback, callbackThis, layerFilterFn, layerFilterThis);
|
|
||||||
|
|
||||||
map.hasFeatureAtPixel(pixel, layerFilterFn, layerFilterThis);
|
|
||||||
```
|
|
||||||
|
|
||||||
New syntax:
|
|
||||||
```js
|
|
||||||
map.forEachFeatureAtPixel(pixel, callback.bind(callbackThis), {
|
|
||||||
layerFilter: layerFilterFn.bind(layerFilterThis)
|
|
||||||
});
|
|
||||||
|
|
||||||
map.hasFeatureAtPixel(pixel, {
|
|
||||||
layerFilter: layerFilterFn.bind(layerFilterThis)
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
This change is due to the introduction of the `hitTolerance` parameter which can be passed in via this `ol.AtPixelOptions` object, too.
|
|
||||||
|
|
||||||
#### Use `ol.proj.getPointResolution()` instead of `projection.getPointResolution()`
|
|
||||||
|
|
||||||
The experimental `getPointResolution` method has been removed from `ol.Projection` instances. Since the implementation of this method required an inverse transform (function for transforming projected coordinates to geographic coordinates) and `ol.Projection` instances are not constructed with forward or inverse transforms, it does not make sense that a projection instance can always calculate the point resolution.
|
|
||||||
|
|
||||||
As a substitute for the `projection.getPointResolution()` function, a `ol.proj.getPointResolution()` function has been added. To upgrade, you will need to change things like this:
|
|
||||||
```js
|
|
||||||
projection.getPointResolution(resolution, point);
|
|
||||||
```
|
|
||||||
|
|
||||||
into this:
|
|
||||||
```js
|
|
||||||
ol.proj.getPointResolution(projection, resolution, point);
|
|
||||||
```
|
|
||||||
|
|
||||||
Note that if you were previously creating a projection with a `getPointResolution` function in the constructor (or calling `projection.setGetPointResolution()` after construction), this function will be used by `ol.proj.getPointResolution()`.
|
|
||||||
|
|
||||||
#### `ol.interaction.PinchZoom` no longer zooms to a whole-number zoom level after the gesture ends
|
|
||||||
|
|
||||||
The old behavior of `ol.interaction.PinchZoom` was to zoom to the next integer zoom level after the user ends the gesture.
|
|
||||||
|
|
||||||
Now the pinch zoom keeps the user selected zoom level even if it is a fractional zoom.
|
|
||||||
|
|
||||||
To get the old behavior set the new `constrainResolution` parameter to `true` like this:
|
|
||||||
```js
|
|
||||||
new ol.interaction.PinchZoom({constrainResolution: true})
|
|
||||||
```
|
|
||||||
|
|
||||||
See the new `pinch-zoom` example for a complete implementation.
|
|
||||||
|
|
||||||
## Detailed changes
|
|
||||||
|
|
||||||
* [#6230](https://github.com/openlayers/openlayers/pull/6230) - Ignore duplicated attributions ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6192](https://github.com/openlayers/openlayers/pull/6192) - Modify interaction: always stop event propagation when removing vertex ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6228](https://github.com/openlayers/openlayers/pull/6228) - Rename the pinch zoom example ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6229](https://github.com/openlayers/openlayers/pull/6229) - Update phantomjs-prebuilt to version 2.1.14 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6196](https://github.com/openlayers/openlayers/pull/6196) - KML ExtendedData Export ([@raiyni](https://github.com/raiyni))
|
|
||||||
* [#6227](https://github.com/openlayers/openlayers/pull/6227) - Update eslint to version 3.12.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6224](https://github.com/openlayers/openlayers/pull/6224) - Pinch zoom: allow fractional zoom ([@aAXEe](https://github.com/aAXEe))
|
|
||||||
* [#6226](https://github.com/openlayers/openlayers/pull/6226) - Improve the headers styles in the api doc ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#5995](https://github.com/openlayers/openlayers/pull/5995) - Add hit tolerance parameter to ol.Map#forEachFeatureAtPixel ([@KlausBenndorf](https://github.com/KlausBenndorf))
|
|
||||||
* [#6220](https://github.com/openlayers/openlayers/pull/6220) - Fix ol.Collection#push return value ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6213](https://github.com/openlayers/openlayers/pull/6213) - Add preload option to olx.layer.VectorTileOptions ([@drnextgis](https://github.com/drnextgis))
|
|
||||||
* [#6222](https://github.com/openlayers/openlayers/pull/6222) - Fix forEachLayerAtPixel and improve class hierarchy ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6075](https://github.com/openlayers/openlayers/pull/6075) - Keep the other dim from the original segment when modifying vertex ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6218](https://github.com/openlayers/openlayers/pull/6218) - Make modify interaction more robust ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#6205](https://github.com/openlayers/openlayers/pull/6205) - Rework remaining modules with multiple provides ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6207](https://github.com/openlayers/openlayers/pull/6207) - Require all when generating exports ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6204](https://github.com/openlayers/openlayers/pull/6204) - Refactored proj modules ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6209](https://github.com/openlayers/openlayers/pull/6209) - Test array with to.eql(), not to.be.eql() ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6091](https://github.com/openlayers/openlayers/pull/6091) - Apply pixelRatio to line dash ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6082](https://github.com/openlayers/openlayers/pull/6082) - Unified canvas rendering ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6173](https://github.com/openlayers/openlayers/pull/6173) - Topolis example ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#6206](https://github.com/openlayers/openlayers/pull/6206) - Stop asserting that zero duration animations take time ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6203](https://github.com/openlayers/openlayers/pull/6203) - Address a few missing requires ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6201](https://github.com/openlayers/openlayers/pull/6201) - Remove assertion in TileArcGISRest source ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6202](https://github.com/openlayers/openlayers/pull/6202) - Allow animation duration to be zero ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6198](https://github.com/openlayers/openlayers/pull/6198) - Fix sourceResolution value in view.animate ([@oterral](https://github.com/oterral))
|
|
||||||
* [#6177](https://github.com/openlayers/openlayers/pull/6177) - Add duration and easing options to view.fit() for animations ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6078](https://github.com/openlayers/openlayers/pull/6078) - Use winding number algorithm for linearRingContainsXY ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#6187](https://github.com/openlayers/openlayers/pull/6187) - Update pbf to version 3.0.5 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6175](https://github.com/openlayers/openlayers/pull/6175) - Generate projection transform function only when requested ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6181](https://github.com/openlayers/openlayers/pull/6181) - Replace expired Bing key with a new one ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6164](https://github.com/openlayers/openlayers/pull/6164) - Simplify color parsing and allow more decimals ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#6178](https://github.com/openlayers/openlayers/pull/6178) - Add missing goog.require ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6176](https://github.com/openlayers/openlayers/pull/6176) - Doc: easing option is optional ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6180](https://github.com/openlayers/openlayers/pull/6180) - Update eslint to version 3.11.1 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6179](https://github.com/openlayers/openlayers/pull/6179) - Remove unused ol.Map.removePreRenderFunction function ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6052](https://github.com/openlayers/openlayers/pull/6052) - Remove the use of ol.format.KML.DEFAULT_IMAGE_SCALE_MULTIPLIER_ when … ([@oterral](https://github.com/oterral))
|
|
||||||
* [#6159](https://github.com/openlayers/openlayers/pull/6159) - Remove carriage return after goog.require in examples ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6169](https://github.com/openlayers/openlayers/pull/6169) - Image rotation in WebGL was anti-clockwise ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#5590](https://github.com/openlayers/openlayers/pull/5590) - Kml format: improved support for region and extendeddata ([@thhomas](https://github.com/thhomas))
|
|
||||||
* [#5462](https://github.com/openlayers/openlayers/pull/5462) - WebGL vector support ([@GaborFarkas](https://github.com/GaborFarkas))
|
|
||||||
* [#6168](https://github.com/openlayers/openlayers/pull/6168) - Update mocha to version 3.2.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#5589](https://github.com/openlayers/openlayers/pull/5589) - Wmts tilematrixlimits ([@thhomas](https://github.com/thhomas))
|
|
||||||
* [#6155](https://github.com/openlayers/openlayers/pull/6155) - Set GeometryLayout correctly when reading GPX ([@romanzoller](https://github.com/romanzoller))
|
|
||||||
* [#6161](https://github.com/openlayers/openlayers/pull/6161) - Update async to version 2.1.4 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6153](https://github.com/openlayers/openlayers/pull/6153) - Remove legacy licenses folder ([@romanzoller](https://github.com/romanzoller))
|
|
||||||
* [#6154](https://github.com/openlayers/openlayers/pull/6154) - Update mocha-phantomjs-core to version 2.1.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6146](https://github.com/openlayers/openlayers/pull/6146) - Merge ol.style.Circle and RegularShape together ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6139](https://github.com/openlayers/openlayers/pull/6139) - Match equivalent projections from WMTS caps ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#6138](https://github.com/openlayers/openlayers/pull/6138) - Update clean-css to version 3.4.21 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6132](https://github.com/openlayers/openlayers/pull/6132) - Add getter for color property to ol.style.Icon ([@tohu12](https://github.com/tohu12))
|
|
||||||
* [#6127](https://github.com/openlayers/openlayers/pull/6127) - Format WKT Z, M and ZM ([@omarkljung](https://github.com/omarkljung))
|
|
||||||
* [#6136](https://github.com/openlayers/openlayers/pull/6136) - Update eslint to version 3.10.2 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6133](https://github.com/openlayers/openlayers/pull/6133) - Doc clarification ol.MapBrowserEvent#pixel, ol.MapBrowserEvent#coordinate, ol.Map#getEventCoordinate ([@KlausBenndorf](https://github.com/KlausBenndorf))
|
|
||||||
* [#6134](https://github.com/openlayers/openlayers/pull/6134) - Add setter methods for fill, image, stroke and text styles ([@dnlkoch](https://github.com/dnlkoch))
|
|
||||||
* [#6129](https://github.com/openlayers/openlayers/pull/6129) - Update pbf to version 3.0.4 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6121](https://github.com/openlayers/openlayers/pull/6121) - Hint change means view change ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6120](https://github.com/openlayers/openlayers/pull/6120) - Set interacting hint during trackpad scroll ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6128](https://github.com/openlayers/openlayers/pull/6128) - Update pbf to version 3.0.3 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6124](https://github.com/openlayers/openlayers/pull/6124) - Allow up to 16 decimals for alpha channel when parsing rgba strings to colors ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#6117](https://github.com/openlayers/openlayers/pull/6117) - Update handlebars to version 4.0.6 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6113](https://github.com/openlayers/openlayers/pull/6113) - Smooth trackpad zooming ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6105](https://github.com/openlayers/openlayers/pull/6105) - Move vector tile loader functions into vector tile module ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6114](https://github.com/openlayers/openlayers/pull/6114) - Updated linter config and curly conditional blocks ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6106](https://github.com/openlayers/openlayers/pull/6106) - Add type annotations for vector tiles ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6107](https://github.com/openlayers/openlayers/pull/6107) - Reset hint first and notify of change when cancelling animations ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6112](https://github.com/openlayers/openlayers/pull/6112) - Update eslint to version 3.10.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6110](https://github.com/openlayers/openlayers/pull/6110) - Update coveralls to version 2.11.15 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6077](https://github.com/openlayers/openlayers/pull/6077) - Optionally enable hidpi support for Bing ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#6103](https://github.com/openlayers/openlayers/pull/6103) - Properly complete multiple parallel animations ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6101](https://github.com/openlayers/openlayers/pull/6101) - Avoid starting new zoom animation while already animating ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6099](https://github.com/openlayers/openlayers/pull/6099) - Modify interaction tests : check for change events ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6069](https://github.com/openlayers/openlayers/pull/6069) - If there is no features option, all features will be translated. ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6097](https://github.com/openlayers/openlayers/pull/6097) - API index page : Fix link anchor to static members ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6095](https://github.com/openlayers/openlayers/pull/6095) - LineString Arrows example: rotate with the view ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6093](https://github.com/openlayers/openlayers/pull/6093) - Update mustache to version 2.3.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6079](https://github.com/openlayers/openlayers/pull/6079) - Add view animation ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6081](https://github.com/openlayers/openlayers/pull/6081) - Update metalsmith-layouts to version 1.7.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6074](https://github.com/openlayers/openlayers/pull/6074) - Fix typo on style name on Modify Features Test example ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6073](https://github.com/openlayers/openlayers/pull/6073) - Fix link to errors doc ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6072](https://github.com/openlayers/openlayers/pull/6072) - Update metalsmith to version 2.3.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6068](https://github.com/openlayers/openlayers/pull/6068) - Fix GeoJSON writeGeometry tests ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6067](https://github.com/openlayers/openlayers/pull/6067) - Do not draw circle when pointer not moved ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6064](https://github.com/openlayers/openlayers/pull/6064) - Make vertex candidate selection work better on rotated views ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6054](https://github.com/openlayers/openlayers/pull/6054) - Update eslint to version 3.9.1 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6058](https://github.com/openlayers/openlayers/pull/6058) - Update fs-extra to version 1.0.0 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6053](https://github.com/openlayers/openlayers/pull/6053) - Update glob to version 7.1.1 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6045](https://github.com/openlayers/openlayers/pull/6045) - Add an example using Mapbox Terrain-RGB tiles ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6042](https://github.com/openlayers/openlayers/pull/6042) - Set constants of KML format even if a default style is provided ([@oterral](https://github.com/oterral))
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# v3.20.1
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The v3.19.1 release is a patch release that addresses two regressions in the v3.19.0 release. See the [v3.20.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v3.20.0) for details on upgrading from v3.19.x.
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
* [#6280](https://github.com/openlayers/openlayers/pull/6280) - Continue loading tiles when image is not ready yet ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6283](https://github.com/openlayers/openlayers/pull/6283) - Avoid modifying coordinate in forEachLayerAtCoordinate ([@tschaub](https://github.com/tschaub))
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
## Upgrade notes
|
## Upgrade notes
|
||||||
|
|
||||||
* The `ol.events.condition.mouseMove` function was replaced by `ol.events.condition.pointerMove` (see [#3281](https://github.com/openlayers/openlayers/pull/3281)). For example, if you use `ol.events.condition.mouseMove` as the condition in a `Select` interaction then you now need to use `ol.events.condition.pointerMove`:
|
* The `ol.events.condition.mouseMove` function was replaced by `ol.events.condition.pointerMove` (see [#3281](https://github.com/openlayers/ol3/pull/3281)). For example, if you use `ol.events.condition.mouseMove` as the condition in a `Select` interaction then you now need to use `ol.events.condition.pointerMove`:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
var selectInteraction = new ol.interaction.Select({
|
var selectInteraction = new ol.interaction.Select({
|
||||||
@@ -11,41 +11,41 @@
|
|||||||
|
|
||||||
## Overview of all changes
|
## Overview of all changes
|
||||||
|
|
||||||
* [#3263](https://github.com/openlayers/openlayers/pull/3263) - Support ArcGIS Rest Services ([@cwgrant](https://github.com/cwgrant))
|
* [#3263](https://github.com/openlayers/ol3/pull/3263) - Support ArcGIS Rest Services ([@cwgrant](https://github.com/cwgrant))
|
||||||
* [#3295](https://github.com/openlayers/openlayers/pull/3295) - Add RESTful to WMTS GetCapabilities optionsFromCapabilities ([@sarametz](https://github.com/sarametz))
|
* [#3295](https://github.com/openlayers/ol3/pull/3295) - Add RESTful to WMTS GetCapabilities optionsFromCapabilities ([@sarametz](https://github.com/sarametz))
|
||||||
* [#3304](https://github.com/openlayers/openlayers/pull/3304) - Remove scale line inner padding ([@fredj](https://github.com/fredj))
|
* [#3304](https://github.com/openlayers/ol3/pull/3304) - Remove scale line inner padding ([@fredj](https://github.com/fredj))
|
||||||
* [#3296](https://github.com/openlayers/openlayers/pull/3296) - Add upgrade-notes.md file ([@elemoine](https://github.com/elemoine))
|
* [#3296](https://github.com/openlayers/ol3/pull/3296) - Add upgrade-notes.md file ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3303](https://github.com/openlayers/openlayers/pull/3303) - Add constant for us-ft units ([@ahocevar](https://github.com/ahocevar))
|
* [#3303](https://github.com/openlayers/ol3/pull/3303) - Add constant for us-ft units ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3018](https://github.com/openlayers/openlayers/pull/3018) - Add SelectEvent to interaction ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#3018](https://github.com/openlayers/ol3/pull/3018) - Add SelectEvent to interaction ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#3301](https://github.com/openlayers/openlayers/pull/3301) - Select interaction unit tests ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#3301](https://github.com/openlayers/ol3/pull/3301) - Select interaction unit tests ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#3298](https://github.com/openlayers/openlayers/pull/3298) - Make ol.source.Source inherit from ol.Object ([@fredj](https://github.com/fredj))
|
* [#3298](https://github.com/openlayers/ol3/pull/3298) - Make ol.source.Source inherit from ol.Object ([@fredj](https://github.com/fredj))
|
||||||
* [#3297](https://github.com/openlayers/openlayers/pull/3297) - Add getters to ol.source.WMTS ([@fredj](https://github.com/fredj))
|
* [#3297](https://github.com/openlayers/ol3/pull/3297) - Add getters to ol.source.WMTS ([@fredj](https://github.com/fredj))
|
||||||
* [#3281](https://github.com/openlayers/openlayers/pull/3281) - Fix mouseMove event type comparison for IE10-11, pointermove ([@adube](https://github.com/adube))
|
* [#3281](https://github.com/openlayers/ol3/pull/3281) - Fix mouseMove event type comparison for IE10-11, pointermove ([@adube](https://github.com/adube))
|
||||||
* [#3293](https://github.com/openlayers/openlayers/pull/3293) - Add missing opacity option for ol.style.IconOptions ([@ahocevar](https://github.com/ahocevar))
|
* [#3293](https://github.com/openlayers/ol3/pull/3293) - Add missing opacity option for ol.style.IconOptions ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3284](https://github.com/openlayers/openlayers/pull/3284) - Fix jsdoc type for arrays of listening keys ([@fredj](https://github.com/fredj))
|
* [#3284](https://github.com/openlayers/ol3/pull/3284) - Fix jsdoc type for arrays of listening keys ([@fredj](https://github.com/fredj))
|
||||||
* [#3278](https://github.com/openlayers/openlayers/pull/3278) - Add goog.provide for ol.DrawEventType ([@elemoine](https://github.com/elemoine))
|
* [#3278](https://github.com/openlayers/ol3/pull/3278) - Add goog.provide for ol.DrawEventType ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3272](https://github.com/openlayers/openlayers/pull/3272) - Added getter function to return the wrapped source within the cluster ([@acanimal](https://github.com/acanimal))
|
* [#3272](https://github.com/openlayers/ol3/pull/3272) - Added getter function to return the wrapped source within the cluster ([@acanimal](https://github.com/acanimal))
|
||||||
* [#3275](https://github.com/openlayers/openlayers/pull/3275) - Add ol.layer.Heatmap#blur getter and setter ([@fredj](https://github.com/fredj))
|
* [#3275](https://github.com/openlayers/ol3/pull/3275) - Add ol.layer.Heatmap#blur getter and setter ([@fredj](https://github.com/fredj))
|
||||||
* [#3142](https://github.com/openlayers/openlayers/pull/3142) - WMTS Get Cap document with updated WMTS.optionsFromCapabilities function ([@sarametz](https://github.com/sarametz))
|
* [#3142](https://github.com/openlayers/ol3/pull/3142) - WMTS Get Cap document with updated WMTS.optionsFromCapabilities function ([@sarametz](https://github.com/sarametz))
|
||||||
* [#3271](https://github.com/openlayers/openlayers/pull/3271) - [wip] Fix misplaced comment blocks ([@fredj](https://github.com/fredj))
|
* [#3271](https://github.com/openlayers/ol3/pull/3271) - [wip] Fix misplaced comment blocks ([@fredj](https://github.com/fredj))
|
||||||
* [#3273](https://github.com/openlayers/openlayers/pull/3273) - Remove unused createGetTileIfLoadedFunction function. ([@tschaub](https://github.com/tschaub))
|
* [#3273](https://github.com/openlayers/ol3/pull/3273) - Remove unused createGetTileIfLoadedFunction function. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3270](https://github.com/openlayers/openlayers/pull/3270) - Make ol.Overlay autoPan default to false ([@elemoine](https://github.com/elemoine))
|
* [#3270](https://github.com/openlayers/ol3/pull/3270) - Make ol.Overlay autoPan default to false ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3268](https://github.com/openlayers/openlayers/pull/3268) - Fix autoPan in examples with ol.Overlay on hover ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3268](https://github.com/openlayers/ol3/pull/3268) - Fix autoPan in examples with ol.Overlay on hover ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3256](https://github.com/openlayers/openlayers/pull/3256) - Add autoPan option to ol.Overlay ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3256](https://github.com/openlayers/ol3/pull/3256) - Add autoPan option to ol.Overlay ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3261](https://github.com/openlayers/openlayers/pull/3261) - Fix forEachCorner extent, add TopLeft ([@adube](https://github.com/adube))
|
* [#3261](https://github.com/openlayers/ol3/pull/3261) - Fix forEachCorner extent, add TopLeft ([@adube](https://github.com/adube))
|
||||||
* [#3260](https://github.com/openlayers/openlayers/pull/3260) - Remove unused goog.require ([@fredj](https://github.com/fredj))
|
* [#3260](https://github.com/openlayers/ol3/pull/3260) - Remove unused goog.require ([@fredj](https://github.com/fredj))
|
||||||
* [#3246](https://github.com/openlayers/openlayers/pull/3246) - Avoid creating unnecessary images in tile layers. ([@tschaub](https://github.com/tschaub))
|
* [#3246](https://github.com/openlayers/ol3/pull/3246) - Avoid creating unnecessary images in tile layers. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3254](https://github.com/openlayers/openlayers/pull/3254) - Use lineCap, lineJoin and miterLimit stroke properties in RegularShape ([@fredj](https://github.com/fredj))
|
* [#3254](https://github.com/openlayers/ol3/pull/3254) - Use lineCap, lineJoin and miterLimit stroke properties in RegularShape ([@fredj](https://github.com/fredj))
|
||||||
* [#3252](https://github.com/openlayers/openlayers/pull/3252) - Avoid leaking global listenerSpy. ([@tschaub](https://github.com/tschaub))
|
* [#3252](https://github.com/openlayers/ol3/pull/3252) - Avoid leaking global listenerSpy. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3248](https://github.com/openlayers/openlayers/pull/3248) - Add tile loading events to image tile sources. ([@tschaub](https://github.com/tschaub))
|
* [#3248](https://github.com/openlayers/ol3/pull/3248) - Add tile loading events to image tile sources. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3240](https://github.com/openlayers/openlayers/pull/3240) - Changes from the v3.2.x branch. ([@openlayers](https://github.com/openlayers))
|
* [#3240](https://github.com/openlayers/ol3/pull/3240) - Changes from the v3.2.x branch. ([@openlayers](https://github.com/openlayers))
|
||||||
* [#3233](https://github.com/openlayers/openlayers/pull/3233) - Four small fixes. ([@stweil](https://github.com/stweil))
|
* [#3233](https://github.com/openlayers/ol3/pull/3233) - Four small fixes. ([@stweil](https://github.com/stweil))
|
||||||
* [#3232](https://github.com/openlayers/openlayers/pull/3232) - Fix typos found by codespell. ([@stweil](https://github.com/stweil))
|
* [#3232](https://github.com/openlayers/ol3/pull/3232) - Fix typos found by codespell. ([@stweil](https://github.com/stweil))
|
||||||
* [#3231](https://github.com/openlayers/openlayers/pull/3231) - Make ol.layer.Heatmap#radius configurable ([@fredj](https://github.com/fredj))
|
* [#3231](https://github.com/openlayers/ol3/pull/3231) - Make ol.layer.Heatmap#radius configurable ([@fredj](https://github.com/fredj))
|
||||||
* [#3225](https://github.com/openlayers/openlayers/pull/3225) - Respect attributions passed to TileJSON source. ([@tschaub](https://github.com/tschaub))
|
* [#3225](https://github.com/openlayers/ol3/pull/3225) - Respect attributions passed to TileJSON source. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3223](https://github.com/openlayers/openlayers/pull/3223) - Resize the canvas when the tile size changes. ([@tschaub](https://github.com/tschaub))
|
* [#3223](https://github.com/openlayers/ol3/pull/3223) - Resize the canvas when the tile size changes. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3224](https://github.com/openlayers/openlayers/pull/3224) - Provide the ability to get the layer name from a MapQuest source ([@bartvde](https://github.com/bartvde))
|
* [#3224](https://github.com/openlayers/ol3/pull/3224) - Provide the ability to get the layer name from a MapQuest source ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3222](https://github.com/openlayers/openlayers/pull/3222) - Add geodesic option for measure ([@bartvde](https://github.com/bartvde))
|
* [#3222](https://github.com/openlayers/ol3/pull/3222) - Add geodesic option for measure ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3221](https://github.com/openlayers/openlayers/pull/3221) - Select the uppermost feature ([@fredj](https://github.com/fredj))
|
* [#3221](https://github.com/openlayers/ol3/pull/3221) - Select the uppermost feature ([@fredj](https://github.com/fredj))
|
||||||
* [#3211](https://github.com/openlayers/openlayers/pull/3211) - Bing https logo fix. ([@photostu](https://github.com/photostu))
|
* [#3211](https://github.com/openlayers/ol3/pull/3211) - Bing https logo fix. ([@photostu](https://github.com/photostu))
|
||||||
* [#3215](https://github.com/openlayers/openlayers/pull/3215) - Allow reuse of layer rendering code without creating a map. ([@tschaub](https://github.com/tschaub))
|
* [#3215](https://github.com/openlayers/ol3/pull/3215) - Allow reuse of layer rendering code without creating a map. ([@tschaub](https://github.com/tschaub))
|
||||||
|
|||||||
@@ -1,43 +1,43 @@
|
|||||||
## Overview of all changes
|
## Overview of all changes
|
||||||
|
|
||||||
* [#3383](https://github.com/openlayers/openlayers/pull/3383) - GML3 tests time out in unit tests ([@bartvde](https://github.com/bartvde))
|
* [#3383](https://github.com/openlayers/ol3/pull/3383) - GML3 tests time out in unit tests ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3401](https://github.com/openlayers/openlayers/pull/3401) - Allow GeoJSON to be serialized according to the right-hand rule. ([@tschaub](https://github.com/tschaub))
|
* [#3401](https://github.com/openlayers/ol3/pull/3401) - Allow GeoJSON to be serialized according to the right-hand rule. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3403](https://github.com/openlayers/openlayers/pull/3403) - Remove unused goog.require ([@fredj](https://github.com/fredj))
|
* [#3403](https://github.com/openlayers/ol3/pull/3403) - Remove unused goog.require ([@fredj](https://github.com/fredj))
|
||||||
* [#3362](https://github.com/openlayers/openlayers/pull/3362) - Configure proj4 options and transforms upon construction ([@ahocevar](https://github.com/ahocevar))
|
* [#3362](https://github.com/openlayers/ol3/pull/3362) - Configure proj4 options and transforms upon construction ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3394](https://github.com/openlayers/openlayers/pull/3394) - Fix fullscreen pseudo CSS class name ([@fredj](https://github.com/fredj))
|
* [#3394](https://github.com/openlayers/ol3/pull/3394) - Fix fullscreen pseudo CSS class name ([@fredj](https://github.com/fredj))
|
||||||
* [#3399](https://github.com/openlayers/openlayers/pull/3399) - Clarify when widths need to be configured on a tile grid ([@ahocevar](https://github.com/ahocevar))
|
* [#3399](https://github.com/openlayers/ol3/pull/3399) - Clarify when widths need to be configured on a tile grid ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3398](https://github.com/openlayers/openlayers/pull/3398) - Make sure that the return value of wrapX() is stable ([@ahocevar](https://github.com/ahocevar))
|
* [#3398](https://github.com/openlayers/ol3/pull/3398) - Make sure that the return value of wrapX() is stable ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3396](https://github.com/openlayers/openlayers/pull/3396) - Move the compare function out of ol.interaction.Modify.handleDownEvent_ ([@fredj](https://github.com/fredj))
|
* [#3396](https://github.com/openlayers/ol3/pull/3396) - Move the compare function out of ol.interaction.Modify.handleDownEvent_ ([@fredj](https://github.com/fredj))
|
||||||
* [#3395](https://github.com/openlayers/openlayers/pull/3395) - ol.Interaction.Modify fixes ([@fperucic](https://github.com/fperucic))
|
* [#3395](https://github.com/openlayers/ol3/pull/3395) - ol.Interaction.Modify fixes ([@fperucic](https://github.com/fperucic))
|
||||||
* [#3387](https://github.com/openlayers/openlayers/pull/3387) - Add wrapX option for ol.source.WMTS ([@ahocevar](https://github.com/ahocevar))
|
* [#3387](https://github.com/openlayers/ol3/pull/3387) - Add wrapX option for ol.source.WMTS ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3393](https://github.com/openlayers/openlayers/pull/3393) - Remove unused define ([@fredj](https://github.com/fredj))
|
* [#3393](https://github.com/openlayers/ol3/pull/3393) - Remove unused define ([@fredj](https://github.com/fredj))
|
||||||
* [#3392](https://github.com/openlayers/openlayers/pull/3392) - Fix switching class name of full-screen control ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3392](https://github.com/openlayers/ol3/pull/3392) - Fix switching class name of full-screen control ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3391](https://github.com/openlayers/openlayers/pull/3391) - Minor code cleanup ([@fredj](https://github.com/fredj))
|
* [#3391](https://github.com/openlayers/ol3/pull/3391) - Minor code cleanup ([@fredj](https://github.com/fredj))
|
||||||
* [#3388](https://github.com/openlayers/openlayers/pull/3388) - Add new geometry layout option for polyline format ([@fredj](https://github.com/fredj))
|
* [#3388](https://github.com/openlayers/ol3/pull/3388) - Add new geometry layout option for polyline format ([@fredj](https://github.com/fredj))
|
||||||
* [#3385](https://github.com/openlayers/openlayers/pull/3385) - Fix ol.tilegrid.TileGrid#getZForResolution ([@elemoine](https://github.com/elemoine))
|
* [#3385](https://github.com/openlayers/ol3/pull/3385) - Fix ol.tilegrid.TileGrid#getZForResolution ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3377](https://github.com/openlayers/openlayers/pull/3377) - Support wrapX for attributions ([@ahocevar](https://github.com/ahocevar))
|
* [#3377](https://github.com/openlayers/ol3/pull/3377) - Support wrapX for attributions ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3382](https://github.com/openlayers/openlayers/pull/3382) - Create github source links ([@ahocevar](https://github.com/ahocevar))
|
* [#3382](https://github.com/openlayers/ol3/pull/3382) - Create github source links ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3376](https://github.com/openlayers/openlayers/pull/3376) - Add ol.source.Tile support for wrapping around the x-axis ([@ahocevar](https://github.com/ahocevar))
|
* [#3376](https://github.com/openlayers/ol3/pull/3376) - Add ol.source.Tile support for wrapping around the x-axis ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3378](https://github.com/openlayers/openlayers/pull/3378) - Clarify where to ask questions ([@ahocevar](https://github.com/ahocevar))
|
* [#3378](https://github.com/openlayers/ol3/pull/3378) - Clarify where to ask questions ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3380](https://github.com/openlayers/openlayers/pull/3380) - Test the GeoJSON layout ([@fredj](https://github.com/fredj))
|
* [#3380](https://github.com/openlayers/ol3/pull/3380) - Test the GeoJSON layout ([@fredj](https://github.com/fredj))
|
||||||
* [#3360](https://github.com/openlayers/openlayers/pull/3360) - Don't unlisten image twice when disposing an ol.ImageTile ([@fredj](https://github.com/fredj))
|
* [#3360](https://github.com/openlayers/ol3/pull/3360) - Don't unlisten image twice when disposing an ol.ImageTile ([@fredj](https://github.com/fredj))
|
||||||
* [#3361](https://github.com/openlayers/openlayers/pull/3361) - Listen on localhost to avoid phantomjs browsing 0.0.0.0 ([@ahocevar](https://github.com/ahocevar))
|
* [#3361](https://github.com/openlayers/ol3/pull/3361) - Listen on localhost to avoid phantomjs browsing 0.0.0.0 ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3365](https://github.com/openlayers/openlayers/pull/3365) - Better docs for #getPointResolution ([@ahocevar](https://github.com/ahocevar))
|
* [#3365](https://github.com/openlayers/ol3/pull/3365) - Better docs for #getPointResolution ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3363](https://github.com/openlayers/openlayers/pull/3363) - New ol.proj features ([@bill-chadwick](https://github.com/bill-chadwick))
|
* [#3363](https://github.com/openlayers/ol3/pull/3363) - New ol.proj features ([@bill-chadwick](https://github.com/bill-chadwick))
|
||||||
* [#3305](https://github.com/openlayers/openlayers/pull/3305) - Add image loading events to image sources (r=@ahocevar,@elemoine) ([@bartvde](https://github.com/bartvde))
|
* [#3305](https://github.com/openlayers/ol3/pull/3305) - Add image loading events to image sources (r=@ahocevar,@elemoine) ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3343](https://github.com/openlayers/openlayers/pull/3343) - Line arrows example ([@fredj](https://github.com/fredj))
|
* [#3343](https://github.com/openlayers/ol3/pull/3343) - Line arrows example ([@fredj](https://github.com/fredj))
|
||||||
* [#3354](https://github.com/openlayers/openlayers/pull/3354) - Mark ol.format.GeoJSON#writeFeature(s) option param optional ([@fredj](https://github.com/fredj))
|
* [#3354](https://github.com/openlayers/ol3/pull/3354) - Mark ol.format.GeoJSON#writeFeature(s) option param optional ([@fredj](https://github.com/fredj))
|
||||||
* [#3346](https://github.com/openlayers/openlayers/pull/3346) - Set the 'properties' member to null if the feature has not properties ([@fredj](https://github.com/fredj))
|
* [#3346](https://github.com/openlayers/ol3/pull/3346) - Set the 'properties' member to null if the feature has not properties ([@fredj](https://github.com/fredj))
|
||||||
* [#3344](https://github.com/openlayers/openlayers/pull/3344) - Minor code cleanup ([@fredj](https://github.com/fredj))
|
* [#3344](https://github.com/openlayers/ol3/pull/3344) - Minor code cleanup ([@fredj](https://github.com/fredj))
|
||||||
* [#3237](https://github.com/openlayers/openlayers/pull/3237) - Add circles to Draw interaction. ([@Morgul](https://github.com/Morgul))
|
* [#3237](https://github.com/openlayers/ol3/pull/3237) - Add circles to Draw interaction. ([@Morgul](https://github.com/Morgul))
|
||||||
* [#2691](https://github.com/openlayers/openlayers/pull/2691) - Add will-change CSS properties ([@fredj](https://github.com/fredj))
|
* [#2691](https://github.com/openlayers/ol3/pull/2691) - Add will-change CSS properties ([@fredj](https://github.com/fredj))
|
||||||
* [#3336](https://github.com/openlayers/openlayers/pull/3336) - Use ol.Map#getTargetElement function ([@fredj](https://github.com/fredj))
|
* [#3336](https://github.com/openlayers/ol3/pull/3336) - Use ol.Map#getTargetElement function ([@fredj](https://github.com/fredj))
|
||||||
* [#3335](https://github.com/openlayers/openlayers/pull/3335) - Update rbush to version 1.3.5 ([@fredj](https://github.com/fredj))
|
* [#3335](https://github.com/openlayers/ol3/pull/3335) - Update rbush to version 1.3.5 ([@fredj](https://github.com/fredj))
|
||||||
* [#3322](https://github.com/openlayers/openlayers/pull/3322) - Remove unneeded map.isDef call ([@fredj](https://github.com/fredj))
|
* [#3322](https://github.com/openlayers/ol3/pull/3322) - Remove unneeded map.isDef call ([@fredj](https://github.com/fredj))
|
||||||
* [#3327](https://github.com/openlayers/openlayers/pull/3327) - Add css to dist directory ([@ahocevar](https://github.com/ahocevar))
|
* [#3327](https://github.com/openlayers/ol3/pull/3327) - Add css to dist directory ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3324](https://github.com/openlayers/openlayers/pull/3324) - Add interface definition for ol.SelectEvent ([@ahocevar](https://github.com/ahocevar))
|
* [#3324](https://github.com/openlayers/ol3/pull/3324) - Add interface definition for ol.SelectEvent ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3315](https://github.com/openlayers/openlayers/pull/3315) - Fix Tissot indicatrix example description ([@fredj](https://github.com/fredj))
|
* [#3315](https://github.com/openlayers/ol3/pull/3315) - Fix Tissot indicatrix example description ([@fredj](https://github.com/fredj))
|
||||||
* [#3312](https://github.com/openlayers/openlayers/pull/3312) - Fix HiDPI support for ArcGIS REST ([@ahocevar](https://github.com/ahocevar))
|
* [#3312](https://github.com/openlayers/ol3/pull/3312) - Fix HiDPI support for ArcGIS REST ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#2910](https://github.com/openlayers/openlayers/pull/2910) - Support multiple featureTpes in GML parser ([@bartvde](https://github.com/bartvde))
|
* [#2910](https://github.com/openlayers/ol3/pull/2910) - Support multiple featureTpes in GML parser ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3309](https://github.com/openlayers/openlayers/pull/3309) - Fix select event always reporting as multi select ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#3309](https://github.com/openlayers/ol3/pull/3309) - Fix select event always reporting as multi select ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#3307](https://github.com/openlayers/openlayers/pull/3307) - Handle all non-degree units in ol.control.ScaleLine ([@ahocevar](https://github.com/ahocevar))
|
* [#3307](https://github.com/openlayers/ol3/pull/3307) - Handle all non-degree units in ol.control.ScaleLine ([@ahocevar](https://github.com/ahocevar))
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ The 3.5.0 release includes features and fixes from a whopping 129 pull requests
|
|||||||
|
|
||||||
### `ol.Object` and `bindTo`
|
### `ol.Object` and `bindTo`
|
||||||
|
|
||||||
* The following experimental methods have been removed from `ol.Object`: `bindTo`, `unbind`, and `unbindAll`. If you want to get notification about `ol.Object` property changes, you can listen for the `'propertychange'` event (e.g. `object.on('propertychange', listener)`). Two-way binding can be set up at the application level using property change listeners. See [#3472](https://github.com/openlayers/openlayers/pull/3472) for details on the change.
|
* The following experimental methods have been removed from `ol.Object`: `bindTo`, `unbind`, and `unbindAll`. If you want to get notification about `ol.Object` property changes, you can listen for the `'propertychange'` event (e.g. `object.on('propertychange', listener)`). Two-way binding can be set up at the application level using property change listeners. See [#3472](https://github.com/openlayers/ol3/pull/3472) for details on the change.
|
||||||
|
|
||||||
* The experimental `ol.dom.Input` component has been removed. If you need to synchronize the state of a dom Input element with an `ol.Object`, this can be accomplished using listeners for change events. For example, you might bind the state of a checkbox type input with a layer's visibility like this:
|
* The experimental `ol.dom.Input` component has been removed. If you need to synchronize the state of a dom Input element with an `ol.Object`, this can be accomplished using listeners for change events. For example, you might bind the state of a checkbox type input with a layer's visibility like this:
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ The 3.5.0 release includes features and fixes from a whopping 129 pull requests
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
See https://openlayers.org/en/master/examples/vector-layer.html for a real example.
|
See http://openlayers.org/en/master/examples/vector-layer.html for a real example.
|
||||||
|
|
||||||
Note that you no longer need to set a `projection` on the source!
|
Note that you no longer need to set a `projection` on the source!
|
||||||
|
|
||||||
@@ -75,7 +75,7 @@ The 3.5.0 release includes features and fixes from a whopping 129 pull requests
|
|||||||
|
|
||||||
The above code uses jQuery to send an Ajax request, but you can obviously use any Ajax library.
|
The above code uses jQuery to send an Ajax request, but you can obviously use any Ajax library.
|
||||||
|
|
||||||
See https://openlayers.org/en/master/examples/igc.html for a real example.
|
See http://openlayers.org/en/master/examples/igc.html for a real example.
|
||||||
|
|
||||||
* Note about KML
|
* Note about KML
|
||||||
|
|
||||||
@@ -133,9 +133,9 @@ The 3.5.0 release includes features and fixes from a whopping 129 pull requests
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
See https://openlayers.org/en/master/examples/vector-osm.html for a real example.
|
See http://openlayers.org/en/master/examples/vector-osm.html for a real example.
|
||||||
|
|
||||||
* The experimental `ol.loadingstrategy.createTile` function has been renamed to `ol.loadingstrategy.tile`. The signature of the function hasn't changed. See https://openlayers.org/en/master/examples/vector-osm.html for an example.
|
* The experimental `ol.loadingstrategy.createTile` function has been renamed to `ol.loadingstrategy.tile`. The signature of the function hasn't changed. See http://openlayers.org/en/master/examples/vector-osm.html for an example.
|
||||||
|
|
||||||
### Change to `ol.style.Icon`
|
### Change to `ol.style.Icon`
|
||||||
|
|
||||||
@@ -157,133 +157,133 @@ If you compile your application together with the library and use the `ol.featur
|
|||||||
|
|
||||||
## New features and fixes
|
## New features and fixes
|
||||||
|
|
||||||
* [#3646](https://github.com/openlayers/openlayers/pull/3646) - Use graceful-fs in place of fs ([@elemoine](https://github.com/elemoine))
|
* [#3646](https://github.com/openlayers/ol3/pull/3646) - Use graceful-fs in place of fs ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3645](https://github.com/openlayers/openlayers/pull/3645) - Fix test-coverage.js script ([@elemoine](https://github.com/elemoine))
|
* [#3645](https://github.com/openlayers/ol3/pull/3645) - Fix test-coverage.js script ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3640](https://github.com/openlayers/openlayers/pull/3640) - Make make fail on requires and whitespace errors ([@elemoine](https://github.com/elemoine))
|
* [#3640](https://github.com/openlayers/ol3/pull/3640) - Make make fail on requires and whitespace errors ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3644](https://github.com/openlayers/openlayers/pull/3644) - added altclick select to selectfeatures example ([@t27](https://github.com/t27))
|
* [#3644](https://github.com/openlayers/ol3/pull/3644) - added altclick select to selectfeatures example ([@t27](https://github.com/t27))
|
||||||
* [#3612](https://github.com/openlayers/openlayers/pull/3612) - Add ol.source.WMTS#getUrls and getRequestEncoding ([@elemoine](https://github.com/elemoine))
|
* [#3612](https://github.com/openlayers/ol3/pull/3612) - Add ol.source.WMTS#getUrls and getRequestEncoding ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3616](https://github.com/openlayers/openlayers/pull/3616) - Add support for freehand drawing to the Draw interaction ([@ahocevar](https://github.com/ahocevar))
|
* [#3616](https://github.com/openlayers/ol3/pull/3616) - Add support for freehand drawing to the Draw interaction ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3634](https://github.com/openlayers/openlayers/pull/3634) - Remove unused local variable ([@fredj](https://github.com/fredj))
|
* [#3634](https://github.com/openlayers/ol3/pull/3634) - Remove unused local variable ([@fredj](https://github.com/fredj))
|
||||||
* [#3629](https://github.com/openlayers/openlayers/pull/3629) - Problems with XYZ coordinates in snap interaction ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3629](https://github.com/openlayers/ol3/pull/3629) - Problems with XYZ coordinates in snap interaction ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3633](https://github.com/openlayers/openlayers/pull/3633) - Add a Makefile section to .editorconfig ([@elemoine](https://github.com/elemoine))
|
* [#3633](https://github.com/openlayers/ol3/pull/3633) - Add a Makefile section to .editorconfig ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3632](https://github.com/openlayers/openlayers/pull/3632) - Make host-examples target copy index.js ([@elemoine](https://github.com/elemoine))
|
* [#3632](https://github.com/openlayers/ol3/pull/3632) - Make host-examples target copy index.js ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3631](https://github.com/openlayers/openlayers/pull/3631) - Restore Modify interaction constructor test ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#3631](https://github.com/openlayers/ol3/pull/3631) - Restore Modify interaction constructor test ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#3630](https://github.com/openlayers/openlayers/pull/3630) - Initial tests for Modify interaction vertex creation ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#3630](https://github.com/openlayers/ol3/pull/3630) - Initial tests for Modify interaction vertex creation ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#3527](https://github.com/openlayers/openlayers/pull/3527) - Replace pake with make? ([@elemoine](https://github.com/elemoine))
|
* [#3527](https://github.com/openlayers/ol3/pull/3527) - Replace pake with make? ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3624](https://github.com/openlayers/openlayers/pull/3624) - Add a one sentence summary for several exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
* [#3624](https://github.com/openlayers/ol3/pull/3624) - Add a one sentence summary for several exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3623](https://github.com/openlayers/openlayers/pull/3623) - OpenLayers overwrites WMS format_options instead of extending them. ([@bartvde](https://github.com/bartvde))
|
* [#3623](https://github.com/openlayers/ol3/pull/3623) - ol3 overwrites WMS format_options instead of extending them. ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3621](https://github.com/openlayers/openlayers/pull/3621) - Fix typo in documentation comment ([@openlayers](https://github.com/openlayers))
|
* [#3621](https://github.com/openlayers/ol3/pull/3621) - Fix typo in documentation comment ([@openlayers](https://github.com/openlayers))
|
||||||
* [#3614](https://github.com/openlayers/openlayers/pull/3614) - GML2 parser does not parse all features ([@bartvde](https://github.com/bartvde))
|
* [#3614](https://github.com/openlayers/ol3/pull/3614) - GML2 parser does not parse all features ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3619](https://github.com/openlayers/openlayers/pull/3619) - Add a one sentence summary for ol.geom.* exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
* [#3619](https://github.com/openlayers/ol3/pull/3619) - Add a one sentence summary for ol.geom.* exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3618](https://github.com/openlayers/openlayers/pull/3618) - Replace non-breaking space (U+00A0) with regular space (U+0020). ([@tschaub](https://github.com/tschaub))
|
* [#3618](https://github.com/openlayers/ol3/pull/3618) - Replace non-breaking space (U+00A0) with regular space (U+0020). ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3617](https://github.com/openlayers/openlayers/pull/3617) - Add ol.size.hasArea. ([@tschaub](https://github.com/tschaub))
|
* [#3617](https://github.com/openlayers/ol3/pull/3617) - Add ol.size.hasArea. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3597](https://github.com/openlayers/openlayers/pull/3597) - Remove dead link in api doc ([@fredj](https://github.com/fredj))
|
* [#3597](https://github.com/openlayers/ol3/pull/3597) - Remove dead link in api doc ([@fredj](https://github.com/fredj))
|
||||||
* [#3613](https://github.com/openlayers/openlayers/pull/3613) - Add a one sentence summary for ol.interaction* exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
* [#3613](https://github.com/openlayers/ol3/pull/3613) - Add a one sentence summary for ol.interaction* exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3611](https://github.com/openlayers/openlayers/pull/3611) - Improve error handling in Esri JSON format ([@bartvde](https://github.com/bartvde))
|
* [#3611](https://github.com/openlayers/ol3/pull/3611) - Improve error handling in Esri JSON format ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3560](https://github.com/openlayers/openlayers/pull/3560) - Add an example showing how to create a permalink ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3560](https://github.com/openlayers/ol3/pull/3560) - Add an example showing how to create a permalink ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3571](https://github.com/openlayers/openlayers/pull/3571) - Add wrapX support for vector layers (canvas renderer only) ([@ahocevar](https://github.com/ahocevar))
|
* [#3571](https://github.com/openlayers/ol3/pull/3571) - Add wrapX support for vector layers (canvas renderer only) ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3605](https://github.com/openlayers/openlayers/pull/3605) - vector-esri-edit.html uses non api method ([@bartvde](https://github.com/bartvde))
|
* [#3605](https://github.com/openlayers/ol3/pull/3605) - vector-esri-edit.html uses non api method ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3602](https://github.com/openlayers/openlayers/pull/3602) - Rename ol.feature.FeatureStyleFunction to ol.FeatureStyleFunction. ([@tschaub](https://github.com/tschaub))
|
* [#3602](https://github.com/openlayers/ol3/pull/3602) - Rename ol.feature.FeatureStyleFunction to ol.FeatureStyleFunction. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3604](https://github.com/openlayers/openlayers/pull/3604) - Add charset so that zoom out button shows correctly ([@bartvde](https://github.com/bartvde))
|
* [#3604](https://github.com/openlayers/ol3/pull/3604) - Add charset so that zoom out button shows correctly ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3603](https://github.com/openlayers/openlayers/pull/3603) - Reformat upgrade-notes.md ([@elemoine](https://github.com/elemoine))
|
* [#3603](https://github.com/openlayers/ol3/pull/3603) - Reformat upgrade-notes.md ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3599](https://github.com/openlayers/openlayers/pull/3599) - Improve docs for source.Vector options ([@probins](https://github.com/probins))
|
* [#3599](https://github.com/openlayers/ol3/pull/3599) - Improve docs for source.Vector options ([@probins](https://github.com/probins))
|
||||||
* [#3598](https://github.com/openlayers/openlayers/pull/3598) - Remove unnecessary entry in `.gitignore`. ([@tschaub](https://github.com/tschaub))
|
* [#3598](https://github.com/openlayers/ol3/pull/3598) - Remove unnecessary entry in `.gitignore`. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3595](https://github.com/openlayers/openlayers/pull/3595) - Add featureloader.jsdoc ([@probins](https://github.com/probins))
|
* [#3595](https://github.com/openlayers/ol3/pull/3595) - Add featureloader.jsdoc ([@probins](https://github.com/probins))
|
||||||
* [#3593](https://github.com/openlayers/openlayers/pull/3593) - Add /examples/index.js to .gitignore ([@fredj](https://github.com/fredj))
|
* [#3593](https://github.com/openlayers/ol3/pull/3593) - Add /examples/index.js to .gitignore ([@fredj](https://github.com/fredj))
|
||||||
* [#3592](https://github.com/openlayers/openlayers/pull/3592) - Remove reference to binding in Collection docs ([@probins](https://github.com/probins))
|
* [#3592](https://github.com/openlayers/ol3/pull/3592) - Remove reference to binding in Collection docs ([@probins](https://github.com/probins))
|
||||||
* [#3591](https://github.com/openlayers/openlayers/pull/3591) - Only draw the layer if visible and inside the resolution range ([@fredj](https://github.com/fredj))
|
* [#3591](https://github.com/openlayers/ol3/pull/3591) - Only draw the layer if visible and inside the resolution range ([@fredj](https://github.com/fredj))
|
||||||
* [#3528](https://github.com/openlayers/openlayers/pull/3528) - Fix memory leak when removing layers from ol.layer.Group ([@fredj](https://github.com/fredj))
|
* [#3528](https://github.com/openlayers/ol3/pull/3528) - Fix memory leak when removing layers from ol.layer.Group ([@fredj](https://github.com/fredj))
|
||||||
* [#3549](https://github.com/openlayers/openlayers/pull/3549) - Move ol.*_DURATION const to a constructor option ([@fredj](https://github.com/fredj))
|
* [#3549](https://github.com/openlayers/ol3/pull/3549) - Move ol.*_DURATION const to a constructor option ([@fredj](https://github.com/fredj))
|
||||||
* [#3587](https://github.com/openlayers/openlayers/pull/3587) - Handle left/right segment intersections for top/bottom spans. ([@tschaub](https://github.com/tschaub))
|
* [#3587](https://github.com/openlayers/ol3/pull/3587) - Handle left/right segment intersections for top/bottom spans. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3516](https://github.com/openlayers/openlayers/pull/3516) - Remove ol.format.BinaryFeature. ([@tschaub](https://github.com/tschaub))
|
* [#3516](https://github.com/openlayers/ol3/pull/3516) - Remove ol.format.BinaryFeature. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3586](https://github.com/openlayers/openlayers/pull/3586) - Simplify dragAndDropInteraction in examples. ([@probins](https://github.com/probins))
|
* [#3586](https://github.com/openlayers/ol3/pull/3586) - Simplify dragAndDropInteraction in examples. ([@probins](https://github.com/probins))
|
||||||
* [#3555](https://github.com/openlayers/openlayers/pull/3555) - Esri JSON support ([@bartvde](https://github.com/bartvde))
|
* [#3555](https://github.com/openlayers/ol3/pull/3555) - Esri JSON support ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3583](https://github.com/openlayers/openlayers/pull/3583) - Add a one sentence summary for ol.proj.* and ol.layer.* exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
* [#3583](https://github.com/openlayers/ol3/pull/3583) - Add a one sentence summary for ol.proj.* and ol.layer.* exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3581](https://github.com/openlayers/openlayers/pull/3581) - Always show links to related API documentation. ([@tschaub](https://github.com/tschaub))
|
* [#3581](https://github.com/openlayers/ol3/pull/3581) - Always show links to related API documentation. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3582](https://github.com/openlayers/openlayers/pull/3582) - Index what the examples require. ([@tschaub](https://github.com/tschaub))
|
* [#3582](https://github.com/openlayers/ol3/pull/3582) - Index what the examples require. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3580](https://github.com/openlayers/openlayers/pull/3580) - Add a one sentence summary for ol.source.* exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
* [#3580](https://github.com/openlayers/ol3/pull/3580) - Add a one sentence summary for ol.source.* exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3551](https://github.com/openlayers/openlayers/pull/3551) - Automatically add links to API-docs in examples ([@marcjansen](https://github.com/marcjansen))
|
* [#3551](https://github.com/openlayers/ol3/pull/3551) - Automatically add links to API-docs in examples ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3575](https://github.com/openlayers/openlayers/pull/3575) - Check proj equivalence by code. ([@nd0ut](https://github.com/nd0ut))
|
* [#3575](https://github.com/openlayers/ol3/pull/3575) - Check proj equivalence by code. ([@nd0ut](https://github.com/nd0ut))
|
||||||
* [#3579](https://github.com/openlayers/openlayers/pull/3579) - Use HTTPS were available. ([@tschaub](https://github.com/tschaub))
|
* [#3579](https://github.com/openlayers/ol3/pull/3579) - Use HTTPS were available. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3558](https://github.com/openlayers/openlayers/pull/3558) - Example sources in examples dir and built examples in build/examples. ([@tschaub](https://github.com/tschaub))
|
* [#3558](https://github.com/openlayers/ol3/pull/3558) - Example sources in examples dir and built examples in build/examples. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3550](https://github.com/openlayers/openlayers/pull/3550) - Reduce differences between the rendering test runner and the standard test runner. ([@tschaub](https://github.com/tschaub))
|
* [#3550](https://github.com/openlayers/ol3/pull/3550) - Reduce differences between the rendering test runner and the standard test runner. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3576](https://github.com/openlayers/openlayers/pull/3576) - Add KML options related note the upgrade notes ([@elemoine](https://github.com/elemoine))
|
* [#3576](https://github.com/openlayers/ol3/pull/3576) - Add KML options related note the upgrade notes ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3573](https://github.com/openlayers/openlayers/pull/3573) - Modify draw interaction dispatch order ([@gberaudo](https://github.com/gberaudo))
|
* [#3573](https://github.com/openlayers/ol3/pull/3573) - Modify draw interaction dispatch order ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#3572](https://github.com/openlayers/openlayers/pull/3572) - Do not return a null tileSize ([@ahocevar](https://github.com/ahocevar))
|
* [#3572](https://github.com/openlayers/ol3/pull/3572) - Do not return a null tileSize ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3570](https://github.com/openlayers/openlayers/pull/3570) - Add missing @api ([@gberaudo](https://github.com/gberaudo))
|
* [#3570](https://github.com/openlayers/ol3/pull/3570) - Add missing @api ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#3569](https://github.com/openlayers/openlayers/pull/3569) - Fix link to Bootstrap documentation ([@fredj](https://github.com/fredj))
|
* [#3569](https://github.com/openlayers/ol3/pull/3569) - Fix link to Bootstrap documentation ([@fredj](https://github.com/fredj))
|
||||||
* [#3559](https://github.com/openlayers/openlayers/pull/3559) - Add support for non-square tiles ([@ahocevar](https://github.com/ahocevar))
|
* [#3559](https://github.com/openlayers/ol3/pull/3559) - Add support for non-square tiles ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3568](https://github.com/openlayers/openlayers/pull/3568) - Move extractStyles option to ol.format.KML ([@fredj](https://github.com/fredj))
|
* [#3568](https://github.com/openlayers/ol3/pull/3568) - Move extractStyles option to ol.format.KML ([@fredj](https://github.com/fredj))
|
||||||
* [#3562](https://github.com/openlayers/openlayers/pull/3562) - Simplify .ol-zoomslider and .ol-overviewmap CSS ([@fredj](https://github.com/fredj))
|
* [#3562](https://github.com/openlayers/ol3/pull/3562) - Simplify .ol-zoomslider and .ol-overviewmap CSS ([@fredj](https://github.com/fredj))
|
||||||
* [#3565](https://github.com/openlayers/openlayers/pull/3565) - Move extractStyles option to ol.format.KML ([@fredj](https://github.com/fredj))
|
* [#3565](https://github.com/openlayers/ol3/pull/3565) - Move extractStyles option to ol.format.KML ([@fredj](https://github.com/fredj))
|
||||||
* [#3523](https://github.com/openlayers/openlayers/pull/3523) - Update proj4 version to 2.3.6 ([@fredj](https://github.com/fredj))
|
* [#3523](https://github.com/openlayers/ol3/pull/3523) - Update proj4 version to 2.3.6 ([@fredj](https://github.com/fredj))
|
||||||
* [#3556](https://github.com/openlayers/openlayers/pull/3556) - Minor TileUTFGrid error fix ([@klokantech](https://github.com/klokantech))
|
* [#3556](https://github.com/openlayers/ol3/pull/3556) - Minor TileUTFGrid error fix ([@klokantech](https://github.com/klokantech))
|
||||||
* [#3557](https://github.com/openlayers/openlayers/pull/3557) - Update FastClick externs to version 1.0.6 ([@fredj](https://github.com/fredj))
|
* [#3557](https://github.com/openlayers/ol3/pull/3557) - Update FastClick externs to version 1.0.6 ([@fredj](https://github.com/fredj))
|
||||||
* [#3517](https://github.com/openlayers/openlayers/pull/3517) - Add tests for previously untested classes ([@marcjansen](https://github.com/marcjansen))
|
* [#3517](https://github.com/openlayers/ol3/pull/3517) - Add tests for previously untested classes ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3548](https://github.com/openlayers/openlayers/pull/3548) - Write the error stack instead of the error itself. ([@tschaub](https://github.com/tschaub))
|
* [#3548](https://github.com/openlayers/ol3/pull/3548) - Write the error stack instead of the error itself. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3542](https://github.com/openlayers/openlayers/pull/3542) - Generate example index and rebuild examples on source changes. ([@tschaub](https://github.com/tschaub))
|
* [#3542](https://github.com/openlayers/ol3/pull/3542) - Generate example index and rebuild examples on source changes. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3530](https://github.com/openlayers/openlayers/pull/3530) - external resources not correctly in inline source of example ([@bartvde](https://github.com/bartvde))
|
* [#3530](https://github.com/openlayers/ol3/pull/3530) - external resources not correctly in inline source of example ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3448](https://github.com/openlayers/openlayers/pull/3448) - Fix WebGL image layer rendering on retina displays ([@elemoine](https://github.com/elemoine))
|
* [#3448](https://github.com/openlayers/ol3/pull/3448) - Fix WebGL image layer rendering on retina displays ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3544](https://github.com/openlayers/openlayers/pull/3544) - Update comments about remaining GeoJSON work. ([@tschaub](https://github.com/tschaub))
|
* [#3544](https://github.com/openlayers/ol3/pull/3544) - Update comments about remaining GeoJSON work. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3531](https://github.com/openlayers/openlayers/pull/3531) - Fix PointerEventHandler exception with Overlay containing SVG and IE9 ([@mantonovic](https://github.com/mantonovic))
|
* [#3531](https://github.com/openlayers/ol3/pull/3531) - Fix PointerEventHandler exception with Overlay containing SVG and IE9 ([@mantonovic](https://github.com/mantonovic))
|
||||||
* [#3521](https://github.com/openlayers/openlayers/pull/3521) - Remove goog.isDefAndNotNull test on ol.layer.Group#getLayers result ([@fredj](https://github.com/fredj))
|
* [#3521](https://github.com/openlayers/ol3/pull/3521) - Remove goog.isDefAndNotNull test on ol.layer.Group#getLayers result ([@fredj](https://github.com/fredj))
|
||||||
* [#3481](https://github.com/openlayers/openlayers/pull/3481) - Proposal for a simpler vector API ([@elemoine](https://github.com/elemoine))
|
* [#3481](https://github.com/openlayers/ol3/pull/3481) - Proposal for a simpler vector API ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3472](https://github.com/openlayers/openlayers/pull/3472) - Remove the experimental bindTo method from ol.Object. ([@tschaub](https://github.com/tschaub))
|
* [#3472](https://github.com/openlayers/ol3/pull/3472) - Remove the experimental bindTo method from ol.Object. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3505](https://github.com/openlayers/openlayers/pull/3505) - Add a Create Custom Builds tutorial ([@elemoine](https://github.com/elemoine))
|
* [#3505](https://github.com/openlayers/ol3/pull/3505) - Add a Create Custom Builds tutorial ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3513](https://github.com/openlayers/openlayers/pull/3513) - Remove layerGroup.setLayers(null) test ([@fredj](https://github.com/fredj))
|
* [#3513](https://github.com/openlayers/ol3/pull/3513) - Remove layerGroup.setLayers(null) test ([@fredj](https://github.com/fredj))
|
||||||
* [#3511](https://github.com/openlayers/openlayers/pull/3511) - Add goog.provide's ([@elemoine](https://github.com/elemoine))
|
* [#3511](https://github.com/openlayers/ol3/pull/3511) - Add goog.provide's ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3509](https://github.com/openlayers/openlayers/pull/3509) - Dispatch change event even when geometry is set to null ([@pgiraud](https://github.com/pgiraud))
|
* [#3509](https://github.com/openlayers/ol3/pull/3509) - Dispatch change event even when geometry is set to null ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#3510](https://github.com/openlayers/openlayers/pull/3510) - Use sinon.spy to ensure change event is dispatched ([@pgiraud](https://github.com/pgiraud))
|
* [#3510](https://github.com/openlayers/ol3/pull/3510) - Use sinon.spy to ensure change event is dispatched ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#3504](https://github.com/openlayers/openlayers/pull/3504) - Rework build-examples.js task. ([@tschaub](https://github.com/tschaub))
|
* [#3504](https://github.com/openlayers/ol3/pull/3504) - Rework build-examples.js task. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3470](https://github.com/openlayers/openlayers/pull/3470) - Add rendering tests ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3470](https://github.com/openlayers/ol3/pull/3470) - Add rendering tests ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3413](https://github.com/openlayers/openlayers/pull/3413) - Add support for generic external modules with Browserify ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3413](https://github.com/openlayers/ol3/pull/3413) - Add support for generic external modules with Browserify ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3503](https://github.com/openlayers/openlayers/pull/3503) - Use vector source instead of feature overlay in snap example. ([@tschaub](https://github.com/tschaub))
|
* [#3503](https://github.com/openlayers/ol3/pull/3503) - Use vector source instead of feature overlay in snap example. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3495](https://github.com/openlayers/openlayers/pull/3495) - Initial basic project setup tutorial ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#3495](https://github.com/openlayers/ol3/pull/3495) - Initial basic project setup tutorial ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#3488](https://github.com/openlayers/openlayers/pull/3488) - Add docs for exportable symbols. ([@tschaub](https://github.com/tschaub))
|
* [#3488](https://github.com/openlayers/ol3/pull/3488) - Add docs for exportable symbols. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3441](https://github.com/openlayers/openlayers/pull/3441) - Add a "Compile Application and OpenLayers Together" tutorial ([@elemoine](https://github.com/elemoine))
|
* [#3441](https://github.com/openlayers/ol3/pull/3441) - Add a "Compile Application and OpenLayers 3 Together" tutorial ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3499](https://github.com/openlayers/openlayers/pull/3499) - Update to closure-util 1.4.0 ([@elemoine](https://github.com/elemoine))
|
* [#3499](https://github.com/openlayers/ol3/pull/3499) - Update to closure-util 1.4.0 ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3494](https://github.com/openlayers/openlayers/pull/3494) - Mark VectorContext @api ([@gberaudo](https://github.com/gberaudo))
|
* [#3494](https://github.com/openlayers/ol3/pull/3494) - Mark VectorContext @api ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#3409](https://github.com/openlayers/openlayers/pull/3409) - AssertionError in WMTS.optionsFromCapabilities. ([@bartvde](https://github.com/bartvde))
|
* [#3409](https://github.com/openlayers/ol3/pull/3409) - AssertionError in WMTS.optionsFromCapabilities. ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3493](https://github.com/openlayers/openlayers/pull/3493) - Add image loading events to ol.source.ImageStatic ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3493](https://github.com/openlayers/ol3/pull/3493) - Add image loading events to ol.source.ImageStatic ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3490](https://github.com/openlayers/openlayers/pull/3490) - Add .editorconfig and instructions on its use. ([@tschaub](https://github.com/tschaub))
|
* [#3490](https://github.com/openlayers/ol3/pull/3490) - Add .editorconfig and instructions on its use. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3489](https://github.com/openlayers/openlayers/pull/3489) - Use an abstract base class instead of IVectorContext. ([@gberaudo](https://github.com/gberaudo))
|
* [#3489](https://github.com/openlayers/ol3/pull/3489) - Use an abstract base class instead of IVectorContext. ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#3483](https://github.com/openlayers/openlayers/pull/3483) - Clarify view.setRotation docs ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3483](https://github.com/openlayers/ol3/pull/3483) - Clarify view.setRotation docs ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3485](https://github.com/openlayers/openlayers/pull/3485) - build.py graceful interrupt ([@malaretv](https://github.com/malaretv))
|
* [#3485](https://github.com/openlayers/ol3/pull/3485) - build.py graceful interrupt ([@malaretv](https://github.com/malaretv))
|
||||||
* [#3484](https://github.com/openlayers/openlayers/pull/3484) - Make sure we copy the example css if it exists ([@bartvde](https://github.com/bartvde))
|
* [#3484](https://github.com/openlayers/ol3/pull/3484) - Make sure we copy the example css if it exists ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3462](https://github.com/openlayers/openlayers/pull/3462) - Remove ol.format.GMLBase from the API ([@ahocevar](https://github.com/ahocevar))
|
* [#3462](https://github.com/openlayers/ol3/pull/3462) - Remove ol.format.GMLBase from the API ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3445](https://github.com/openlayers/openlayers/pull/3445) - Start a FAQ document. ([@marcjansen](https://github.com/marcjansen))
|
* [#3445](https://github.com/openlayers/ol3/pull/3445) - Start a FAQ document. ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3468](https://github.com/openlayers/openlayers/pull/3468) - Use the coveralls executable. ([@marcjansen](https://github.com/marcjansen))
|
* [#3468](https://github.com/openlayers/ol3/pull/3468) - Use the coveralls executable. ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3415](https://github.com/openlayers/openlayers/pull/3415) - Stable Only unchecked by default. ([@malaretv](https://github.com/malaretv))
|
* [#3415](https://github.com/openlayers/ol3/pull/3415) - Stable Only unchecked by default. ([@malaretv](https://github.com/malaretv))
|
||||||
* [#3420](https://github.com/openlayers/openlayers/pull/3420) - Unregister viewport size listener on setTarget(null) ([@elemoine](https://github.com/elemoine))
|
* [#3420](https://github.com/openlayers/ol3/pull/3420) - Unregister viewport size listener on setTarget(null) ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3456](https://github.com/openlayers/openlayers/pull/3456) - Updated menu on the JSDOC template (non-responsive) ([@klokan](https://github.com/klokan))
|
* [#3456](https://github.com/openlayers/ol3/pull/3456) - Updated menu on the JSDOC template (non-responsive) ([@klokan](https://github.com/klokan))
|
||||||
* [#3475](https://github.com/openlayers/openlayers/pull/3475) - Template examples ([@openlayers](https://github.com/openlayers))
|
* [#3475](https://github.com/openlayers/ol3/pull/3475) - Template examples ([@openlayers](https://github.com/openlayers))
|
||||||
* [#3455](https://github.com/openlayers/openlayers/pull/3455) - Fix pre-loaded icons images for WebGL ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3455](https://github.com/openlayers/ol3/pull/3455) - Fix pre-loaded icons images for WebGL ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3473](https://github.com/openlayers/openlayers/pull/3473) - Add more tests for ol.coordinate. ([@marcjansen](https://github.com/marcjansen))
|
* [#3473](https://github.com/openlayers/ol3/pull/3473) - Add more tests for ol.coordinate. ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3464](https://github.com/openlayers/openlayers/pull/3464) - Mark more of the API stable. ([@tschaub](https://github.com/tschaub))
|
* [#3464](https://github.com/openlayers/ol3/pull/3464) - Mark more of the API stable. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3469](https://github.com/openlayers/openlayers/pull/3469) - Update README. ([@malaretv](https://github.com/malaretv))
|
* [#3469](https://github.com/openlayers/ol3/pull/3469) - Update README. ([@malaretv](https://github.com/malaretv))
|
||||||
* [#3467](https://github.com/openlayers/openlayers/pull/3467) - Update the coveralls badge. ([@openlayers](https://github.com/openlayers))
|
* [#3467](https://github.com/openlayers/ol3/pull/3467) - Update the coveralls badge. ([@openlayers](https://github.com/openlayers))
|
||||||
* [#3466](https://github.com/openlayers/openlayers/pull/3466) - Include coveralls code-coverage badge in README. ([@marcjansen](https://github.com/marcjansen))
|
* [#3466](https://github.com/openlayers/ol3/pull/3466) - Include coveralls code-coverage badge in README. ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3457](https://github.com/openlayers/openlayers/pull/3457) - Integrate istanbul for test coverage ([@marcjansen](https://github.com/marcjansen))
|
* [#3457](https://github.com/openlayers/ol3/pull/3457) - Integrate istanbul for test coverage ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3446](https://github.com/openlayers/openlayers/pull/3446) - Add updateWhileInteracting to olx.layer.VectorOptions ([@elemoine](https://github.com/elemoine))
|
* [#3446](https://github.com/openlayers/ol3/pull/3446) - Add updateWhileInteracting to olx.layer.VectorOptions ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3438](https://github.com/openlayers/openlayers/pull/3438) - Parser documentation and XML readme ([@gberaudo](https://github.com/gberaudo))
|
* [#3438](https://github.com/openlayers/ol3/pull/3438) - Parser documentation and XML readme ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#3449](https://github.com/openlayers/openlayers/pull/3449) - Fix assertion message ([@gberaudo](https://github.com/gberaudo))
|
* [#3449](https://github.com/openlayers/ol3/pull/3449) - Fix assertion message ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#3440](https://github.com/openlayers/openlayers/pull/3440) - Add fromLonLat and toLonLat convenience functions ([@ahocevar](https://github.com/ahocevar))
|
* [#3440](https://github.com/openlayers/ol3/pull/3440) - Add fromLonLat and toLonLat convenience functions ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3423](https://github.com/openlayers/openlayers/pull/3423) - Parse extrude and altitude mode ([@gberaudo](https://github.com/gberaudo))
|
* [#3423](https://github.com/openlayers/ol3/pull/3423) - Parse extrude and altitude mode ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#3431](https://github.com/openlayers/openlayers/pull/3431) - Better typing ([@fredj](https://github.com/fredj))
|
* [#3431](https://github.com/openlayers/ol3/pull/3431) - Better typing ([@fredj](https://github.com/fredj))
|
||||||
* [#3436](https://github.com/openlayers/openlayers/pull/3436) - Mention readme.md files as help for contributors ([@ahocevar](https://github.com/ahocevar))
|
* [#3436](https://github.com/openlayers/ol3/pull/3436) - Mention readme.md files as help for contributors ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3433](https://github.com/openlayers/openlayers/pull/3433) - Add missing goog.provide/goog.require ol.source.TileEvent ([@fredj](https://github.com/fredj))
|
* [#3433](https://github.com/openlayers/ol3/pull/3433) - Add missing goog.provide/goog.require ol.source.TileEvent ([@fredj](https://github.com/fredj))
|
||||||
* [#3422](https://github.com/openlayers/openlayers/pull/3422) - Fix Select behavior when multi is false ([@elemoine](https://github.com/elemoine))
|
* [#3422](https://github.com/openlayers/ol3/pull/3422) - Fix Select behavior when multi is false ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3428](https://github.com/openlayers/openlayers/pull/3428) - Reorder assertions and variable declarations. ([@marcjansen](https://github.com/marcjansen))
|
* [#3428](https://github.com/openlayers/ol3/pull/3428) - Reorder assertions and variable declarations. ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3414](https://github.com/openlayers/openlayers/pull/3414) - Add missing ol.style.AtlasManager goog.require ([@fredj](https://github.com/fredj))
|
* [#3414](https://github.com/openlayers/ol3/pull/3414) - Add missing ol.style.AtlasManager goog.require ([@fredj](https://github.com/fredj))
|
||||||
* [#3429](https://github.com/openlayers/openlayers/pull/3429) - Adding missing provide for SelectFilterFunction ([@pgiraud](https://github.com/pgiraud))
|
* [#3429](https://github.com/openlayers/ol3/pull/3429) - Adding missing provide for SelectFilterFunction ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#3426](https://github.com/openlayers/openlayers/pull/3426) - Add assertion messages for all assertion statements ([@bartvde](https://github.com/bartvde))
|
* [#3426](https://github.com/openlayers/ol3/pull/3426) - Add assertion messages for all assertion statements ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3425](https://github.com/openlayers/openlayers/pull/3425) - Fix typo in ol.js ([@elemoine](https://github.com/elemoine))
|
* [#3425](https://github.com/openlayers/ol3/pull/3425) - Fix typo in ol.js ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3424](https://github.com/openlayers/openlayers/pull/3424) - Remove `@api` annotation from `ol.WEBGL_MAX_TEXTURE_SIZE`. ([@tschaub](https://github.com/tschaub))
|
* [#3424](https://github.com/openlayers/ol3/pull/3424) - Remove `@api` annotation from `ol.WEBGL_MAX_TEXTURE_SIZE`. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3419](https://github.com/openlayers/openlayers/pull/3419) - Remove describe.only ([@elemoine](https://github.com/elemoine))
|
* [#3419](https://github.com/openlayers/ol3/pull/3419) - Remove describe.only ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3417](https://github.com/openlayers/openlayers/pull/3417) - ol.interaction.Snap extent fix ([@fperucic](https://github.com/fperucic))
|
* [#3417](https://github.com/openlayers/ol3/pull/3417) - ol.interaction.Snap extent fix ([@fperucic](https://github.com/fperucic))
|
||||||
* [#3410](https://github.com/openlayers/openlayers/pull/3410) - Add ol.Object.unset() method ([@gberaudo](https://github.com/gberaudo))
|
* [#3410](https://github.com/openlayers/ol3/pull/3410) - Add ol.Object.unset() method ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#3402](https://github.com/openlayers/openlayers/pull/3402) - Add "filter" option to Select interaction ([@elemoine](https://github.com/elemoine))
|
* [#3402](https://github.com/openlayers/ol3/pull/3402) - Add "filter" option to Select interaction ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3416](https://github.com/openlayers/openlayers/pull/3416) - Remove unnecessary typecasts in examples ([@fredj](https://github.com/fredj))
|
* [#3416](https://github.com/openlayers/ol3/pull/3416) - Remove unnecessary typecasts in examples ([@fredj](https://github.com/fredj))
|
||||||
* [#3411](https://github.com/openlayers/openlayers/pull/3411) - Listen for a 'change:geometry' event ([@fperucic](https://github.com/fperucic))
|
* [#3411](https://github.com/openlayers/ol3/pull/3411) - Listen for a 'change:geometry' event ([@fperucic](https://github.com/fperucic))
|
||||||
* [#3109](https://github.com/openlayers/openlayers/pull/3109) - Snap feature ([@fperucic](https://github.com/fperucic))
|
* [#3109](https://github.com/openlayers/ol3/pull/3109) - Snap feature ([@fperucic](https://github.com/fperucic))
|
||||||
* [#3407](https://github.com/openlayers/openlayers/pull/3407) - Add v3.4.0 empty section to upgrade notes ([@bartvde](https://github.com/bartvde))
|
* [#3407](https://github.com/openlayers/ol3/pull/3407) - Add v3.4.0 empty section to upgrade notes ([@bartvde](https://github.com/bartvde))
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ The v3.6.0 release includes features and fixes from 40 pull requests since v3.5.
|
|||||||
### `ol.interaction.Draw` changes
|
### `ol.interaction.Draw` changes
|
||||||
|
|
||||||
* The `minPointsPerRing` config option has been renamed to `minPoints`. It is now also available for linestring drawing, not only for polygons.
|
* The `minPointsPerRing` config option has been renamed to `minPoints`. It is now also available for linestring drawing, not only for polygons.
|
||||||
* The `ol.DrawEvent` and `ol.DrawEventType` types were renamed to `ol.interaction.DrawEvent` and `ol.interaction.DrawEventType`. This has an impact on your code only if your code is compiled together with OpenLayers.
|
* The `ol.DrawEvent` and `ol.DrawEventType` types were renamed to `ol.interaction.DrawEvent` and `ol.interaction.DrawEventType`. This has an impact on your code only if your code is compiled together with ol3.
|
||||||
|
|
||||||
### `ol.tilegrid` changes
|
### `ol.tilegrid` changes
|
||||||
|
|
||||||
@@ -21,44 +21,44 @@ now specify an `extent` instead of `widths`. These settings are used to restrict
|
|||||||
|
|
||||||
## New features and fixes
|
## New features and fixes
|
||||||
|
|
||||||
* [#3764](https://github.com/openlayers/openlayers/pull/3764) - Add tests and implementation for intersectsExtent (ol.geom.Geometry) ([@alvinlindstam](https://github.com/alvinlindstam))
|
* [#3764](https://github.com/openlayers/ol3/pull/3764) - Add tests and implementation for intersectsExtent (ol.geom.Geometry) ([@alvinlindstam](https://github.com/alvinlindstam))
|
||||||
* [#3757](https://github.com/openlayers/openlayers/pull/3757) - Add mapBrowserEvent as a member of ol.SelectEvent ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#3757](https://github.com/openlayers/ol3/pull/3757) - Add mapBrowserEvent as a member of ol.SelectEvent ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#3759](https://github.com/openlayers/openlayers/pull/3759) - Mark tilegrid.createTileCoordTransform() @api ([@gberaudo](https://github.com/gberaudo))
|
* [#3759](https://github.com/openlayers/ol3/pull/3759) - Mark tilegrid.createTileCoordTransform() @api ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#3747](https://github.com/openlayers/openlayers/pull/3747) - Make tileCoordTransform a member again ([@ahocevar](https://github.com/ahocevar))
|
* [#3747](https://github.com/openlayers/ol3/pull/3747) - Make tileCoordTransform a member again ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3751](https://github.com/openlayers/openlayers/pull/3751) - Do not rely on remote services for tests ([@ahocevar](https://github.com/ahocevar))
|
* [#3751](https://github.com/openlayers/ol3/pull/3751) - Do not rely on remote services for tests ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3749](https://github.com/openlayers/openlayers/pull/3749) - Fix typo in API docs ([@marcjansen](https://github.com/marcjansen))
|
* [#3749](https://github.com/openlayers/ol3/pull/3749) - Fix typo in API docs ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3739](https://github.com/openlayers/openlayers/pull/3739) - Simplify detection of scientific notation in WKT format ([@marcjansen](https://github.com/marcjansen))
|
* [#3739](https://github.com/openlayers/ol3/pull/3739) - Simplify detection of scientific notation in WKT format ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3741](https://github.com/openlayers/openlayers/pull/3741) - Enhance docs of arguments and return values of callbacks / filters ([@marcjansen](https://github.com/marcjansen))
|
* [#3741](https://github.com/openlayers/ol3/pull/3741) - Enhance docs of arguments and return values of callbacks / filters ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3740](https://github.com/openlayers/openlayers/pull/3740) - Add @fires to select interaction ([@probins](https://github.com/probins))
|
* [#3740](https://github.com/openlayers/ol3/pull/3740) - Add @fires to select interaction ([@probins](https://github.com/probins))
|
||||||
* [#3738](https://github.com/openlayers/openlayers/pull/3738) - Improve doucmentation for ol.TileUrlFunctionType ([@ahocevar](https://github.com/ahocevar))
|
* [#3738](https://github.com/openlayers/ol3/pull/3738) - Improve doucmentation for ol.TileUrlFunctionType ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3736](https://github.com/openlayers/openlayers/pull/3736) - Fix invalid example HTML markup ([@fredj](https://github.com/fredj))
|
* [#3736](https://github.com/openlayers/ol3/pull/3736) - Fix invalid example HTML markup ([@fredj](https://github.com/fredj))
|
||||||
* [#3735](https://github.com/openlayers/openlayers/pull/3735) - Snap example: remove featureoverlay from tags ([@probins](https://github.com/probins))
|
* [#3735](https://github.com/openlayers/ol3/pull/3735) - Snap example: remove featureoverlay from tags ([@probins](https://github.com/probins))
|
||||||
* [#3732](https://github.com/openlayers/openlayers/pull/3732) - Add a method to bind button bluring on mouseout/focusout ([@marcjansen](https://github.com/marcjansen))
|
* [#3732](https://github.com/openlayers/ol3/pull/3732) - Add a method to bind button bluring on mouseout/focusout ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3659](https://github.com/openlayers/openlayers/pull/3659) - Revert "Implement ol.renderer.Layer#forEachFeatureAtCoordinate" ([@fredj](https://github.com/fredj))
|
* [#3659](https://github.com/openlayers/ol3/pull/3659) - Revert "Implement ol.renderer.Layer#forEachFeatureAtCoordinate" ([@fredj](https://github.com/fredj))
|
||||||
* [#3683](https://github.com/openlayers/openlayers/pull/3683) - Improve Map docs for layers and layergroups ([@probins](https://github.com/probins))
|
* [#3683](https://github.com/openlayers/ol3/pull/3683) - Improve Map docs for layers and layergroups ([@probins](https://github.com/probins))
|
||||||
* [#3720](https://github.com/openlayers/openlayers/pull/3720) - Add missing goog.provides in drawinteraction.js ([@elemoine](https://github.com/elemoine))
|
* [#3720](https://github.com/openlayers/ol3/pull/3720) - Add missing goog.provides in drawinteraction.js ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3725](https://github.com/openlayers/openlayers/pull/3725) - Document default value for olx.interaction.ModifyOptions#pixelTolerance ([@fredj](https://github.com/fredj))
|
* [#3725](https://github.com/openlayers/ol3/pull/3725) - Document default value for olx.interaction.ModifyOptions#pixelTolerance ([@fredj](https://github.com/fredj))
|
||||||
* [#3722](https://github.com/openlayers/openlayers/pull/3722) - Use the correct TileCoord transform function ([@ahocevar](https://github.com/ahocevar))
|
* [#3722](https://github.com/openlayers/ol3/pull/3722) - Use the correct TileCoord transform function ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3692](https://github.com/openlayers/openlayers/pull/3692) - Updates for building on Windows using Cygwin. ([@bill-chadwick](https://github.com/bill-chadwick))
|
* [#3692](https://github.com/openlayers/ol3/pull/3692) - Updates for building on Windows using Cygwin. ([@bill-chadwick](https://github.com/bill-chadwick))
|
||||||
* [#3718](https://github.com/openlayers/openlayers/pull/3718) - Add a assertion for renderOrder ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3718](https://github.com/openlayers/ol3/pull/3718) - Add a assertion for renderOrder ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3711](https://github.com/openlayers/openlayers/pull/3711) - Fix and test ol.color.blend ([@marcjansen](https://github.com/marcjansen))
|
* [#3711](https://github.com/openlayers/ol3/pull/3711) - Fix and test ol.color.blend ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3673](https://github.com/openlayers/openlayers/pull/3673) - More control over ol.interaction.Draw, to allow e.g. square drawing ([@ahocevar](https://github.com/ahocevar))
|
* [#3673](https://github.com/openlayers/ol3/pull/3673) - More control over ol.interaction.Draw, to allow e.g. square drawing ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3710](https://github.com/openlayers/openlayers/pull/3710) - Add more tests for ol.extent ([@marcjansen](https://github.com/marcjansen))
|
* [#3710](https://github.com/openlayers/ol3/pull/3710) - Add more tests for ol.extent ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3709](https://github.com/openlayers/openlayers/pull/3709) - vector-wfs example does not work in JSFiddle ([@bartvde](https://github.com/bartvde))
|
* [#3709](https://github.com/openlayers/ol3/pull/3709) - vector-wfs example does not work in JSFiddle ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3699](https://github.com/openlayers/openlayers/pull/3699) - Add support for scientific notation to WKT format ([@marcjansen](https://github.com/marcjansen))
|
* [#3699](https://github.com/openlayers/ol3/pull/3699) - Add support for scientific notation to WKT format ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3696](https://github.com/openlayers/openlayers/pull/3696) - Add an example for various blend modes ([@marcjansen](https://github.com/marcjansen))
|
* [#3696](https://github.com/openlayers/ol3/pull/3696) - Add an example for various blend modes ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3697](https://github.com/openlayers/openlayers/pull/3697) - Use a valid SPDX license expression ([@marcjansen](https://github.com/marcjansen))
|
* [#3697](https://github.com/openlayers/ol3/pull/3697) - Use a valid SPDX license expression ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3694](https://github.com/openlayers/openlayers/pull/3694) - Correct typo in upgrade-notes ([@probins](https://github.com/probins))
|
* [#3694](https://github.com/openlayers/ol3/pull/3694) - Correct typo in upgrade-notes ([@probins](https://github.com/probins))
|
||||||
* [#3693](https://github.com/openlayers/openlayers/pull/3693) - Fix ol.extent.containsExtent documentation ([@tremby](https://github.com/tremby))
|
* [#3693](https://github.com/openlayers/ol3/pull/3693) - Fix ol.extent.containsExtent documentation ([@tremby](https://github.com/tremby))
|
||||||
* [#3689](https://github.com/openlayers/openlayers/pull/3689) - Fix WMTS.optionsFromCapabilities if no OperationsMetadata section ([@probins](https://github.com/probins))
|
* [#3689](https://github.com/openlayers/ol3/pull/3689) - Fix WMTS.optionsFromCapabilities if no OperationsMetadata section ([@probins](https://github.com/probins))
|
||||||
* [#3688](https://github.com/openlayers/openlayers/pull/3688) - Add two missing properties to extern of WebGLContextAttributes ([@fredj](https://github.com/fredj))
|
* [#3688](https://github.com/openlayers/ol3/pull/3688) - Add two missing properties to extern of WebGLContextAttributes ([@fredj](https://github.com/fredj))
|
||||||
* [#3682](https://github.com/openlayers/openlayers/pull/3682) - Add a note about using the collection in addLayer ([@bartvde](https://github.com/bartvde))
|
* [#3682](https://github.com/openlayers/ol3/pull/3682) - Add a note about using the collection in addLayer ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3649](https://github.com/openlayers/openlayers/pull/3649) - More specific regex in serve.js ([@elemoine](https://github.com/elemoine))
|
* [#3649](https://github.com/openlayers/ol3/pull/3649) - More specific regex in serve.js ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3677](https://github.com/openlayers/openlayers/pull/3677) - Add metadata to examples, ([@tschaub](https://github.com/tschaub))
|
* [#3677](https://github.com/openlayers/ol3/pull/3677) - Add metadata to examples, ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3672](https://github.com/openlayers/openlayers/pull/3672) - Add link to FAQ-document and fix internal links ([@marcjansen](https://github.com/marcjansen))
|
* [#3672](https://github.com/openlayers/ol3/pull/3672) - Add link to FAQ-document and fix internal links ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3665](https://github.com/openlayers/openlayers/pull/3665) - Add proj4js and projection definition files to example resources ([@marcjansen](https://github.com/marcjansen))
|
* [#3665](https://github.com/openlayers/ol3/pull/3665) - Add proj4js and projection definition files to example resources ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3662](https://github.com/openlayers/openlayers/pull/3662) - Clarify docs for renderBuffer option ([@tsauerwein](https://github.com/tsauerwein))
|
* [#3662](https://github.com/openlayers/ol3/pull/3662) - Clarify docs for renderBuffer option ([@tsauerwein](https://github.com/tsauerwein))
|
||||||
* [#3664](https://github.com/openlayers/openlayers/pull/3664) - Link to download page. ([@tschaub](https://github.com/tschaub))
|
* [#3664](https://github.com/openlayers/ol3/pull/3664) - Link to download page. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3639](https://github.com/openlayers/openlayers/pull/3639) - Add extent support to ol.tilegrid.TileGrid ([@ahocevar](https://github.com/ahocevar))
|
* [#3639](https://github.com/openlayers/ol3/pull/3639) - Add extent support to ol.tilegrid.TileGrid ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3663](https://github.com/openlayers/openlayers/pull/3663) - Readme should not include the version number. ([@tschaub](https://github.com/tschaub))
|
* [#3663](https://github.com/openlayers/ol3/pull/3663) - Readme should not include the version number. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3637](https://github.com/openlayers/openlayers/pull/3637) - Implement ol.renderer.Layer#forEachFeatureAtCoordinate ([@fredj](https://github.com/fredj))
|
* [#3637](https://github.com/openlayers/ol3/pull/3637) - Implement ol.renderer.Layer#forEachFeatureAtCoordinate ([@fredj](https://github.com/fredj))
|
||||||
|
|||||||
@@ -107,46 +107,46 @@ When single clicking a line or boundary within the `pixelTolerance`, a vertex is
|
|||||||
|
|
||||||
## New features and fixes
|
## New features and fixes
|
||||||
|
|
||||||
* [#3867](https://github.com/openlayers/openlayers/pull/3867) - Do not require projection extent for x-wrapping tile sources ([@ahocevar](https://github.com/ahocevar))
|
* [#3867](https://github.com/openlayers/ol3/pull/3867) - Do not require projection extent for x-wrapping tile sources ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3635](https://github.com/openlayers/openlayers/pull/3635) - Create vertex on boundary single click ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#3635](https://github.com/openlayers/ol3/pull/3635) - Create vertex on boundary single click ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#3806](https://github.com/openlayers/openlayers/pull/3806) - Do not clip canvas for vector layers when wrapping the world ([@ahocevar](https://github.com/ahocevar))
|
* [#3806](https://github.com/openlayers/ol3/pull/3806) - Do not clip canvas for vector layers when wrapping the world ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3461](https://github.com/openlayers/openlayers/pull/3461) - High level Modify interaction events ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#3461](https://github.com/openlayers/ol3/pull/3461) - High level Modify interaction events ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#3865](https://github.com/openlayers/openlayers/pull/3865) - ol.View#fit() ([@bartvde](https://github.com/bartvde))
|
* [#3865](https://github.com/openlayers/ol3/pull/3865) - ol.View#fit() ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3864](https://github.com/openlayers/openlayers/pull/3864) - Check projection.canWrapX() before wrapping tiles ([@klokantech](https://github.com/klokantech))
|
* [#3864](https://github.com/openlayers/ol3/pull/3864) - Check projection.canWrapX() before wrapping tiles ([@klokantech](https://github.com/klokantech))
|
||||||
* [#3863](https://github.com/openlayers/openlayers/pull/3863) - Handle CDATA in attribute parsing for GML format ([@nhambletCCRI](https://github.com/nhambletCCRI))
|
* [#3863](https://github.com/openlayers/ol3/pull/3863) - Handle CDATA in attribute parsing for GML format ([@nhambletCCRI](https://github.com/nhambletCCRI))
|
||||||
* [#3860](https://github.com/openlayers/openlayers/pull/3860) - Update example layout. ([@tschaub](https://github.com/tschaub))
|
* [#3860](https://github.com/openlayers/ol3/pull/3860) - Update example layout. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3861](https://github.com/openlayers/openlayers/pull/3861) - Don't force 'dom' renderer ([@openlayers](https://github.com/openlayers))
|
* [#3861](https://github.com/openlayers/ol3/pull/3861) - Don't force 'dom' renderer ([@openlayers](https://github.com/openlayers))
|
||||||
* [#3855](https://github.com/openlayers/openlayers/pull/3855) - Adding an example with WMTS tiles from IGN Geoportail ([@pgiraud](https://github.com/pgiraud))
|
* [#3855](https://github.com/openlayers/ol3/pull/3855) - Adding an example with WMTS tiles from IGN Geoportail ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#3856](https://github.com/openlayers/openlayers/pull/3856) - ol.source.TileVector(): bind success function of tileLoadFunction to source ([@plepe](https://github.com/plepe))
|
* [#3856](https://github.com/openlayers/ol3/pull/3856) - ol.source.TileVector(): bind success function of tileLoadFunction to source ([@plepe](https://github.com/plepe))
|
||||||
* [#3848](https://github.com/openlayers/openlayers/pull/3848) - Check for exports before define. ([@tschaub](https://github.com/tschaub))
|
* [#3848](https://github.com/openlayers/ol3/pull/3848) - Check for exports before define. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3845](https://github.com/openlayers/openlayers/pull/3845) - Prevent null array to be passed to an ol.Collection ([@fredj](https://github.com/fredj))
|
* [#3845](https://github.com/openlayers/ol3/pull/3845) - Prevent null array to be passed to an ol.Collection ([@fredj](https://github.com/fredj))
|
||||||
* [#3849](https://github.com/openlayers/openlayers/pull/3849) - Pad min. and sec. with leading zeros in DMS notation ([@pgiraud](https://github.com/pgiraud))
|
* [#3849](https://github.com/openlayers/ol3/pull/3849) - Pad min. and sec. with leading zeros in DMS notation ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#3842](https://github.com/openlayers/openlayers/pull/3842) - Adding a feature-animation example ([@pgiraud](https://github.com/pgiraud))
|
* [#3842](https://github.com/openlayers/ol3/pull/3842) - Adding a feature-animation example ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#3833](https://github.com/openlayers/openlayers/pull/3833) - Enable use of custom XHR loader for TileVector sources ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#3833](https://github.com/openlayers/ol3/pull/3833) - Enable use of custom XHR loader for TileVector sources ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#3834](https://github.com/openlayers/openlayers/pull/3834) - ArcGIS tiled example broken in Chrome ([@bartvde](https://github.com/bartvde))
|
* [#3834](https://github.com/openlayers/ol3/pull/3834) - ArcGIS tiled example broken in Chrome ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3829](https://github.com/openlayers/openlayers/pull/3829) - incorrect assert message ([@kzr-pzr](https://github.com/kzr-pzr))
|
* [#3829](https://github.com/openlayers/ol3/pull/3829) - incorrect assert message ([@kzr-pzr](https://github.com/kzr-pzr))
|
||||||
* [#3828](https://github.com/openlayers/openlayers/pull/3828) - Fix typo in upgrade notes ([@ahocevar](https://github.com/ahocevar))
|
* [#3828](https://github.com/openlayers/ol3/pull/3828) - Fix typo in upgrade notes ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3826](https://github.com/openlayers/openlayers/pull/3826) - Allow custom tileGrid in ol.source.XYZ ([@klokantech](https://github.com/klokantech))
|
* [#3826](https://github.com/openlayers/ol3/pull/3826) - Allow custom tileGrid in ol.source.XYZ ([@klokantech](https://github.com/klokantech))
|
||||||
* [#3815](https://github.com/openlayers/openlayers/pull/3815) - Simplify tilegrid API and internals ([@ahocevar](https://github.com/ahocevar))
|
* [#3815](https://github.com/openlayers/ol3/pull/3815) - Simplify tilegrid API and internals ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3820](https://github.com/openlayers/openlayers/pull/3820) - Make unmanaged vector layers behave more like ol.FeatureOverlay ([@ahocevar](https://github.com/ahocevar))
|
* [#3820](https://github.com/openlayers/ol3/pull/3820) - Make unmanaged vector layers behave more like ol.FeatureOverlay ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3822](https://github.com/openlayers/openlayers/pull/3822) - Correct docs for updateWhileInteracting ([@probins](https://github.com/probins))
|
* [#3822](https://github.com/openlayers/ol3/pull/3822) - Correct docs for updateWhileInteracting ([@probins](https://github.com/probins))
|
||||||
* [#3818](https://github.com/openlayers/openlayers/pull/3818) - Make geometry.transform api stable again. ([@probins](https://github.com/probins))
|
* [#3818](https://github.com/openlayers/ol3/pull/3818) - Make geometry.transform api stable again. ([@probins](https://github.com/probins))
|
||||||
* [#3801](https://github.com/openlayers/openlayers/pull/3801) - Respect the tile grid's extent in ol.source.TileVector ([@ahocevar](https://github.com/ahocevar))
|
* [#3801](https://github.com/openlayers/ol3/pull/3801) - Respect the tile grid's extent in ol.source.TileVector ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3810](https://github.com/openlayers/openlayers/pull/3810) - Improve TileGrid documentation and examples ([@ahocevar](https://github.com/ahocevar))
|
* [#3810](https://github.com/openlayers/ol3/pull/3810) - Improve TileGrid documentation and examples ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3808](https://github.com/openlayers/openlayers/pull/3808) - Correct typo in OverlayOptions ([@probins](https://github.com/probins))
|
* [#3808](https://github.com/openlayers/ol3/pull/3808) - Correct typo in OverlayOptions ([@probins](https://github.com/probins))
|
||||||
* [#3766](https://github.com/openlayers/openlayers/pull/3766) - Add a clickTolerance option to the Draw interaction ([@elemoine](https://github.com/elemoine))
|
* [#3766](https://github.com/openlayers/ol3/pull/3766) - Add a clickTolerance option to the Draw interaction ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3804](https://github.com/openlayers/openlayers/pull/3804) - Remove sentence that was only meant for WMTS tile grids ([@ahocevar](https://github.com/ahocevar))
|
* [#3804](https://github.com/openlayers/ol3/pull/3804) - Remove sentence that was only meant for WMTS tile grids ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3800](https://github.com/openlayers/openlayers/pull/3800) - Remove further references to FeatureOverlay ([@probins](https://github.com/probins))
|
* [#3800](https://github.com/openlayers/ol3/pull/3800) - Remove further references to FeatureOverlay ([@probins](https://github.com/probins))
|
||||||
* [#3780](https://github.com/openlayers/openlayers/pull/3780) - Only expose transformed tile coordinates to the API ([@ahocevar](https://github.com/ahocevar))
|
* [#3780](https://github.com/openlayers/ol3/pull/3780) - Only expose transformed tile coordinates to the API ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3793](https://github.com/openlayers/openlayers/pull/3793) - Use 'managed' instead of 'unmanaged' in LayerState ([@ahocevar](https://github.com/ahocevar))
|
* [#3793](https://github.com/openlayers/ol3/pull/3793) - Use 'managed' instead of 'unmanaged' in LayerState ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3792](https://github.com/openlayers/openlayers/pull/3792) - Link to correct layer base class ([@marcjansen](https://github.com/marcjansen))
|
* [#3792](https://github.com/openlayers/ol3/pull/3792) - Link to correct layer base class ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3791](https://github.com/openlayers/openlayers/pull/3791) - Remove docs referring to removed feature overlay ([@marcjansen](https://github.com/marcjansen))
|
* [#3791](https://github.com/openlayers/ol3/pull/3791) - Remove docs referring to removed feature overlay ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#3790](https://github.com/openlayers/openlayers/pull/3790) - Remove unnecessary quotes around object keys ([@fredj](https://github.com/fredj))
|
* [#3790](https://github.com/openlayers/ol3/pull/3790) - Remove unnecessary quotes around object keys ([@fredj](https://github.com/fredj))
|
||||||
* [#3787](https://github.com/openlayers/openlayers/pull/3787) - Add 'unmanaged' to ol.layer.LayerState ([@ahocevar](https://github.com/ahocevar))
|
* [#3787](https://github.com/openlayers/ol3/pull/3787) - Add 'unmanaged' to ol.layer.LayerState ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3784](https://github.com/openlayers/openlayers/pull/3784) - Always write the GeoJSONFeature geometry property ([@fredj](https://github.com/fredj))
|
* [#3784](https://github.com/openlayers/ol3/pull/3784) - Always write the GeoJSONFeature geometry property ([@fredj](https://github.com/fredj))
|
||||||
* [#3783](https://github.com/openlayers/openlayers/pull/3783) - Fix broken wmts-hidpi example ([@ahocevar](https://github.com/ahocevar))
|
* [#3783](https://github.com/openlayers/ol3/pull/3783) - Fix broken wmts-hidpi example ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3782](https://github.com/openlayers/openlayers/pull/3782) - Fix assert documentation typo ([@gberaudo](https://github.com/gberaudo))
|
* [#3782](https://github.com/openlayers/ol3/pull/3782) - Fix assert documentation typo ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#3758](https://github.com/openlayers/openlayers/pull/3758) - Removal of ol.FeatureOverlay ([@ahocevar](https://github.com/ahocevar))
|
* [#3758](https://github.com/openlayers/ol3/pull/3758) - Removal of ol.FeatureOverlay ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3775](https://github.com/openlayers/openlayers/pull/3775) - Add ol-touch but keep ol-viewport className. ([@pgiraud](https://github.com/pgiraud))
|
* [#3775](https://github.com/openlayers/ol3/pull/3775) - Add ol-touch but keep ol-viewport className. ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#3713](https://github.com/openlayers/openlayers/pull/3713) - Add missing propertyNames member for olx.format.WFSWriteGetFeatureOptions ([@bartvde](https://github.com/bartvde))
|
* [#3713](https://github.com/openlayers/ol3/pull/3713) - Add missing propertyNames member for olx.format.WFSWriteGetFeatureOptions ([@bartvde](https://github.com/bartvde))
|
||||||
* [#3763](https://github.com/openlayers/openlayers/pull/3763) - Standardise draw/modify descriptions ([@probins](https://github.com/probins))
|
* [#3763](https://github.com/openlayers/ol3/pull/3763) - Standardise draw/modify descriptions ([@probins](https://github.com/probins))
|
||||||
|
|||||||
@@ -6,36 +6,36 @@ The v3.8.0 release includes features and fixes from 33 pull requests since v3.7.
|
|||||||
|
|
||||||
## New features and fixes
|
## New features and fixes
|
||||||
|
|
||||||
* [#3957](https://github.com/openlayers/openlayers/pull/3957) - Properly handle vertex deletion with multiple features. ([@tschaub](https://github.com/tschaub))
|
* [#3957](https://github.com/openlayers/ol3/pull/3957) - Properly handle vertex deletion with multiple features. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3954](https://github.com/openlayers/openlayers/pull/3954) - Remove ol.control.Control.bindMouseOutFocusOutBlur function. ([@fredj](https://github.com/fredj))
|
* [#3954](https://github.com/openlayers/ol3/pull/3954) - Remove ol.control.Control.bindMouseOutFocusOutBlur function. ([@fredj](https://github.com/fredj))
|
||||||
* [#3214](https://github.com/openlayers/openlayers/pull/3214) - Pixel manipulation with raster sources. ([@tschaub](https://github.com/tschaub))
|
* [#3214](https://github.com/openlayers/ol3/pull/3214) - Pixel manipulation with raster sources. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3946](https://github.com/openlayers/openlayers/pull/3946) - Fix vertex deletion for Modify interaction on mobile devices. ([@Turbo87](https://github.com/Turbo87))
|
* [#3946](https://github.com/openlayers/ol3/pull/3946) - Fix vertex deletion for Modify interaction on mobile devices. ([@Turbo87](https://github.com/Turbo87))
|
||||||
* [#3910](https://github.com/openlayers/openlayers/pull/3910) - Do not provide an AMD environment to ol.ext modules. ([@ahocevar](https://github.com/ahocevar))
|
* [#3910](https://github.com/openlayers/ol3/pull/3910) - Do not provide an AMD environment to ol.ext modules. ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3934](https://github.com/openlayers/openlayers/pull/3934) - Fix `drawstart` and `drawend` events when drawing a point ([@fredj](https://github.com/fredj))
|
* [#3934](https://github.com/openlayers/ol3/pull/3934) - Fix `drawstart` and `drawend` events when drawing a point ([@fredj](https://github.com/fredj))
|
||||||
* [#3774](https://github.com/openlayers/openlayers/pull/3774) - Measure tooltips touchdevice ([@pgiraud](https://github.com/pgiraud))
|
* [#3774](https://github.com/openlayers/ol3/pull/3774) - Measure tooltips touchdevice ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#3949](https://github.com/openlayers/openlayers/pull/3949) - Remove count argument from `called` function ([@fredj](https://github.com/fredj))
|
* [#3949](https://github.com/openlayers/ol3/pull/3949) - Remove count argument from `called` function ([@fredj](https://github.com/fredj))
|
||||||
* [#3950](https://github.com/openlayers/openlayers/pull/3950) - Remove reference to vbarray.js ([@elemoine](https://github.com/elemoine))
|
* [#3950](https://github.com/openlayers/ol3/pull/3950) - Remove reference to vbarray.js ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3947](https://github.com/openlayers/openlayers/pull/3947) - Clarify documentation of Image source ratio option. ([@alvinlindstam](https://github.com/alvinlindstam))
|
* [#3947](https://github.com/openlayers/ol3/pull/3947) - Clarify documentation of Image source ratio option. ([@alvinlindstam](https://github.com/alvinlindstam))
|
||||||
* [#3920](https://github.com/openlayers/openlayers/pull/3920) - Remove use_types_for_optimization from custom build tutorial. ([@probins](https://github.com/probins))
|
* [#3920](https://github.com/openlayers/ol3/pull/3920) - Remove use_types_for_optimization from custom build tutorial. ([@probins](https://github.com/probins))
|
||||||
* [#3922](https://github.com/openlayers/openlayers/pull/3922) - Document {?-?} pattern in expandUrl ([@probins](https://github.com/probins))
|
* [#3922](https://github.com/openlayers/ol3/pull/3922) - Document {?-?} pattern in expandUrl ([@probins](https://github.com/probins))
|
||||||
* [#3921](https://github.com/openlayers/openlayers/pull/3921) - Cache node_modules on Travis. ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#3921](https://github.com/openlayers/ol3/pull/3921) - Cache node_modules on Travis. ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#3942](https://github.com/openlayers/openlayers/pull/3942) - Fix WMTS TileMatrixSet lookup by SRS identifier ([@ahocevar](https://github.com/ahocevar))
|
* [#3942](https://github.com/openlayers/ol3/pull/3942) - Fix WMTS TileMatrixSet lookup by SRS identifier ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3945](https://github.com/openlayers/openlayers/pull/3945) - Simplify icon example and show popup at clicked position ([@ahocevar](https://github.com/ahocevar))
|
* [#3945](https://github.com/openlayers/ol3/pull/3945) - Simplify icon example and show popup at clicked position ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3930](https://github.com/openlayers/openlayers/pull/3930) - Use goog.functions.identity instead of goog.identityFunction ([@fredj](https://github.com/fredj))
|
* [#3930](https://github.com/openlayers/ol3/pull/3930) - Use goog.functions.identity instead of goog.identityFunction ([@fredj](https://github.com/fredj))
|
||||||
* [#3929](https://github.com/openlayers/openlayers/pull/3929) - Expand description for XYZ source ([@probins](https://github.com/probins))
|
* [#3929](https://github.com/openlayers/ol3/pull/3929) - Expand description for XYZ source ([@probins](https://github.com/probins))
|
||||||
* [#3933](https://github.com/openlayers/openlayers/pull/3933) - Snap center to pixel to avoid floating point issues ([@ahocevar](https://github.com/ahocevar))
|
* [#3933](https://github.com/openlayers/ol3/pull/3933) - Snap center to pixel to avoid floating point issues ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3932](https://github.com/openlayers/openlayers/pull/3932) - SnapOptions: Fix typo in pixelTolerance JSDoc ([@Turbo87](https://github.com/Turbo87))
|
* [#3932](https://github.com/openlayers/ol3/pull/3932) - SnapOptions: Fix typo in pixelTolerance JSDoc ([@Turbo87](https://github.com/Turbo87))
|
||||||
* [#3931](https://github.com/openlayers/openlayers/pull/3931) - Remove unused htmlparser2 package ([@fredj](https://github.com/fredj))
|
* [#3931](https://github.com/openlayers/ol3/pull/3931) - Remove unused htmlparser2 package ([@fredj](https://github.com/fredj))
|
||||||
* [#3912](https://github.com/openlayers/openlayers/pull/3912) - Fix the event type fired by goog.fx.Dragger ([@fredj](https://github.com/fredj))
|
* [#3912](https://github.com/openlayers/ol3/pull/3912) - Fix the event type fired by goog.fx.Dragger ([@fredj](https://github.com/fredj))
|
||||||
* [#3871](https://github.com/openlayers/openlayers/pull/3871) - Document change events properly ([@ahocevar](https://github.com/ahocevar))
|
* [#3871](https://github.com/openlayers/ol3/pull/3871) - Document change events properly ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3906](https://github.com/openlayers/openlayers/pull/3906) - Clear features properly when there is no spatial index ([@ahocevar](https://github.com/ahocevar))
|
* [#3906](https://github.com/openlayers/ol3/pull/3906) - Clear features properly when there is no spatial index ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3896](https://github.com/openlayers/openlayers/pull/3896) - Fire WebGL precompose event in same sequence as other renderers ([@ahocevar](https://github.com/ahocevar))
|
* [#3896](https://github.com/openlayers/ol3/pull/3896) - Fire WebGL precompose event in same sequence as other renderers ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3359](https://github.com/openlayers/openlayers/pull/3359) - Enable deep clone of MultiPolygon. ([@Kenny806](https://github.com/Kenny806))
|
* [#3359](https://github.com/openlayers/ol3/pull/3359) - Enable deep clone of MultiPolygon. ([@Kenny806](https://github.com/Kenny806))
|
||||||
* [#3895](https://github.com/openlayers/openlayers/pull/3895) - Rework the tile queue for multiple queues. ([@aisaacs](https://github.com/aisaacs))
|
* [#3895](https://github.com/openlayers/ol3/pull/3895) - Rework the tile queue for multiple queues. ([@aisaacs](https://github.com/aisaacs))
|
||||||
* [#3894](https://github.com/openlayers/openlayers/pull/3894) - Install Python dependencies without sudo. ([@tschaub](https://github.com/tschaub))
|
* [#3894](https://github.com/openlayers/ol3/pull/3894) - Install Python dependencies without sudo. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3824](https://github.com/openlayers/openlayers/pull/3824) - Improve docs for interaction.Select. ([@probins](https://github.com/probins))
|
* [#3824](https://github.com/openlayers/ol3/pull/3824) - Improve docs for interaction.Select. ([@probins](https://github.com/probins))
|
||||||
* [#3884](https://github.com/openlayers/openlayers/pull/3884) - Provide a debug loader for the library. ([@tschaub](https://github.com/tschaub))
|
* [#3884](https://github.com/openlayers/ol3/pull/3884) - Provide a debug loader for the library. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3883](https://github.com/openlayers/openlayers/pull/3883) - Ignore layer filter for unmanaged layers ([@ahocevar](https://github.com/ahocevar))
|
* [#3883](https://github.com/openlayers/ol3/pull/3883) - Ignore layer filter for unmanaged layers ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3859](https://github.com/openlayers/openlayers/pull/3859) - Add in crossOrigin option ([@llambanna](https://github.com/llambanna))
|
* [#3859](https://github.com/openlayers/ol3/pull/3859) - Add in crossOrigin option ([@llambanna](https://github.com/llambanna))
|
||||||
* [#3873](https://github.com/openlayers/openlayers/pull/3873) - Correct minor typo in modifyinteraction ([@probins](https://github.com/probins))
|
* [#3873](https://github.com/openlayers/ol3/pull/3873) - Correct minor typo in modifyinteraction ([@probins](https://github.com/probins))
|
||||||
* [#3872](https://github.com/openlayers/openlayers/pull/3872) - Correct event notations in ol.Feature ([@probins](https://github.com/probins))
|
* [#3872](https://github.com/openlayers/ol3/pull/3872) - Correct event notations in ol.Feature ([@probins](https://github.com/probins))
|
||||||
|
|||||||
@@ -4,4 +4,4 @@
|
|||||||
|
|
||||||
This is a patch release that updates the URL for builds shown in the examples. Details below.
|
This is a patch release that updates the URL for builds shown in the examples. Details below.
|
||||||
|
|
||||||
* [#3970](https://github.com/openlayers/openlayers/pull/3970) - Pull builds from openlayers.org. ([@tschaub](https://github.com/tschaub))
|
* [#3970](https://github.com/openlayers/ol3/pull/3970) - Pull builds from openlayers.org. ([@tschaub](https://github.com/tschaub))
|
||||||
|
|||||||
@@ -4,4 +4,4 @@
|
|||||||
|
|
||||||
This is a patch release that corrects the URL for builds shown in the examples. Details below.
|
This is a patch release that corrects the URL for builds shown in the examples. Details below.
|
||||||
|
|
||||||
* [#3979](https://github.com/openlayers/openlayers/pull/3979) - Fix URLs for openlayers.org resources. ([@tschaub](https://github.com/tschaub))
|
* [#3979](https://github.com/openlayers/ol3/pull/3979) - Fix URLs for openlayers.org resources. ([@tschaub](https://github.com/tschaub))
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
|
|
||||||
The v3.9.0 release includes features and fixes from 62 pull requests since the v3.8.2 release. New features include:
|
The v3.9.0 release includes features and fixes from 62 pull requests since the v3.8.2 release. New features include:
|
||||||
|
|
||||||
* [#3986](https://github.com/openlayers/openlayers/pull/3986) - Modify 'url' option of ol.source.Vector to accept a function ([@alvinlindstam](https://github.com/alvinlindstam))
|
* [#3986](https://github.com/openlayers/ol3/pull/3986) - Modify 'url' option of ol.source.Vector to accept a function ([@alvinlindstam](https://github.com/alvinlindstam))
|
||||||
* [#4069](https://github.com/openlayers/openlayers/pull/4069) - Add Z-index to layers ([@gberaudo](https://github.com/gberaudo))
|
* [#4069](https://github.com/openlayers/ol3/pull/4069) - Add Z-index to layers ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#4044](https://github.com/openlayers/openlayers/pull/4044) - Add ol.interaction.Draw#continueDrawing ([@elemoine](https://github.com/elemoine))
|
* [#4044](https://github.com/openlayers/ol3/pull/4044) - Add ol.interaction.Draw#continueDrawing ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4008](https://github.com/openlayers/openlayers/pull/4008) - Add a Translate interaction ([@elemoine](https://github.com/elemoine))
|
* [#4008](https://github.com/openlayers/ol3/pull/4008) - Add a Translate interaction ([@elemoine](https://github.com/elemoine))
|
||||||
|
|
||||||
See the complete list below for details. And see the following notes to know how to upgrade from v3.8.x to v3.9.0.
|
See the complete list below for details. And see the following notes to know how to upgrade from v3.8.x to v3.9.0.
|
||||||
|
|
||||||
@@ -27,65 +27,65 @@ if (circle.getStroke()) {
|
|||||||
|
|
||||||
## New features and fixes
|
## New features and fixes
|
||||||
|
|
||||||
* [#4055](https://github.com/openlayers/openlayers/pull/4055) - Improve graticule perf ([@fgravin](https://github.com/fgravin))
|
* [#4055](https://github.com/openlayers/ol3/pull/4055) - Improve graticule perf ([@fgravin](https://github.com/fgravin))
|
||||||
* [#4088](https://github.com/openlayers/openlayers/pull/4088) - Update jshint to v2.8.0 ([@fredj](https://github.com/fredj))
|
* [#4088](https://github.com/openlayers/ol3/pull/4088) - Update jshint to v2.8.0 ([@fredj](https://github.com/fredj))
|
||||||
* [#4089](https://github.com/openlayers/openlayers/pull/4089) - SelectEventType in ol.interaction namespace ([@pgiraud](https://github.com/pgiraud))
|
* [#4089](https://github.com/openlayers/ol3/pull/4089) - SelectEventType in ol.interaction namespace ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#4095](https://github.com/openlayers/openlayers/pull/4095) - Zoom to the extent of the drag box. ([@tschaub](https://github.com/tschaub))
|
* [#4095](https://github.com/openlayers/ol3/pull/4095) - Zoom to the extent of the drag box. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4084](https://github.com/openlayers/openlayers/pull/4084) - Fewer circle exports. ([@tschaub](https://github.com/tschaub))
|
* [#4084](https://github.com/openlayers/ol3/pull/4084) - Fewer circle exports. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4094](https://github.com/openlayers/openlayers/pull/4094) - Allow source.setAttributions() to be exported. ([@tschaub](https://github.com/tschaub))
|
* [#4094](https://github.com/openlayers/ol3/pull/4094) - Allow source.setAttributions() to be exported. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4096](https://github.com/openlayers/openlayers/pull/4096) - Reinstate inheritdoc to fix #4082 ([@bjornharrtell](https://github.com/bjornharrtell))
|
* [#4096](https://github.com/openlayers/ol3/pull/4096) - Reinstate inheritdoc to fix #4082 ([@bjornharrtell](https://github.com/bjornharrtell))
|
||||||
* [#4091](https://github.com/openlayers/openlayers/pull/4091) - Remove unused ol.renderer.webgl.Map.DEFAULT_COLOR_VALUES_ ([@fredj](https://github.com/fredj))
|
* [#4091](https://github.com/openlayers/ol3/pull/4091) - Remove unused ol.renderer.webgl.Map.DEFAULT_COLOR_VALUES_ ([@fredj](https://github.com/fredj))
|
||||||
* [#4092](https://github.com/openlayers/openlayers/pull/4092) - Minor coding style fixes ([@fredj](https://github.com/fredj))
|
* [#4092](https://github.com/openlayers/ol3/pull/4092) - Minor coding style fixes ([@fredj](https://github.com/fredj))
|
||||||
* [#4083](https://github.com/openlayers/openlayers/pull/4083) - Add API descriptions. ([@tschaub](https://github.com/tschaub))
|
* [#4083](https://github.com/openlayers/ol3/pull/4083) - Add API descriptions. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4078](https://github.com/openlayers/openlayers/pull/4078) - Enable all the compiler checks ([@fredj](https://github.com/fredj))
|
* [#4078](https://github.com/openlayers/ol3/pull/4078) - Enable all the compiler checks ([@fredj](https://github.com/fredj))
|
||||||
* [#4085](https://github.com/openlayers/openlayers/pull/4085) - Parse nested document tag ([@oterral](https://github.com/oterral))
|
* [#4085](https://github.com/openlayers/ol3/pull/4085) - Parse nested document tag ([@oterral](https://github.com/oterral))
|
||||||
* [#4060](https://github.com/openlayers/openlayers/pull/4060) - Remove unnecessary cast ([@fredj](https://github.com/fredj))
|
* [#4060](https://github.com/openlayers/ol3/pull/4060) - Remove unnecessary cast ([@fredj](https://github.com/fredj))
|
||||||
* [#4064](https://github.com/openlayers/openlayers/pull/4064) - Use a private variable to cache the default style array ([@fredj](https://github.com/fredj))
|
* [#4064](https://github.com/openlayers/ol3/pull/4064) - Use a private variable to cache the default style array ([@fredj](https://github.com/fredj))
|
||||||
* [#4081](https://github.com/openlayers/openlayers/pull/4081) - Update link to workshop. ([@tschaub](https://github.com/tschaub))
|
* [#4081](https://github.com/openlayers/ol3/pull/4081) - Update link to workshop. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4062](https://github.com/openlayers/openlayers/pull/4062) - Remove ol.xml.makeParsersNS and use ol.xml.makeStructureNS instead ([@fredj](https://github.com/fredj))
|
* [#4062](https://github.com/openlayers/ol3/pull/4062) - Remove ol.xml.makeParsersNS and use ol.xml.makeStructureNS instead ([@fredj](https://github.com/fredj))
|
||||||
* [#3986](https://github.com/openlayers/openlayers/pull/3986) - Modify 'url' option of ol.source.Vector to accept a function ([@alvinlindstam](https://github.com/alvinlindstam))
|
* [#3986](https://github.com/openlayers/ol3/pull/3986) - Modify 'url' option of ol.source.Vector to accept a function ([@alvinlindstam](https://github.com/alvinlindstam))
|
||||||
* [#4077](https://github.com/openlayers/openlayers/pull/4077) - Add missing const jsdoc annotation ([@fredj](https://github.com/fredj))
|
* [#4077](https://github.com/openlayers/ol3/pull/4077) - Add missing const jsdoc annotation ([@fredj](https://github.com/fredj))
|
||||||
* [#4080](https://github.com/openlayers/openlayers/pull/4080) - Remove unused goog.require in examples ([@fredj](https://github.com/fredj))
|
* [#4080](https://github.com/openlayers/ol3/pull/4080) - Remove unused goog.require in examples ([@fredj](https://github.com/fredj))
|
||||||
* [#4041](https://github.com/openlayers/openlayers/pull/4041) - Fix custom build issue ([@elemoine](https://github.com/elemoine))
|
* [#4041](https://github.com/openlayers/ol3/pull/4041) - Fix custom build issue ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4059](https://github.com/openlayers/openlayers/pull/4059) - Clarify drag interaction example to inform about ol.interaction.Translate ([@alvinlindstam](https://github.com/alvinlindstam))
|
* [#4059](https://github.com/openlayers/ol3/pull/4059) - Clarify drag interaction example to inform about ol.interaction.Translate ([@alvinlindstam](https://github.com/alvinlindstam))
|
||||||
* [#4069](https://github.com/openlayers/openlayers/pull/4069) - Add Z-index to layers ([@gberaudo](https://github.com/gberaudo))
|
* [#4069](https://github.com/openlayers/ol3/pull/4069) - Add Z-index to layers ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#4076](https://github.com/openlayers/openlayers/pull/4076) - Add assertion for required option 'code' on ol.proj.Projection ([@weskamm](https://github.com/weskamm))
|
* [#4076](https://github.com/openlayers/ol3/pull/4076) - Add assertion for required option 'code' on ol.proj.Projection ([@weskamm](https://github.com/weskamm))
|
||||||
* [#4075](https://github.com/openlayers/openlayers/pull/4075) - setOpacity of Image undefined ([@bartvde](https://github.com/bartvde))
|
* [#4075](https://github.com/openlayers/ol3/pull/4075) - setOpacity of Image undefined ([@bartvde](https://github.com/bartvde))
|
||||||
* [#4044](https://github.com/openlayers/openlayers/pull/4044) - Add ol.interaction.Draw#continueDrawing ([@elemoine](https://github.com/elemoine))
|
* [#4044](https://github.com/openlayers/ol3/pull/4044) - Add ol.interaction.Draw#continueDrawing ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4073](https://github.com/openlayers/openlayers/pull/4073) - Better type definition ([@fredj](https://github.com/fredj))
|
* [#4073](https://github.com/openlayers/ol3/pull/4073) - Better type definition ([@fredj](https://github.com/fredj))
|
||||||
* [#4072](https://github.com/openlayers/openlayers/pull/4072) - Update to closure-util 1.7.0 ([@elemoine](https://github.com/elemoine))
|
* [#4072](https://github.com/openlayers/ol3/pull/4072) - Update to closure-util 1.7.0 ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4070](https://github.com/openlayers/openlayers/pull/4070) - Make the debug server work regardless of the current working directory. ([@tschaub](https://github.com/tschaub))
|
* [#4070](https://github.com/openlayers/ol3/pull/4070) - Make the debug server work regardless of the current working directory. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4067](https://github.com/openlayers/openlayers/pull/4067) - Fix bootstrap class name in examples ([@fredj](https://github.com/fredj))
|
* [#4067](https://github.com/openlayers/ol3/pull/4067) - Fix bootstrap class name in examples ([@fredj](https://github.com/fredj))
|
||||||
* [#4050](https://github.com/openlayers/openlayers/pull/4050) - Use view.getRotation and view.getResolution instead of view.getState ([@fredj](https://github.com/fredj))
|
* [#4050](https://github.com/openlayers/ol3/pull/4050) - Use view.getRotation and view.getResolution instead of view.getState ([@fredj](https://github.com/fredj))
|
||||||
* [#4051](https://github.com/openlayers/openlayers/pull/4051) - Move wrench node package to devDependencies ([@fredj](https://github.com/fredj))
|
* [#4051](https://github.com/openlayers/ol3/pull/4051) - Move wrench node package to devDependencies ([@fredj](https://github.com/fredj))
|
||||||
* [#4047](https://github.com/openlayers/openlayers/pull/4047) - Remove pystache dependency ([@fredj](https://github.com/fredj))
|
* [#4047](https://github.com/openlayers/ol3/pull/4047) - Remove pystache dependency ([@fredj](https://github.com/fredj))
|
||||||
* [#4027](https://github.com/openlayers/openlayers/pull/4027) - closure-compiler v20150729 compatibility ([@fredj](https://github.com/fredj))
|
* [#4027](https://github.com/openlayers/ol3/pull/4027) - closure-compiler v20150729 compatibility ([@fredj](https://github.com/fredj))
|
||||||
* [#4040](https://github.com/openlayers/openlayers/pull/4040) - Better docs for ol.ENABLE_[WEBGL|CANVAS|DOM] ([@elemoine](https://github.com/elemoine))
|
* [#4040](https://github.com/openlayers/ol3/pull/4040) - Better docs for ol.ENABLE_[WEBGL|CANVAS|DOM] ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4032](https://github.com/openlayers/openlayers/pull/4032) - Improve ol.Overlay extensibility ([@gberaudo](https://github.com/gberaudo))
|
* [#4032](https://github.com/openlayers/ol3/pull/4032) - Improve ol.Overlay extensibility ([@gberaudo](https://github.com/gberaudo))
|
||||||
* [#4037](https://github.com/openlayers/openlayers/pull/4037) - Don't install python packages in before_install ([@fredj](https://github.com/fredj))
|
* [#4037](https://github.com/openlayers/ol3/pull/4037) - Don't install python packages in before_install ([@fredj](https://github.com/fredj))
|
||||||
* [#4028](https://github.com/openlayers/openlayers/pull/4028) - Update to closure-util 1.6 ([@elemoine](https://github.com/elemoine))
|
* [#4028](https://github.com/openlayers/ol3/pull/4028) - Update to closure-util 1.6 ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4014](https://github.com/openlayers/openlayers/pull/4014) - Remove deprecated checkStructDictInheritance ([@fredj](https://github.com/fredj))
|
* [#4014](https://github.com/openlayers/ol3/pull/4014) - Remove deprecated checkStructDictInheritance ([@fredj](https://github.com/fredj))
|
||||||
* [#3987](https://github.com/openlayers/openlayers/pull/3987) - Remove unnecessary cast ([@fredj](https://github.com/fredj))
|
* [#3987](https://github.com/openlayers/ol3/pull/3987) - Remove unnecessary cast ([@fredj](https://github.com/fredj))
|
||||||
* [#4035](https://github.com/openlayers/openlayers/pull/4035) - Remove unused sphere and ellipsoid methods. ([@tschaub](https://github.com/tschaub))
|
* [#4035](https://github.com/openlayers/ol3/pull/4035) - Remove unused sphere and ellipsoid methods. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#4031](https://github.com/openlayers/openlayers/pull/4031) - Fixing size of popup ([@pgiraud](https://github.com/pgiraud))
|
* [#4031](https://github.com/openlayers/ol3/pull/4031) - Fixing size of popup ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#4023](https://github.com/openlayers/openlayers/pull/4023) - Render map when layer.setMap(map) called ([@elemoine](https://github.com/elemoine))
|
* [#4023](https://github.com/openlayers/ol3/pull/4023) - Render map when layer.setMap(map) called ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4026](https://github.com/openlayers/openlayers/pull/4026) - Fix Font Awesome CSS class in examples ([@fredj](https://github.com/fredj))
|
* [#4026](https://github.com/openlayers/ol3/pull/4026) - Fix Font Awesome CSS class in examples ([@fredj](https://github.com/fredj))
|
||||||
* [#4024](https://github.com/openlayers/openlayers/pull/4024) - Correct documentation for ol.FeatureStyleFunction ([@marcjansen](https://github.com/marcjansen))
|
* [#4024](https://github.com/openlayers/ol3/pull/4024) - Correct documentation for ol.FeatureStyleFunction ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4011](https://github.com/openlayers/openlayers/pull/4011) - Make Modify interaction listen to feature changes ([@elemoine](https://github.com/elemoine))
|
* [#4011](https://github.com/openlayers/ol3/pull/4011) - Make Modify interaction listen to feature changes ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3917](https://github.com/openlayers/openlayers/pull/3917) - Resolved issue with cluster source reloading ([@cmiles74](https://github.com/cmiles74))
|
* [#3917](https://github.com/openlayers/ol3/pull/3917) - Resolved issue with cluster source reloading ([@cmiles74](https://github.com/cmiles74))
|
||||||
* [#4015](https://github.com/openlayers/openlayers/pull/4015) - Add a getUrls Method to ol.source.XYZ ([@weskamm](https://github.com/weskamm))
|
* [#4015](https://github.com/openlayers/ol3/pull/4015) - Add a getUrls Method to ol.source.XYZ ([@weskamm](https://github.com/weskamm))
|
||||||
* [#4019](https://github.com/openlayers/openlayers/pull/4019) - Simplify .editorconfig file ([@marcjansen](https://github.com/marcjansen))
|
* [#4019](https://github.com/openlayers/ol3/pull/4019) - Simplify .editorconfig file ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4002](https://github.com/openlayers/openlayers/pull/4002) - Update closure-library to latest commit ([@fredj](https://github.com/fredj))
|
* [#4002](https://github.com/openlayers/ol3/pull/4002) - Update closure-library to latest commit ([@fredj](https://github.com/fredj))
|
||||||
* [#4018](https://github.com/openlayers/openlayers/pull/4018) - Fix rotate buttons in animation example ([@marcjansen](https://github.com/marcjansen))
|
* [#4018](https://github.com/openlayers/ol3/pull/4018) - Fix rotate buttons in animation example ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4013](https://github.com/openlayers/openlayers/pull/4013) - Use a more recent version of marked ([@marcjansen](https://github.com/marcjansen))
|
* [#4013](https://github.com/openlayers/ol3/pull/4013) - Use a more recent version of marked ([@marcjansen](https://github.com/marcjansen))
|
||||||
* [#4017](https://github.com/openlayers/openlayers/pull/4017) - Do not overwrite projections in the registry simply by using `new ol.proj.Projection()` ([@ahocevar](https://github.com/ahocevar))
|
* [#4017](https://github.com/openlayers/ol3/pull/4017) - Do not overwrite projections in the registry simply by using `new ol.proj.Projection()` ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#4008](https://github.com/openlayers/openlayers/pull/4008) - Add a Translate interaction ([@elemoine](https://github.com/elemoine))
|
* [#4008](https://github.com/openlayers/ol3/pull/4008) - Add a Translate interaction ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3230](https://github.com/openlayers/openlayers/pull/3230) - Add stroke to default editing style for geometry collections ([@pgiraud](https://github.com/pgiraud))
|
* [#3230](https://github.com/openlayers/ol3/pull/3230) - Add stroke to default editing style for geometry collections ([@pgiraud](https://github.com/pgiraud))
|
||||||
* [#4007](https://github.com/openlayers/openlayers/pull/4007) - Do not use Function.prototype.bind in examples ([@elemoine](https://github.com/elemoine))
|
* [#4007](https://github.com/openlayers/ol3/pull/4007) - Do not use Function.prototype.bind in examples ([@elemoine](https://github.com/elemoine))
|
||||||
* [#4006](https://github.com/openlayers/openlayers/pull/4006) - Fix typo (vegetaion -> vegetation) ([@elemoine](https://github.com/elemoine))
|
* [#4006](https://github.com/openlayers/ol3/pull/4006) - Fix typo (vegetaion -> vegetation) ([@elemoine](https://github.com/elemoine))
|
||||||
* [#3993](https://github.com/openlayers/openlayers/pull/3993) - Replace base symbols with overridden ones when generating info.json ([@ahocevar](https://github.com/ahocevar))
|
* [#3993](https://github.com/openlayers/ol3/pull/3993) - Replace base symbols with overridden ones when generating info.json ([@ahocevar](https://github.com/ahocevar))
|
||||||
* [#3992](https://github.com/openlayers/openlayers/pull/3992) - Fix typo in Makefile ([@fredj](https://github.com/fredj))
|
* [#3992](https://github.com/openlayers/ol3/pull/3992) - Fix typo in Makefile ([@fredj](https://github.com/fredj))
|
||||||
* [#3989](https://github.com/openlayers/openlayers/pull/3989) - Handle JSONP errors in ol.source.TileJSON ([@fredj](https://github.com/fredj))
|
* [#3989](https://github.com/openlayers/ol3/pull/3989) - Handle JSONP errors in ol.source.TileJSON ([@fredj](https://github.com/fredj))
|
||||||
* [#3983](https://github.com/openlayers/openlayers/pull/3983) - Remove doc footer with timestamp. ([@tschaub](https://github.com/tschaub))
|
* [#3983](https://github.com/openlayers/ol3/pull/3983) - Remove doc footer with timestamp. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3984](https://github.com/openlayers/openlayers/pull/3984) - Style source control links in examples. ([@tschaub](https://github.com/tschaub))
|
* [#3984](https://github.com/openlayers/ol3/pull/3984) - Style source control links in examples. ([@tschaub](https://github.com/tschaub))
|
||||||
* [#3982](https://github.com/openlayers/openlayers/pull/3982) - Rebuild examples if package.json changes. ([@tschaub](https://github.com/tschaub))
|
* [#3982](https://github.com/openlayers/ol3/pull/3982) - Rebuild examples if package.json changes. ([@tschaub](https://github.com/tschaub))
|
||||||
|
|||||||
@@ -1,183 +0,0 @@
|
|||||||
# 4.0.0
|
|
||||||
|
|
||||||
Starting with this version, OpenLayers introduces [Semantic Versioning](http://semver.org). Unlike the switch from v2.x to v3.x, which marked a complete rewrite of the library with an entirely new API, major version increments now simply mean that users should pay attention to the *'Breaking changes'* section of the upgrade notes.
|
|
||||||
|
|
||||||
For users of mainstream bundlers and minifiers, OpenLayers is now also available as a set of ES2015 modules. See https://npmjs.com/package/ol/. With that package, bundling only the needed parts of the library with an application is now completely hassle free.
|
|
||||||
|
|
||||||
Version 4.0.0 includes enhancements and fixes from 107 pull requests since the previous release.
|
|
||||||
|
|
||||||
Among these changes, [#6381](https://github.com/openlayers/openlayers/pull/6381) adds an example which shows how to use [geojson-vt](https://www.npmjs.com/package/geojson-vt) for highly efficient rendering of GeoJSON data as vector tiles.
|
|
||||||
|
|
||||||
Several improvements were made to `ol.source.Zoomify`, including projection support ([#6387](https://github.com/openlayers/openlayers/pull/6387)) and support for URL templates ([#6475](https://github.com/openlayers/openlayers/pull/6475)).
|
|
||||||
|
|
||||||
Also the `ol.source.ImageArcGISRest` saw some enhancements, including HiDPI/Retina support and a fix that avoids non-integer DPI values ([#6300](https://github.com/openlayers/openlayers/pull/6300) and [#6467](https://github.com/openlayers/openlayers/pull/6467)).
|
|
||||||
|
|
||||||
On the topic of drawing tools, @tst-ppenev completed an effort to make the `ol.interaction.Modify` interaction support modification of `ol.geom.Circle` geometries ([#6457](https://github.com/openlayers/openlayers/pull/6457)).
|
|
||||||
|
|
||||||
|
|
||||||
## Breaking changes
|
|
||||||
|
|
||||||
### Simplified `ol.View#fit()` API
|
|
||||||
|
|
||||||
In most cases, it is no longer necessary to provide an `ol.Size` (previously the 2nd argument) to `ol.View#fit()`. By default, the size of the first map that uses the view will be used. If you want to specify a different size, it goes in the options now (previously the 3rd argument, now the 2nd).
|
|
||||||
|
|
||||||
Most common use case - old API:
|
|
||||||
```js
|
|
||||||
map.getView().fit(extent, map.getSize());
|
|
||||||
```
|
|
||||||
Most common use case - new API:
|
|
||||||
```js
|
|
||||||
map.getView().fit(extent);
|
|
||||||
```
|
|
||||||
Advanced use - old API:
|
|
||||||
```js
|
|
||||||
map.getView().fit(extent, [200, 100], {padding: 10});
|
|
||||||
```
|
|
||||||
Advanced use - new API:
|
|
||||||
```js
|
|
||||||
map.getView().fit(extent, {size: [200, 100], padding 10});
|
|
||||||
```
|
|
||||||
|
|
||||||
### Removal of deprecated methods
|
|
||||||
|
|
||||||
The deprecated `ol.animation` functions and `map.beforeRender()` method have been removed. Use `view.animate()` instead.
|
|
||||||
|
|
||||||
The `unByKey()` method has been removed from `ol.Observable` instances. Use the `ol.Observable.unByKey()` static function instead.
|
|
||||||
```js
|
|
||||||
var key = map.on('moveend', function() { ...});
|
|
||||||
map.unByKey(key);
|
|
||||||
```
|
|
||||||
New code:
|
|
||||||
```js
|
|
||||||
var key = map.on('moveend', function() { ...});
|
|
||||||
ol.Observable.unByKey(key);
|
|
||||||
```
|
|
||||||
|
|
||||||
## Upgrade notes
|
|
||||||
|
|
||||||
### Simpler `ol.source.Zoomify` `url` configuration
|
|
||||||
|
|
||||||
Instead specifying a base url, the `url` for the `ol.source.Zoomify` source can now be a template. The `{TileGroup}`, `{x}`, `{y}`, `{z}` and placeholders must be included in the `url` in this case. the `url` can now also include subdomain placeholders:
|
|
||||||
```js
|
|
||||||
new ol.source.Zoomify({
|
|
||||||
url: 'https://{a-f}.example.com/cgi-bin/iipsrv.fcgi?zoomify=/a/b/{TileGroup}/{z}-{x}-{y}.jpg'
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Removed build flags (`@define`)
|
|
||||||
|
|
||||||
The `ol.DEBUG`, `ol.ENABLE_TILE`, `ol.ENABLE_IMAGE`, `ol.ENABLE_VECTOR`, and `ol.ENABLE_VECTOR_TILE` build flags are no longer necessary and have been removed. If you were using these in a `define` array for a custom build, you can remove them.
|
|
||||||
|
|
||||||
If you leave `ol.ENABLE_WEBGL` set to `true` in your build, you should set `ol.DEBUG_WEBGL` to `false` to avoid including debuggable shader sources.
|
|
||||||
|
|
||||||
|
|
||||||
## List of all changes
|
|
||||||
|
|
||||||
* [#6477](https://github.com/openlayers/openlayers/pull/6477) - Save and restore context when rotating ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6475](https://github.com/openlayers/openlayers/pull/6475) - Use an url template for ol.source.Zoomify ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6478](https://github.com/openlayers/openlayers/pull/6478) - Update clean-css-cli to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6472](https://github.com/openlayers/openlayers/pull/6472) - Use fixed pixel ratio for hit tolerance tests ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6468](https://github.com/openlayers/openlayers/pull/6468) - Remove console.assert in ol.structs.PriorityQueue tests ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6467](https://github.com/openlayers/openlayers/pull/6467) - Round the DPI value in ol.source.ImageArcGISRest ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6466](https://github.com/openlayers/openlayers/pull/6466) - Small XML error in KML test ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6410](https://github.com/openlayers/openlayers/pull/6410) - fixed the degreesToStringHDMS_() function to promote a seconds value … ([@rjackson64840](https://github.com/rjackson64840))
|
|
||||||
* [#6461](https://github.com/openlayers/openlayers/pull/6461) - Add button to edit examples in CodePen ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6320](https://github.com/openlayers/openlayers/pull/6320) - Use the 'openlayers' tag instead of 'openlayers-3' ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6460](https://github.com/openlayers/openlayers/pull/6460) - Remove ol.Observable#unByKey ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6463](https://github.com/openlayers/openlayers/pull/6463) - chore(package): update clean-css-cli to version 4.0.5 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6459](https://github.com/openlayers/openlayers/pull/6459) - Use ol.coordinate.distance ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6457](https://github.com/openlayers/openlayers/pull/6457) - Add Circle Modification ([@tst-ppenev](https://github.com/tst-ppenev))
|
|
||||||
* [#6455](https://github.com/openlayers/openlayers/pull/6455) - Make all @api annotations imply stability ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6452](https://github.com/openlayers/openlayers/pull/6452) - Remove deprecated methods ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6361](https://github.com/openlayers/openlayers/pull/6361) - Remove "margin" at the bottom of the canvas ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6450](https://github.com/openlayers/openlayers/pull/6450) - Update coveralls to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6302](https://github.com/openlayers/openlayers/pull/6302) - Publish a package for use with ES module bundlers ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6446](https://github.com/openlayers/openlayers/pull/6446) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6445](https://github.com/openlayers/openlayers/pull/6445) - Fix pinch zooming ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6444](https://github.com/openlayers/openlayers/pull/6444) - Disallow pinch zooming beyond min/max resolution ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6443](https://github.com/openlayers/openlayers/pull/6443) - goog.require cleanup ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6439](https://github.com/openlayers/openlayers/pull/6439) - Improve tile render performance ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6442](https://github.com/openlayers/openlayers/pull/6442) - Fix missing goog.require ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6441](https://github.com/openlayers/openlayers/pull/6441) - Update metalsmith-layouts to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6437](https://github.com/openlayers/openlayers/pull/6437) - Fit on circle ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6427](https://github.com/openlayers/openlayers/pull/6427) - Ensure WMS width and height are always integers ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6432](https://github.com/openlayers/openlayers/pull/6432) - Use ol.proj.EPSG3857.WORLD_EXTENT in ol.source.TileImage tests ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6424](https://github.com/openlayers/openlayers/pull/6424) - Update dependencies to enable Greenkeeper 🌴 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6422](https://github.com/openlayers/openlayers/pull/6422) - Don't listen twice to move and end events in ol.control.ZoomSlider ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6426](https://github.com/openlayers/openlayers/pull/6426) - Add rewrite_polyfills to custom builds tutorial ([@probins](https://github.com/probins))
|
|
||||||
* [#6365](https://github.com/openlayers/openlayers/pull/6365) - Make enums for draw and modify interactions public ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#6294](https://github.com/openlayers/openlayers/pull/6294) - Update code for closure-compiler v20170124 ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6413](https://github.com/openlayers/openlayers/pull/6413) - Accept ol.StyleFunction in ol.Feature#setStyle() ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6398](https://github.com/openlayers/openlayers/pull/6398) - Be more tolerant of map and position value ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6399](https://github.com/openlayers/openlayers/pull/6399) - Small doc fix in VectorTileOptions renderMode ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6396](https://github.com/openlayers/openlayers/pull/6396) - Show current year in attribution in "HERE Map Tile API" example ([@chrismayer](https://github.com/chrismayer))
|
|
||||||
* [#6390](https://github.com/openlayers/openlayers/pull/6390) - Tag deprecated functions with @deprecated ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6370](https://github.com/openlayers/openlayers/pull/6370) - Feature apidoc, fix events and observable properties ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6376](https://github.com/openlayers/openlayers/pull/6376) - Make ol.format.filter.or/and accept n filter conditions ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#6393](https://github.com/openlayers/openlayers/pull/6393) - Only stop animation when animating ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6387](https://github.com/openlayers/openlayers/pull/6387) - Add projection option to ol.source.Zoomify ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6386](https://github.com/openlayers/openlayers/pull/6386) - Snap : only listen to change event triggered by the feature ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6383](https://github.com/openlayers/openlayers/pull/6383) - Modify interaction: check if interaction is active before drawing modifying vertex ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6381](https://github.com/openlayers/openlayers/pull/6381) - geojson-vt integration example ([@drnextgis](https://github.com/drnextgis))
|
|
||||||
* [#6373](https://github.com/openlayers/openlayers/pull/6373) - Use the ol.DEBUG_WEBGL flag to debug shader sources ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6379](https://github.com/openlayers/openlayers/pull/6379) - Set the overview map target in ol.control.OverviewMap.setMap ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6375](https://github.com/openlayers/openlayers/pull/6375) - Use present in license text ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#6371](https://github.com/openlayers/openlayers/pull/6371) - Adjust copyright to include 2017 ([@kolosov-sergey](https://github.com/kolosov-sergey))
|
|
||||||
* [#6364](https://github.com/openlayers/openlayers/pull/6364) - Make sure moveTo is called after beginPath ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6285](https://github.com/openlayers/openlayers/pull/6285) - Make size argument of ol.View#calculateExtent() optional ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6357](https://github.com/openlayers/openlayers/pull/6357) - Fix GeoJSONCRSCode definition ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6362](https://github.com/openlayers/openlayers/pull/6362) - Remove empty file ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6358](https://github.com/openlayers/openlayers/pull/6358) - Ensure polygons without stroke are fully filled ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6356](https://github.com/openlayers/openlayers/pull/6356) - Bring custom builds tutorial up to date ([@probins](https://github.com/probins))
|
|
||||||
* [#6359](https://github.com/openlayers/openlayers/pull/6359) - When applying a pending fill, also apply a pending stroke ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6360](https://github.com/openlayers/openlayers/pull/6360) - Remove ol.array.flatten function ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6353](https://github.com/openlayers/openlayers/pull/6353) - API doc : add highlight style to the active anchor ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6355](https://github.com/openlayers/openlayers/pull/6355) - Remove test.geojson which was accidently committed in 57342a6 ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6349](https://github.com/openlayers/openlayers/pull/6349) - Better documentation for icon-color example ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6351](https://github.com/openlayers/openlayers/pull/6351) - Only consider pointerdown event if the last pointerup has been emitted ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6345](https://github.com/openlayers/openlayers/pull/6345) - Mitigate rounding errors in GetMap width/height calculation ([@giohappy](https://github.com/giohappy))
|
|
||||||
* [#6344](https://github.com/openlayers/openlayers/pull/6344) - No special raster reprojection handling for Chrome ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6339](https://github.com/openlayers/openlayers/pull/6339) - Code cleanup ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6337](https://github.com/openlayers/openlayers/pull/6337) - Constrain center in DragZoom interaction ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6336](https://github.com/openlayers/openlayers/pull/6336) - Remove unused ol.format.Feature.getExtensions function ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6333](https://github.com/openlayers/openlayers/pull/6333) - Use API key for Thunderforest resources ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6300](https://github.com/openlayers/openlayers/pull/6300) - Add missing hidpi option for ol.source.ImageArcGISRest ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6109](https://github.com/openlayers/openlayers/pull/6109) - Export Map as PNG (IE issue) ([@NaveenKY](https://github.com/NaveenKY))
|
|
||||||
* [#6332](https://github.com/openlayers/openlayers/pull/6332) - Constrain the center in zoomByDelta ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6331](https://github.com/openlayers/openlayers/pull/6331) - Remove unused map parameter from ol.interaction.Interaction ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6326](https://github.com/openlayers/openlayers/pull/6326) - Add lineDashOffset to stroke style ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6328](https://github.com/openlayers/openlayers/pull/6328) - ol.geom.polygon documentation update on the coordinates format ([@quentin-ol](https://github.com/quentin-ol))
|
|
||||||
* [#6324](https://github.com/openlayers/openlayers/pull/6324) - Ensure resolution stays in range when pinching ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6329](https://github.com/openlayers/openlayers/pull/6329) - Fix WMTS theme location for sea-levels layer ([@thomasmoelhave](https://github.com/thomasmoelhave))
|
|
||||||
* [#6323](https://github.com/openlayers/openlayers/pull/6323) - Fix typo in Introduction ([@hdsnet](https://github.com/hdsnet))
|
|
||||||
* [#6305](https://github.com/openlayers/openlayers/pull/6305) - Moved hit Tolerance parameter to own example. ([@KlausBenndorf](https://github.com/KlausBenndorf))
|
|
||||||
* [#6319](https://github.com/openlayers/openlayers/pull/6319) - Remove the '3' from OpenLayers ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6314](https://github.com/openlayers/openlayers/pull/6314) - WebGL conditional compilation ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6313](https://github.com/openlayers/openlayers/pull/6313) - Remove ol.DEBUG ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6317](https://github.com/openlayers/openlayers/pull/6317) - Update sinon to version 1.17.7 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6312](https://github.com/openlayers/openlayers/pull/6312) - Make layers responsible for creating layer renderers ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6308](https://github.com/openlayers/openlayers/pull/6308) - Dedicated modules for shared enums ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6307](https://github.com/openlayers/openlayers/pull/6307) - Dedicated modules for enums ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6297](https://github.com/openlayers/openlayers/pull/6297) - Update resemblejs to version 2.2.3 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6296](https://github.com/openlayers/openlayers/pull/6296) - Fix #6295. Update reference link in sphere.js ([@jbelien](https://github.com/jbelien))
|
|
||||||
* [#6255](https://github.com/openlayers/openlayers/pull/6255) - Don't reset the css cursor if it's not needed ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6290](https://github.com/openlayers/openlayers/pull/6290) - Use interim tiles ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6291](https://github.com/openlayers/openlayers/pull/6291) - Document olx.AtPixelOptions#hitTolerance default value ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6283](https://github.com/openlayers/openlayers/pull/6283) - Avoid modifying coordinate in forEachLayerAtCoordinate ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6278](https://github.com/openlayers/openlayers/pull/6278) - Add missing require for ol.View ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6280](https://github.com/openlayers/openlayers/pull/6280) - Continue loading tiles when image is not ready yet ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6277](https://github.com/openlayers/openlayers/pull/6277) - Name modules more like their provide ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6264](https://github.com/openlayers/openlayers/pull/6264) - Remove the requirement to provide a size to ol.View#fit() ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6274](https://github.com/openlayers/openlayers/pull/6274) - Update clean-css to version 3.4.23 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6269](https://github.com/openlayers/openlayers/pull/6269) - Update derequire to version 2.0.6 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6270](https://github.com/openlayers/openlayers/pull/6270) - Add a magnify example ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6261](https://github.com/openlayers/openlayers/pull/6261) - Fit Zoomify view to image extent ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6259](https://github.com/openlayers/openlayers/pull/6259) - Simplify Zoomify example ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6260](https://github.com/openlayers/openlayers/pull/6260) - Enhance documentation for ol.View#fit ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#6258](https://github.com/openlayers/openlayers/pull/6258) - Set geometry name properly ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6251](https://github.com/openlayers/openlayers/pull/6251) - Take image pixel ratio into account for rendered resolution ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6244](https://github.com/openlayers/openlayers/pull/6244) - Enforces spacing around commas ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6246](https://github.com/openlayers/openlayers/pull/6246) - Re-render vector tiles when layer has changed ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6243](https://github.com/openlayers/openlayers/pull/6243) - Consistent spacing between keys and values in object literal ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6238](https://github.com/openlayers/openlayers/pull/6238) - Update eslint to version 3.12.1 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6236](https://github.com/openlayers/openlayers/pull/6236) - Update clean-css to version 3.4.22 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# 4.0.1
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The v4.0.1 release is a patch release that addresses a regression in the v4.0.0 release. The fix makes pinch zooming work again properly when the two fingers are not placed on the screen at the same time.
|
|
||||||
|
|
||||||
See the [v4.0.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v4.0.0) for details on upgrading from v3.20.x.
|
|
||||||
|
|
||||||
## Fix
|
|
||||||
|
|
||||||
* [#6486](https://github.com/openlayers/openlayers/pull/6486) - Do not set center when touches count has changed ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
@@ -1,127 +0,0 @@
|
|||||||
# 4.1.0
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The v4.1.0 release includes features and fixes from 91 pull requests.
|
|
||||||
|
|
||||||
#### Interactive overview map
|
|
||||||
|
|
||||||
The extent rectangle on the overview map can now be dragged to control the view for the main map.
|
|
||||||
|
|
||||||
#### Setting min and max zoom for a view
|
|
||||||
|
|
||||||
You can now change the min or max zoom for a view after it has been created. This can be useful if you want to limit how far out users can zoom based on changes in viewport width (use `view.setMinZoom()` for this).
|
|
||||||
|
|
||||||
#### Adding duplicate layers to a map throws
|
|
||||||
|
|
||||||
Previously, you could do this:
|
|
||||||
```js
|
|
||||||
map.addLayer(layer);
|
|
||||||
map.addLayer(layer);
|
|
||||||
```
|
|
||||||
|
|
||||||
However, after adding a duplicate layer, things failed if you tried to remove that layer.
|
|
||||||
|
|
||||||
Now, `map.addLayer()` throws if you try adding a layer that has already been added to the map.
|
|
||||||
|
|
||||||
#### Simpler `constrainResolution` configuration
|
|
||||||
|
|
||||||
The `constrainResolution` configuration for `ol.interaction.PinchZoom` and `ol.interaction.MouseWheelZoom`
|
|
||||||
can now be set directly with an option in `ol.interaction.defaults`:
|
|
||||||
```js
|
|
||||||
ol.interaction.defaults({
|
|
||||||
constrainResolution: true
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
## Detailed changes
|
|
||||||
|
|
||||||
* [#6675](https://github.com/openlayers/openlayers/pull/6675) - Reset cursor when translate interaction is removed or deactivated ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6707](https://github.com/openlayers/openlayers/pull/6707) - Set version when building ol package ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6706](https://github.com/openlayers/openlayers/pull/6706) - Add ol.source.Cluster#getDistance function ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6695](https://github.com/openlayers/openlayers/pull/6695) - Unique layers ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6704](https://github.com/openlayers/openlayers/pull/6704) - Include typedefs.js in closure compiler tutorial build configurations ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6702](https://github.com/openlayers/openlayers/pull/6702) - Update clean-css-cli to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6693](https://github.com/openlayers/openlayers/pull/6693) - Update clean-css-cli to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6691](https://github.com/openlayers/openlayers/pull/6691) - Move eslint globals to to test/.eslintrc ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6689](https://github.com/openlayers/openlayers/pull/6689) - Add new constrainResolution option to olx.interaction.DefaultsOptions ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6692](https://github.com/openlayers/openlayers/pull/6692) - Improve docs for MouseWheelZoom constrainResolution ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6687](https://github.com/openlayers/openlayers/pull/6687) - Clip image only if the layer extent intersects the view extent ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6686](https://github.com/openlayers/openlayers/pull/6686) - Update finishCoordinate in ol.interaction.Draw#removeLastPoint ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6682](https://github.com/openlayers/openlayers/pull/6682) - Add example, docs and typedef for MouseWheelZoom's constrainResolution option ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6683](https://github.com/openlayers/openlayers/pull/6683) - Add this jsdoc tag to ol.interaction.DragBox.defaultBoxEndCondition ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6681](https://github.com/openlayers/openlayers/pull/6681) - Add constrainResolution in olx.interaction.PinchZoomOptions typedef ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6671](https://github.com/openlayers/openlayers/pull/6671) - Add constraintResolution option to MouseWheelZoom for zoom with trackpad ([@kaiCu](https://github.com/kaiCu))
|
|
||||||
* [#6680](https://github.com/openlayers/openlayers/pull/6680) - Remove ol.DRAG_BOX_HYSTERESIS_PIXELS define and add option ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6666](https://github.com/openlayers/openlayers/pull/6666) - Use the optional extent in ol.structs.RBush#getExtent ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6670](https://github.com/openlayers/openlayers/pull/6670) - fix(package): update browserify to version 14.3.0 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6664](https://github.com/openlayers/openlayers/pull/6664) - Update async to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6659](https://github.com/openlayers/openlayers/pull/6659) - Add crossOrigin to examples using ol.style.Icon ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6658](https://github.com/openlayers/openlayers/pull/6658) - Fixes for raster source rendering ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6620](https://github.com/openlayers/openlayers/pull/6620) - Fix the parsing of flat coordinates in GML2 for 3D geometies ([@Jenselme](https://github.com/Jenselme))
|
|
||||||
* [#6657](https://github.com/openlayers/openlayers/pull/6657) - Update coveralls to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6644](https://github.com/openlayers/openlayers/pull/6644) - Allow minZoom and maxZoom to be set on a view ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6636](https://github.com/openlayers/openlayers/pull/6636) - Add test for the metric unit displayed in the scaleline ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6598](https://github.com/openlayers/openlayers/pull/6598) - Add support of micrometers to scaleline ([@hajjimurad](https://github.com/hajjimurad))
|
|
||||||
* [#6643](https://github.com/openlayers/openlayers/pull/6643) - Add common transforms by default ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6567](https://github.com/openlayers/openlayers/pull/6567) - Overlay visible before updating render position ([@nagytech](https://github.com/nagytech))
|
|
||||||
* [#6634](https://github.com/openlayers/openlayers/pull/6634) - Fix custom build when openlayers is installed from yarn package manager ([@Toilal](https://github.com/Toilal))
|
|
||||||
* [#6639](https://github.com/openlayers/openlayers/pull/6639) - Update async to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6635](https://github.com/openlayers/openlayers/pull/6635) - Add missing externs to custom builds examples ([@Toilal](https://github.com/Toilal))
|
|
||||||
* [#6631](https://github.com/openlayers/openlayers/pull/6631) - Fix request image size caclulation ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6627](https://github.com/openlayers/openlayers/pull/6627) - Change css selector for user-select none ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#6626](https://github.com/openlayers/openlayers/pull/6626) - Respect cacheSize for reprojected caches ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6623](https://github.com/openlayers/openlayers/pull/6623) - Fix outerWidth and outerHeight calculation in IE ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6625](https://github.com/openlayers/openlayers/pull/6625) - Update clean-css-cli to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6622](https://github.com/openlayers/openlayers/pull/6622) - Fix proj4 type ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#6617](https://github.com/openlayers/openlayers/pull/6617) - Use GeoServer/GWC caching when possible ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6614](https://github.com/openlayers/openlayers/pull/6614) - Filter write util method ([@adube](https://github.com/adube))
|
|
||||||
* [#6616](https://github.com/openlayers/openlayers/pull/6616) - Fix closing tag in gml tests ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6612](https://github.com/openlayers/openlayers/pull/6612) - Add support for WFS 1.0.0 to ol.format.WFS#writeTransaction ([@Jenselme](https://github.com/Jenselme))
|
|
||||||
* [#5887](https://github.com/openlayers/openlayers/pull/5887) - Interactive overview map ([@felixveysseyre](https://github.com/felixveysseyre))
|
|
||||||
* [#6610](https://github.com/openlayers/openlayers/pull/6610) - Fix event type case of MSPointerDown ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6611](https://github.com/openlayers/openlayers/pull/6611) - Update jquery to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6609](https://github.com/openlayers/openlayers/pull/6609) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6606](https://github.com/openlayers/openlayers/pull/6606) - Reset dragSegments after vertex deletion ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6523](https://github.com/openlayers/openlayers/pull/6523) - Add Gml2 serializers to support WFS-T 1.0.0 ([@Jenselme](https://github.com/Jenselme))
|
|
||||||
* [#6579](https://github.com/openlayers/openlayers/pull/6579) - Update slimerjs to v0.10.3 ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6577](https://github.com/openlayers/openlayers/pull/6577) - Adding crossOrigin to optionsFromCapabilities ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6604](https://github.com/openlayers/openlayers/pull/6604) - Fix RegularShape documentation ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6603](https://github.com/openlayers/openlayers/pull/6603) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6601](https://github.com/openlayers/openlayers/pull/6601) - Update jquery to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6600](https://github.com/openlayers/openlayers/pull/6600) - Update fs-extra to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6578](https://github.com/openlayers/openlayers/pull/6578) - Add ol.RenderOrderFunction typedef ([@icholy](https://github.com/icholy))
|
|
||||||
* [#6589](https://github.com/openlayers/openlayers/pull/6589) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6592](https://github.com/openlayers/openlayers/pull/6592) - Update clean-css-cli to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6594](https://github.com/openlayers/openlayers/pull/6594) - Update fs-extra to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6580](https://github.com/openlayers/openlayers/pull/6580) - Remove unused esprima package ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6570](https://github.com/openlayers/openlayers/pull/6570) - Don't use deprecated sinon.stub(obj, 'meth', fn) ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6569](https://github.com/openlayers/openlayers/pull/6569) - Return null if the layer was not found in the WMTS capabilities ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6551](https://github.com/openlayers/openlayers/pull/6551) - Use the default fill and stroke color ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6560](https://github.com/openlayers/openlayers/pull/6560) - Don’t crash if feature loader xhr response returns 500 ([@geosense](https://github.com/geosense))
|
|
||||||
* [#6559](https://github.com/openlayers/openlayers/pull/6559) - Remove unneeded type cast ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6558](https://github.com/openlayers/openlayers/pull/6558) - Update coveralls to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6553](https://github.com/openlayers/openlayers/pull/6553) - Update proj4 to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6554](https://github.com/openlayers/openlayers/pull/6554) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6549](https://github.com/openlayers/openlayers/pull/6549) - Make getAnimating and cancelAnimations @api ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#6547](https://github.com/openlayers/openlayers/pull/6547) - Clean up left-over code from animation changes ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#6540](https://github.com/openlayers/openlayers/pull/6540) - More precise ol.Geolocation#getAccuracyGeometry return type ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6539](https://github.com/openlayers/openlayers/pull/6539) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6535](https://github.com/openlayers/openlayers/pull/6535) - Update closure-util to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6529](https://github.com/openlayers/openlayers/pull/6529) - Update clean-css-cli to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6530](https://github.com/openlayers/openlayers/pull/6530) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6515](https://github.com/openlayers/openlayers/pull/6515) - Add view methods for getting max zoom, min zoom, and any zoom for a resolution ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6520](https://github.com/openlayers/openlayers/pull/6520) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6518](https://github.com/openlayers/openlayers/pull/6518) - Fix olx.style.IconOptions.prototype.src type ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6513](https://github.com/openlayers/openlayers/pull/6513) - Update async to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6512](https://github.com/openlayers/openlayers/pull/6512) - Complete animations at target values ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6511](https://github.com/openlayers/openlayers/pull/6511) - Revert accidently committed example change ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6507](https://github.com/openlayers/openlayers/pull/6507) - ol.DEBUG no longer needed in transforms/module.js ([@probins](https://github.com/probins))
|
|
||||||
* [#6505](https://github.com/openlayers/openlayers/pull/6505) - Update ol package to include Browserify config ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6504](https://github.com/openlayers/openlayers/pull/6504) - Determine if we should handle the drawing while the pointer is moving ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6499](https://github.com/openlayers/openlayers/pull/6499) - Be more tolerant when comparing vertices when modifying a circle ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6498](https://github.com/openlayers/openlayers/pull/6498) - Travis failing on master - use Node v6.1.x ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6493](https://github.com/openlayers/openlayers/pull/6493) - Vector tile cleanup ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6483](https://github.com/openlayers/openlayers/pull/6483) - Fix renderer.canvas.TileLayer to calculate correct canvas height for drawing. ([@nearmap](https://github.com/nearmap))
|
|
||||||
* [#6488](https://github.com/openlayers/openlayers/pull/6488) - Do not draw circle when pointer not moved and freehand is on ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6491](https://github.com/openlayers/openlayers/pull/6491) - Update clean-css-cli to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# 4.1.1
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
This is a patch release to fix several minor issues and two regressions in the [4.1.0 release](https://github.com/openlayers/openlayers/releases/tag/v4.1.0).
|
|
||||||
|
|
||||||
## Changes
|
|
||||||
|
|
||||||
* [#6711](https://github.com/openlayers/openlayers/pull/6711) - Correct path to cleancss ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6728](https://github.com/openlayers/openlayers/pull/6728) - Fix tissot examples docs ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6732](https://github.com/openlayers/openlayers/pull/6732) - Use firefox < 53 in travis ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6741](https://github.com/openlayers/openlayers/pull/6741) - Allow user selection in overlay container ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6755](https://github.com/openlayers/openlayers/pull/6755) - Add missing goog.require ([@fredj](https://github.com/fredj))
|
|
||||||
@@ -1,151 +0,0 @@
|
|||||||
# 4.2.0
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The v4.2.0 release includes features and fixes from 87 pull requests.
|
|
||||||
|
|
||||||
#### New `movestart` event on `ol.Map`
|
|
||||||
|
|
||||||
The map now has a `movestart` event, as countarpart to the already existing `moveend` event.
|
|
||||||
|
|
||||||
#### New `moveTolerance` option in `ol.Map`
|
|
||||||
|
|
||||||
Some touch devices do not play well with OpenLayers's way of detecting clicks. To overcome this, a new `moveTolerance` option was introduced, so users can override the 1 pixel threshold above which a touch-release sequence won't be considered a click any more.
|
|
||||||
|
|
||||||
#### Support for multiple layers in `ol.format.TopoJSON`
|
|
||||||
|
|
||||||
With the new `layerName` and `layers` options, applications can extract the layer as additional attribute for vector features from `ol.format.TopoJSON`. This can especially be useful for styling vector tile layers.
|
|
||||||
|
|
||||||
#### New `tileJSON` option for `ol.source.TileJSON`
|
|
||||||
|
|
||||||
Like `ol.source.TileUTFGrid`, `ol.source.TileJSON` now also has a `tileJSON` option to configue it with inline TileJSON instead of a TileJSON URL.
|
|
||||||
|
|
||||||
#### New `ol.format.filter.during` filter
|
|
||||||
|
|
||||||
Although OpenLayers has no support for WFS v2.0, we added `ol.format.filter.during` for the `During` temporal operator.
|
|
||||||
|
|
||||||
#### Improved vector tile rendering at non-native resolutions
|
|
||||||
|
|
||||||
The vector tile renderer now uses an internal tile grid for all resolutions to cache pre-rendered tiles, even if the tile source does not have tiles for the viewed resolution. This improves rendering quality and performance.
|
|
||||||
|
|
||||||
#### New `insertVertexCondition` for `ol.interaction.Modify`
|
|
||||||
|
|
||||||
Applications can now control whether a vertex will be inserted into the modified geometry. This makes it easier to modify custom geometries.
|
|
||||||
|
|
||||||
#### New `callback` option for `ol.View#fit()`
|
|
||||||
|
|
||||||
To allow applications to perform custom actions when an animation associated with `ol.View#fit()` is completed, that method now has a new `callback` option.
|
|
||||||
|
|
||||||
#### New `ol.View#getInteracting()` getter
|
|
||||||
|
|
||||||
Like `ol.View#getAnimating()` returns `true` during a view animation, `ol.View#getInteracting()` returns `true` while users are interacting with the view.
|
|
||||||
|
|
||||||
#### New `hasZ` option for `ol.format.WFS#writeTransaction()`
|
|
||||||
|
|
||||||
When the new `hasZ` option is set to `true`, 3D coordinates will be preserved and encoded when writing a WFS transaction.
|
|
||||||
|
|
||||||
#### New `wrapX` option for `ol.source.Stamen`
|
|
||||||
|
|
||||||
Like other tile sources, `ol.source.Stamen` now also has a `wrapX` option, which allows applications to turn off wrapping the world in x direction.
|
|
||||||
|
|
||||||
#### Label support for `ol.Graticule`
|
|
||||||
|
|
||||||
The `ol.Graticule` component has several new options to add and control the output of labels. To turn on labelling, configure `ol.Graticule` with `showLabels: true`. The new options to control label formatting are `lonLabelFormatter`, `latLabelFormatter`, `lonLabelPosition` and `latLabelPosition`.
|
|
||||||
|
|
||||||
#### Return values of two `ol.style.RegularShape` getters have changed
|
|
||||||
|
|
||||||
To provide a more consistent behaviour the following getters now return the same value that was given to constructor:
|
|
||||||
|
|
||||||
`ol.style.RegularShape#getPoints` does not return the double amount of points anymore if a radius2 is set.
|
|
||||||
|
|
||||||
`ol.style.RegularShape#getRadius2` will return `undefined` if no radius2 is set.
|
|
||||||
|
|
||||||
## Detailed changes
|
|
||||||
|
|
||||||
* [#6912](https://github.com/openlayers/openlayers/pull/6912) - Use class instead of style for Translate cursor ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6858](https://github.com/openlayers/openlayers/pull/6858) - Webgl vector improvements ([@GaborFarkas](https://github.com/GaborFarkas))
|
|
||||||
* [#6890](https://github.com/openlayers/openlayers/pull/6890) - Add a movestart event ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6910](https://github.com/openlayers/openlayers/pull/6910) - Avoid duplicates in Observables list ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6902](https://github.com/openlayers/openlayers/pull/6902) - Require minimum duration for kinetic animation ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6904](https://github.com/openlayers/openlayers/pull/6904) - chore(package): update sinon to version 2.3.4 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6901](https://github.com/openlayers/openlayers/pull/6901) - Added release note for changed methods of ol.style.regularShape ([@KlausBenndorf](https://github.com/KlausBenndorf))
|
|
||||||
* [#6886](https://github.com/openlayers/openlayers/pull/6886) - Make ol.source.Cluster extensible ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#6887](https://github.com/openlayers/openlayers/pull/6887) - Disable rotation for views with enableRotation: false ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6900](https://github.com/openlayers/openlayers/pull/6900) - Update clean-css-cli to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6897](https://github.com/openlayers/openlayers/pull/6897) - ProjectionLike in proj.getPointResolution ([@probins](https://github.com/probins))
|
|
||||||
* [#6888](https://github.com/openlayers/openlayers/pull/6888) - Add note about custom functions to getPointResolution ([@probins](https://github.com/probins))
|
|
||||||
* [#6893](https://github.com/openlayers/openlayers/pull/6893) - Fix decimals options when writing features ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6759](https://github.com/openlayers/openlayers/pull/6759) - Regular shape points ([@KlausBenndorf](https://github.com/KlausBenndorf))
|
|
||||||
* [#6892](https://github.com/openlayers/openlayers/pull/6892) - Accept a ol.ProjectionLike instead of ol.proj.Projection ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6883](https://github.com/openlayers/openlayers/pull/6883) - Remove unused ol.pointer.EventSource#getMapping function ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6870](https://github.com/openlayers/openlayers/pull/6870) - Center map on proper earth, not one to the left ([@kannes](https://github.com/kannes))
|
|
||||||
* [#6872](https://github.com/openlayers/openlayers/pull/6872) - Update rollup to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6876](https://github.com/openlayers/openlayers/pull/6876) - Only test ol.interaction.DragAndDrop if FileReader is supported ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6874](https://github.com/openlayers/openlayers/pull/6874) - Remove unused var from ol.proj ([@probins](https://github.com/probins))
|
|
||||||
* [#6875](https://github.com/openlayers/openlayers/pull/6875) - chore(package): update sinon to version 2.3.2 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6867](https://github.com/openlayers/openlayers/pull/6867) - add getArea to api ([@cs09g](https://github.com/cs09g))
|
|
||||||
* [#6863](https://github.com/openlayers/openlayers/pull/6863) - change size to optional ([@cs09g](https://github.com/cs09g))
|
|
||||||
* [#6864](https://github.com/openlayers/openlayers/pull/6864) - fix(package): update closure-util to version 1.21.0 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6834](https://github.com/openlayers/openlayers/pull/6834) - Move tolerance option ([@notnotse](https://github.com/notnotse))
|
|
||||||
* [#6856](https://github.com/openlayers/openlayers/pull/6856) - Fix creation of new URL in readSharedStyle_ and readSharedStyleMap_ ([@oterral](https://github.com/oterral))
|
|
||||||
* [#6852](https://github.com/openlayers/openlayers/pull/6852) - Update mocha to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6851](https://github.com/openlayers/openlayers/pull/6851) - Register/unregister listeners in setActive ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6832](https://github.com/openlayers/openlayers/pull/6832) - Force state of error tiles when usInterimTilesOnError is false ([@oterral](https://github.com/oterral))
|
|
||||||
* [#6849](https://github.com/openlayers/openlayers/pull/6849) - Create URL object only when we can ([@oterral](https://github.com/oterral))
|
|
||||||
* [#6845](https://github.com/openlayers/openlayers/pull/6845) - Snap on circles ([@tchandelle](https://github.com/tchandelle))
|
|
||||||
* [#6842](https://github.com/openlayers/openlayers/pull/6842) - add condition to check if active ([@cs09g](https://github.com/cs09g))
|
|
||||||
* [#6844](https://github.com/openlayers/openlayers/pull/6844) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6841](https://github.com/openlayers/openlayers/pull/6841) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6839](https://github.com/openlayers/openlayers/pull/6839) - Update async to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6838](https://github.com/openlayers/openlayers/pull/6838) - fix(package): update handlebars to version 4.0.10 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6817](https://github.com/openlayers/openlayers/pull/6817) - Multiple layers in TopoJSON vector tiles ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6833](https://github.com/openlayers/openlayers/pull/6833) - Fix geojson-vt example for line and point geometries ([@oterral](https://github.com/oterral))
|
|
||||||
* [#6829](https://github.com/openlayers/openlayers/pull/6829) - Update clean-css-cli to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6819](https://github.com/openlayers/openlayers/pull/6819) - Adjust/fix API for working with vector tile features ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6818](https://github.com/openlayers/openlayers/pull/6818) - Add tileJSON option to ol.source.TileJSON ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6805](https://github.com/openlayers/openlayers/pull/6805) - Display country name on click select ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6813](https://github.com/openlayers/openlayers/pull/6813) - Prepend the version with a v ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6814](https://github.com/openlayers/openlayers/pull/6814) - Re-add ol.render.Feature#getGeometry() ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6812](https://github.com/openlayers/openlayers/pull/6812) - Update mocha to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6786](https://github.com/openlayers/openlayers/pull/6786) - Add ol.format.filter.during ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6806](https://github.com/openlayers/openlayers/pull/6806) - Add note about features with the same id ([@drnextgis](https://github.com/drnextgis))
|
|
||||||
* [#6802](https://github.com/openlayers/openlayers/pull/6802) - Remove unused setFeatures and getFormat methods ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6801](https://github.com/openlayers/openlayers/pull/6801) - Add getId method for ol.render.Feature ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6778](https://github.com/openlayers/openlayers/pull/6778) - Add a small tolerance when testing pointer event positions ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6796](https://github.com/openlayers/openlayers/pull/6796) - Re-add accidently dropped condition ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6798](https://github.com/openlayers/openlayers/pull/6798) - chore(package): update clean-css-cli to version 4.1.2 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6795](https://github.com/openlayers/openlayers/pull/6795) - Fix ol.DrawGeometryFunctionType coordinates argument type ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6797](https://github.com/openlayers/openlayers/pull/6797) - Update clean-css-cli to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6779](https://github.com/openlayers/openlayers/pull/6779) - Decouple source and rendered tile grid of vector tile sources ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6785](https://github.com/openlayers/openlayers/pull/6785) - Add insertVertexCondition to ol.interaction.Modify options ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6792](https://github.com/openlayers/openlayers/pull/6792) - Create intermediate canvas when resolutions have changed ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6790](https://github.com/openlayers/openlayers/pull/6790) - Update resemblejs to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6784](https://github.com/openlayers/openlayers/pull/6784) - chore(package): update clean-css-cli to version 4.1.0 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6556](https://github.com/openlayers/openlayers/pull/6556) - Reading kml xunits/yunits insetPixels ([@KlausBenndorf](https://github.com/KlausBenndorf))
|
|
||||||
* [#6775](https://github.com/openlayers/openlayers/pull/6775) - Update closure-util to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6774](https://github.com/openlayers/openlayers/pull/6774) - Update fs-extra to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6770](https://github.com/openlayers/openlayers/pull/6770) - Enforce the "no missing requires" rule ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6772](https://github.com/openlayers/openlayers/pull/6772) - Remove html tag from shortdesc ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6769](https://github.com/openlayers/openlayers/pull/6769) - Update handlebars to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6757](https://github.com/openlayers/openlayers/pull/6757) - Fix crashing on creation of snap-interaction, if Circle is among the features to snap to. ([@hajjimurad](https://github.com/hajjimurad))
|
|
||||||
* [#6766](https://github.com/openlayers/openlayers/pull/6766) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6765](https://github.com/openlayers/openlayers/pull/6765) - Add new callback function to view.FitOptions ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6764](https://github.com/openlayers/openlayers/pull/6764) - Added View#getInteracting() to the api ([@mblinsitu](https://github.com/mblinsitu))
|
|
||||||
* [#6760](https://github.com/openlayers/openlayers/pull/6760) - Update handlebars to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6761](https://github.com/openlayers/openlayers/pull/6761) - Update async to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6755](https://github.com/openlayers/openlayers/pull/6755) - Add missing goog.require ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6751](https://github.com/openlayers/openlayers/pull/6751) - Update coveralls to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6750](https://github.com/openlayers/openlayers/pull/6750) - Update fs-extra to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6741](https://github.com/openlayers/openlayers/pull/6741) - Allow user selection in overlay container ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6744](https://github.com/openlayers/openlayers/pull/6744) - Update mocha to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6737](https://github.com/openlayers/openlayers/pull/6737) - Graticule labels ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6740](https://github.com/openlayers/openlayers/pull/6740) - Fix spelling ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6730](https://github.com/openlayers/openlayers/pull/6730) - Update metalsmith-layouts to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6732](https://github.com/openlayers/openlayers/pull/6732) - Use firefox < 53 in travis ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6677](https://github.com/openlayers/openlayers/pull/6677) - Add an option to writeTransaction to support 3D geometries ([@Jenselme](https://github.com/Jenselme))
|
|
||||||
* [#6524](https://github.com/openlayers/openlayers/pull/6524) - Don't append feature prefix twice in WFS requests ([@Jenselme](https://github.com/Jenselme))
|
|
||||||
* [#6727](https://github.com/openlayers/openlayers/pull/6727) - Add default value in doc for the hitTolerance option ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6724](https://github.com/openlayers/openlayers/pull/6724) - Add wrapX option to Stamen source ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6728](https://github.com/openlayers/openlayers/pull/6728) - Fix tissot examples docs ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6725](https://github.com/openlayers/openlayers/pull/6725) - Update dependencies to enable Greenkeeper 🌴 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6711](https://github.com/openlayers/openlayers/pull/6711) - Correct path to cleancss ([@tschaub](https://github.com/tschaub))
|
|
||||||
@@ -1,216 +0,0 @@
|
|||||||
# 4.3.0
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The v4.3.0 release includes features and fixes from 92 pull requests.
|
|
||||||
|
|
||||||
#### New `map.getFeaturesAtPixel()` method
|
|
||||||
|
|
||||||
When you want to get all features at a given pixel, use the new `map.getFeaturesAtPixel()` method.
|
|
||||||
|
|
||||||
Before:
|
|
||||||
```js
|
|
||||||
var features = [];
|
|
||||||
map.forEachFeatureAtPixel(pixel, function(feature) {
|
|
||||||
features.push(feature);
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
After:
|
|
||||||
```js
|
|
||||||
var features = map.getFeaturesAtPixel(pixel);
|
|
||||||
```
|
|
||||||
|
|
||||||
#### `ol.Sphere` functions for spherical measures
|
|
||||||
|
|
||||||
The new `ol.Sphere.getArea()` and `ol.Sphere.getLength()` methods can be used to calculate spherical measures on geometries. This is the recommended over using the `geometry.getArea()` or `geometry.getLength()` methods.
|
|
||||||
|
|
||||||
Bad:
|
|
||||||
```js
|
|
||||||
geometry.getArea();
|
|
||||||
```
|
|
||||||
|
|
||||||
Good:
|
|
||||||
```js
|
|
||||||
ol.Sphere.getArea(geometry);
|
|
||||||
```
|
|
||||||
|
|
||||||
#### `ol.interaction.DragAndDrop` can be configured with a vector source
|
|
||||||
|
|
||||||
It is now possible to configure the drag and drop interaction with a vector source:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var dragAndDrop = new ol.interaction.DragAndDrop({source: source});
|
|
||||||
```
|
|
||||||
|
|
||||||
Any dropped features will replace all existing features on the source.
|
|
||||||
|
|
||||||
#### `ol.interaction.Modify` can be configured with a vector source
|
|
||||||
|
|
||||||
It is now possible to configure the modify interaction with a vector source (in addition to a feature collection):
|
|
||||||
|
|
||||||
```js
|
|
||||||
var modify = new ol.interaction.Modify({source: source});
|
|
||||||
```
|
|
||||||
|
|
||||||
With this configuration, all features on the source are eligible for modification while the interaction is active.
|
|
||||||
|
|
||||||
#### `ol.interaction.Modify` deletes with `alt` key only
|
|
||||||
|
|
||||||
To delete features with the modify interaction, press the `alt` key while clicking on an existing vertex. If you want to configure the modify interaction with a different delete condition, use the `deleteCondition` option. For example, to allow deletion on a single click with no modifier keys, configure the interaction like this:
|
|
||||||
```js
|
|
||||||
var interaction = new ol.interaction.Modify({
|
|
||||||
source: source,
|
|
||||||
deleteCondition: function(event) {
|
|
||||||
return ol.events.condition.noModifierKeys(event) && ol.events.condition.singleClick(event);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
The motivation for this change is to make the modify, draw, and snap interactions all work well together. Previously, the use of these interactions with the default configuration would make it so you couldn't reliably add new vertices (click with no modifier) and delete existing vertices (click with no modifier).
|
|
||||||
|
|
||||||
#### `ol.source.VectorTile` no longer requires a `tileGrid` option
|
|
||||||
|
|
||||||
By default, the `ol.source.VectorTile` constructor creates an XYZ tile grid (in Web Mercator) for 512 pixel tiles and assumes a max zoom level of 22. If you were creating a vector tile source with an explicit `tileGrid` option, you can now remove this.
|
|
||||||
|
|
||||||
Before:
|
|
||||||
```js
|
|
||||||
var source = new ol.source.VectorTile({
|
|
||||||
tileGrid: ol.tilegrid.createXYZ({tileSize: 512, maxZoom: 22}),
|
|
||||||
url: url
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
After:
|
|
||||||
```js
|
|
||||||
var source = new ol.source.VectorTile({
|
|
||||||
url: url
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
If you need to change the max zoom level, you can pass the source a `maxZoom` option. If you need to change the tile size, you can pass the source a `tileSize` option. If you need a completely custom tile grid, you can still pass the source a `tileGrid` option.
|
|
||||||
|
|
||||||
#### `ol.source.VectorTile` no longer has a `tilePixelRatio` option
|
|
||||||
|
|
||||||
The `tilePixelRatio` option was only used for tiles in projections with `tile-pixels` as units. For tiles read with `ol.format.MVT` and the default tile loader, or tiles with the default pixel size of 4096 pixels, no changes are necessary. For the very rare cases that do not fall under these categories, a custom `tileLoadFunction` now needs to be configured on the `ol.source.VectorTile`. In addition to calling `tile.setFeatures()` and `tile.setProjection()`, it also needs to contain code like the following:
|
|
||||||
```js
|
|
||||||
var extent = tile.getFormat() instanceof ol.format.MVT ?
|
|
||||||
tile.getLastExtent() :
|
|
||||||
[0, 0, tilePixelRatio * tileSize, tilePixelRatio * tileSize];
|
|
||||||
tile.setExtent(extent);
|
|
||||||
```
|
|
||||||
|
|
||||||
#### `ol.animate` now takes the shortest arc for rotation animation
|
|
||||||
|
|
||||||
Usually rotation animations should animate along the shortest arc. There are rare occasions where a spinning animation effect is desired. So if you previously had something like
|
|
||||||
```js
|
|
||||||
map.getView().animate({
|
|
||||||
rotation: 2 * Math.PI,
|
|
||||||
duration: 2000
|
|
||||||
});
|
|
||||||
```
|
|
||||||
we recommend to split the animation into two parts and use different easing functions. The code below results in the same effect as the snippet above did with previous versions:
|
|
||||||
```js
|
|
||||||
map.getView().animate({
|
|
||||||
rotation: Math.PI,
|
|
||||||
easing: ol.easing.easeIn
|
|
||||||
}, {
|
|
||||||
rotation: 2 * Math.PI,
|
|
||||||
easing: ol.easing.easeOut
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
## Full List of Changes
|
|
||||||
|
|
||||||
* [#7117](https://github.com/openlayers/openlayers/pull/7117) - Sensible default tilegrid for vector tiles ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7116](https://github.com/openlayers/openlayers/pull/7116) - fix(package): update rollup to version 0.47.2 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7111](https://github.com/openlayers/openlayers/pull/7111) - Remove broken wrapX handling from ol.Graticule ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7107](https://github.com/openlayers/openlayers/pull/7107) - Update rollup to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7106](https://github.com/openlayers/openlayers/pull/7106) - Update proj4 to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7105](https://github.com/openlayers/openlayers/pull/7105) - Functions for spherical calculations ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7104](https://github.com/openlayers/openlayers/pull/7104) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6807](https://github.com/openlayers/openlayers/pull/6807) - Initialize hasZ in the constructor of GML3 ([@Jenselme](https://github.com/Jenselme))
|
|
||||||
* [#7102](https://github.com/openlayers/openlayers/pull/7102) - Allow drag and drop interaction to be configured with a source ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6825](https://github.com/openlayers/openlayers/pull/6825) - Read/write Tessellate tag in KML format ([@oterral](https://github.com/oterral))
|
|
||||||
* [#7098](https://github.com/openlayers/openlayers/pull/7098) - Use fractional coordinates for CSS positioning ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7064](https://github.com/openlayers/openlayers/pull/7064) - Do not use Array.prototype.forEach when dealing with potentially large arrays ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7093](https://github.com/openlayers/openlayers/pull/7093) - Allow modify interaction to be configured with a source ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7096](https://github.com/openlayers/openlayers/pull/7096) - Add new Map#getFeaturesAtPixel method ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7094](https://github.com/openlayers/openlayers/pull/7094) - Add missing zIndex options ([@icholy](https://github.com/icholy))
|
|
||||||
* [#7087](https://github.com/openlayers/openlayers/pull/7087) - Fix scale line for EPSG:4326 maps ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7088](https://github.com/openlayers/openlayers/pull/7088) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7085](https://github.com/openlayers/openlayers/pull/7085) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7084](https://github.com/openlayers/openlayers/pull/7084) - Fix a typo in the street-labels example ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7082](https://github.com/openlayers/openlayers/pull/7082) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7079](https://github.com/openlayers/openlayers/pull/7079) - Optimize custom renderer code, examples and API ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7080](https://github.com/openlayers/openlayers/pull/7080) - Update jsdoc to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7078](https://github.com/openlayers/openlayers/pull/7078) - Fix return type annotation of ol.layer.VectorTile.getSource ([@geosense](https://github.com/geosense))
|
|
||||||
* [#7073](https://github.com/openlayers/openlayers/pull/7073) - Make ol.layer.Group change handling consistent ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#7075](https://github.com/openlayers/openlayers/pull/7075) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7072](https://github.com/openlayers/openlayers/pull/7072) - Improve API docs for ol.VectorTile ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7070](https://github.com/openlayers/openlayers/pull/7070) - Get tilePixelRatio from MVT tiles ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7069](https://github.com/openlayers/openlayers/pull/7069) - Update mocha to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7068](https://github.com/openlayers/openlayers/pull/7068) - Update fs-extra to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7066](https://github.com/openlayers/openlayers/pull/7066) - Fix ol.interaction.Extent event type and documentation ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7032](https://github.com/openlayers/openlayers/pull/7032) - Fix KML Export Icon Anchor ([@raiyni](https://github.com/raiyni))
|
|
||||||
* [#7065](https://github.com/openlayers/openlayers/pull/7065) - Only use API functions in example ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7022](https://github.com/openlayers/openlayers/pull/7022) - Allow styles to configure a custom renderer ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7061](https://github.com/openlayers/openlayers/pull/7061) - Update docs and issue and pull request instructions ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7059](https://github.com/openlayers/openlayers/pull/7059) - Allow to configure Extent interaction with an extent ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7060](https://github.com/openlayers/openlayers/pull/7060) - Removing invalid urn ([@wnordmann](https://github.com/wnordmann))
|
|
||||||
* [#7051](https://github.com/openlayers/openlayers/pull/7051) - Changing the EPSG3857.PROJECTION array assignment and adding urn:ogc:… ([@wnordmann](https://github.com/wnordmann))
|
|
||||||
* [#7045](https://github.com/openlayers/openlayers/pull/7045) - Respect pixelRatio when scaling images ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7023](https://github.com/openlayers/openlayers/pull/7023) - Update tile size and resolutions of vector tile examples ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7005](https://github.com/openlayers/openlayers/pull/7005) - Add spatial reference inside geometry in EsriFormat ([@Sol1du2](https://github.com/Sol1du2))
|
|
||||||
* [#7034](https://github.com/openlayers/openlayers/pull/7034) - Move non-build dependencies to devDependencies ([@probins](https://github.com/probins))
|
|
||||||
* [#7050](https://github.com/openlayers/openlayers/pull/7050) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6976](https://github.com/openlayers/openlayers/pull/6976) - Example - Earthquake Clusters - Change evt.type of interaction ([@ehanoj](https://github.com/ehanoj))
|
|
||||||
* [#7048](https://github.com/openlayers/openlayers/pull/7048) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7041](https://github.com/openlayers/openlayers/pull/7041) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7042](https://github.com/openlayers/openlayers/pull/7042) - Line dash offset ([@gkresic](https://github.com/gkresic))
|
|
||||||
* [#6980](https://github.com/openlayers/openlayers/pull/6980) - Added tileClass to TileWMS ([@ZachTRice](https://github.com/ZachTRice))
|
|
||||||
* [#7028](https://github.com/openlayers/openlayers/pull/7028) - Fix Graticule use of incorrect min/maxLon values ([@greggian](https://github.com/greggian))
|
|
||||||
* [#7021](https://github.com/openlayers/openlayers/pull/7021) - Update fs-extra to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7018](https://github.com/openlayers/openlayers/pull/7018) - Update jsdoc to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7015](https://github.com/openlayers/openlayers/pull/7015) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7014](https://github.com/openlayers/openlayers/pull/7014) - Update jsdoc to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7013](https://github.com/openlayers/openlayers/pull/7013) - Remove ol.sphere.WGS84 and ol.sphere.NORMAL ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6981](https://github.com/openlayers/openlayers/pull/6981) - Render transparent vector layers to an intermediate canvas ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#6899](https://github.com/openlayers/openlayers/pull/6899) - Use number literal for sphere radius ([@probins](https://github.com/probins))
|
|
||||||
* [#7011](https://github.com/openlayers/openlayers/pull/7011) - Update jsdoc to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7008](https://github.com/openlayers/openlayers/pull/7008) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7007](https://github.com/openlayers/openlayers/pull/7007) - fix(package): update rollup to version 0.45.0 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6996](https://github.com/openlayers/openlayers/pull/6996) - 6987: Memory leak with WMS time source with reprojection ([@ch08532](https://github.com/ch08532))
|
|
||||||
* [#7003](https://github.com/openlayers/openlayers/pull/7003) - Update jsdoc to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7004](https://github.com/openlayers/openlayers/pull/7004) - Use https for bing and stamen attributions ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6998](https://github.com/openlayers/openlayers/pull/6998) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6999](https://github.com/openlayers/openlayers/pull/6999) - Make VectorTile source work with multiple layers ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6988](https://github.com/openlayers/openlayers/pull/6988) - Add missing type annotations ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6984](https://github.com/openlayers/openlayers/pull/6984) - Update closure-util to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6970](https://github.com/openlayers/openlayers/pull/6970) - Fix Bug when adding/removing layer with no cache ([@cmortazavi](https://github.com/cmortazavi))
|
|
||||||
* [#6972](https://github.com/openlayers/openlayers/pull/6972) - Handle error tiles properly ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6973](https://github.com/openlayers/openlayers/pull/6973) - Update clean-css-cli to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6971](https://github.com/openlayers/openlayers/pull/6971) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6968](https://github.com/openlayers/openlayers/pull/6968) - Shortest arc rotation animation improvements and upgrade notes ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6966](https://github.com/openlayers/openlayers/pull/6966) - Add getResolutionForZoom method for ol.View ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6965](https://github.com/openlayers/openlayers/pull/6965) - Use shortest rotation delta for animation ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6967](https://github.com/openlayers/openlayers/pull/6967) - Add RoadOnDemand imagery set to Bing example ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6964](https://github.com/openlayers/openlayers/pull/6964) - Fix KML ExtendedData reading ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6958](https://github.com/openlayers/openlayers/pull/6958) - Remove error tiles after loading is finished ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6793](https://github.com/openlayers/openlayers/pull/6793) - Webgl text ([@GaborFarkas](https://github.com/GaborFarkas))
|
|
||||||
* [#6960](https://github.com/openlayers/openlayers/pull/6960) - Queue tiles before loading ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#6957](https://github.com/openlayers/openlayers/pull/6957) - Greenkeeper/eslint 4.1.1 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6955](https://github.com/openlayers/openlayers/pull/6955) - Update async to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6916](https://github.com/openlayers/openlayers/pull/6916) - Upgrade eslint to v4.0.0 ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#6943](https://github.com/openlayers/openlayers/pull/6943) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6939](https://github.com/openlayers/openlayers/pull/6939) - Abort loading when tile is disposed ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6930](https://github.com/openlayers/openlayers/pull/6930) - Handle setActive(false) on an interaction without map ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#6936](https://github.com/openlayers/openlayers/pull/6936) - Do not stop the render loop when all wanted tiles are aborted ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6920](https://github.com/openlayers/openlayers/pull/6920) - Fix minor type strength inconsistency ([@klokantech](https://github.com/klokantech))
|
|
||||||
* [#6935](https://github.com/openlayers/openlayers/pull/6935) - Use transparent image from canvas context ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6933](https://github.com/openlayers/openlayers/pull/6933) - Improve proj.get() logic ([@probins](https://github.com/probins))
|
|
||||||
* [#6931](https://github.com/openlayers/openlayers/pull/6931) - Make sure we use the default featurePrefix ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#6928](https://github.com/openlayers/openlayers/pull/6928) - Only adjust resolution when center within projection extent ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6923](https://github.com/openlayers/openlayers/pull/6923) - Load tasks/build-ext.js in strict mode ([@fredj](https://github.com/fredj))
|
|
||||||
* [#6918](https://github.com/openlayers/openlayers/pull/6918) - Remove unnecessary pixelRatio check ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6917](https://github.com/openlayers/openlayers/pull/6917) - Correct typo in graticule docs ([@probins](https://github.com/probins))
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
# 4.3.1
|
|
||||||
|
|
||||||
The v4.3.1 release includes a few fixes that didn't make it into v4.3.0. No special upgrade considerations.
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
* [#7122](https://github.com/openlayers/openlayers/pull/7122) - Immediately complete no-op animations ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7120](https://github.com/openlayers/openlayers/pull/7120) - Fix hit detection for overzoomed vector tiles ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7114](https://github.com/openlayers/openlayers/pull/7114) - Immediate WebGL text renderer and other improvements ([@GaborFarkas](https://github.com/GaborFarkas))
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 4.3.2
|
|
||||||
|
|
||||||
The v4.3.2 release includes a single fix.
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
* [#7140](https://github.com/openlayers/openlayers/pull/7140) - Export ol.Sphere.getLength and ol.Sphere.getArea ([@fredj](https://github.com/fredj))
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 4.3.3
|
|
||||||
|
|
||||||
The v4.3.3 release reverts the fractional pixel positioning of overlays.
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
* [#7258](https://github.com/openlayers/openlayers/pull/7258) - Revert changes made in #7098 ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# 4.3.4
|
|
||||||
|
|
||||||
The v4.3.4 release includes a fix for Safari on iOS 11.
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
* [#7285](https://github.com/openlayers/openlayers/pull/7285) - Convert pointerId to string for object lookups ([@tschaub](https://github.com/tschaub))
|
|
||||||
@@ -1,161 +0,0 @@
|
|||||||
# 4.4.0
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The 4.4.0 release includes features and fixes from 80 pull requests, including first time contributions from @EduardoNogueira, @ath0mas, @f7o, @trevorblades, @viethang, and @wb14123. There are some really nice rendering enhancements included in this release. It is now possible to render labels along lines (see [#7239](https://github.com/openlayers/openlayers/pull/7239) for more detail) and polygon labels are only rendered if they fit within the polygon ([#7292](https://github.com/openlayers/openlayers/pull/7292)). In addition, we now render tiles with an opacity transition, so tiled layers more gracefully fade in ([#7267](https://github.com/openlayers/openlayers/pull/7267)).
|
|
||||||
|
|
||||||
### Upgrade notes
|
|
||||||
|
|
||||||
#### Behavior change for polygon labels
|
|
||||||
|
|
||||||
Polygon labels are now only rendered when the label does not exceed the polygon at the label position. To get the old behavior, configure your `ol.style.Text` with `exceedLength: true`.
|
|
||||||
|
|
||||||
#### Minor change for custom `tileLoadFunction` with `ol.source.VectorTile`
|
|
||||||
|
|
||||||
It is no longer necessary to set the projection on the tile. Instead, the `readFeatures` method must be called with the tile's extent as `extent` option and the view's projection as `featureProjection`.
|
|
||||||
|
|
||||||
Before:
|
|
||||||
```js
|
|
||||||
tile.setLoader(function() {
|
|
||||||
var data = // ... fetch data
|
|
||||||
var format = tile.getFormat();
|
|
||||||
tile.setFeatures(format.readFeatures(data));
|
|
||||||
tile.setProjection(format.readProjection(data));
|
|
||||||
// uncomment the line below for ol.format.MVT only
|
|
||||||
//tile.setExtent(format.getLastExtent());
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
After:
|
|
||||||
```js
|
|
||||||
tile.setLoader(function() {
|
|
||||||
var data = // ... fetch data
|
|
||||||
var format = tile.getFormat();
|
|
||||||
tile.setFeatures(format.readFeatures(data, {
|
|
||||||
featureProjection: map.getView().getProjection(),
|
|
||||||
// uncomment the line below for ol.format.MVT only
|
|
||||||
//extent: tile.getExtent()
|
|
||||||
}));
|
|
||||||
);
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Deprecation of `ol.DeviceOrientation`
|
|
||||||
|
|
||||||
`ol.DeviceOrientation` is deprecated and will be removed in the next major version.
|
|
||||||
The device-orientation example has been updated to use the (gyronorm.js)[https://github.com/dorukeker/gyronorm.js] library.
|
|
||||||
|
|
||||||
|
|
||||||
## Detailed changes
|
|
||||||
|
|
||||||
See below for the full list of changes.
|
|
||||||
|
|
||||||
* [#7306](https://github.com/openlayers/openlayers/pull/7306) - Enable mouse wheel in freehand draw mode ([@trevorblades](https://github.com/trevorblades))
|
|
||||||
* [#7297](https://github.com/openlayers/openlayers/pull/7297) - Fix multipoint instruction set ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7267](https://github.com/openlayers/openlayers/pull/7267) - Render tiles with an opacity transition ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7292](https://github.com/openlayers/openlayers/pull/7292) - Only render polygon labels when they fit ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7289](https://github.com/openlayers/openlayers/pull/7289) - Release v4.3.4 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7287](https://github.com/openlayers/openlayers/pull/7287) - Fix vertical stroke/fill alignment for text along lines ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7285](https://github.com/openlayers/openlayers/pull/7285) - Convert pointerId to string for object lookups ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7280](https://github.com/openlayers/openlayers/pull/7280) - Updated docs for deleteCondition ([@EduardoNogueira](https://github.com/EduardoNogueira))
|
|
||||||
* [#7274](https://github.com/openlayers/openlayers/pull/7274) - Add ability to change the loader of a vector source ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#7259](https://github.com/openlayers/openlayers/pull/7259) - Add missing param doc tag for ol.format.WKT.prototype.writeFeatures ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7260](https://github.com/openlayers/openlayers/pull/7260) - Release v4.3.3 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7258](https://github.com/openlayers/openlayers/pull/7258) - Revert changes made in #7098. ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7220](https://github.com/openlayers/openlayers/pull/7220) - Mark ol.format.filter.Spatial as abstract class ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7249](https://github.com/openlayers/openlayers/pull/7249) - Script to rename files so the case matches the module name ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7252](https://github.com/openlayers/openlayers/pull/7252) - fix osmxml to read ways before the definition of nodes ([@wb14123](https://github.com/wb14123))
|
|
||||||
* [#7253](https://github.com/openlayers/openlayers/pull/7253) - Nicer wording in the issue template ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7236](https://github.com/openlayers/openlayers/pull/7236) - reusing images in ol.style.Icon#clone ([@KlausBenndorf](https://github.com/KlausBenndorf))
|
|
||||||
* [#7246](https://github.com/openlayers/openlayers/pull/7246) - Compare measured lengths with a tolerance ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#7247](https://github.com/openlayers/openlayers/pull/7247) - Raise tolerance of rendering tests to pass on Firefox 55 (GNU/Linux) ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#7239](https://github.com/openlayers/openlayers/pull/7239) - Render text along lines ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7242](https://github.com/openlayers/openlayers/pull/7242) - Use EMPTY and LOADED state properly on ol.VectorImageTile ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7234](https://github.com/openlayers/openlayers/pull/7234) - Fix abort handling of tileload events ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7221](https://github.com/openlayers/openlayers/pull/7221) - update zoomify source to accept tileIndex placeholders and handle iip… ([@thhomas](https://github.com/thhomas))
|
|
||||||
* [#6871](https://github.com/openlayers/openlayers/pull/6871) - Correct controls position in Center example ([@ath0mas](https://github.com/ath0mas))
|
|
||||||
* [#7229](https://github.com/openlayers/openlayers/pull/7229) - Fix JSDoc paths for custom builds ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7230](https://github.com/openlayers/openlayers/pull/7230) - Remove unused context handling for ol.Image ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7225](https://github.com/openlayers/openlayers/pull/7225) - Fix hit detection for image layers ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7223](https://github.com/openlayers/openlayers/pull/7223) - Transform updates ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7219](https://github.com/openlayers/openlayers/pull/7219) - Change cartodb domain from cartodb.com to carto.com ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7210](https://github.com/openlayers/openlayers/pull/7210) - Avoid unnecessary calculations for a zoom factor of 2 ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7209](https://github.com/openlayers/openlayers/pull/7209) - Remove grid.getTileRangeForExtentAndResolution() ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7201](https://github.com/openlayers/openlayers/pull/7201) - Prerender text to images ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7208](https://github.com/openlayers/openlayers/pull/7208) - Do not calculate coverage when running tests locally ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7206](https://github.com/openlayers/openlayers/pull/7206) - Only load source tiles that intersect the source tile grid's extent ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7203](https://github.com/openlayers/openlayers/pull/7203) - Enable Edge tests on SauceLabs ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7194](https://github.com/openlayers/openlayers/pull/7194) - Deprecate ol.DeviceOrientation ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7198](https://github.com/openlayers/openlayers/pull/7198) - Use geometry name in WFS updates ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#7205](https://github.com/openlayers/openlayers/pull/7205) - Release v4.3.2 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7172](https://github.com/openlayers/openlayers/pull/7172) - added clear method to vectortile source ([@f7o](https://github.com/f7o))
|
|
||||||
* [#7196](https://github.com/openlayers/openlayers/pull/7196) - renderSync() to make sure overlay is initially visible ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7193](https://github.com/openlayers/openlayers/pull/7193) - Fix KML links for documents created locally in Safari ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6977](https://github.com/openlayers/openlayers/pull/6977) - Fixed modify feature test ([@KlausBenndorf](https://github.com/KlausBenndorf))
|
|
||||||
* [#7190](https://github.com/openlayers/openlayers/pull/7190) - Use jsts version 1.4.0 in example ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7191](https://github.com/openlayers/openlayers/pull/7191) - Fix provide/require for autogenerated shader files ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7192](https://github.com/openlayers/openlayers/pull/7192) - Fix typo ([@viethang](https://github.com/viethang))
|
|
||||||
* [#7133](https://github.com/openlayers/openlayers/pull/7133) - Issue/6991/WFS Write Dimension ([@Sol1du2](https://github.com/Sol1du2))
|
|
||||||
* [#7141](https://github.com/openlayers/openlayers/pull/7141) - Issue/6990/Wfs Read srsDimension ([@Sol1du2](https://github.com/Sol1du2))
|
|
||||||
* [#7187](https://github.com/openlayers/openlayers/pull/7187) - Simpler tile pixel handling and faster parsing for ol.format.MVT vector tiles ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7182](https://github.com/openlayers/openlayers/pull/7182) - Avoid instanceof checks in global test extensions ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7168](https://github.com/openlayers/openlayers/pull/7168) - Exclude greenkeeper merges from changelog ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#7162](https://github.com/openlayers/openlayers/pull/7162) - Bring back coverage ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#7165](https://github.com/openlayers/openlayers/pull/7165) - More assorted test fixes ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7142](https://github.com/openlayers/openlayers/pull/7142) - Adds unit test to test the projection inside the geometry of esriJson ([@Sol1du2](https://github.com/Sol1du2))
|
|
||||||
* [#7163](https://github.com/openlayers/openlayers/pull/7163) - Remove bundling magic for Mapbox styles script ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7160](https://github.com/openlayers/openlayers/pull/7160) - Assorted test updates ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7158](https://github.com/openlayers/openlayers/pull/7158) - Retain comments when replacing nodes ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7153](https://github.com/openlayers/openlayers/pull/7153) - Scripts for in-place transforms ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7154](https://github.com/openlayers/openlayers/pull/7154) - Unused require in examples/d3.js ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7151](https://github.com/openlayers/openlayers/pull/7151) - Get rid of useless test exports ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7152](https://github.com/openlayers/openlayers/pull/7152) - Adjust the pull request template (tests, CLA, wording) ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#7150](https://github.com/openlayers/openlayers/pull/7150) - Remove problematic spies from scaleline tests ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#7149](https://github.com/openlayers/openlayers/pull/7149) - Remove unused requires ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7148](https://github.com/openlayers/openlayers/pull/7148) - Remove ol.ENABLE_WEBGL wrap from WebGL files ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7147](https://github.com/openlayers/openlayers/pull/7147) - Remove unnecessary import in events.test.js ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7146](https://github.com/openlayers/openlayers/pull/7146) - Avoid modifying imports ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7145](https://github.com/openlayers/openlayers/pull/7145) - Spaceless provides ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7136](https://github.com/openlayers/openlayers/pull/7136) - Use data URI instead of whole empty image ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7137](https://github.com/openlayers/openlayers/pull/7137) - Developer documentation updates ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7138](https://github.com/openlayers/openlayers/pull/7138) - Improvements to the new test setup ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7140](https://github.com/openlayers/openlayers/pull/7140) - Export ol.Sphere.getLength and ol.Sphere.getArea ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7131](https://github.com/openlayers/openlayers/pull/7131) - Print ES6 import hint on each doc page ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6953](https://github.com/openlayers/openlayers/pull/6953) - Run tests in real browsers with Karma ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7127](https://github.com/openlayers/openlayers/pull/7127) - Use static GeoJSON instead of Overpass query for faster loading ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7125](https://github.com/openlayers/openlayers/pull/7125) - Do not try to render error tiles from VectorTile source ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#6855](https://github.com/openlayers/openlayers/pull/6855) - Pluggable renderers ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7128](https://github.com/openlayers/openlayers/pull/7128) - Make view.animate() tolerate undefined views ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7124](https://github.com/openlayers/openlayers/pull/7124) - Release v4.3.1 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7122](https://github.com/openlayers/openlayers/pull/7122) - Immediately complete no-op animations ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7120](https://github.com/openlayers/openlayers/pull/7120) - Fix hit detection for overzoomed vector tiles ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7114](https://github.com/openlayers/openlayers/pull/7114) - Immediate WebGL text renderer and other improvements ([@GaborFarkas](https://github.com/GaborFarkas))
|
|
||||||
|
|
||||||
|
|
||||||
Additionally a number of updates where made to our dependencies:
|
|
||||||
* [#7307](https://github.com/openlayers/openlayers/pull/7307) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7302](https://github.com/openlayers/openlayers/pull/7302) - Update mocha to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7298](https://github.com/openlayers/openlayers/pull/7298) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7295](https://github.com/openlayers/openlayers/pull/7295) - chore(package): update coveralls to version 3.0.0 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7291](https://github.com/openlayers/openlayers/pull/7291) - Update pbf to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7290](https://github.com/openlayers/openlayers/pull/7290) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7281](https://github.com/openlayers/openlayers/pull/7281) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7273](https://github.com/openlayers/openlayers/pull/7273) - Update clean-css-cli to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7272](https://github.com/openlayers/openlayers/pull/7272) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7269](https://github.com/openlayers/openlayers/pull/7269) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7265](https://github.com/openlayers/openlayers/pull/7265) - Update rollup to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7263](https://github.com/openlayers/openlayers/pull/7263) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7254](https://github.com/openlayers/openlayers/pull/7254) - Update closure-util to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7257](https://github.com/openlayers/openlayers/pull/7257) - Update jsdoc to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7251](https://github.com/openlayers/openlayers/pull/7251) - Update fs-extra to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7243](https://github.com/openlayers/openlayers/pull/7243) - Update mocha to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7240](https://github.com/openlayers/openlayers/pull/7240) - Update mocha to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7238](https://github.com/openlayers/openlayers/pull/7238) - Update mocha to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7212](https://github.com/openlayers/openlayers/pull/7212) - chore(package): update clean-css-cli to version 4.1.9 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7213](https://github.com/openlayers/openlayers/pull/7213) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7207](https://github.com/openlayers/openlayers/pull/7207) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7188](https://github.com/openlayers/openlayers/pull/7188) - fix(package): update rollup to version 0.49.1 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7166](https://github.com/openlayers/openlayers/pull/7166) - fix(package): update rollup to version 0.48.1 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7161](https://github.com/openlayers/openlayers/pull/7161) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7144](https://github.com/openlayers/openlayers/pull/7144) - Update sinon to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7135](https://github.com/openlayers/openlayers/pull/7135) - Update closure-util to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7126](https://github.com/openlayers/openlayers/pull/7126) - Update phantomjs-prebuilt to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
# 4.4.1
|
|
||||||
|
|
||||||
The v4.4.1 release includes a fix for the [`ol` package](https://www.npmjs.com/package/ol) and a fix for a tile rendering regression.
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
* [#7323](https://github.com/openlayers/openlayers/pull/7323) - Only clear the canvas when needed ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7313](https://github.com/openlayers/openlayers/pull/7313) - Use lowercase module identifiers until ol@5 ([@tschaub](https://github.com/tschaub))
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
# 4.4.2
|
|
||||||
|
|
||||||
The v4.4.2 release fixes a number of rendering issues in the 4.4 releases.
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
* [#7327](https://github.com/openlayers/openlayers/pull/7327) - Prune the tile cache after updating a source's URL ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7341](https://github.com/openlayers/openlayers/pull/7341) - Proper rendering of raster sources when there is a tile transition ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7339](https://github.com/openlayers/openlayers/pull/7339) - Use correct text stroke on HiDPI devices ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7345](https://github.com/openlayers/openlayers/pull/7345) - Handle different lineWidth scaling in Safari ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7346](https://github.com/openlayers/openlayers/pull/7346) - Pre-render text images for configured scale ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7350](https://github.com/openlayers/openlayers/pull/7350) - Calculate correct text box size ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
@@ -1,127 +0,0 @@
|
|||||||
# 4.5.0
|
|
||||||
|
|
||||||
### Summary
|
|
||||||
|
|
||||||
The 4.5 release includes enhancements and fixes from 50 or so pull requests. Headlining this release, vector layers got a new `declutter` option that can be used to avoid overlapping labels. See the [street labels example](http://openlayers.org/en/latest/examples/street-labels.html) for a demonstration of this feature.
|
|
||||||
|
|
||||||
Please note that if you are using `closure-util` to build your OpenLayers based application, it is time to migrate to using the [`ol` package](https://www.npmjs.com/package/ol) and a module bundler like webpack. OpenLayers has not had a dependency on the Closure Library since the [3.19 release](https://github.com/openlayers/openlayers/releases/tag/v3.19.0); and with the 5.0 release we will be moving completely away from `goog.require` and `goog.provide`, dropping support for `closure-util`, and going with ES modules for our sources.
|
|
||||||
|
|
||||||
We will be adding details to the wiki about upcoming changes in 5.0 and tips on how to upgrade. We'll likely have a few more 4.x releases before the 5.0 release. But if you're interested in continuing to get feature enhancements in future releases, migrating to the `ol` package now will make the transition easier.
|
|
||||||
|
|
||||||
### Upgrade notes
|
|
||||||
|
|
||||||
#### Removed GeoJSON crs workaround for GeoServer
|
|
||||||
|
|
||||||
Previous version of GeoServer returned invalid crs in GeoJSON output. The workaround in `ol.format.GeoJSON` used to read this crs code is now removed.
|
|
||||||
|
|
||||||
#### Deprecation of `ol.Attribution`
|
|
||||||
|
|
||||||
`ol.Attribution` is deprecated and will be removed in the next major version. Instead, you can construct a source with a string attribution or an array of strings. For dynamic attributions, you can provide a function that gets called with the current frame state.
|
|
||||||
|
|
||||||
Before:
|
|
||||||
```js
|
|
||||||
var source = new ol.source.XYZ({
|
|
||||||
attributions: [
|
|
||||||
new ol.Attribution({html: 'some attribution'})
|
|
||||||
]
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
After:
|
|
||||||
```js
|
|
||||||
var source = new ol.source.XYZ({
|
|
||||||
attributions: 'some attribution'
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
In addition to passing a string or an array of strings for the `attributions` option, you can also pass a function that will get called with the current frame state.
|
|
||||||
```js
|
|
||||||
var source = new ol.source.XYZ({
|
|
||||||
attributions: function(frameState) {
|
|
||||||
// inspect the frame state and return attributions
|
|
||||||
return 'some attribution'; // or ['multiple', 'attributions'] or null
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
## Detailed changes
|
|
||||||
|
|
||||||
See below for the full list of changes.
|
|
||||||
|
|
||||||
* [#7456](https://github.com/openlayers/openlayers/pull/7456) - Retry if sauce connect fails ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7440](https://github.com/openlayers/openlayers/pull/7440) - Attempt to make font loading tests more stable ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7444](https://github.com/openlayers/openlayers/pull/7444) - Simpler style management ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7438](https://github.com/openlayers/openlayers/pull/7438) - Call getProjection() only once ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7430](https://github.com/openlayers/openlayers/pull/7430) - Add support for hex colors with alpha ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7431](https://github.com/openlayers/openlayers/pull/7431) - Avoid returning undefined zoom ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7436](https://github.com/openlayers/openlayers/pull/7436) - Always use source projection loading image tiles ([@pjeweb](https://github.com/pjeweb))
|
|
||||||
* [#7433](https://github.com/openlayers/openlayers/pull/7433) - Don't use getHints if it's not needed ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7362](https://github.com/openlayers/openlayers/pull/7362) - Added option to the ol.format.GeoJSON to allow the reading of the geometry_name from the geojson ([@Alexandre27](https://github.com/Alexandre27))
|
|
||||||
* [#7426](https://github.com/openlayers/openlayers/pull/7426) - Update InteractionOptions.prototype.handleEvent docs ([@glen-nu](https://github.com/glen-nu))
|
|
||||||
* [#7423](https://github.com/openlayers/openlayers/pull/7423) - Get rendered features by coordinate when wrapping ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7421](https://github.com/openlayers/openlayers/pull/7421) - Keep longitude between -180 and 180 ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7420](https://github.com/openlayers/openlayers/pull/7420) - Fix MapGuide example resolves #7325 ([@TDesjardins](https://github.com/TDesjardins))
|
|
||||||
* [#7340](https://github.com/openlayers/openlayers/pull/7340) - Clear label cache when fonts become available ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7414](https://github.com/openlayers/openlayers/pull/7414) - Only split text at line angle changes ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7411](https://github.com/openlayers/openlayers/pull/7411) - Add getLayers and setLayers functions to ol.format.WMSGetFeatureInfo ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7328](https://github.com/openlayers/openlayers/pull/7328) - Declutter text and images ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7406](https://github.com/openlayers/openlayers/pull/7406) - Add option to Zoomify source for setting custom extent ([@lasselaakkonen](https://github.com/lasselaakkonen))
|
|
||||||
* [#7410](https://github.com/openlayers/openlayers/pull/7410) - Add getFeatureType and setFeatureType functions to ol.format.WFS ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7379](https://github.com/openlayers/openlayers/pull/7379) - Add support for custom tile size to Zoomify source ([@lasselaakkonen](https://github.com/lasselaakkonen))
|
|
||||||
* [#7376](https://github.com/openlayers/openlayers/pull/7376) - changed visibility of overlay properties to protected ([@virtualcitySYSTEMS](https://github.com/virtualcitySYSTEMS))
|
|
||||||
* [#7377](https://github.com/openlayers/openlayers/pull/7377) - Add support to specify CSS class name when creating ol.Overlay ([@notnotse](https://github.com/notnotse))
|
|
||||||
* [#7383](https://github.com/openlayers/openlayers/pull/7383) - Handle null tile coordinates correctly ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7375](https://github.com/openlayers/openlayers/pull/7375) - Read 'Abstract', 'AccessConstraints' and 'Fees' in ol.format.OWS ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7378](https://github.com/openlayers/openlayers/pull/7378) - Fix incorrect docs about ol.source.Raster ([@notnotse](https://github.com/notnotse))
|
|
||||||
* [#7371](https://github.com/openlayers/openlayers/pull/7371) - Add @api annotation to ol.VectorTile.getExtent ([@notnotse](https://github.com/notnotse))
|
|
||||||
* [#7369](https://github.com/openlayers/openlayers/pull/7369) - Always request the Bing API with the 'culture' value ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7364](https://github.com/openlayers/openlayers/pull/7364) - Remove GeoJSON workaround for GeoServer ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7355](https://github.com/openlayers/openlayers/pull/7355) - Pass pixel tolerance as a parameter to constructor of ol.interaction.Extent ([@marcosox](https://github.com/marcosox))
|
|
||||||
* [#7356](https://github.com/openlayers/openlayers/pull/7356) - Fix documentation for target option in the controls ([@EduardoNogueira](https://github.com/EduardoNogueira))
|
|
||||||
* [#7359](https://github.com/openlayers/openlayers/pull/7359) - Rename entry to input - regarding options to rollup lib - Issue #7358 ([@akkumar](https://github.com/akkumar))
|
|
||||||
* [#7357](https://github.com/openlayers/openlayers/pull/7357) - Release v4.4.2 ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7350](https://github.com/openlayers/openlayers/pull/7350) - Calculate correct text box size ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7349](https://github.com/openlayers/openlayers/pull/7349) - Do not use tileUrlFunction for renderer tile coordinates ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7305](https://github.com/openlayers/openlayers/pull/7305) - Fix #7304: Re-calculate the resolution when the WMS source is reprojected ([@oterral](https://github.com/oterral))
|
|
||||||
* [#7346](https://github.com/openlayers/openlayers/pull/7346) - Pre-render text images for configured scale ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7345](https://github.com/openlayers/openlayers/pull/7345) - Handle different lineWidth scaling in Safari ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7344](https://github.com/openlayers/openlayers/pull/7344) - Make text height detection independent of css settings ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7341](https://github.com/openlayers/openlayers/pull/7341) - Proper rendering of raster sources when there is a tile transition ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7339](https://github.com/openlayers/openlayers/pull/7339) - Use correct text stroke on HiDPI devices ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7327](https://github.com/openlayers/openlayers/pull/7327) - Prune the tile cache after updating a source's URL ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7333](https://github.com/openlayers/openlayers/pull/7333) - Pluggable Map/Layers - function calls to handles and create ([@waxenegger](https://github.com/waxenegger))
|
|
||||||
* [#7329](https://github.com/openlayers/openlayers/pull/7329) - Reworked attribution handling ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7337](https://github.com/openlayers/openlayers/pull/7337) - Always create a new blank image to avoid CSP violations ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7330](https://github.com/openlayers/openlayers/pull/7330) - Add upgrade notes to 4.4.0 changelog ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7321](https://github.com/openlayers/openlayers/pull/7321) - Release v4.4.1 ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7323](https://github.com/openlayers/openlayers/pull/7323) - Only clear the canvas when needed ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7313](https://github.com/openlayers/openlayers/pull/7313) - Use lowercase module identifiers until ol@5 ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7316](https://github.com/openlayers/openlayers/pull/7316) - fix copy-paste error in 4.4.0 changelog ([@mprins](https://github.com/mprins))
|
|
||||||
* [#7315](https://github.com/openlayers/openlayers/pull/7315) - Add new ol.format.filter.Contains spatial operator ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7311](https://github.com/openlayers/openlayers/pull/7311) - Release v4.4.0 ([@tschaub](https://github.com/tschaub))
|
|
||||||
|
|
||||||
Additionally a number of updates where made to our dependencies:
|
|
||||||
<details>
|
|
||||||
<summary>Click to expand</summary>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7455">#7455</a> - Update eslint to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7447">#7447</a> - chore(package): update rollup-plugin-commonjs to version 8.2.6 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7448">#7448</a> - chore(package): update debounce to version 1.1.0 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7451">#7451</a> - chore(package): update karma to version 1.7.1 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7446">#7446</a> - fix(package): update rollup to version 0.51.3 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7428">#7428</a> - Update sinon to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7425">#7425</a> - Update async to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7418">#7418</a> - Update sinon to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7416">#7416</a> - Update sinon to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7417">#7417</a> - Update phantomjs-prebuilt to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7399">#7399</a> - Update eslint to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7395">#7395</a> - Update closure-util to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7392">#7392</a> - Update sinon to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7380">#7380</a> - Update rollup-plugin-cleanup to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7366">#7366</a> - Update handlebars to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7360">#7360</a> - Update eslint to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7354">#7354</a> - Update closure-util to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7319">#7319</a> - Update closure-util to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
<li><a href="https://github.com/openlayers/openlayers/pull/7314">#7314</a> - Update mocha to the latest version 🚀 (<a href="https://github.com/openlayers">@openlayers</a>)</li>
|
|
||||||
</ul>
|
|
||||||
</details>
|
|
||||||
@@ -1,91 +0,0 @@
|
|||||||
# v4.6.0
|
|
||||||
|
|
||||||
### Summary
|
|
||||||
|
|
||||||
The 4.6 release includes enhancements and fixes from 30 or so pull requests. Headlining this release, vector layers got new `textBackgroundFill`, `textBackgroundStroke` and `padding` options that can be used to render background boxes for text. `ol.source.ImageVector` is now deprecated and replaced by a more convenient way to render vectors as images: by simply setting `renderMode: 'image'` on the vector layer.
|
|
||||||
|
|
||||||
Please note that if you are using `closure-util` to build your OpenLayers based application, it is time to migrate to using the [`ol` package](https://www.npmjs.com/package/ol) and a module bundler like webpack. OpenLayers has not had a dependency on the Closure Library since the [3.19 release](https://github.com/openlayers/openlayers/releases/tag/v3.19.0); and with the 5.0 release we will be moving completely away from `goog.require` and `goog.provide`, dropping support for `closure-util`, and going with ES modules for our sources.
|
|
||||||
|
|
||||||
See the [wiki](https://github.com/openlayers/openlayers/wiki/OpenLayers-v5.x) about upcoming changes in 5.0 and tips on how to upgrade. We likely won't have another 4.x release before the 5.0 release. If you're interested in continuing to get feature enhancements in future releases, migrating to the `ol` package now will make the transition easier.
|
|
||||||
|
|
||||||
|
|
||||||
### Upgrade notes
|
|
||||||
|
|
||||||
#### Renamed `exceedLength` option of `ol.style.Text` to `overflow`
|
|
||||||
|
|
||||||
To update your applications, simply replace `exceedLength` with `overflow`.
|
|
||||||
|
|
||||||
#### Deprecation of `ol.source.ImageVector`
|
|
||||||
|
|
||||||
Rendering vector sources as image is now directly supported by `ol.layer.Vector` with the new `renderMode: 'image'` configuration option. Change code like this:
|
|
||||||
|
|
||||||
```js
|
|
||||||
new ol.layer.Image({
|
|
||||||
source: new ol.source.ImageVector({
|
|
||||||
style: myStyle,
|
|
||||||
source: new ol.source.Vector({
|
|
||||||
url: 'my/data.json',
|
|
||||||
format: new ol.format.GeoJSON()
|
|
||||||
})
|
|
||||||
})
|
|
||||||
});
|
|
||||||
```
|
|
||||||
to:
|
|
||||||
|
|
||||||
```js
|
|
||||||
new ol.layer.Vector({
|
|
||||||
renderMode: 'image',
|
|
||||||
style: myStyle,
|
|
||||||
source: new ol.source.Vector({
|
|
||||||
url: 'my/data.json',
|
|
||||||
format: new ol.format.GeoJSON()
|
|
||||||
})
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## Detailed changes
|
|
||||||
|
|
||||||
See below for the full list of changes.
|
|
||||||
|
|
||||||
* [#7538](https://github.com/openlayers/openlayers/pull/7538) - removeFromLoadedExtents to remove extents that failed to load ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7537](https://github.com/openlayers/openlayers/pull/7537) - Fix Draw.removeLastPoint exception when no points to remove ([@walkermatt](https://github.com/walkermatt))
|
|
||||||
* [#7461](https://github.com/openlayers/openlayers/pull/7461) - Use the matrixSet projection by default ([@oterral](https://github.com/oterral))
|
|
||||||
* [#5883](https://github.com/openlayers/openlayers/pull/5883) - Fixes setUrl() for WMTS sources (ol.source.WMTS) ([@bylexus](https://github.com/bylexus))
|
|
||||||
* [#7531](https://github.com/openlayers/openlayers/pull/7531) - Update the ol package readme ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7372](https://github.com/openlayers/openlayers/pull/7372) - Add method to set max cache size in ol.style.IconImageCache ([@notnotse](https://github.com/notnotse))
|
|
||||||
* [#7530](https://github.com/openlayers/openlayers/pull/7530) - Check forward/back 1 world if wrapping ([@raiyni](https://github.com/raiyni))
|
|
||||||
* [#7526](https://github.com/openlayers/openlayers/pull/7526) - Allow clicks to be stopped while drawing ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#7524](https://github.com/openlayers/openlayers/pull/7524) - Snap view center to pixel ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7521](https://github.com/openlayers/openlayers/pull/7521) - fix setMinZoom/setMaxZoom ([@cs09g](https://github.com/cs09g))
|
|
||||||
* [#7519](https://github.com/openlayers/openlayers/pull/7519) - Reuse declutter tree for hit detection ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7499](https://github.com/openlayers/openlayers/pull/7499) - Remove attributions from olx.FrameState instances ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7501](https://github.com/openlayers/openlayers/pull/7501) - Option to render vector layers as images ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7516](https://github.com/openlayers/openlayers/pull/7516) - Deprecate exceedLength and replace with overflow ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7510](https://github.com/openlayers/openlayers/pull/7510) - Do not fade the states layer ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7513](https://github.com/openlayers/openlayers/pull/7513) - Make strokeKey safer ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7514](https://github.com/openlayers/openlayers/pull/7514) - Prune the label cache less aggressively ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7505](https://github.com/openlayers/openlayers/pull/7505) - Remove ol.DeviceOrientation link from API index ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7497](https://github.com/openlayers/openlayers/pull/7497) - Use getGeometry ([@nicholas-l](https://github.com/nicholas-l))
|
|
||||||
* [#7495](https://github.com/openlayers/openlayers/pull/7495) - Remove layer renderers when viewport is removed ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7492](https://github.com/openlayers/openlayers/pull/7492) - Remove unneeded type cast from examples ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7489](https://github.com/openlayers/openlayers/pull/7489) - Allow string to be passed as ol.interaction.Draw type ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7445](https://github.com/openlayers/openlayers/pull/7445) - Load css rules from full-screen.css in examples ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7481](https://github.com/openlayers/openlayers/pull/7481) - Make zoom to extent control extensible ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#7477](https://github.com/openlayers/openlayers/pull/7477) - Make text states available for replay time ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7482](https://github.com/openlayers/openlayers/pull/7482) - Reset rotation after rendering ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7480](https://github.com/openlayers/openlayers/pull/7480) - Create a new image when loading tile after an error ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7476](https://github.com/openlayers/openlayers/pull/7476) - Reset text measurements when available fonts change ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7454](https://github.com/openlayers/openlayers/pull/7454) - Add text background rendering and text padding ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7468](https://github.com/openlayers/openlayers/pull/7468) - Add new API-key for HERE example ([@chrismayer](https://github.com/chrismayer))
|
|
||||||
* [#7465](https://github.com/openlayers/openlayers/pull/7465) - Export ol.proj.Projection#getAxisOrientation function ([@fredj](https://github.com/fredj))
|
|
||||||
* [#7462](https://github.com/openlayers/openlayers/pull/7462) - Respect metersPerUnit in ScaleLine control ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
|
|
||||||
|
|
||||||
Additionally a number of updates where made to our dependencies:
|
|
||||||
* [#7536](https://github.com/openlayers/openlayers/pull/7536) - Update fs-extra to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7533](https://github.com/openlayers/openlayers/pull/7533) - Update marked to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7527](https://github.com/openlayers/openlayers/pull/7527) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7511](https://github.com/openlayers/openlayers/pull/7511) - Update rollup to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7512](https://github.com/openlayers/openlayers/pull/7512) - Update eslint to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#7484](https://github.com/openlayers/openlayers/pull/7484) - Update closure-util to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
# 4.6.1
|
|
||||||
|
|
||||||
The v4.6.1 release fixes a number of issues in the 4.6 releases.
|
|
||||||
|
|
||||||
## Fixes
|
|
||||||
|
|
||||||
* [#7543](https://github.com/openlayers/openlayers/pull/7543) - Donut polygon labels do not get a chance to get rendered ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7542](https://github.com/openlayers/openlayers/pull/7542) - Still respect deprecated exceedLength option ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#7541](https://github.com/openlayers/openlayers/pull/7541) - Fix case of vectorrendertype.js ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
@@ -23,6 +23,9 @@
|
|||||||
"externs/tilejson.js",
|
"externs/tilejson.js",
|
||||||
"externs/topojson.js"
|
"externs/topojson.js"
|
||||||
],
|
],
|
||||||
|
"define": [
|
||||||
|
"ol.DEBUG=false"
|
||||||
|
],
|
||||||
"jscomp_error": [
|
"jscomp_error": [
|
||||||
"*"
|
"*"
|
||||||
],
|
],
|
||||||
@@ -35,7 +38,6 @@
|
|||||||
"extra_annotation_name": [
|
"extra_annotation_name": [
|
||||||
"api", "observable"
|
"api", "observable"
|
||||||
],
|
],
|
||||||
"rewrite_polyfills": "false",
|
|
||||||
"compilation_level": "ADVANCED",
|
"compilation_level": "ADVANCED",
|
||||||
"warning_level": "VERBOSE",
|
"warning_level": "VERBOSE",
|
||||||
"output_wrapper": "(function(){%output%})();",
|
"output_wrapper": "(function(){%output%})();",
|
||||||
|
|||||||
@@ -23,18 +23,19 @@
|
|||||||
"externs/tilejson.js",
|
"externs/tilejson.js",
|
||||||
"externs/topojson.js"
|
"externs/topojson.js"
|
||||||
],
|
],
|
||||||
|
"define": [
|
||||||
|
"ol.DEBUG=false"
|
||||||
|
],
|
||||||
"jscomp_error": [
|
"jscomp_error": [
|
||||||
"*"
|
"*"
|
||||||
],
|
],
|
||||||
"jscomp_off": [
|
"jscomp_off": [
|
||||||
"lintChecks",
|
"lintChecks",
|
||||||
"analyzerChecks",
|
"analyzerChecks"
|
||||||
"unusedLocalVariables"
|
|
||||||
],
|
],
|
||||||
"extra_annotation_name": [
|
"extra_annotation_name": [
|
||||||
"api", "observable"
|
"api", "observable"
|
||||||
],
|
],
|
||||||
"rewrite_polyfills": "false",
|
|
||||||
"compilation_level": "ADVANCED",
|
"compilation_level": "ADVANCED",
|
||||||
"warning_level": "VERBOSE",
|
"warning_level": "VERBOSE",
|
||||||
"output_wrapper": "(function(){%output%})();",
|
"output_wrapper": "(function(){%output%})();",
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<li><a href="../doc">Docs</a></li>
|
<li><a href="../doc">Docs</a></li>
|
||||||
<li><a class="active" href="index.html">Examples</a></li>
|
<li><a class="active" href="index.html">Examples</a></li>
|
||||||
<li><a href="../apidoc">API</a></li>
|
<li><a href="../apidoc">API</a></li>
|
||||||
<li><a href="https://github.com/openlayers/openlayers">Code</a></li>
|
<li><a href="https://github.com/openlayers/ol3">Code</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
@@ -59,25 +59,23 @@
|
|||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div id="source-controls">
|
<div id="source-controls">
|
||||||
<a id="copy-button"><i class="fa fa-clipboard"></i> Copy</a>
|
<a id="copy-button"><i class="fa fa-clipboard"></i> Copy</a>
|
||||||
<a id="codepen-button"><i class="fa fa-codepen"></i> Edit</a>
|
<a id="jsfiddle-button"><i class="fa fa-jsfiddle"></i> Edit</a>
|
||||||
</div>
|
</div>
|
||||||
<form method="POST" id="codepen-form" target="_blank" action="https://codepen.io/pen/define/">
|
<form method="POST" id="jsfiddle-form" target="_blank" action="https://jsfiddle.net/api/post/library/pure/">
|
||||||
<textarea class="hidden" name="title">{{ title }}</textarea>
|
|
||||||
<textarea class="hidden" name="description">{{ shortdesc }}</textarea>
|
|
||||||
<textarea class="hidden" name="js">{{ js.source }}</textarea>
|
<textarea class="hidden" name="js">{{ js.source }}</textarea>
|
||||||
<textarea class="hidden" name="css">{{ css.source }}</textarea>
|
<textarea class="hidden" name="css">{{ css.source }}</textarea>
|
||||||
<textarea class="hidden" name="html">{{ contents }}</textarea>
|
<textarea class="hidden" name="html">{{ contents }}</textarea>
|
||||||
<input type="hidden" name="resources" value="https://openlayers.org/en/v{{ olVersion }}/css/ol.css,https://openlayers.org/en/v{{ olVersion }}/build/ol.js{{ extraResources }}">
|
<input type="hidden" name="wrap" value="l">
|
||||||
<input type="hidden" name="data">
|
<input type="hidden" name="resources" value="http://openlayers.org/en/v{{ olVersion }}/css/ol.css,http://openlayers.org/en/v{{ olVersion }}/build/ol.js{{ extraResources }}">
|
||||||
</form>
|
</form>
|
||||||
<pre><code id="example-source" class="language-markup"><!DOCTYPE html>
|
<pre><code id="example-source" class="language-markup"><!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>{{ title }}</title>
|
<title>{{ title }}</title>
|
||||||
<link rel="stylesheet" href="https://openlayers.org/en/v{{ olVersion }}/css/ol.css" type="text/css">
|
<link rel="stylesheet" href="http://openlayers.org/en/v{{ olVersion }}/css/ol.css" type="text/css">
|
||||||
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x -->
|
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x -->
|
||||||
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script>
|
<script src="http://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script>
|
||||||
<script src="https://openlayers.org/en/v{{ olVersion }}/build/ol.js"></script>{{#if extraHead.remote}}
|
<script src="http://openlayers.org/en/v{{ olVersion }}/build/ol.js"></script>{{#if extraHead.remote}}
|
||||||
{{ indent extraHead.remote spaces=4 }}{{/if}}{{#if css.source}}
|
{{ indent extraHead.remote spaces=4 }}{{/if}}{{#if css.source}}
|
||||||
<style>
|
<style>
|
||||||
{{ indent css.source spaces=6 }} </style>{{/if}}
|
{{ indent css.source spaces=6 }} </style>{{/if}}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"plugins/markdown",
|
"node_modules/jsdoc/plugins/markdown",
|
||||||
"config/jsdoc/api/plugins/inheritdoc",
|
"config/jsdoc/api/plugins/inheritdoc",
|
||||||
"config/jsdoc/api/plugins/typedefs",
|
"config/jsdoc/api/plugins/typedefs",
|
||||||
"config/jsdoc/api/plugins/events",
|
"config/jsdoc/api/plugins/events",
|
||||||
@@ -26,13 +26,16 @@
|
|||||||
"markdown": {
|
"markdown": {
|
||||||
"parser": "gfm"
|
"parser": "gfm"
|
||||||
},
|
},
|
||||||
|
"stability": {
|
||||||
|
"levels": ["deprecated","experimental","unstable","stable","frozen","locked"]
|
||||||
|
},
|
||||||
"templates": {
|
"templates": {
|
||||||
"cleverLinks": true,
|
"cleverLinks": true,
|
||||||
"monospaceLinks": true,
|
"monospaceLinks": true,
|
||||||
"default": {
|
"default": {
|
||||||
"outputSourceFiles": false
|
"outputSourceFiles": false
|
||||||
},
|
},
|
||||||
"applicationName": "OpenLayers"
|
"applicationName": "OpenLayers 3"
|
||||||
},
|
},
|
||||||
"jsVersion": 180
|
"jsVersion": 180
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,11 +15,11 @@
|
|||||||
</tr><tr>
|
</tr><tr>
|
||||||
<th>Controls</th><th>Interactions</th><th>Sources and formats</th>
|
<th>Controls</th><th>Interactions</th><th>Sources and formats</th>
|
||||||
</tr><tr>
|
</tr><tr>
|
||||||
<td>[Map default controls](ol.control.html#.defaults)<br>
|
<td>[Map default controls](ol.control.html#defaults)<br>
|
||||||
[All controls](ol.control.html)
|
[All controls](ol.control.html)
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
[Map default interactions](ol.interaction.html#.defaults)<br>
|
[Map default interactions](ol.interaction.html#defaults)<br>
|
||||||
Interactions for [vector features](ol.Feature.html)
|
Interactions for [vector features](ol.Feature.html)
|
||||||
<ul><li>[ol.interaction.Select](ol.interaction.Select.html)</li>
|
<ul><li>[ol.interaction.Select](ol.interaction.Select.html)</li>
|
||||||
<li>[ol.interaction.Draw](ol.interaction.Draw.html)</li>
|
<li>[ol.interaction.Draw](ol.interaction.Draw.html)</li>
|
||||||
@@ -32,10 +32,10 @@ Interactions for [vector features](ol.Feature.html)
|
|||||||
<br>[Formats](ol.format.Feature.html) for reading/writing vector data
|
<br>[Formats](ol.format.Feature.html) for reading/writing vector data
|
||||||
<br>[ol.format.WMSCapabilities](ol.format.WMSCapabilities.html)</td></tr>
|
<br>[ol.format.WMSCapabilities](ol.format.WMSCapabilities.html)</td></tr>
|
||||||
<tr><th>Projections</th><th>Observable objects</th><th>Other components</th></tr>
|
<tr><th>Projections</th><th>Observable objects</th><th>Other components</th></tr>
|
||||||
<tr><td><p>All coordinates and extents need to be provided in view projection (default: EPSG:3857). To transform, use [ol.proj.transform()](ol.proj.html#.transform) and [ol.proj.transformExtent()](ol.proj.html#.transformExtent).</p>
|
<tr><td><p>All coordinates and extents need to be provided in view projection (default: EPSG:3857). To transform, use [ol.proj.transform()](ol.proj.html#transform) and [ol.proj.transformExtent()](ol.proj.html#transformExtent).</p>
|
||||||
[ol.proj](ol.proj.html)</td>
|
[ol.proj](ol.proj.html)</td>
|
||||||
<td><p>Changes to all [ol.Objects](ol.Object.html) can be observed by calling the [object.on('propertychange')](ol.Object.html#on) method. Listeners receive an [ol.Object.Event](ol.Object.Event.html) with information on the changed property and old value.</p>
|
<td><p>Changes to all [ol.Objects](ol.Object.html) can observed by calling the [object.on('propertychange')](ol.Object.html#on) method. Listeners receive an [ol.ObjectEvent](ol.ObjectEvent.html) with information on the changed property and old value.</p>
|
||||||
<td>
|
<td>[ol.DeviceOrientation](ol.DeviceOrientation.html)<br>
|
||||||
[ol.Geolocation](ol.Geolocation.html)<br>
|
[ol.Geolocation](ol.Geolocation.html)<br>
|
||||||
[ol.Overlay](ol.Overlay.html)<br></td>
|
[ol.Overlay](ol.Overlay.html)<br></td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
@@ -44,19 +44,21 @@ Interactions for [vector features](ol.Feature.html)
|
|||||||
|
|
||||||
#### API change policy
|
#### API change policy
|
||||||
|
|
||||||
The OpenLayers API consists of
|
The OpenLayers 3.x API consists of
|
||||||
* names and signatures of constructors
|
* names of classes, class methods and properties
|
||||||
* names and signatures of instance methods and properties
|
* names of static functions and constants
|
||||||
* names and signatures of functions
|
* order and types of function arguments
|
||||||
* names of constants
|
* types of function return values
|
||||||
|
|
||||||
Within a major release series, the API will not be changed. Any changes to the API will be accompanied by a new major release.
|
API elements marked as `experimental` provide stable and functioning code, but may change.
|
||||||
|
Any changes will be documented in upgrade notes so application code can be changed appropriately
|
||||||
|
before using the new version of the library. All other API elements will remain compatible throughout the 3.x releases so that no changes to existing application code are necessary when upgrading to a later version.
|
||||||
|
|
||||||
*Note*: The API change policy does not cover CSS class names that are used to style the
|
*Note*: The API change policy does not cover CSS class names that are used to theme the
|
||||||
OpenLayers UI.
|
OpenLayers UI.
|
||||||
|
|
||||||
*Note for Closure Compiler users compiling their application code together with OpenLayers*:
|
*Note for Closure Compiler users compiling their application code together with OpenLayers*:
|
||||||
The names of types other than those in the list above (e.g. `ol.Coordinate`) are subject to change. It
|
The names of types other than those in the list above (e.g. `ol.Pixel`) are subject to change. It
|
||||||
is therefore recommended to either use the resolved type as listed in the API docs (e.g.
|
is therefore recommended to either use the resolved type as listed in the API docs (e.g.
|
||||||
`Array.<number>` instead of `ol.Coordinate`), or pay attention to the upgrade notes, which will list
|
`Array.<number>` instead of `ol.Pixel`), or pay attention to the upgrade notes, which will list
|
||||||
the changes for those types.
|
the changes for those types.
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
/**
|
/**
|
||||||
* Define an @api tag
|
* Define an @api tag
|
||||||
*/
|
*/
|
||||||
|
var conf = env.conf.stability;
|
||||||
|
var defaultLevels = ["deprecated","experimental","unstable","stable","frozen","locked"];
|
||||||
|
var levels = conf.levels || defaultLevels;
|
||||||
|
var util = require('util');
|
||||||
exports.defineTags = function(dictionary) {
|
exports.defineTags = function(dictionary) {
|
||||||
dictionary.defineTag('api', {
|
dictionary.defineTag('api', {
|
||||||
mustHaveValue: false,
|
mustHaveValue: false,
|
||||||
@@ -8,7 +12,13 @@ exports.defineTags = function(dictionary) {
|
|||||||
canHaveName: false,
|
canHaveName: false,
|
||||||
onTagged: function(doclet, tag) {
|
onTagged: function(doclet, tag) {
|
||||||
includeTypes(doclet);
|
includeTypes(doclet);
|
||||||
doclet.stability = "stable";
|
var level = tag.text || "experimental";
|
||||||
|
if (levels.indexOf(level) >= 0) {
|
||||||
|
doclet.stability = level;
|
||||||
|
} else {
|
||||||
|
var errorText = util.format('Invalid stability level (%s) in %s line %s', tag.text, doclet.meta.filename, doclet.meta.lineno);
|
||||||
|
require('jsdoc/lib/jsdoc/util/error').handle( new Error(errorText) );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -41,13 +41,13 @@ exports.handlers = {
|
|||||||
cls.observables = [];
|
cls.observables = [];
|
||||||
}
|
}
|
||||||
observable = observables[doclet.observable];
|
observable = observables[doclet.observable];
|
||||||
if (observable.type && cls.observables.indexOf(observable) == -1) {
|
if (cls.observables.indexOf(observable) == -1) {
|
||||||
cls.observables.push(observable);
|
cls.observables.push(observable);
|
||||||
}
|
}
|
||||||
if (!cls.fires) {
|
if (!cls.fires) {
|
||||||
cls.fires = [];
|
cls.fires = [];
|
||||||
}
|
}
|
||||||
event = 'ol.Object.Event#event:change:' + name;
|
event = 'ol.ObjectEvent#event:change:' + name;
|
||||||
if (cls.fires.indexOf(event) == -1) {
|
if (cls.fires.indexOf(event) == -1) {
|
||||||
cls.fires.push(event);
|
cls.fires.push(event);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ contain Markdown.
|
|||||||
|
|
||||||
The second line tells the Closure compiler the type of the argument.
|
The second line tells the Closure compiler the type of the argument.
|
||||||
|
|
||||||
The third line (`@api`) marks the method as part of the api and thus exportable. Without such an api annotation, the method will not be documented in the generated API documentation. Symbols without an api annotation will also not be exportable.
|
The third line (`@api`) marks the method as part of the api and thus exportable. The stability can be added as value, e.g. `@api stable`. Without such an api annotation, the method will not be documented in the generated API documentation. Symbols without an api annotation will also not be exportable (unless they are explicitly exported with a `goog.exportProperty` call).
|
||||||
|
|
||||||
The `@api` annotation can be used in conjunction with the `@inheritDoc` annotation to export a symbol that is documented on a parent class (where the method may be abstract). In general, `@api` annotations should never be used on abstract methods (only on their implementations).
|
The `@api` annotation can be used in conjunction with the `@inheritDoc` annotation to export a symbol that is documented on a parent class (where the method may be abstract). In general, `@api` annotations should never be used on abstract methods (only on their implementations).
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ Events are documented using `@fires` and `@event` annotations:
|
|||||||
* Constants for event names.
|
* Constants for event names.
|
||||||
* @enum {string}
|
* @enum {string}
|
||||||
*/
|
*/
|
||||||
ol.MapBrowserEventType = {
|
ol.MapBrowserEvent.EventType = {
|
||||||
/**
|
/**
|
||||||
* A true single click with no dragging and no double click. Note that this
|
* A true single click with no dragging and no double click. Note that this
|
||||||
* event is delayed by 250 ms to ensure that it is not a double click.
|
* event is delayed by 250 ms to ensure that it is not a double click.
|
||||||
|
|||||||
@@ -85,27 +85,33 @@ $(function () {
|
|||||||
var srcLinks = $('div.tag-source');
|
var srcLinks = $('div.tag-source');
|
||||||
srcLinks.each(function(i, el) {
|
srcLinks.each(function(i, el) {
|
||||||
var textParts = el.innerHTML.trim().split(', ');
|
var textParts = el.innerHTML.trim().split(', ');
|
||||||
var link = 'https://github.com/openlayers/openlayers/blob/v' + currentVersion + '/' +
|
var link = 'https://github.com/openlayers/ol3/blob/v' + currentVersion + '/' +
|
||||||
textParts[0];
|
textParts[0];
|
||||||
el.innerHTML = '<a href="' + link + '">' + textParts[0] + '</a>, ' +
|
el.innerHTML = '<a href="' + link + '">' + textParts[0] + '</a>, ' +
|
||||||
'<a href="' + link + textParts[1].replace('line ', '#L') + '">' +
|
'<a href="' + link + textParts[1].replace('line ', '#L') + '">' +
|
||||||
textParts[1] + '</a>';
|
textParts[1] + '</a>';
|
||||||
});
|
});
|
||||||
|
|
||||||
// Highlighting current anchor
|
// show/hide unstable items
|
||||||
|
var links = $('a[href^="ol."]');
|
||||||
var anchors = $('.anchor');
|
var unstable = $('.unstable');
|
||||||
var _onHashChange = function () {
|
var stabilityToggle = $('#stability-toggle');
|
||||||
var activeHash = window.document.location.hash
|
stabilityToggle.change(function() {
|
||||||
.replace(/\./g, '\\.'); // Escape dot in element id
|
unstable.toggleClass('hidden', this.checked);
|
||||||
|
var search = this.checked ? '?stableonly=true' : '';
|
||||||
anchors.removeClass('highlighted');
|
links.each(function(i, el) {
|
||||||
|
this.href = this.pathname + search + this.hash;
|
||||||
if (activeHash.length > 0) {
|
});
|
||||||
anchors.filter(activeHash).addClass('highlighted');
|
if (history.replaceState) {
|
||||||
|
var url = window.location.pathname + search + window.location.hash;
|
||||||
|
history.replaceState({}, '', url);
|
||||||
}
|
}
|
||||||
};
|
return false;
|
||||||
|
});
|
||||||
$(window).on('hashchange', _onHashChange);
|
var search = window.location.search;
|
||||||
_onHashChange();
|
links.each(function(i, el) {
|
||||||
|
this.href = this.pathname + search + this.hash;
|
||||||
|
});
|
||||||
|
stabilityToggle.prop('checked', search === '?stableonly=true');
|
||||||
|
unstable.toggleClass('hidden', stabilityToggle[0].checked);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -45,14 +45,9 @@
|
|||||||
body {
|
body {
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
}
|
}
|
||||||
.nameContainer .anchor {
|
.nameContainer .name, .prettyprint.source .pln {
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
margin-top: -50px;
|
margin-top: -50px;
|
||||||
width: 0px;
|
|
||||||
height: 0px;
|
|
||||||
}
|
|
||||||
.nameContainer .anchor.highlighted + h4 {
|
|
||||||
background-color: #faebcc;
|
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -299,7 +294,6 @@ span.type-signature.static {
|
|||||||
color: gray;
|
color: gray;
|
||||||
}
|
}
|
||||||
.main .nameContainer h4 {
|
.main .nameContainer h4 {
|
||||||
margin-top: 0px;
|
|
||||||
margin-right: 150px;
|
margin-right: 150px;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,53 +10,40 @@
|
|||||||
<?js } else { ?>
|
<?js } else { ?>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<h2><?js if (doc.ancestors && doc.ancestors.length) { ?>
|
<h2><?js if (doc.ancestors && doc.ancestors.length) { ?>
|
||||||
<span class="ancestors"><?js= doc.ancestors.join('') ?></span><?js } ?><?js= doc.name ?>
|
<span class="ancestors"><?js= doc.ancestors.join('') ?></span><?js } ?><?js= doc.name ?>
|
||||||
<?js if (doc.variation) { ?>
|
<?js if (doc.variation) { ?>
|
||||||
<sup class="variation"><?js= doc.variation ?></sup>
|
<sup class="variation"><?js= doc.variation ?></sup>
|
||||||
<?js } ?></h2>
|
<?js } ?></h2>
|
||||||
<br>
|
|
||||||
<?js if (doc.stability || doc.kind == 'namespace') {
|
|
||||||
var ancestors = doc.ancestors.map(a => a.replace(/>\./g, '>').replace(/\.</g, '<')).join('/');
|
|
||||||
var name = doc.name.toLowerCase();
|
|
||||||
var parts = [];
|
|
||||||
if (ancestors) {
|
|
||||||
parts.push(ancestors);
|
|
||||||
}
|
|
||||||
parts.push(name);
|
|
||||||
var importPath = parts.join('/');
|
|
||||||
?>
|
|
||||||
<pre class="prettyprint source"><code>import <?js= doc.name ?> from '<?js= importPath ?>';</code></pre>
|
|
||||||
<?js } ?>
|
|
||||||
<?js if (doc.classdesc) { ?>
|
<?js if (doc.classdesc) { ?>
|
||||||
<div class="class-description"><?js= doc.classdesc ?></div>
|
<div class="class-description"><?js= doc.classdesc ?></div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<div class="container-overview">
|
<div class="container-overview">
|
||||||
<?js if (doc.kind === 'module' && doc.module) { ?>
|
<?js if (doc.kind === 'module' && doc.module) { ?>
|
||||||
<?js= self.partial('method.tmpl', doc.module) ?>
|
<?js= self.partial('method.tmpl', doc.module) ?>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js if (doc.kind === 'class') { ?>
|
<?js if (doc.kind === 'class') { ?>
|
||||||
<?js= self.partial('method.tmpl', doc) ?>
|
<?js= self.partial('method.tmpl', doc) ?>
|
||||||
<?js } else { ?>
|
<?js } else { ?>
|
||||||
<?js if (doc.description) { ?>
|
<?js if (doc.description) { ?>
|
||||||
<div class="description"><?js= doc.description ?></div>
|
<div class="description"><?js= doc.description ?></div>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js= self.partial('details.tmpl', doc) ?>
|
<?js= self.partial('details.tmpl', doc) ?>
|
||||||
|
|
||||||
<?js if (doc.examples && doc.examples.length) { ?>
|
<?js if (doc.examples && doc.examples.length) { ?>
|
||||||
<h3>Example<?js= doc.examples.length > 1? 's':'' ?></h3>
|
<h3>Example<?js= doc.examples.length > 1? 's':'' ?></h3>
|
||||||
<?js= self.partial('examples.tmpl', doc.examples) ?>
|
<?js= self.partial('examples.tmpl', doc.examples) ?>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?js if (doc.kind == 'class') {
|
<?js if (doc.kind == 'class') {
|
||||||
var subclasses = self.find(function() {
|
var subclasses = self.find(function() {
|
||||||
return this.augments && this.augments.indexOf(doc.longname) > -1;
|
return this.augments && this.augments.indexOf(doc.longname) > -1;
|
||||||
@@ -73,52 +60,52 @@
|
|||||||
|
|
||||||
<?js if (doc.augments && doc.augments.length) { ?>
|
<?js if (doc.augments && doc.augments.length) { ?>
|
||||||
<h3 class="subsection-title">Extends</h3>
|
<h3 class="subsection-title">Extends</h3>
|
||||||
|
|
||||||
<ul><?js doc.augments.forEach(function(a) { ?>
|
<ul><?js doc.augments.forEach(function(a) { ?>
|
||||||
<li><?js= self.linkto(a, a) ?></li>
|
<li><?js= self.linkto(a, a) ?></li>
|
||||||
<?js }); ?></ul>
|
<?js }); ?></ul>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js if (doc.mixes && doc.mixes.length) { ?>
|
<?js if (doc.mixes && doc.mixes.length) { ?>
|
||||||
<h3 class="subsection-title">Mixes In</h3>
|
<h3 class="subsection-title">Mixes In</h3>
|
||||||
|
|
||||||
<ul><?js doc.mixes.forEach(function(a) { ?>
|
<ul><?js doc.mixes.forEach(function(a) { ?>
|
||||||
<li><?js= self.linkto(a, a) ?></li>
|
<li><?js= self.linkto(a, a) ?></li>
|
||||||
<?js }); ?></ul>
|
<?js }); ?></ul>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js if (doc.requires && doc.requires.length) { ?>
|
<?js if (doc.requires && doc.requires.length) { ?>
|
||||||
<h3 class="subsection-title">Requires</h3>
|
<h3 class="subsection-title">Requires</h3>
|
||||||
|
|
||||||
<ul><?js doc.requires.forEach(function(r) { ?>
|
<ul><?js doc.requires.forEach(function(r) { ?>
|
||||||
<li><?js= self.linkto(r, r) ?></li>
|
<li><?js= self.linkto(r, r) ?></li>
|
||||||
<?js }); ?></ul>
|
<?js }); ?></ul>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js
|
<?js
|
||||||
var classes = self.find({kind: 'class', memberof: doc.longname});
|
var classes = self.find({kind: 'class', memberof: doc.longname});
|
||||||
if (doc.kind !== 'globalobj' && classes && classes.length) {
|
if (doc.kind !== 'globalobj' && classes && classes.length) {
|
||||||
?>
|
?>
|
||||||
<h3 class="subsection-title">Classes</h3>
|
<h3 class="subsection-title">Classes</h3>
|
||||||
|
|
||||||
<dl><?js classes.forEach(function(c) { ?>
|
<dl><?js classes.forEach(function(c) { ?>
|
||||||
<dt><?js= self.linkto(c.longname, c.name) ?></dt>
|
<dt><?js= self.linkto(c.longname, c.name) ?></dt>
|
||||||
<dd><?js if (c.summary) { ?><?js= c.summary ?><?js } ?></dd>
|
<dd><?js if (c.summary) { ?><?js= c.summary ?><?js } ?></dd>
|
||||||
<?js }); ?></dl>
|
<?js }); ?></dl>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js
|
<?js
|
||||||
var namespaces = self.find({kind: 'namespace', memberof: doc.longname});
|
var namespaces = self.find({kind: 'namespace', memberof: doc.longname});
|
||||||
if (doc.kind !== 'globalobj' && namespaces && namespaces.length) {
|
if (doc.kind !== 'globalobj' && namespaces && namespaces.length) {
|
||||||
?>
|
?>
|
||||||
<h3 class="subsection-title">Namespaces</h3>
|
<h3 class="subsection-title">Namespaces</h3>
|
||||||
|
|
||||||
<dl><?js namespaces.forEach(function(n) { ?>
|
<dl><?js namespaces.forEach(function(n) { ?>
|
||||||
<dt><a href="namespaces.html#<?js= n.longname ?>"><?js= self.linkto(n.longname, n.name) ?></a></dt>
|
<dt><a href="namespaces.html#<?js= n.longname ?>"><?js= self.linkto(n.longname, n.name) ?></a></dt>
|
||||||
<dd><?js if (n.summary) { ?><?js= n.summary ?><?js } ?></dd>
|
<dd><?js if (n.summary) { ?><?js= n.summary ?><?js } ?></dd>
|
||||||
<?js }); ?></dl>
|
<?js }); ?></dl>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js
|
<?js
|
||||||
if (doc.observables && doc.observables.length) {
|
if (doc.observables && doc.observables.length) {
|
||||||
?>
|
?>
|
||||||
@@ -129,32 +116,32 @@
|
|||||||
|
|
||||||
<?js
|
<?js
|
||||||
var members = self.find({kind: 'member', memberof: title === 'Global' ? {isUndefined: true} : doc.longname});
|
var members = self.find({kind: 'member', memberof: title === 'Global' ? {isUndefined: true} : doc.longname});
|
||||||
if (members && members.length && members.forEach) {
|
if (members && members.length && members.forEach) {
|
||||||
?>
|
?>
|
||||||
<h3 class="subsection-title">Members</h3>
|
<h3 class="subsection-title">Members</h3>
|
||||||
|
|
||||||
<dl><?js members.forEach(function(p) { ?>
|
<dl><?js members.forEach(function(p) { ?>
|
||||||
<?js= self.partial('members.tmpl', p) ?>
|
<?js= self.partial('members.tmpl', p) ?>
|
||||||
<?js }); ?></dl>
|
<?js }); ?></dl>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js
|
<?js
|
||||||
var methods = self.find({kind: 'function', memberof: title === 'Global' ? {isUndefined: true} : doc.longname});
|
var methods = self.find({kind: 'function', memberof: title === 'Global' ? {isUndefined: true} : doc.longname});
|
||||||
if (methods && methods.length && methods.forEach) {
|
if (methods && methods.length && methods.forEach) {
|
||||||
?>
|
?>
|
||||||
<h3 class="subsection-title">Methods</h3>
|
<h3 class="subsection-title">Methods</h3>
|
||||||
|
|
||||||
<dl><?js methods.forEach(function(m) { ?>
|
<dl><?js methods.forEach(function(m) { ?>
|
||||||
<?js= self.partial('method.tmpl', m) ?>
|
<?js= self.partial('method.tmpl', m) ?>
|
||||||
<?js }); ?></dl>
|
<?js }); ?></dl>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js
|
<?js
|
||||||
var typedefs = self.find({kind: 'typedef', memberof: title === 'Global' ? {isUndefined: true} : doc.longname});
|
var typedefs = self.find({kind: 'typedef', memberof: title === 'Global' ? {isUndefined: true} : doc.longname});
|
||||||
if (typedefs && typedefs.length && typedefs.forEach) {
|
if (typedefs && typedefs.length && typedefs.forEach) {
|
||||||
?>
|
?>
|
||||||
<h3 class="subsection-title">Type Definitions</h3>
|
<h3 class="subsection-title">Type Definitions</h3>
|
||||||
|
|
||||||
<dl><?js typedefs.forEach(function(e) {
|
<dl><?js typedefs.forEach(function(e) {
|
||||||
if (e.signature) {
|
if (e.signature) {
|
||||||
?>
|
?>
|
||||||
@@ -168,20 +155,20 @@
|
|||||||
}
|
}
|
||||||
}); ?></dl>
|
}); ?></dl>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js
|
<?js
|
||||||
var events = self.find({kind: 'event', memberof: title === 'Global' ? {isUndefined: true} : doc.longname});
|
var events = self.find({kind: 'event', memberof: title === 'Global' ? {isUndefined: true} : doc.longname});
|
||||||
if (events && events.length && events.forEach) {
|
if (events && events.length && events.forEach) {
|
||||||
?>
|
?>
|
||||||
<h3 class="subsection-title">Events</h3>
|
<h3 class="subsection-title">Events</h3>
|
||||||
|
|
||||||
<dl><?js events.forEach(function(e) { ?>
|
<dl><?js events.forEach(function(e) { ?>
|
||||||
<?js= self.partial('method.tmpl', e) ?>
|
<?js= self.partial('method.tmpl', e) ?>
|
||||||
<?js }); ?></dl>
|
<?js }); ?></dl>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
<?js } ?>
|
<?js } ?>
|
||||||
|
|
||||||
<?js }); ?>
|
<?js }); ?>
|
||||||
|
|||||||
@@ -22,12 +22,15 @@ var version = obj.packageInfo.version;
|
|||||||
<div class="navbar navbar-inverse navbar-fixed-top">
|
<div class="navbar navbar-inverse navbar-fixed-top">
|
||||||
<div class="navbar-inner">
|
<div class="navbar-inner">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a class="brand" href="/"><img src="logo-70x70.png"> OpenLayers</a>
|
<a class="brand" href="/"><img src="logo-70x70.png"> OpenLayers 3</a>
|
||||||
|
<label id="stability">
|
||||||
|
<input type="checkbox" id="stability-toggle"> Stable Only
|
||||||
|
</label>
|
||||||
<ul class="nav navbar-nav pull-right">
|
<ul class="nav navbar-nav pull-right">
|
||||||
<li><a href="../doc">Docs</a></li>
|
<li><a href="../doc">Docs</a></li>
|
||||||
<li><a href="../examples">Examples</a></li>
|
<li><a href="../examples">Examples</a></li>
|
||||||
<li><a href="index.html" class="active">API</a></li>
|
<li><a href="index.html" class="active">API</a></li>
|
||||||
<li><a href="https://github.com/openlayers/openlayers">Code</a></li>
|
<li><a href="https://github.com/openlayers/ol3">Code</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -11,9 +11,7 @@ if (data.type && data.type.names) {
|
|||||||
?>
|
?>
|
||||||
<dt class="<?js= (data.stability && data.stability !== 'stable') ? 'unstable' : '' ?>">
|
<dt class="<?js= (data.stability && data.stability !== 'stable') ? 'unstable' : '' ?>">
|
||||||
<div class="nameContainer">
|
<div class="nameContainer">
|
||||||
<div class="anchor" id="<?js= id ?>">
|
<h4 class="name" id="<?js= id ?>">
|
||||||
</div>
|
|
||||||
<h4 class="name">
|
|
||||||
<?js= data.attribs + (data.scope === 'static' ? longname : name) + typeSignature ?>
|
<?js= data.attribs + (data.scope === 'static' ? longname : name) + typeSignature ?>
|
||||||
<?js= this.partial('stability.tmpl', data) ?>
|
<?js= this.partial('stability.tmpl', data) ?>
|
||||||
</h4>
|
</h4>
|
||||||
|
|||||||
@@ -5,9 +5,7 @@ var self = this;
|
|||||||
<dt class="<?js= (data.stability && data.stability !== 'stable') ? 'unstable' : '' ?>">
|
<dt class="<?js= (data.stability && data.stability !== 'stable') ? 'unstable' : '' ?>">
|
||||||
<div class="nameContainer<?js if (data.inherited) { ?> inherited<?js } ?>">
|
<div class="nameContainer<?js if (data.inherited) { ?> inherited<?js } ?>">
|
||||||
<?js if (data.stability || kind !== 'class') { ?>
|
<?js if (data.stability || kind !== 'class') { ?>
|
||||||
<div class="anchor" id="<?js= id ?>">
|
<h4 class="name" id="<?js= id ?>">
|
||||||
</div>
|
|
||||||
<h4 class="name">
|
|
||||||
<?js= data.attribs + (kind === 'class' ? 'new ' : '') + (data.scope === 'static' ? longname : name) + (kind !== 'event' ? data.signature : '') ?>
|
<?js= data.attribs + (kind === 'class' ? 'new ' : '') + (data.scope === 'static' ? longname : name) + (kind !== 'event' ? data.signature : '') ?>
|
||||||
<?js if (data.inherited || data.inherits) { ?>
|
<?js if (data.inherited || data.inherits) { ?>
|
||||||
<span class="inherited"><?js= this.linkto(data.inherits, 'inherited') ?></span>
|
<span class="inherited"><?js= this.linkto(data.inherits, 'inherited') ?></span>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>Type</th>
|
<th>Type</th>
|
||||||
<th>Settable</th>
|
<th>Settable</th>
|
||||||
<th><a href="ol.Object.Event.html">ol.Object.Event</a> type</th>
|
<th><a href="ol.ObjectEvent.html">ol.ObjectEvent</a> type</th>
|
||||||
<th class="last">Description</th>
|
<th class="last">Description</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@@ -16,10 +16,8 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<?js
|
<?js
|
||||||
var self = this;
|
var self = this;
|
||||||
var propsByName = {};
|
|
||||||
props.forEach(function(prop) {
|
props.forEach(function(prop) {
|
||||||
if (!prop || propsByName[prop.name]) { return; }
|
if (!prop) { return; }
|
||||||
propsByName[prop.name] = prop;
|
|
||||||
var setter = prop.readonly ? 'no' : 'yes';
|
var setter = prop.readonly ? 'no' : 'yes';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
* an api tag) and boolean defines (with a define tag and a default value).
|
* an api tag) and boolean defines (with a define tag and a default value).
|
||||||
*/
|
*/
|
||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
|
var fs = require('fs');
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
|
|
||||||
|
|
||||||
@@ -88,6 +89,7 @@ exports.publish = function(data, opts) {
|
|||||||
types: getTypes(doc.type.names)
|
types: getTypes(doc.type.names)
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
var types;
|
||||||
var symbol = {
|
var symbol = {
|
||||||
name: doc.longname,
|
name: doc.longname,
|
||||||
kind: doc.kind,
|
kind: doc.kind,
|
||||||
@@ -167,15 +169,13 @@ exports.publish = function(data, opts) {
|
|||||||
return (symbol.name in augments || symbol.virtual);
|
return (symbol.name in augments || symbol.virtual);
|
||||||
});
|
});
|
||||||
|
|
||||||
return new Promise(function(resolve, reject) {
|
process.stdout.write(
|
||||||
process.stdout.write(
|
JSON.stringify({
|
||||||
JSON.stringify({
|
symbols: symbols,
|
||||||
symbols: symbols,
|
defines: defines,
|
||||||
defines: defines,
|
typedefs: typedefs,
|
||||||
typedefs: typedefs,
|
externs: externs,
|
||||||
externs: externs,
|
base: base
|
||||||
base: base
|
}, null, 2));
|
||||||
}, null, 2));
|
|
||||||
});
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
"externs/topojson.js"
|
"externs/topojson.js"
|
||||||
],
|
],
|
||||||
"define": [
|
"define": [
|
||||||
"ol.DEBUG_WEBGL=false"
|
"ol.DEBUG=false"
|
||||||
],
|
],
|
||||||
"jscomp_error": [
|
"jscomp_error": [
|
||||||
"*"
|
"*"
|
||||||
@@ -27,7 +27,6 @@
|
|||||||
"extra_annotation_name": [
|
"extra_annotation_name": [
|
||||||
"api", "observable"
|
"api", "observable"
|
||||||
],
|
],
|
||||||
"rewrite_polyfills": "false",
|
|
||||||
"compilation_level": "ADVANCED",
|
"compilation_level": "ADVANCED",
|
||||||
"warning_level": "VERBOSE",
|
"warning_level": "VERBOSE",
|
||||||
"use_types_for_optimization": true,
|
"use_types_for_optimization": true,
|
||||||
|
|||||||
26
css/ol.css
26
css/ol.css
@@ -34,32 +34,16 @@
|
|||||||
.ol-unsupported {
|
.ol-unsupported {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.ol-viewport, .ol-unselectable {
|
.ol-viewport .ol-unselectable {
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
|
-khtml-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||||
}
|
}
|
||||||
.ol-selectable {
|
|
||||||
-webkit-touch-callout: default;
|
|
||||||
-webkit-user-select: auto;
|
|
||||||
-moz-user-select: auto;
|
|
||||||
-ms-user-select: auto;
|
|
||||||
user-select: auto;
|
|
||||||
}
|
|
||||||
.ol-grabbing {
|
|
||||||
cursor: -webkit-grabbing;
|
|
||||||
cursor: -moz-grabbing;
|
|
||||||
cursor: grabbing;
|
|
||||||
}
|
|
||||||
.ol-grab {
|
|
||||||
cursor: move;
|
|
||||||
cursor: -webkit-grab;
|
|
||||||
cursor: -moz-grab;
|
|
||||||
cursor: grab;
|
|
||||||
}
|
|
||||||
.ol-control {
|
.ol-control {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: rgba(255,255,255,0.4);
|
background-color: rgba(255,255,255,0.4);
|
||||||
@@ -255,7 +239,3 @@
|
|||||||
.ol-overviewmap-box {
|
.ol-overviewmap-box {
|
||||||
border: 2px dotted rgba(0,60,136,0.7);
|
border: 2px dotted rgba(0,60,136,0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ol-overviewmap .ol-overviewmap-box:hover {
|
|
||||||
cursor: move;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -137,6 +137,10 @@ Invalid `units`. `'degrees'`, `'imperial'`, `'nautical'`, `'metric'` or `'us'` r
|
|||||||
|
|
||||||
Invalid geometry layout. Must be `XY`, `XYZ`, `XYM` or `XYZM`.
|
Invalid geometry layout. Must be `XY`, `XYZ`, `XYM` or `XYZM`.
|
||||||
|
|
||||||
|
### 35
|
||||||
|
|
||||||
|
Unknown GeoJSON object type. Expected `"Feature"` or `"FeatureCollection"`.
|
||||||
|
|
||||||
### 36
|
### 36
|
||||||
|
|
||||||
Unknown SRS type. Expected `"name"` or `"EPSG"`.
|
Unknown SRS type. Expected `"name"` or `"EPSG"`.
|
||||||
@@ -161,6 +165,10 @@ Expected `feature` to have a geometry.
|
|||||||
|
|
||||||
Expected an `ol.style.Style` or an array of `ol.style.Style`.
|
Expected an `ol.style.Style` or an array of `ol.style.Style`.
|
||||||
|
|
||||||
|
### 42
|
||||||
|
|
||||||
|
Expected an `ol.Feature`, but got an `ol.RenderFeature`.
|
||||||
|
|
||||||
### 43
|
### 43
|
||||||
|
|
||||||
Expected `layers` to be an array or an `ol.Collection`.
|
Expected `layers` to be an array or an `ol.Collection`.
|
||||||
@@ -216,15 +224,3 @@ The `{-y}` placeholder requires a tile grid with extent.
|
|||||||
### 56
|
### 56
|
||||||
|
|
||||||
`mapBrowserEvent` must originate from a pointer event.
|
`mapBrowserEvent` must originate from a pointer event.
|
||||||
|
|
||||||
### 57
|
|
||||||
|
|
||||||
At least 2 conditions are required.
|
|
||||||
|
|
||||||
### 58
|
|
||||||
|
|
||||||
Duplicate item added to a unique collection. For example, it may be that you tried to add the same layer to a map twice. Check for calls to `map.addLayer()` or other places where the map's layer collection is modified.
|
|
||||||
|
|
||||||
### 59
|
|
||||||
|
|
||||||
Invalid command found in the PBF. This indicates that the loaded vector tile may be corrupt.
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ layout: doc.hbs
|
|||||||
|
|
||||||
Certain questions arise more often than others when users ask for help. This
|
Certain questions arise more often than others when users ask for help. This
|
||||||
document tries to list some of the common questions that frequently get asked,
|
document tries to list some of the common questions that frequently get asked,
|
||||||
e.g. on [Stack Overflow](http://stackoverflow.com/questions/tagged/openlayers).
|
e.g. on [Stack Overflow](http://stackoverflow.com/questions/tagged/openlayers-3).
|
||||||
|
|
||||||
If you think a question (and naturally its answer) should be added here, feel
|
If you think a question (and naturally its answer) should be added here, feel
|
||||||
free to ping us or to send a pull request enhancing this document.
|
free to ping us or to send a pull request enhancing this document.
|
||||||
@@ -77,7 +77,7 @@ var map = new ol.Map({
|
|||||||
var swissProjection = new ol.proj.Projection({
|
var swissProjection = new ol.proj.Projection({
|
||||||
code: 'EPSG:21781',
|
code: 'EPSG:21781',
|
||||||
// The extent is used to determine zoom level 0. Recommended values for a
|
// The extent is used to determine zoom level 0. Recommended values for a
|
||||||
// projection's validity extent can be found at https://epsg.io/.
|
// projection's validity extent can be found at http://epsg.io/.
|
||||||
extent: [485869.5728, 76443.1884, 837076.5648, 299941.7864],
|
extent: [485869.5728, 76443.1884, 837076.5648, 299941.7864],
|
||||||
units: 'm'
|
units: 'm'
|
||||||
});
|
});
|
||||||
@@ -94,7 +94,7 @@ var map = new ol.Map({
|
|||||||
```
|
```
|
||||||
|
|
||||||
We recommend to lookup parameters of your projection (like the validity extent)
|
We recommend to lookup parameters of your projection (like the validity extent)
|
||||||
over at [epsg.io](https://epsg.io/).
|
over at [epsg.io](http://epsg.io/).
|
||||||
|
|
||||||
|
|
||||||
## Why is my map centered on the gulf of guinea (or africa, the ocean, null-island)?
|
## Why is my map centered on the gulf of guinea (or africa, the ocean, null-island)?
|
||||||
|
|||||||
@@ -5,18 +5,18 @@ layout: doc.hbs
|
|||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
|
|
||||||
If you're eager to get your first OpenLayers map on a page, dive into the [quick start](quickstart.html).
|
If you're eager to get your first OpenLayers 3 map on a page, dive into the [quick start](quickstart.html).
|
||||||
|
|
||||||
For a more in-depth overview of OpenLayers core concepts, check out the [tutorials](tutorials/).
|
For a more in-depth overview of OpenLayers 3 core concepts, check out the [tutorials](tutorials/).
|
||||||
|
|
||||||
Make sure to also check out the [OpenLayers workshop](/workshop/).
|
Make sure to also check out the [OpenLayers 3 workshop](/workshop/en/).
|
||||||
|
|
||||||
Find additional reference material in the [API docs](../apidoc) and [examples](../examples).
|
Find additional reference material in the [API docs](../apidoc).
|
||||||
|
|
||||||
# Frequently Asked Questions (FAQ)
|
# Frequently Asked Questions (FAQ)
|
||||||
|
|
||||||
We have put together a document that lists [Frequently Asked Questions (FAQ)](faq.html) and our answers. Common problems that may arise when using OpenLayers are explained there, and chances are you'll find an appropriate solution in this document.
|
We have put together a document that lists [Frequently Asked Questions (FAQ)](faq.html) and our answers. Common problems that may arise when using OpenLayers 3 are explained there, and chances are you'll find an appropriate solution in this document.
|
||||||
|
|
||||||
# More questions?
|
# More questions?
|
||||||
|
|
||||||
If you cannot find an answer in the documentation or the FAQ, you can search [Stack Overflow](http://stackoverflow.com/questions/tagged/openlayers). If you cannot find an answer there, ask a new question there, using the tag 'openlayers'.
|
If you cannot find an answer in the documentation or the FAQ, you can ask your question on [stackoverflow using the tag 'openlayers-3'](http://stackoverflow.com/questions/tagged/openlayers-3).
|
||||||
|
|||||||
@@ -13,15 +13,15 @@ Below you'll find a complete working example. Create a new file, copy in the co
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" href="https://openlayers.org/en/{{ latest }}/css/ol.css" type="text/css">
|
<link rel="stylesheet" href="http://openlayers.org/en/{{ latest }}/css/ol.css" type="text/css">
|
||||||
<style>
|
<style>
|
||||||
.map {
|
.map {
|
||||||
height: 400px;
|
height: 400px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script src="https://openlayers.org/en/{{ latest }}/build/ol.js" type="text/javascript"></script>
|
<script src="http://openlayers.org/en/{{ latest }}/build/ol.js" type="text/javascript"></script>
|
||||||
<title>OpenLayers example</title>
|
<title>OpenLayers 3 example</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h2>My Map</h2>
|
<h2>My Map</h2>
|
||||||
@@ -55,7 +55,7 @@ To include a map a web page you will need 3 things:
|
|||||||
### Include OpenLayers
|
### Include OpenLayers
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<script src="https://openlayers.org/en/{{ latest }}/build/ol.js" type="text/javascript"></script>
|
<script src="http://openlayers.org/en/{{ latest }}/build/ol.js" type="text/javascript"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
The first part is to include the JavaScript library. For the purpose of this tutorial, here we simply point to the openlayers.org website to get the whole library. In a production environment, we would build a custom version of the library including only the module needed for our application.
|
The first part is to include the JavaScript library. For the purpose of this tutorial, here we simply point to the openlayers.org website to get the whole library. In a production environment, we would build a custom version of the library including only the module needed for our application.
|
||||||
@@ -63,7 +63,7 @@ The first part is to include the JavaScript library. For the purpose of this tut
|
|||||||
**Optional:** If the application is intended to run on old platforms like Internet Explorer or Android 4.x, another script needs to be included before OpenLayers:
|
**Optional:** If the application is intended to run on old platforms like Internet Explorer or Android 4.x, another script needs to be included before OpenLayers:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList"></script>
|
<script src="http://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@@ -125,7 +125,7 @@ The `layers: [ ... ]` array is used to define the list of layers available in th
|
|||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
Layers in OpenLayers are defined with a type (Image, Tile or Vector) which contains a source. The source is the protocol used to get the map tiles. You can consult the list of [available layer sources here](/en/{{ latest }}/apidoc/ol.source.html)
|
Layers in OpenLayers 3 are defined with a type (Image, Tile or Vector) which contains a source. The source is the protocol used to get the map tiles. You can consult the list of [available layer sources here](/en/{{ latest }}/apidoc/ol.source.html)
|
||||||
|
|
||||||
The next part of the `Map` object is the `View`. The view allows to specify the center, resolution, and rotation of the map. The simplest way to define a view is to define a center point and a zoom level. Note that zoom level 0 is zoomed out.
|
The next part of the `Map` object is the `View`. The view allows to specify the center, resolution, and rotation of the map. The simplest way to define a view is to define a center point and a zoom level. Note that zoom level 0 is zoomed out.
|
||||||
|
|
||||||
|
|||||||
@@ -5,56 +5,57 @@ layout: doc.hbs
|
|||||||
|
|
||||||
# Introduction
|
# Introduction
|
||||||
|
|
||||||
When going beyond modifying existing examples you might be looking for a way to setup your own code with dependency management together with external dependencies like OpenLayers.
|
When going beyond modifying existing examples you might be looking for a
|
||||||
|
way to setup your own code with dependency management together with external
|
||||||
|
dependencies like OpenLayers 3.
|
||||||
|
|
||||||
This tutorial serves as a suggested project setup using NPM and Browserify for the most basic needs. There are several other options, and in particular you might be interested in a more modern one (ES2015) [using Webpack with OpenLayers](https://gist.github.com/tschaub/79025aef325cd2837364400a105405b8).
|
This tutorial serves as a suggested project setup using NPM and Browserify
|
||||||
|
for the most basic needs. There are several other options and in particular
|
||||||
|
you might be interested in
|
||||||
|
[compiling your own code together with OpenLayers 3](closure.html).
|
||||||
|
|
||||||
## Initial steps
|
## Initial steps
|
||||||
|
|
||||||
Create a new empty directory for your project and navigate to it by running `mkdir new-project && cd new-project`. Initialize your project using `npm init` and answer the questions asked.
|
Create a new empty directory for your project and navigate to it by running
|
||||||
|
`mkdir new-project && cd new-project`. Initialize your project using `npm init`
|
||||||
|
and answer the questions asked.
|
||||||
|
|
||||||
Add OpenLayers as dependency to your application with `npm install --save ol`.
|
At this point you can ask NPM to add required dependencies by running
|
||||||
|
`npm install --save-dev openlayers browserify watchify uglify-js`. Watchify and
|
||||||
At this point you can ask NPM to add required development dependencies by running
|
Uglify will be used to monitor for changes and to build into a minified
|
||||||
```
|
bundle.
|
||||||
npm install --save-dev cssify browserify cssify http-server uglify-js watchify
|
|
||||||
npm install --save-dev babelify babel-plugin-transform-es2015-modules-commonjs
|
|
||||||
```
|
|
||||||
We will be using `cssify` to include the css definitions required by OpenLayers in our bundle. `watchify`, `http-server` and `uglify-js` are used to monitor for changes and to build into a minified bundle. `babelify` and `babel-plugin-transform-es2015-modules-commonjs` are used to make the `ol` package, which was created using ES2015 modules, work with CommonJS.
|
|
||||||
|
|
||||||
## Application code and index.html
|
## Application code and index.html
|
||||||
|
|
||||||
Place your application code in `index.js`. Here is a simple starting point:
|
Place your application code in `index.js`. Here is a simple starting point:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
require('ol/ol.css');
|
var ol = require('openlayers');
|
||||||
var ol_Map = require('ol/map').default;
|
|
||||||
var ol_layer_Tile = require('ol/layer/tile').default;
|
var map = new ol.Map({
|
||||||
var ol_source_OSM = require('ol/source/osm').default;
|
|
||||||
var ol_View = require('ol/view').default;
|
|
||||||
|
|
||||||
var map = new ol_Map({
|
|
||||||
target: 'map',
|
target: 'map',
|
||||||
layers: [
|
layers: [
|
||||||
new ol_layer_Tile({
|
new ol.layer.Tile({
|
||||||
source: new ol_source_OSM()
|
source: new ol.source.OSM()
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
view: new ol_View({
|
view: new ol.View({
|
||||||
center: [0, 0],
|
center: [0, 0],
|
||||||
zoom: 0
|
zoom: 0
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
You will also need an `ìndex.html` file that will use your bundle. Here is a simple example:
|
You will also need an `ìndex.html` file that will use your bundle. Here is a simple
|
||||||
|
example:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Using Browserify with OpenLayers</title>
|
<title>Using Browserify with OpenLayers</title>
|
||||||
|
<link rel="stylesheet" href="node_modules/openlayers/dist/ol.css" type="text/css">
|
||||||
<style>
|
<style>
|
||||||
#map {
|
#map {
|
||||||
width: 400px;
|
width: 400px;
|
||||||
@@ -71,17 +72,18 @@ You will also need an `ìndex.html` file that will use your bundle. Here is a si
|
|||||||
|
|
||||||
## Creating a bundle
|
## Creating a bundle
|
||||||
|
|
||||||
With simple scripts you can introduce the commands `npm run build` and `npm start` to manually build your bundle and watch for changes, respectively. Add the following to the script section in `package.json`:
|
With simple scripts you can introduce the commands `npm run build` and `npm start` to
|
||||||
|
manually build your bundle and watch for changes, respectively. Add the following
|
||||||
|
to the script section in `package.json`:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "watchify index.js -g cssify --outfile bundle.js & http-server",
|
"start": "watchify index.js --outfile bundle.js",
|
||||||
"build": "browserify -g cssify index.js | uglifyjs --compress --output bundle.js"
|
"build": "browserify index.js | uglifyjs --compress --output bundle.js"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
Now to test your application open http://localhost:8080/ in your browser. `watchify` will update `bundle.js` whenever you change something. You simply need to reload the page in your browser to see the changes.
|
|
||||||
```
|
|
||||||
$ npm start
|
|
||||||
```
|
|
||||||
|
|
||||||
Note that `bundle.js` will contain your application code and all dependencies used in your application. From OpenLayers, it only contains the required components.
|
Note that `bundle.js` will contain your application code and all dependencies
|
||||||
|
used in your application, in this case the official full build of OpenLayers 3.
|
||||||
|
If you only need parts of OpenLayers 3 you can create
|
||||||
|
[custom builds](../../builder).
|
||||||
|
|||||||
@@ -5,16 +5,12 @@ layout: doc.hbs
|
|||||||
|
|
||||||
# Compiling Application with Closure Compiler
|
# Compiling Application with Closure Compiler
|
||||||
|
|
||||||
**Note**: When building an application with dependencies that are available as [npm](https://npmjs.com/) packages, it will probably be easier to use the [ol](https://npmjs.com/package/ol) package and follow the instructions there.
|
The OpenLayers 3 code uses the Closure Library, and it is compiled with the
|
||||||
|
Closure Compiler. Using OpenLayers 3 in an application does not require using
|
||||||
The OpenLayers code uses the Closure Library, and it is compiled with the
|
Closure. But using Closure in an OpenLayers 3 application is possible. And this
|
||||||
Closure Compiler. Using OpenLayers in an application does not require using
|
|
||||||
Closure. But using Closure in an OpenLayers application is possible. And this
|
|
||||||
is what this tutorial is about.
|
is what this tutorial is about.
|
||||||
|
|
||||||
When you want to include OpenLayers as separate script without bundling with your application, follow the [Creating custom builds](./custom-builds.html) tutorial instead.
|
This tutorial will teach you how to set up an OpenLayers 3 application based on
|
||||||
|
|
||||||
This tutorial will teach you how to set up an OpenLayers application based on
|
|
||||||
the [`closure-util`](https://github.com/openlayers/closure-util) node package,
|
the [`closure-util`](https://github.com/openlayers/closure-util) node package,
|
||||||
which provides utilities for working with Closure. Using `closure-util` is one
|
which provides utilities for working with Closure. Using `closure-util` is one
|
||||||
way to use Closure in a web application, but there are others. This tutorial
|
way to use Closure in a web application, but there are others. This tutorial
|
||||||
@@ -34,19 +30,19 @@ GitHub.
|
|||||||
## Advantages of using Closure
|
## Advantages of using Closure
|
||||||
|
|
||||||
This tutorial will show you how to use the Closure Compiler to compile an
|
This tutorial will show you how to use the Closure Compiler to compile an
|
||||||
application and OpenLayers together. Compiling the application code together
|
application and OpenLayers 3 together. Compiling the application code together
|
||||||
with the OpenLayers code has a number of advantages.
|
with the OpenLayers 3 code has a number of advantages.
|
||||||
|
|
||||||
First of all, it allows you to only "pay" for the OpenLayers code your
|
First of all, it allows you to only "pay" for the OpenLayers 3 code your
|
||||||
application uses, as the compiler will exclude the OpenLayers code that the
|
application uses, as the compiler will exclude the OpenLayers 3 code that the
|
||||||
application doesn't use. And there is no need to write and maintain a list of
|
application doesn't use. And there is no need to write and maintain a list of
|
||||||
"exports", which is necessary when creating custom builds of OpenLayers.
|
"exports", which is necessary when creating custom builds of OpenLayers 3.
|
||||||
|
|
||||||
Also, compiling the application and OpenLayers together allows using
|
Also, compiling the application and OpenLayers 3 together allows using
|
||||||
OpenLayers functions and objects that are not part of the official OpenLayers
|
OpenLayers 3 functions and objects that are not part of the official OpenLayers
|
||||||
3 API. Using non-API functions and objects may be risky, but it is mitigated by
|
3 API. Using non-API functions and objects may be risky, but it is mitigated by
|
||||||
the fact that the compiler will complain if you use functions or objects
|
the fact that the compiler will complain if you use functions or objects
|
||||||
that are not in OpenLayers anymore.
|
that are not in OpenLayers 3 anymore.
|
||||||
|
|
||||||
## Setting up the Application
|
## Setting up the Application
|
||||||
|
|
||||||
@@ -74,7 +70,7 @@ Create the application's `package.json` file:
|
|||||||
You can pretty much use the default answers to the questions `npm init` asks
|
You can pretty much use the default answers to the questions `npm init` asks
|
||||||
you.
|
you.
|
||||||
|
|
||||||
Now install OpenLayers using:
|
Now install OpenLayers 3 using:
|
||||||
|
|
||||||
$ npm install openlayers --save
|
$ npm install openlayers --save
|
||||||
|
|
||||||
@@ -103,9 +99,9 @@ been installed with `openlayers`. Use the following to verify that
|
|||||||
-l LEVEL, --loglevel LEVEL Log level [info]
|
-l LEVEL, --loglevel LEVEL Log level [info]
|
||||||
|
|
||||||
|
|
||||||
## Create an OpenLayers map
|
## Create an OpenLayers 3 map
|
||||||
|
|
||||||
You're now going to create a JavaScript file that creates an OpenLayers map.
|
You're now going to create a JavaScript file that creates an OpenLayers 3 map.
|
||||||
This is the file that we will define the application's entry point.
|
This is the file that we will define the application's entry point.
|
||||||
|
|
||||||
First of all create an `src` directory at the root of the application:
|
First of all create an `src` directory at the root of the application:
|
||||||
@@ -124,7 +120,7 @@ goog.require('ol.source.OSM');
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {ol.PluggableMap}
|
* @type {ol.Map}
|
||||||
*/
|
*/
|
||||||
app.map = new ol.Map({
|
app.map = new ol.Map({
|
||||||
target: 'map',
|
target: 'map',
|
||||||
@@ -147,7 +143,7 @@ OpenLayers map as you would do in any OpenLayers application.
|
|||||||
|
|
||||||
## Compiling the Application
|
## Compiling the Application
|
||||||
|
|
||||||
We're now going to compile the application and OpenLayers together, using the
|
We're now going to compile the application and OpenLayers 3 together, using the
|
||||||
Closure Compiler and `closure-util`. For this we need to create a JSON config
|
Closure Compiler and `closure-util`. For this we need to create a JSON config
|
||||||
file, that we will then pass as an input file to the `closure-util` command.
|
file, that we will then pass as an input file to the `closure-util` command.
|
||||||
|
|
||||||
@@ -173,17 +169,16 @@ The minimum config file looks like this:
|
|||||||
"node_modules/openlayers/externs/topojson.js"
|
"node_modules/openlayers/externs/topojson.js"
|
||||||
],
|
],
|
||||||
"define": [
|
"define": [
|
||||||
|
"ol.DEBUG=false",
|
||||||
"ol.ENABLE_WEBGL=false"
|
"ol.ENABLE_WEBGL=false"
|
||||||
],
|
],
|
||||||
"js": [
|
"js": [
|
||||||
"node_modules/openlayers/src/ol/typedefs.js",
|
|
||||||
"node_modules/openlayers/externs/olx.js",
|
"node_modules/openlayers/externs/olx.js",
|
||||||
"node_modules/openlayers/externs/oli.js"
|
"node_modules/openlayers/externs/oli.js"
|
||||||
],
|
],
|
||||||
"extra_annotation_name": [
|
"extra_annotation_name": [
|
||||||
"api", "observable"
|
"api", "observable"
|
||||||
],
|
],
|
||||||
"rewrite_polyfills": "false",
|
|
||||||
"compilation_level": "ADVANCED",
|
"compilation_level": "ADVANCED",
|
||||||
"warning_level": "VERBOSE",
|
"warning_level": "VERBOSE",
|
||||||
"output_wrapper": "(function(){%output%})();",
|
"output_wrapper": "(function(){%output%})();",
|
||||||
@@ -201,7 +196,7 @@ We can now use `closure-util` to compile the code:
|
|||||||
|
|
||||||
The resulting `app.js` file, which you can view in your editor if you're
|
The resulting `app.js` file, which you can view in your editor if you're
|
||||||
curious, includes a minified version of the application code (`main.js`), and
|
curious, includes a minified version of the application code (`main.js`), and
|
||||||
the OpenLayers code that the application code uses.
|
the OpenLayers 3 code that the application code uses.
|
||||||
|
|
||||||
Here is a version of `config.json` with more compilation checks enabled:
|
Here is a version of `config.json` with more compilation checks enabled:
|
||||||
|
|
||||||
@@ -225,10 +220,10 @@ Here is a version of `config.json` with more compilation checks enabled:
|
|||||||
"node_modules/openlayers/externs/topojson.js"
|
"node_modules/openlayers/externs/topojson.js"
|
||||||
],
|
],
|
||||||
"define": [
|
"define": [
|
||||||
|
"ol.DEBUG=false",
|
||||||
"ol.ENABLE_WEBGL=false"
|
"ol.ENABLE_WEBGL=false"
|
||||||
],
|
],
|
||||||
"js": [
|
"js": [
|
||||||
"node_modules/openlayers/src/ol/typedefs.js",
|
|
||||||
"node_modules/openlayers/externs/olx.js",
|
"node_modules/openlayers/externs/olx.js",
|
||||||
"node_modules/openlayers/externs/oli.js"
|
"node_modules/openlayers/externs/oli.js"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ layout: doc.hbs
|
|||||||
# Basic Concepts
|
# Basic Concepts
|
||||||
|
|
||||||
## Map
|
## Map
|
||||||
The core component of OpenLayers is the map (`ol.Map`). It is rendered to a `target` container (e.g. a `div` element on the web page that contains the map). All map properties can either be configured at construction time, or by using setter methods, e.g. `setTarget()`.
|
The core component of OpenLayers 3 is the map (`ol.Map`). It is rendered to a `target` container (e.g. a `div` element on the web page that contains the map). All map properties can either be configured at construction time, or by using setter methods, e.g. `setTarget()`.
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<div id="map" style="width: 100%, height: 400px"></div>
|
<div id="map" style="width: 100%, height: 400px"></div>
|
||||||
@@ -31,14 +31,14 @@ The `zoom` option is a convenient way to specify the map resolution. The availab
|
|||||||
|
|
||||||
|
|
||||||
## Source
|
## Source
|
||||||
To get remote data for a layer, OpenLayers uses `ol.source.Source` subclasses. These are available for free and commercial map tile services like OpenStreetMap or Bing, for OGC sources like WMS or WMTS, and for vector data in formats like GeoJSON or KML.
|
To get remote data for a layer, OpenLayers 3 uses `ol.source.Source` subclasses. These are available for free and commercial map tile services like OpenStreetMap or Bing, for OGC sources like WMS or WMTS, and for vector data in formats like GeoJSON or KML.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
var osmSource = new ol.source.OSM();
|
var osmSource = new ol.source.OSM();
|
||||||
```
|
```
|
||||||
|
|
||||||
## Layer
|
## Layer
|
||||||
A layer is a visual representation of data from a `source`. OpenLayers has three basic types of layers: `ol.layer.Tile`, `ol.layer.Image` and `ol.layer.Vector`.
|
A layer is a visual representation of data from a `source`. OpenLayers 3 has three basic types of layers: `ol.layer.Tile`, `ol.layer.Image` and `ol.layer.Vector`.
|
||||||
|
|
||||||
`ol.layer.Tile` is for layer sources that provide pre-rendered, tiled images in grids that are organized by zoom levels for specific resolutions.
|
`ol.layer.Tile` is for layer sources that provide pre-rendered, tiled images in grids that are organized by zoom levels for specific resolutions.
|
||||||
|
|
||||||
|
|||||||
@@ -5,35 +5,35 @@ layout: doc.hbs
|
|||||||
|
|
||||||
# Creating custom builds
|
# Creating custom builds
|
||||||
|
|
||||||
OpenLayers is a big library providing a lot of functionality. So it is unlikely that an application will need and use all the functionality OpenLayers provides. This is why creating application-specific OpenLayers builds, with just the functionality your application needs, is often a good idea.
|
OpenLayers 3 is a big library providing a lot of functionality. So it is unlikely that an application will need and use all the functionality OpenLayers 3 provides. This is why creating application-specific OpenLayers 3 builds, with just the functionality your application needs, is often a good idea.
|
||||||
|
|
||||||
An alternative to creating custom builds is to compile your application code together with OpenLayers. See the [Compiling Application with Closure Compiler](closure.html) tutorial for more information.
|
An alternative to creating custom builds is to compile your application code together with OpenLayers 3. See the [Compiling Application with Closure Compiler](closure.html) tutorial for more information.
|
||||||
|
|
||||||
This particular tutorial explains how to create custom builds of OpenLayers.
|
This particular tutorial explains how to create custom builds of OpenLayers 3.
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
OpenLayers's build tools use Node and Java, so you need to have Node and Java installed on your machine. You can run `node --version` and `java -version` to test that Node and Java are installed, respectively. See [developing guide](https://github.com/openlayers/openlayers/blob/master/DEVELOPING.md) for minimum version numbers required.
|
OpenLayers 3's build tools use Node and Java, so you need to have Node and Java installed on your machine. You can run `node --version` and `java -version` to test that Node and Java are installed, respectively. See [developing guide](https://github.com/openlayers/ol3/blob/master/DEVELOPING.md) for minimum version numbers required.
|
||||||
|
|
||||||
## Download OpenLayers
|
## Download OpenLayers
|
||||||
|
|
||||||
Obviously, creating a custom build requires the OpenLayers source and specific build scripts.
|
Obviously, creating a custom build requires the OpenLayers 3 source and specific build scripts.
|
||||||
|
|
||||||
To get the OpenLayers source and the build scripts you can clone the openlayers [repository](https://github.com/openlayers/openlayers), or you can download one of the release archives. You can also download the `openlayers` Node package from the Node package registry, using NPM (the Node Package Manager). This is the method we are going to use in this tutorial.
|
To get the OpenLayers 3 source and the build scripts you can clone the `ol3` [repository](https://github.com/openlayers/ol3), or you can download one of the release archives. You can also download the `openlayers` Node package from the Node package registry, using NPM (the Node Package Manager). This is the method we are going to use in this tutorial.
|
||||||
|
|
||||||
Create a directory:
|
Create a directory:
|
||||||
|
|
||||||
$ mkdir openlayers
|
$ mkdir openlayers
|
||||||
|
|
||||||
Download the OpenLayers distribution using NPM:
|
Download the OpenLayers 3 distribution using NPM:
|
||||||
|
|
||||||
$ npm install openlayers
|
$ npm install openlayers
|
||||||
|
|
||||||
This will download the latest stable version of OpenLayers, and install it under `node_modules`. You can list the content of `node_modules` to verify that it effectively contains a directory named "openlayers".
|
This will download the latest stable version of OpenLayers 3, and install it under `node_modules`. You can list the content of `node_modules` to verify that it effectively contains a directory named "openlayers".
|
||||||
|
|
||||||
The Node packages onto which the `openlayers` package depends are installed under `node_modules/openlayers/node_modules`. That directory should, for example, include `closure-util`, which is the utility library OpenLayers uses for Closure.
|
The Node packages onto which the `openlayers` package depends are installed under `node_modules/openlayers/node_modules`. That directory should, for example, include `closure-util`, which is the utility library OpenLayers 3 uses for Closure.
|
||||||
|
|
||||||
You should now have everything you need to create custom builds of OpenLayers!
|
You should now have everything you need to create custom builds of OpenLayers 3!
|
||||||
|
|
||||||
## Create a build configuration file
|
## Create a build configuration file
|
||||||
|
|
||||||
@@ -51,9 +51,7 @@ Creating a custom build requires writing a build configuration file. The format
|
|||||||
"compile": {
|
"compile": {
|
||||||
"externs": [
|
"externs": [
|
||||||
"externs/bingmaps.js",
|
"externs/bingmaps.js",
|
||||||
"externs/cartodb.js",
|
|
||||||
"externs/closure-compiler.js",
|
"externs/closure-compiler.js",
|
||||||
"externs/esrijson.js",
|
|
||||||
"externs/geojson.js",
|
"externs/geojson.js",
|
||||||
"externs/oli.js",
|
"externs/oli.js",
|
||||||
"externs/olx.js",
|
"externs/olx.js",
|
||||||
@@ -61,12 +59,14 @@ Creating a custom build requires writing a build configuration file. The format
|
|||||||
"externs/tilejson.js",
|
"externs/tilejson.js",
|
||||||
"externs/topojson.js"
|
"externs/topojson.js"
|
||||||
],
|
],
|
||||||
|
"define": [
|
||||||
|
"ol.DEBUG=false"
|
||||||
|
],
|
||||||
"extra_annotation_name": [
|
"extra_annotation_name": [
|
||||||
"api", "observable"
|
"api", "observable"
|
||||||
],
|
],
|
||||||
"compilation_level": "ADVANCED",
|
"compilation_level": "ADVANCED",
|
||||||
"manage_closure_dependencies": true,
|
"manage_closure_dependencies": true
|
||||||
"rewrite_polyfills": false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@@ -95,14 +95,14 @@ var map = new ol.Map({
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that this JavaScript code corresponds to OpenLayers's [`simple`](https://openlayers.org/en/master/examples/simple.html) example.
|
Note that this JavaScript code corresponds to OpenLayers 3's [`simple`](http://openlayers.org/en/master/examples/simple.html) example.
|
||||||
|
|
||||||
You are now ready to create your first OpenLayers build. Use the following command to create the build:
|
You are now ready to create your first OpenLayers 3 build. Use the following command to create the build:
|
||||||
|
|
||||||
$ cd node_modules/openlayers
|
$ cd node_modules/openlayers
|
||||||
$ node tasks/build.js build/ol-custom.json build/ol-custom.js
|
$ node tasks/build.js build/ol-custom.json build/ol-custom.js
|
||||||
|
|
||||||
The build command may take some time, but it should end with an output in the console such as the following:
|
The build command may take some time, but it should end with the following output in the console:
|
||||||
|
|
||||||
info ol Parsing dependencies
|
info ol Parsing dependencies
|
||||||
info ol Compiling 364 sources
|
info ol Compiling 364 sources
|
||||||
@@ -116,7 +116,7 @@ As a test, you can use the following HTML file to verify that your custom build
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>OpenLayers example</title>
|
<title>OpenLayers 3 example</title>
|
||||||
<link rel="stylesheet" href="node_modules/openlayers/css/ol.css" />
|
<link rel="stylesheet" href="node_modules/openlayers/css/ol.css" />
|
||||||
<style>
|
<style>
|
||||||
#map {
|
#map {
|
||||||
@@ -150,30 +150,29 @@ As a test, you can use the following HTML file to verify that your custom build
|
|||||||
|
|
||||||
### `define`'s
|
### `define`'s
|
||||||
|
|
||||||
Closure allows you to define constants that can be set at compile time. The OpenLayers code defines several such values.
|
Closure allows you to define constants that can be set at compile time. The `define` config property above sets four `goog` properties for the Closure library. The OpenLayers 3 code also has defined values you can set.
|
||||||
|
|
||||||
Setting some of these to `false` means that the portions of the code relating to this setting become "dead", i.e. are never executed. As Closure Compiler's `ADVANCED` mode removes dead code, this makes the size of the advanced compiled file smaller.
|
Setting some of these to `false` means that the portions of the code relating to this setting become "dead", i.e. are never executed. As Closure Compiler's `ADVANCED` mode removes dead code, this makes the size of the advanced compiled file smaller.
|
||||||
|
|
||||||
You might have noticed that the build file you've just created is considerably smaller than the full build, but it can be reduced further. This is because both renderers and other optional code are included by default. We only need one renderer, and we do not use the optional code, so can exclude what we don't use by setting properties with `define`s. So add a define section to the config above:
|
You might have noticed that the build file you've just created is considerably smaller than the full build, but it can be reduced further. This is because all three renderers and all layer types are included by default. We only need one renderer, and only need the tile layer, so can exclude the others by setting these properties with `define`s. So add the following to the define section of the config above:
|
||||||
```
|
```
|
||||||
"define": [
|
|
||||||
"ol.ENABLE_WEBGL=false",
|
"ol.ENABLE_WEBGL=false",
|
||||||
"ol.ENABLE_PROJ4JS=false",
|
"ol.ENABLE_PROJ4JS=false",
|
||||||
"ol.ENABLE_RASTER_REPROJECTION=false"
|
"ol.ENABLE_IMAGE=false",
|
||||||
],
|
"ol.ENABLE_VECTOR=false",
|
||||||
```
|
```
|
||||||
|
|
||||||
and re-run the build script. The build size should now be smaller.
|
and re-run the build script. The build size should now be smaller.
|
||||||
|
|
||||||
### Externs
|
### Externs
|
||||||
|
|
||||||
The Closure documentation explains that "externs" are for external names used in the code being compiled. The compiler includes externs for built-ins such as `document`. The `externs` directory of the OpenLayers code includes files for all those used in some part of the library. For example, if you use Bing Maps, you should include the Bing externs file in the `externs` section of the config file.
|
The Closure documentation explains that "externs" are for external names used in the code being compiled. The compiler includes externs for built-ins such as `document`. The `externs` directory of the OpenLayers 3 code includes files for all those used in some part of the library. For example, if you use Bing Maps, you should include the Bing externs file in the `externs` section of the config file.
|
||||||
|
|
||||||
`oli.js` and `olx.js` are externs files for the OpenLayers API. For example `olx.js` includes extern definitions for OpenLayers's constructor options. `closure-compiler.js` fixes any issues that may arise with a specific compiler version. You should always use these three files as externs when creating custom builds.
|
`oli.js` and `olx.js` are externs files for the OpenLayers 3 API. For examples `olx.js` includes extern definitions for OpenLayers 3's constructor options. You should always use these two files as externs when creating custom builds.
|
||||||
|
|
||||||
### Other compiler options
|
### Other compiler options
|
||||||
|
|
||||||
There are a couple of other compiler options in the config file above. `manage_closure_dependencies` and `rewrite_polyfills` should always be used.
|
There are a couple of other compiler options in the config file above. `manage_closure_dependencies` should always be used.
|
||||||
|
|
||||||
You can specify any of the other compiler options here as needed, such as the renaming reports, output manifest, or source maps. There is a full list of available options in [closure-util](https://github.com/openlayers/closure-util/blob/master/compiler-options.txt).
|
You can specify any of the other compiler options here as needed, such as the renaming reports, output manifest, or source maps. There is a full list of available options in [closure-util](https://github.com/openlayers/closure-util/blob/master/compiler-options.txt).
|
||||||
|
|
||||||
@@ -181,7 +180,7 @@ Note that `build.js` currently requires you to enter an output file and will wri
|
|||||||
|
|
||||||
## A more complicated example
|
## A more complicated example
|
||||||
|
|
||||||
Now let's try a more complicated example: [`heatmaps-earthquakes`](https://openlayers.org/en/master/examples/heatmap-earthquakes.html). The build configuration file looks like this:
|
Now let's try a more complicated example: [`heatmaps-earthquakes`](http://openlayers.org/en/master/examples/heatmap-earthquakes.html). The build configuration file looks like this:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
@@ -203,35 +202,29 @@ Now let's try a more complicated example: [`heatmaps-earthquakes`](https://openl
|
|||||||
],
|
],
|
||||||
"compile": {
|
"compile": {
|
||||||
"externs": [
|
"externs": [
|
||||||
"externs/bingmaps.js",
|
|
||||||
"externs/cartodb.js",
|
|
||||||
"externs/closure-compiler.js",
|
|
||||||
"externs/esrijson.js",
|
|
||||||
"externs/geojson.js",
|
|
||||||
"externs/olx.js",
|
"externs/olx.js",
|
||||||
"externs/oli.js",
|
"externs/oli.js"
|
||||||
"externs/proj4js.js",
|
|
||||||
"externs/tilejson.js",
|
|
||||||
"externs/topojson.js"
|
|
||||||
],
|
],
|
||||||
"define": [
|
"define": [
|
||||||
"ol.ENABLE_WEBGL=false",
|
"ol.ENABLE_WEBGL=false",
|
||||||
"ol.ENABLE_PROJ4JS=false",
|
"ol.ENABLE_PROJ4JS=false",
|
||||||
"ol.ENABLE_RASTER_REPROJECTION=false"
|
"ol.ENABLE_IMAGE=false",
|
||||||
|
"ol.DEBUG=false"
|
||||||
],
|
],
|
||||||
"compilation_level": "ADVANCED",
|
"compilation_level": "ADVANCED",
|
||||||
"manage_closure_dependencies": true,
|
"manage_closure_dependencies": true
|
||||||
"rewrite_polyfills": false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
The exports are given here in the order in which they occur in the `heatmaps-earthquakes` example's JavaScript code. In this example we not only use the `ol.` functions and constructors, but also `prototype` methods where the `ol` namespace is not directly used. In the code, we have for example `vector.getSource().on()`. This means we are using the `getSource` method of `layer.Heatmap` and the `on` method of `source.KML`, so this is what has to be exported. Similarly, `event.feature.get()` means we are using the `feature` property of `source.Vector.Event` and the `get` method of `Feature`. If any of these names are left out, the compile will complete successfully, but the missing names will be obfuscated and you will get a 'property undefined' error when you try and run the script.
|
The exports are given here in the order in which they occur in the `heatmaps-earthquakes` example's JavaScript code. In this example we not only use the `ol.` functions and constructors, but also `prototype` methods where the `ol` namespace is not directly used. In the code, we have for example `vector.getSource().on()`. This means we are using the `getSource` method of `layer.Heatmap` and the `on` method of `source.KML`, so this is what has to be exported. Similarly, `event.feature.get()` means we are using the `feature` property of `source.Vector.Event` and the `get` method of `Feature`. If any of these names are left out, the compile will complete successfully, but the missing names will be obfuscated and you will get a 'property undefined' error when you try and run the script.
|
||||||
|
|
||||||
|
As this example uses a vector layer it is necessary to remove `"ol.ENABLE_VECTOR=false"` in the `define` section of the configuration.
|
||||||
|
|
||||||
## Maintaining the code
|
## Maintaining the code
|
||||||
|
|
||||||
If you installed OpenLayers from the Node package, you can use `npm` to upgrade to the latest version. If you cloned the Github repo, simply pulling in the latest code may not be enough, as some of the packages used, for example, the compiler, may need upgrading too. Do this by using `npm install` rather than `npm update`.
|
If you installed OpenLayers from the Node package, you can use `npm` to upgrade to the latest version. If you cloned the Github repo, simply pulling in the latest code may not be enough, as some of the packages used, for example, the compiler, may need upgrading too. Do this by using `npm install` rather than `npm update`.
|
||||||
|
|
||||||
## Conclusion
|
## Conclusion
|
||||||
|
|
||||||
This tutorial should have given you the information you need to create custom builds, i.e. builds tailored to your application. See the [tasks readme](https://github.com/openlayers/openlayers/tree/master/tasks/readme.md) for more information on the build scripts and the properties you can use in the build configuration file.
|
This tutorial should have given you the information you need to create custom builds, i.e. builds tailored to your application. See the [tasks readme](https://github.com/openlayers/ol3/tree/master/tasks/readme.md) for more information on the build scripts and the properties you can use in the build configuration file.
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ layout: doc.hbs
|
|||||||
|
|
||||||
# Tutorials
|
# Tutorials
|
||||||
|
|
||||||
* [Introduction to OpenLayers](introduction.html)
|
* [Introduction to OpenLayers 3](introduction.html)
|
||||||
* [Basic Concepts](concepts.html)
|
* [Basic Concepts](concepts.html)
|
||||||
* [Create Custom Builds](custom-builds.html)
|
* [Create Custom Builds](custom-builds.html)
|
||||||
* [Bundle Application and OpenLayers using Browserify](browserify.html)
|
* [Bundle Application and OpenLayers using Browserify](browserify.html)
|
||||||
|
|||||||
@@ -6,37 +6,39 @@ layout: doc.hbs
|
|||||||
# Introduction
|
# Introduction
|
||||||
|
|
||||||
## Objectives
|
## Objectives
|
||||||
With version 3, the OpenLayers web mapping library was fundamentally redesigned. The widely used version 2 dates from the early days of Javascript development, and was increasingly showing its age. So it has been rewritten from the ground up to use modern design patterns.
|
OpenLayers 3 (OL3) is a fundamental redesign of the OpenLayers web mapping library. Version 2 is widely used, but dates from the early days of Javascript development, and is increasingly showing its age. OL3 has been rewritten from the ground up to use modern design patterns.
|
||||||
|
|
||||||
The initial release aims to support much of the functionality provided by version 2, with support for a wide range of commercial and free tile sources, and the most popular open-source vector data formats. As with version 2, data can be in any projection. The initial release also adds some additional functionality, such as the ability to easily rotate or animate maps.
|
The initial release aims to support much of the functionality provided by version 2, with support for a wide range of commercial and free tile sources, and the most popular open-source vector data formats. As with version 2, data can be in any projection. The initial release also adds some additional functionality, such as the ability to easily rotate or animate maps.
|
||||||
|
|
||||||
It is also designed such that major new features, such as displaying 3D maps, or using WebGL to quickly display large vector data sets, can be added in later releases.
|
It is also designed such that major new features, such as displaying 3D maps, or using WebGL to quickly display large vector data sets, can be added in later releases.
|
||||||
|
|
||||||
## Google Closure
|
## Closure Tools
|
||||||
OpenLayers was written in a way so it can be compiled with [__Closure Compiler__](https://developers.google.com/closure/compiler/). Its 'advanced' compilation mode offers a level of compression that exceeds anything else available.
|
OL3 is based on Google's Closure Tools. It makes heavy use of parts of the [__Closure Library__](https://developers.google.com/closure/library/). Using this to handle basics like DOM or event handling means the developers can concentrate on mapping functionality, and be sure that the underlying software is well-tested and cross-browser. Closure Library is specially designed to be optimized by the [__Closure Compiler__](https://developers.google.com/closure/compiler/). The 'advanced' optimizations that this provides offers a level of compression that far exceeds anything else available. OL3 has been designed to make full use of this.
|
||||||
|
|
||||||
## Public API
|
## Public API
|
||||||
Using the advanced optimizations of the Closure Compiler means that properties and methods are renamed – `longMeaningfulName` might become `xB` – and so are effectively unusable in applications using the library. To be usable, they have to be explicitly `exported`. This means the exported names, those not renamed, effectively become the public API of the library. These __exportable__ properties and methods are marked in the source, and documented in the [API docs](../../apidoc). This is the officially supported API of the library. A build containing all these exportable names is known as a __full build__. A hosted version of this is available, which can be used by any application.
|
Using the advanced optimizations of the Closure Compiler means that properties and methods are renamed – `longMeaningfulName` might become `xB` – and so are effectively unusable in applications using the library. To be usable, they have to be explicitly `exported`. This means the exported names, those not renamed, effectively become the public API of the library. These __exportable__ properties and methods are marked in the source, and documented in the [API docs](../../apidoc). This is the officially supported API of the library. A build containing all these exportable names is known as a __full build__. A hosted version of this is available, which can be used by any application.
|
||||||
|
|
||||||
|
Although Closure library functions are widely used within OL3, none of them are exported. You will see references to them (they are all in the `goog` namespace) in the API docs, but these are for information only. You can use the Closure library in your own applications if you like, but this is not required.
|
||||||
|
|
||||||
## Custom Builds
|
## Custom Builds
|
||||||
Unlike in, say, Node, where a module's exports are fixed in the source, with Closure Compiler, exports can be defined at compile time. This makes it easy to create builds that are customized to the needs of a particular site or application: a __custom build__ only exports those properties and methods needed by the site or application. As the full build is large, and will probably become larger as new features are added to the API, it's recommended that sites create a custom build for production software.
|
Unlike in, say, Node, where a module's exports are fixed in the source, with Closure Compiler, exports can be defined at compile time. This makes it easy to create builds that are customized to the needs of a particular site or application: a __custom build__ only exports those properties and methods needed by the site or application. As the full build is large, and will probably become larger as new features are added to the API, it's recommended that sites create a custom build for production software.
|
||||||
|
|
||||||
## Renderers and Browser Support
|
## Renderers and Browser Support
|
||||||
The library currently includes two renderers: Canvas and WebGL. Both of them support both raster data from tile/image servers, and vector data; WebGL however does not support labels. Clearly only those browsers that [support Canvas](http://caniuse.com/canvas) can use the Canvas renderer. Equally, the WebGL renderer can only be used on those devices and [browsers](http://caniuse.com/webgl) that support WebGL.
|
The library currently includes three renderers: Canvas, DOM, and WebGL. All three support both raster data from tile/image servers, and vector data; WebGL however only supports Point vectors and does not support labels. Clearly only those browsers that [support Canvas](http://caniuse.com/canvas) can use the Canvas renderer. Equally, the WebGL renderer can only be used on those devices and [browsers](http://caniuse.com/webgl) that support WebGL.
|
||||||
|
|
||||||
OpenLayers runs on all modern browsers that support [HTML5](https://html.spec.whatwg.org/multipage/) and [ECMAScript 5](http://www.ecma-international.org/ecma-262/5.1/). This includes Chrome, Firefox, Safari and Edge. For older browsers and platforms like Internet Explorer (down to version 9) and Android 4.x, [polyfills](http://polyfill.io) for `requestAnimationFrame` and `Element.prototype.classList` are required, and using the KML format requires a polyfill for `URL`.
|
OpenLayers runs on all modern browsers that support [HTML5](https://html.spec.whatwg.org/multipage/) and [ECMAScript 5](http://www.ecma-international.org/ecma-262/5.1/). This includes Chrome, Firefox, Safari and Edge. For older browsers and platforms like Internet Explorer (down to version 9) and Android 4.x, [polyfills](http://polyfill.io) for `requestAnimationFrame` and `Element.prototype.classList` are required, and using the KML format requires a polyfill for `URL`.
|
||||||
|
|
||||||
The library is intended for use on both desktop/laptop and mobile devices.
|
The library is intended for use on both desktop/laptop and mobile devices.
|
||||||
|
|
||||||
## Objects and Naming Conventions
|
## Objects and Naming Conventions
|
||||||
The top-level namespace is `ol` (basically, `var ol = {};`). Subdivisions of this are:
|
OL3 uses a similar object hierarchy to the Closure library. There is a top-level `ol` namespace (basically, `var ol = {};`). Subdivisions of this are:
|
||||||
|
|
||||||
* further namespaces, such as `ol.layer`; these have a lower-case initial
|
* further namespaces, such as `ol.layer`; these have a lower-case initial
|
||||||
* simple objects containing static properties and methods, such as `ol.easing`; these also have a lower-case initial
|
* simple objects containing static properties and methods, such as `ol.animation`; these also have a lower-case initial
|
||||||
* types, which have an upper-case initial. These are mainly 'classes', which here means a constructor function with prototypal inheritance, such as `ol.Map` or `ol.layer.Vector` (the Vector class within the layer namespace). There are however other, simpler, types, such as `ol.Extent`, which is an array.
|
* types, which have an upper-case initial. These are mainly 'classes', which here means a constructor function with prototypal inheritance, such as `ol.Map` or `ol.layer.Vector` (the Vector class within the layer namespace). There are however other, simpler, types, such as `ol.Extent`, which is an array.
|
||||||
|
|
||||||
Class namespaces, such as `ol.layer` have a base class type with the same name, such as `ol.layer.Layer`. These are mainly abstract classes, from which the other subclasses inherit.
|
Class namespaces, such as `ol.layer` have a base class type with the same name, such as `ol.layer.Layer`. These are mainly abstract classes, from which the other subclasses inherit.
|
||||||
|
|
||||||
Source files are similarly organised, with a directory for each class namespace. Names are however all lower-case, for example, `ol/layer/vector.js`.
|
Source files are similarly organised, with a directory for each class namespace. Names are however all lower-case, and the subclasses repeat the superclass type in their name, for example, `ol/layer/vectorlayer.js`.
|
||||||
|
|
||||||
OpenLayers follows the convention that the names of private properties and methods, that is, those that are not part of the API, end in an underscore. In general, instance properties are private and accessed using accessors.
|
OL3 follows the convention that the names of private properties and methods, that is, those that are not part of the API, end in an underscore. In general, instance properties are private and accessed using accessors.
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ layout: doc.hbs
|
|||||||
|
|
||||||
# Raster Reprojection
|
# Raster Reprojection
|
||||||
|
|
||||||
OpenLayers has an ability to display raster data from WMS, WMTS, static images and many other sources in a different coordinate system than delivered from the server.
|
OpenLayers 3 has an ability to display raster data from WMS, WMTS, static images and many other sources in a different coordinate system than delivered from the server.
|
||||||
Transformation of the map projections of the image happens directly in a web browser.
|
Transformation of the map projections of the image happens directly in a web browser.
|
||||||
The view in any Proj4js supported coordinate reference system is possible and previously incompatible layers can now be combined and overlaid.
|
The view in any Proj4js supported coordinate reference system is possible and previously incompatible layers can now be combined and overlaid.
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
The API usage is very simple. Just specify proper projection (using [EPSG](https://epsg.io) code) on `ol.View`:
|
The API usage is very simple. Just specify proper projection (using [EPSG](http://epsg.io) code) on `ol.View`:
|
||||||
``` javascript
|
``` javascript
|
||||||
var map = new ol.Map({
|
var map = new ol.Map({
|
||||||
target: 'map',
|
target: 'map',
|
||||||
@@ -35,17 +35,17 @@ var map = new ol.Map({
|
|||||||
If a source (based on `ol.source.TileImage` or `ol.source.Image`) has a projection different from the current `ol.View`’s projection then the reprojection happens automatically under the hood.
|
If a source (based on `ol.source.TileImage` or `ol.source.Image`) has a projection different from the current `ol.View`’s projection then the reprojection happens automatically under the hood.
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
- [Raster reprojection demo](https://openlayers.org/en/master/examples/reprojection.html)
|
- [Raster reprojection demo](http://openlayers.org/en/master/examples/reprojection.html)
|
||||||
- [OpenStreetMap to WGS84 reprojection](https://openlayers.org/en/master/examples/reprojection-wgs84.html)
|
- [OpenStreetMap to WGS84 reprojection](http://openlayers.org/en/master/examples/reprojection-wgs84.html)
|
||||||
- [Reprojection with EPSG.io database search](https://openlayers.org/en/master/examples/reprojection-by-code.html)
|
- [Reprojection with EPSG.io database search](http://openlayers.org/en/master/examples/reprojection-by-code.html)
|
||||||
- [Image reprojection](https://openlayers.org/en/master/examples/reprojection-image.html)
|
- [Image reprojection](http://openlayers.org/en/master/examples/reprojection-image.html)
|
||||||
|
|
||||||
### Custom projection
|
### Custom projection
|
||||||
The easiest way to use a custom projection is to add the [Proj4js](http://proj4js.org/) library to your project and then define the projection using a proj4 definition string.
|
The easiest way to use a custom projection is to add the [Proj4js](http://proj4js.org/) library to your project and then define the projection using a proj4 definition string.
|
||||||
Following example shows definition of a [British National Grid](https://epsg.io/27700):
|
Following example shows definition of a [British National Grid](http://epsg.io/27700):
|
||||||
|
|
||||||
``` html
|
``` html
|
||||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.4.4/proj4.js"></script>
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.14/proj4.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
``` javascript
|
``` javascript
|
||||||
@@ -122,7 +122,7 @@ Although this is mathematically correct behavior of the inverse transformation,
|
|||||||
A possible general solution would be to calculate the forward transformation for every vertex as well - but this would significantly decrease performance (especially for computationally expensive transformations).
|
A possible general solution would be to calculate the forward transformation for every vertex as well - but this would significantly decrease performance (especially for computationally expensive transformations).
|
||||||
|
|
||||||
Therefore a recommended workaround is to define a proper visibility extent on the `ol.layer.Tile` in the view projection.
|
Therefore a recommended workaround is to define a proper visibility extent on the `ol.layer.Tile` in the view projection.
|
||||||
Setting such a limit is demonstrated in the [reprojection demo example](https://openlayers.org/en/master/examples/reprojection.html).
|
Setting such a limit is demonstrated in the [reprojection demo example](http://openlayers.org/en/master/examples/reprojection.html).
|
||||||
|
|
||||||
### Resolution calculation
|
### Resolution calculation
|
||||||
When determining source tiles to load, the ideal source resolution needs to be calculated.
|
When determining source tiles to load, the ideal source resolution needs to be calculated.
|
||||||
|
|||||||
@@ -5,14 +5,9 @@
|
|||||||
"common": false,
|
"common": false,
|
||||||
"createMapboxStreetsV6Style": false,
|
"createMapboxStreetsV6Style": false,
|
||||||
"d3": false,
|
"d3": false,
|
||||||
"geojsonvt": false,
|
|
||||||
"GyroNorm": false,
|
|
||||||
"jsPDF": false,
|
"jsPDF": false,
|
||||||
"jsts": false,
|
"jsts": false,
|
||||||
"saveAs": false,
|
|
||||||
"toastr": false,
|
|
||||||
"topojson": false,
|
"topojson": false,
|
||||||
"topolis": false,
|
|
||||||
"turf": false
|
"turf": false
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ var map = new ol.Map({
|
|||||||
],
|
],
|
||||||
target: 'map',
|
target: 'map',
|
||||||
controls: ol.control.defaults({
|
controls: ol.control.defaults({
|
||||||
attributionOptions: {
|
attributionOptions: /** @type {olx.control.AttributionOptions} */ ({
|
||||||
collapsible: false
|
collapsible: false
|
||||||
}
|
})
|
||||||
}),
|
}),
|
||||||
view: new ol.View({
|
view: new ol.View({
|
||||||
center: [0, 0],
|
center: [0, 0],
|
||||||
|
|||||||
@@ -3,17 +3,17 @@ layout: example.html
|
|||||||
title: View Animation
|
title: View Animation
|
||||||
shortdesc: Demonstrates animated pan, zoom, and rotation.
|
shortdesc: Demonstrates animated pan, zoom, and rotation.
|
||||||
docs: >
|
docs: >
|
||||||
This example shows how to use the <code>view.animate()</code> method to run
|
This example shows how to use the beforeRender function on the Map to run one
|
||||||
one or more animations.
|
or more animations.
|
||||||
tags: "animation"
|
tags: "animation"
|
||||||
---
|
---
|
||||||
<div id="map" class="map"></div>
|
<div id="map" class="map"></div>
|
||||||
<button id="rotate-left" title="Rotate clockwise">↻</button>
|
<button id="rotate-left" title="Rotate clockwise">↻</button>
|
||||||
<button id="rotate-right" title="Rotate counterclockwise">↺</button>
|
<button id="rotate-right" title="Rotate counterclockwise">↺</button>
|
||||||
|
<button id="rotate-around-rome">Rotate around Rome</button>
|
||||||
<button id="pan-to-london">Pan to London</button>
|
<button id="pan-to-london">Pan to London</button>
|
||||||
<button id="elastic-to-moscow">Elastic to Moscow</button>
|
<button id="elastic-to-moscow">Elastic to Moscow</button>
|
||||||
<button id="bounce-to-istanbul">Bounce to Istanbul</button>
|
<button id="bounce-to-istanbul">Bounce to Istanbul</button>
|
||||||
<button id="spin-to-rome">Spin to Rome</button>
|
<button id="spin-to-rome">Spin to Rome</button>
|
||||||
<button id="fly-to-bern">Fly to Bern</button>
|
<button id="fly-to-bern">Fly to Bern</button>
|
||||||
<button id="rotate-around-rome">Rotate around Rome</button>
|
<button id="spiral-to-madrid">Spiral to Madrid</button>
|
||||||
<button id="tour">Take a tour</button>
|
|
||||||
|
|||||||
@@ -1,36 +1,13 @@
|
|||||||
goog.require('ol.Map');
|
goog.require('ol.Map');
|
||||||
goog.require('ol.View');
|
goog.require('ol.View');
|
||||||
goog.require('ol.easing');
|
goog.require('ol.animation');
|
||||||
|
goog.require('ol.control');
|
||||||
goog.require('ol.layer.Tile');
|
goog.require('ol.layer.Tile');
|
||||||
goog.require('ol.proj');
|
goog.require('ol.proj');
|
||||||
goog.require('ol.source.OSM');
|
goog.require('ol.source.OSM');
|
||||||
|
|
||||||
var london = ol.proj.fromLonLat([-0.12755, 51.507222]);
|
|
||||||
var moscow = ol.proj.fromLonLat([37.6178, 55.7517]);
|
|
||||||
var istanbul = ol.proj.fromLonLat([28.9744, 41.0128]);
|
|
||||||
var rome = ol.proj.fromLonLat([12.5, 41.9]);
|
|
||||||
var bern = ol.proj.fromLonLat([7.4458, 46.95]);
|
|
||||||
|
|
||||||
var view = new ol.View({
|
// from https://github.com/DmitryBaranovskiy/raphael
|
||||||
center: istanbul,
|
|
||||||
zoom: 6
|
|
||||||
});
|
|
||||||
|
|
||||||
var map = new ol.Map({
|
|
||||||
target: 'map',
|
|
||||||
layers: [
|
|
||||||
new ol.layer.Tile({
|
|
||||||
preload: 4,
|
|
||||||
source: new ol.source.OSM()
|
|
||||||
})
|
|
||||||
],
|
|
||||||
// Improve user experience by loading tiles while animating. Will make
|
|
||||||
// animations stutter on mobile or slow devices.
|
|
||||||
loadTilesWhileAnimating: true,
|
|
||||||
view: view
|
|
||||||
});
|
|
||||||
|
|
||||||
// A bounce easing method (from https://github.com/DmitryBaranovskiy/raphael).
|
|
||||||
function bounce(t) {
|
function bounce(t) {
|
||||||
var s = 7.5625, p = 2.75, l;
|
var s = 7.5625, p = 2.75, l;
|
||||||
if (t < (1 / p)) {
|
if (t < (1 / p)) {
|
||||||
@@ -52,132 +29,159 @@ function bounce(t) {
|
|||||||
return l;
|
return l;
|
||||||
}
|
}
|
||||||
|
|
||||||
// An elastic easing method (from https://github.com/DmitryBaranovskiy/raphael).
|
// from https://github.com/DmitryBaranovskiy/raphael
|
||||||
function elastic(t) {
|
function elastic(t) {
|
||||||
return Math.pow(2, -10 * t) * Math.sin((t - 0.075) * (2 * Math.PI) / 0.3) + 1;
|
return Math.pow(2, -10 * t) * Math.sin((t - 0.075) * (2 * Math.PI) / 0.3) + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
function onClick(id, callback) {
|
var london = ol.proj.fromLonLat([-0.12755, 51.507222]);
|
||||||
document.getElementById(id).addEventListener('click', callback);
|
var moscow = ol.proj.fromLonLat([37.6178, 55.7517]);
|
||||||
}
|
var istanbul = ol.proj.fromLonLat([28.9744, 41.0128]);
|
||||||
|
var rome = ol.proj.fromLonLat([12.5, 41.9]);
|
||||||
|
var bern = ol.proj.fromLonLat([7.4458, 46.95]);
|
||||||
|
var madrid = ol.proj.fromLonLat([-3.683333, 40.4]);
|
||||||
|
|
||||||
onClick('rotate-left', function() {
|
var view = new ol.View({
|
||||||
view.animate({
|
// the view's initial state
|
||||||
rotation: view.getRotation() + Math.PI / 2
|
center: istanbul,
|
||||||
});
|
zoom: 6
|
||||||
});
|
});
|
||||||
|
|
||||||
onClick('rotate-right', function() {
|
var map = new ol.Map({
|
||||||
view.animate({
|
layers: [
|
||||||
rotation: view.getRotation() - Math.PI / 2
|
new ol.layer.Tile({
|
||||||
});
|
preload: 4,
|
||||||
|
source: new ol.source.OSM()
|
||||||
|
})
|
||||||
|
],
|
||||||
|
// Improve user experience by loading tiles while animating. Will make
|
||||||
|
// animations stutter on mobile or slow devices.
|
||||||
|
loadTilesWhileAnimating: true,
|
||||||
|
target: 'map',
|
||||||
|
controls: ol.control.defaults({
|
||||||
|
attributionOptions: /** @type {olx.control.AttributionOptions} */ ({
|
||||||
|
collapsible: false
|
||||||
|
})
|
||||||
|
}),
|
||||||
|
view: view
|
||||||
});
|
});
|
||||||
|
|
||||||
onClick('rotate-around-rome', function() {
|
var rotateLeft = document.getElementById('rotate-left');
|
||||||
// Rotation animation takes the shortest arc, so animate in two parts
|
rotateLeft.addEventListener('click', function() {
|
||||||
var rotation = view.getRotation();
|
var rotateLeft = ol.animation.rotate({
|
||||||
view.animate({
|
|
||||||
rotation: rotation + Math.PI,
|
|
||||||
anchor: rome,
|
|
||||||
easing: ol.easing.easeIn
|
|
||||||
}, {
|
|
||||||
rotation: rotation + 2 * Math.PI,
|
|
||||||
anchor: rome,
|
|
||||||
easing: ol.easing.easeOut
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
onClick('pan-to-london', function() {
|
|
||||||
view.animate({
|
|
||||||
center: london,
|
|
||||||
duration: 2000
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
onClick('elastic-to-moscow', function() {
|
|
||||||
view.animate({
|
|
||||||
center: moscow,
|
|
||||||
duration: 2000,
|
duration: 2000,
|
||||||
easing: elastic
|
rotation: -4 * Math.PI
|
||||||
});
|
});
|
||||||
});
|
map.beforeRender(rotateLeft);
|
||||||
|
}, false);
|
||||||
onClick('bounce-to-istanbul', function() {
|
var rotateRight = document.getElementById('rotate-right');
|
||||||
view.animate({
|
rotateRight.addEventListener('click', function() {
|
||||||
center: istanbul,
|
var rotateRight = ol.animation.rotate({
|
||||||
duration: 2000,
|
duration: 2000,
|
||||||
easing: bounce
|
rotation: 4 * Math.PI
|
||||||
});
|
});
|
||||||
});
|
map.beforeRender(rotateRight);
|
||||||
|
}, false);
|
||||||
|
|
||||||
onClick('spin-to-rome', function() {
|
var rotateAroundRome = document.getElementById('rotate-around-rome');
|
||||||
// Rotation animation takes the shortest arc, so animate in two parts
|
rotateAroundRome.addEventListener('click', function() {
|
||||||
var center = view.getCenter();
|
var currentRotation = view.getRotation();
|
||||||
view.animate({
|
var rotateAroundRome = ol.animation.rotate({
|
||||||
center: [
|
anchor: rome,
|
||||||
center[0] + (rome[0] - center[0]) / 2,
|
duration: 1000,
|
||||||
center[1] + (rome[1] - center[1]) / 2
|
rotation: currentRotation
|
||||||
],
|
|
||||||
rotation: Math.PI,
|
|
||||||
easing: ol.easing.easeIn
|
|
||||||
}, {
|
|
||||||
center: rome,
|
|
||||||
rotation: 2 * Math.PI,
|
|
||||||
easing: ol.easing.easeOut
|
|
||||||
});
|
});
|
||||||
});
|
map.beforeRender(rotateAroundRome);
|
||||||
|
view.rotate(currentRotation + (Math.PI / 2), rome);
|
||||||
|
}, false);
|
||||||
|
|
||||||
function flyTo(location, done) {
|
var panToLondon = document.getElementById('pan-to-london');
|
||||||
|
panToLondon.addEventListener('click', function() {
|
||||||
|
var pan = ol.animation.pan({
|
||||||
|
duration: 2000,
|
||||||
|
source: /** @type {ol.Coordinate} */ (view.getCenter())
|
||||||
|
});
|
||||||
|
map.beforeRender(pan);
|
||||||
|
view.setCenter(london);
|
||||||
|
}, false);
|
||||||
|
|
||||||
|
var elasticToMoscow = document.getElementById('elastic-to-moscow');
|
||||||
|
elasticToMoscow.addEventListener('click', function() {
|
||||||
|
var pan = ol.animation.pan({
|
||||||
|
duration: 2000,
|
||||||
|
easing: elastic,
|
||||||
|
source: /** @type {ol.Coordinate} */ (view.getCenter())
|
||||||
|
});
|
||||||
|
map.beforeRender(pan);
|
||||||
|
view.setCenter(moscow);
|
||||||
|
}, false);
|
||||||
|
|
||||||
|
var bounceToIstanbul = document.getElementById('bounce-to-istanbul');
|
||||||
|
bounceToIstanbul.addEventListener('click', function() {
|
||||||
|
var pan = ol.animation.pan({
|
||||||
|
duration: 2000,
|
||||||
|
easing: bounce,
|
||||||
|
source: /** @type {ol.Coordinate} */ (view.getCenter())
|
||||||
|
});
|
||||||
|
map.beforeRender(pan);
|
||||||
|
view.setCenter(istanbul);
|
||||||
|
}, false);
|
||||||
|
|
||||||
|
var spinToRome = document.getElementById('spin-to-rome');
|
||||||
|
spinToRome.addEventListener('click', function() {
|
||||||
var duration = 2000;
|
var duration = 2000;
|
||||||
var zoom = view.getZoom();
|
var start = +new Date();
|
||||||
var parts = 2;
|
var pan = ol.animation.pan({
|
||||||
var called = false;
|
duration: duration,
|
||||||
function callback(complete) {
|
source: /** @type {ol.Coordinate} */ (view.getCenter()),
|
||||||
--parts;
|
start: start
|
||||||
if (called) {
|
});
|
||||||
return;
|
var rotate = ol.animation.rotate({
|
||||||
}
|
duration: duration,
|
||||||
if (parts === 0 || !complete) {
|
rotation: 2 * Math.PI,
|
||||||
called = true;
|
start: start
|
||||||
done(complete);
|
});
|
||||||
}
|
map.beforeRender(pan, rotate);
|
||||||
}
|
view.setCenter(rome);
|
||||||
view.animate({
|
}, false);
|
||||||
center: location,
|
|
||||||
duration: duration
|
|
||||||
}, callback);
|
|
||||||
view.animate({
|
|
||||||
zoom: zoom - 1,
|
|
||||||
duration: duration / 2
|
|
||||||
}, {
|
|
||||||
zoom: zoom,
|
|
||||||
duration: duration / 2
|
|
||||||
}, callback);
|
|
||||||
}
|
|
||||||
|
|
||||||
onClick('fly-to-bern', function() {
|
var flyToBern = document.getElementById('fly-to-bern');
|
||||||
flyTo(bern, function() {});
|
flyToBern.addEventListener('click', function() {
|
||||||
});
|
var duration = 2000;
|
||||||
|
var start = +new Date();
|
||||||
|
var pan = ol.animation.pan({
|
||||||
|
duration: duration,
|
||||||
|
source: /** @type {ol.Coordinate} */ (view.getCenter()),
|
||||||
|
start: start
|
||||||
|
});
|
||||||
|
var bounce = ol.animation.bounce({
|
||||||
|
duration: duration,
|
||||||
|
resolution: 4 * view.getResolution(),
|
||||||
|
start: start
|
||||||
|
});
|
||||||
|
map.beforeRender(pan, bounce);
|
||||||
|
view.setCenter(bern);
|
||||||
|
}, false);
|
||||||
|
|
||||||
function tour() {
|
var spiralToMadrid = document.getElementById('spiral-to-madrid');
|
||||||
var locations = [london, bern, rome, moscow, istanbul];
|
spiralToMadrid.addEventListener('click', function() {
|
||||||
var index = -1;
|
var duration = 2000;
|
||||||
function next(more) {
|
var start = +new Date();
|
||||||
if (more) {
|
var pan = ol.animation.pan({
|
||||||
++index;
|
duration: duration,
|
||||||
if (index < locations.length) {
|
source: /** @type {ol.Coordinate} */ (view.getCenter()),
|
||||||
var delay = index === 0 ? 0 : 750;
|
start: start
|
||||||
setTimeout(function() {
|
});
|
||||||
flyTo(locations[index], next);
|
var bounce = ol.animation.bounce({
|
||||||
}, delay);
|
duration: duration,
|
||||||
} else {
|
resolution: 2 * view.getResolution(),
|
||||||
alert('Tour complete');
|
start: start
|
||||||
}
|
});
|
||||||
} else {
|
var rotate = ol.animation.rotate({
|
||||||
alert('Tour cancelled');
|
duration: duration,
|
||||||
}
|
rotation: -4 * Math.PI,
|
||||||
}
|
start: start
|
||||||
next(true);
|
});
|
||||||
}
|
map.beforeRender(pan, bounce, rotate);
|
||||||
|
view.setCenter(madrid);
|
||||||
onClick('tour', tour);
|
}, false);
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user