Commit Graph

20595 Commits

Author SHA1 Message Date
Guillaume Beraudo 687ef25649 Ignore unused local variable in all examples compile
This makes it consistent with the eslint configuration for examples in
examples/.eslintrc.
2017-01-31 14:40:18 +01:00
Guillaume Beraudo c77169fcac Update closure compiler to v20170124 2017-01-31 11:48:02 +01:00
Guillaume Beraudo c16cc286cd Prefer @override in the case there is no other annotations
See
https://github.com/google/closure-compiler/wiki/Annotating-JavaScript-for-the-Closure-Compiler#override
2017-01-31 09:31:34 +01:00
Guillaume Beraudo 1c353061fe Consistently handle not implemented methods 2017-01-31 09:21:01 +01:00
Guillaume Beraudo c9d33fb03a Fix missing require 2017-01-30 17:18:30 +01:00
Frederic Junod f72fd69ea6 Add empty ol.format.IGC.prototype.readGeometryFromText 2017-01-30 17:16:01 +01:00
Frederic Junod 3e4afa6ddf Update closure-util to v1.16.0 2017-01-30 17:16:01 +01:00
Frederic Junod 68f493fc90 Revert "Remove 'analyzerChecks' from jscomp_off compiler option"
This reverts commit 5632084441.
2017-01-30 17:16:01 +01:00
Guillaume Beraudo b54ea89395 Handle concrete classes with non implemented abstract methods 2017-01-30 17:16:01 +01:00
Frederic Junod 7a7c01a074 Add empty ol.geom.LinearRing.intersectsExtent 2017-01-30 17:16:01 +01:00
Frederic Junod 2713175e15 Add empty ol.format.OSMXML.prototype.write* 2017-01-30 17:16:01 +01:00
Frederic Junod 4289f0a686 Add empty ol.format.WMSGetFeatureInfo.prototype.write* 2017-01-30 17:16:01 +01:00
Frederic Junod 285349eced Add empty ol.format.TopoJSON.prototype.write* 2017-01-30 17:16:01 +01:00
Frederic Junod f8feaeb837 Add empty ol.format.IGC.prototype.write* 2017-01-30 17:16:01 +01:00
Frederic Junod b470220405 Add empty ol.layer.Group.createRenderer 2017-01-30 17:16:01 +01:00
Frederic Junod 271a4683a5 Add empty ol.geom.Circle.{get,set}Coordinates 2017-01-30 17:16:01 +01:00
Frederic Junod 198cf987ed Add empty ol.source.Vector.getResolutions 2017-01-30 17:16:01 +01:00
Frederic Junod 1cb2808f7f Remove abstract from ol.render.VectorContext functions 2017-01-30 17:16:01 +01:00
Frederic Junod a0d80d17e0 Add ol.format.TopoJSON.readProjectionFromObject function 2017-01-30 17:16:01 +01:00
Frederic Junod d59224f5eb Add missing override and inheritDoc jsdoc tags 2017-01-30 17:16:01 +01:00
Frederic Junod 546fc97cd4 Add abstract tag at class level 2017-01-30 17:16:01 +01:00
Frederic Junod 2e63590791 Don't use ol.nullFunction in ol.style.RegularShape
The closure compiler doesn't recognize this as an implementation of an abstract function.
2017-01-30 17:16:01 +01:00
Frederic Junod a8cade7cf8 Add ol.source.TileDebug.Tile_#load function 2017-01-30 17:16:01 +01:00
Andreas Hocevar 95ee9e2757 Merge pull request #6413 from ahocevar/feature-stylefunction
Accept ol.StyleFunction in ol.Feature#setStyle()
2017-01-29 08:45:48 +01:00
Andreas Hocevar f2100f6846 Accept ol.StyleFunction in ol.Feature#setStyle() 2017-01-28 15:47:14 +01:00
Frédéric Junod 70d6bb72fb Merge pull request #6398 from fredj/overlay
Be more tolerant of map and position value
2017-01-25 08:31:22 +01:00
Frédéric Junod 8c2b407df2 Merge pull request #6399 from tchandelle/vectortile-options-rendermode
Small doc fix in VectorTileOptions renderMode
2017-01-24 16:24:36 +01:00
Thomas Chandelle 1965bff8b7 Add newline to move the default value below the list 2017-01-24 16:10:38 +01:00
Frederic Junod 6605669cb6 Be more tolerant of map and position value
The `map` property type is `ol.Map|undefined` but `null` is set when
removing the overlay from the map:
https://github.com/openlayers/openlayers/blob/v3.20.1/src/ol/map.js#L453

This raise an exception with:
```js
map.removeOverlay(overlay);
overlay.setPosition(undefined);
```

Because `map === undefined` is used in `ol.Overlay.setPosition`
2017-01-23 17:06:11 +01:00
Frederic Junod 7f39b22161 Add tests for ol.Overlay.setVisible 2017-01-23 16:19:10 +01:00
Marc Jansen 0ff0c9aa9f Merge pull request #6396 from chrismayer/year-here-example-attribution
Show current year in attribution in "HERE Map Tile API" example
2017-01-23 15:05:57 +01:00
Frédéric Junod fb5a6260c5 Merge pull request #6390 from fredj/deprecated_tag
Tag deprecated functions with @deprecated
2017-01-23 14:50:52 +01:00
Christian Mayer 5a4cfb2978 Show current year in attribution in here-example
This ensures that the current year is shown in the layer attribution in
the "HERE Map Tile API" example.
2017-01-23 13:26:47 +01:00
Frédéric Junod a7d30e6545 Merge pull request #6370 from tchandelle/feature-events
Feature apidoc, fix events and observable properties
2017-01-23 12:40:37 +01:00
Frederic Junod 30074aed5f Tag deprecated functions with @deprecated
The closure-compiler (and maybe other tools) warns if the functions are used.
The functions are also marked as deprecated in the api doc.
2017-01-23 10:43:42 +01:00
Tobias Sauerwein fdb6e316b6 Merge pull request #6376 from tsauerwein/filter-nary
Make ol.format.filter.or/and accept n filter conditions
2017-01-23 09:31:44 +01:00
Andreas Hocevar 7c812c3de2 Merge pull request #6393 from ahocevar/only-set-center-when-animating
Only stop animation when animating
2017-01-21 21:05:03 +01:00
Andreas Hocevar c78746b309 Only stop animation when animating 2017-01-21 14:23:58 +01:00
Andreas Hocevar a993cf4a04 Merge pull request #6387 from ahocevar/zoomify-projection
Add projection option to ol.source.Zoomify
2017-01-20 17:00:33 +01:00
Andreas Hocevar 2e89ca3aa3 Add projection option to ol.source.Zoomify 2017-01-20 16:23:59 +01:00
Andreas Hocevar 69ef508aad Merge pull request #6386 from tchandelle/snap
Snap : only listen to change event triggered by the feature
2017-01-20 15:14:32 +01:00
Thomas Chandelle 8a440b0c20 Listen only to change event triggered by the feature
ol.Feature catch change event from its geometry and trigger a change
event itself. ol.Feature will also trigger change event when its
geometryName has changed
2017-01-20 13:01:28 +01:00
Frédéric Junod 7408a09b83 Merge pull request #6383 from tchandelle/modify-active
Modify interaction: check if interaction is active before drawing modifying vertex
2017-01-20 08:22:44 +01:00
Andreas Hocevar bc7bbaa269 Merge pull request #6381 from drnextgis/geojson-vt
geojson-vt integration example
2017-01-19 19:55:37 +01:00
Andreas Hocevar 7f5e1e2e62 Less hackish tile loading; also works with empty data 2017-01-19 19:30:34 +01:00
drnextgis b0b0e94d89 order .eslintrc alphabetically 2017-01-19 22:34:33 +07:00
Thomas Chandelle b7922b365a Check if interaction is active before drawing modifying vertex 2017-01-19 14:51:20 +01:00
drnextgis ffa96907c7 geojson-vt integration example 2017-01-19 20:50:07 +07:00
tsauerwein 756417ee2c Remove ol.format.filter.Logical 2017-01-19 09:20:29 +01:00
Tim Schaub 787210a2aa Merge pull request #6373 from tschaub/debug-webgl
Use the ol.DEBUG_WEBGL flag to debug shader sources
2017-01-18 11:43:51 -06:00