geo6 / geocoder

GNU General Public License v3.0
2 stars 0 forks source link

Update ol requirement to 5.0.0 #69

Closed dependabot-preview[bot] closed 6 years ago

dependabot-preview[bot] commented 6 years ago

Updates the requirements on ol to permit the latest version.

Release notes *Sourced from [ol's releases](https://github.com/openlayers/openlayers/releases).* > v5.0.0 > > The main theme of the v5.0.0 release is an improved developer/user experience with OpenLayers. Toward this end, we have reworked the library as a set of ES Modules, completely removing any dependency on the Closure Compiler, and improving compatibility with mainstream module bundlers. > > See the [hosted examples](https://openlayers.org/en/latest/examples/), [API docs](https://openlayers.org/en/latest/apidoc/), and [bundle tutorial](https://openlayers.org/en/latest/doc/tutorials/bundle.html) for the new syntax, but basic usage looks like this: > > ```js > import 'ol/ol.css'; > import {Map, View} from 'ol'; > import TileLayer from 'ol/layer/Tile'; > import OSM from 'ol/source/OSM'; > > const map = new Map({ > target: 'map', > layers: [ > new TileLayer({ > source: new OSM() > }) > ], > view: new View({ > center: [0, 0], > zoom: 0 > }) > }); > ``` > > See below for specific notes on upgrading from 4.x releases. We'll be working on updating the website with improved documentation and examples. Take a look at the issue tracker if you're interested in contributing. > > ### Upgrade Notes > > #### Renamed `ol/source/TileUTFGrid` to `ol/source/UTFGrid` > > The module name is now `ol/source/UTFGrid` (`ol.source.UTFGrid` in the full build). > > #### Renaming of the `defaultDataProjection` in the options and property of the `ol/format/Feature` class and its subclasses > > The `defaultDataProjection` option is now named `dataProjection`. The protected property available on the class is also renamed. > > #### `transition` option of `ol/source/VectorTile` is ignored > > The `transition` option to get an opacity transition to fade in tiles has been disabled for `ol/source/VectorTile`. Vector tiles are now always rendered without an opacity transition. > > #### `ol/style/Fill` with `CanvasGradient` or `CanvasPattern` > > The origin for gradients and patterns has changed from the top-left corner of the extent of the geometry being filled to 512 css pixel increments from map coordinate `[0, 0]`. This allows repeat patterns to be aligned properly with vector tiles. For seamless repeat patterns, width and height of the pattern image must be a factor of two (2, 4, 8, ..., 512). > > #### Removal of the renderer option for maps > > The `renderer` option has been removed from the `Map` constructor. The purpose of this change is to avoid bundling code in your application that you do not need. Previously, code for both the Canvas and WebGL renderers was included in all applications - even though most people only use one renderer. The `Map` constructor now gives you a Canvas (2D) based renderer. If you want to try the WebGL renderer, you can import the constructor from `ol/WebGLMap`. > > ... (truncated)
Commits - See full diff in [compare view](https://github.com/openlayers/openlayers/commits/v5.0.0)


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.