Commit Graph
100 Commits
Author SHA1 Message Date
Frédéric Junod f4bf92a488 Merge pull request #6614 from adube/filter-write-util-method
Filter write util method
2017-03-21 16:28:04 +01:00
Frédéric Junod d65d816ac8 Merge pull request #6616 from fredj/fix_gml_tests
Fix closing tag in gml tests
2017-03-21 15:24:21 +01:00
Frederic Junod 7aa6d6350a Fix closing tag in gml tests 2017-03-21 14:55:41 +01:00
Frédéric Junod 576b646f36 Merge pull request #6579 from fredj/update_slimerjs
Update slimerjs to v0.10.3
2017-03-20 08:34:34 +01:00
Frédéric Junod b7fcc3ec46 Merge pull request #6577 from fredj/optionsFromCapabilities_crossOrigin
Adding crossOrigin to optionsFromCapabilities
2017-03-20 08:25:46 +01:00
Frederic Junod 9ae7df918f Update slimerjs to v0.10.3 2017-03-20 08:22:31 +01:00
Frédéric Junod 793bf2f154 Merge pull request #6580 from fredj/rm_esprima
Remove unused esprima package
2017-03-11 07:39:22 +01:00
Frederic Junod 99de8b2eb1 Remove unused esprima package
It was added in #6302 but never used
2017-03-11 07:26:01 +01:00
Frédéric Junod 1e3462d476 Merge pull request #6570 from openlayers/sinon_stub
Don't use deprecated sinon.stub(obj, 'meth', fn)
2017-03-09 08:37:10 +01:00
Frédéric Junod 80c5b90dea Merge pull request #6569 from fredj/wmts_layer_not_found
Return null if the layer was not found in the WMTS capabilities
2017-03-08 15:44:12 +01:00
Frederic Junod 3e95c424ab Don't use deprecated sinon.stub(obj, 'meth', fn)
Code updated using https://github.com/hurrymaplelad/sinon-codemod
2017-03-08 15:37:46 +01:00
Frederic Junod 2e22fce718 Return null if the layer was not found in the WMTS capabilities 2017-03-08 15:29:26 +01:00
Frédéric Junod cc13ca68fa Merge pull request #6551 from fredj/regular_shape_default_color
Use the default fill and stroke color
2017-03-08 08:42:27 +01:00
Frederic Junod 1d3eb2eb6e Use the default fill and stroke color 2017-03-07 12:04:22 +01:00
Frédéric Junod c215a1c50f Merge pull request #6559 from fredj/cleanup
Remove unneeded type cast
2017-03-06 09:49:05 +01:00
Frédéric Junod e3664dbf64 Merge pull request #6558 from openlayers/greenkeeper/coveralls-2.12.0
Update coveralls to the latest version 🚀
2017-03-06 08:40:39 +01:00
Frédéric Junod 72b6a5c392 Merge pull request #6553 from openlayers/greenkeeper/proj4-2.4.3
Update proj4 to the latest version 🚀
2017-03-06 08:40:20 +01:00
Frederic Junod 192e3a3197 Remove unneeded type cast 2017-03-06 08:39:47 +01:00
Frédéric Junod 6679faf1e3 Merge pull request #6554 from openlayers/greenkeeper/eslint-3.17.0
Update eslint to the latest version 🚀
2017-03-06 08:23:38 +01:00
Frédéric Junod b456250cbe Merge pull request #6540 from openlayers/getAccuracyGeometry_type
More precise ol.Geolocation#getAccuracyGeometry return type
2017-03-01 09:51:51 +01:00
Frédéric Junod a561300e9d Merge pull request #6539 from openlayers/greenkeeper/sinon-2.0.0-pre.6
Update sinon to the latest version 🚀
2017-02-28 12:12:07 +01:00
Frederic Junod c1be62e6c3 More precise ol.Geolocation#getAccuracyGeometry return type 2017-02-27 16:18:45 +01:00
Frédéric Junod 08a251103b Merge pull request #6535 from openlayers/greenkeeper/closure-util-1.18.0
Update closure-util to the latest version 🚀
2017-02-24 09:47:11 +01:00
Frédéric Junod 6d8fed6edc Merge pull request #6518 from fredj/fix_icon_src_type
Fix olx.style.IconOptions.prototype.src type
2017-02-20 13:17:35 +01:00
Frederic Junod 7c45a0dc4f Fix olx.style.IconOptions.prototype.src type
The `olx.style.IconOptions` `@typedef` was already correct.
2017-02-20 12:19:58 +01:00
Frédéric Junod 88be906ad5 Merge pull request #6491 from openlayers/greenkeeper/clean-css-cli-4.0.7
Update clean-css-cli to the latest version 🚀
2017-02-14 13:17:45 +01:00
Frédéric Junod e58f173c78 Merge pull request #6475 from fredj/zoomify_url_template
Use an url template for ol.source.Zoomify
2017-02-10 12:13:37 +01:00
Frederic Junod a4a8d01bac Use an url template for ol.source.Zoomify 2017-02-09 17:06:23 +01:00
Frédéric Junod 310a0069f2 Merge pull request #6468 from fredj/rm_console.assert
Remove console.assert in ol.structs.PriorityQueue tests
2017-02-08 13:59:33 +01:00
Frederic Junod e9fb061704 Remove no-console eslint rule 2017-02-08 13:45:40 +01:00
Frederic Junod 04deaa3032 Remove console.assert in ol.structs.PriorityQueue tests 2017-02-08 13:45:40 +01:00
Frédéric Junod facd36f683 Merge pull request #6467 from fredj/round_dpi
Round the DPI value in ol.source.ImageArcGISRest
2017-02-08 13:42:48 +01:00
Frédéric Junod 6301de4739 Merge pull request #6466 from tchandelle/kml-test
Small XML error in KML test
2017-02-08 13:40:41 +01:00
Frederic Junod c260e927a0 Round the DPI value in ol.source.ImageArcGISRest 2017-02-08 13:32:57 +01:00
Frédéric Junod 7175270fb1 Merge pull request #6460 from fredj/rm_unByKey
Remove ol.Observable#unByKey
2017-02-08 08:25:08 +01:00
Frederic Junod a6e17318d3 Remove ol.Observable#unByKey 2017-02-07 16:58:44 +01:00
Frederic Junod 92ba2c1e36 Use the 'openlayers' tag instead of 'openlayers-3' 2017-02-07 14:14:43 +01:00
Frédéric Junod 32a154a114 Merge pull request #6463 from openlayers/greenkeeper/clean-css-cli-4.0.5
chore(package): update clean-css-cli to version 4.0.5
2017-02-07 14:13:15 +01:00
Frédéric Junod 7ca246a20f Merge pull request #6459 from fredj/ol.coordinate.distance
Use ol.coordinate.distance
2017-02-07 09:36:06 +01:00
Frederic Junod 5c731176b9 Use ol.coordinate.distance 2017-02-07 08:25:19 +01:00
Frederic Junod 20c039135b Move updateSize test in the rendering tests 2017-02-06 14:25:55 +01:00
Frédéric Junod 259fc356bc Merge pull request #6443 from openlayers/goog.require
goog.require cleanup
2017-02-03 14:56:53 +01:00
Frederic Junod 9d263629e6 Add missing goog.require 2017-02-03 12:47:13 +01:00
Frederic Junod 5763e1d145 Remove unused goog.require 2017-02-03 12:40:53 +01:00
Frédéric Junod 265a83c389 Merge pull request #6442 from fredj/goog.require
Fix missing goog.require
2017-02-03 11:10:49 +01:00
Frederic Junod 17fb40f5e6 Fix missing goog.require 2017-02-03 10:29:05 +01:00
Frédéric Junod d2cd01e024 Merge pull request #6441 from openlayers/greenkeeper/metalsmith-layouts-1.8.0
Update metalsmith-layouts to the latest version 🚀
2017-02-03 10:24:09 +01:00
Frédéric Junod ea8d4b83d8 Merge pull request #6432 from fredj/3857_extent
Use ol.proj.EPSG3857.WORLD_EXTENT in ol.source.TileImage tests
2017-02-01 16:46:03 +01:00
Frederic Junod cff3447675 Use ol.proj.EPSG3857.WORLD_EXTENT in ol.source.TileImage tests 2017-02-01 11:53:24 +01:00
Frédéric Junod bc1f067f46 Merge pull request #6424 from openlayers/greenkeeper/initial
Update dependencies to enable Greenkeeper 🌴
2017-02-01 09:18:29 +01:00
Frédéric Junod f855102a3b Merge pull request #6422 from fredj/zoomslider_touch
Don't listen twice to move and end events in ol.control.ZoomSlider
2017-02-01 09:12:11 +01:00
Frederic Junod 7b687be9e0 Don't listen twice to move and end events in ol.control.ZoomSlider 2017-02-01 08:32:34 +01:00
Frédéric Junod ebce967ebd Merge pull request #6426 from probins/patch-2
Add rewrite_polyfills to custom builds tutorial
2017-02-01 08:28:58 +01:00
Frédéric Junod 66722553a6 Merge pull request #6365 from gberaudo/public_enums_for_draw_modify_interactions
Make enums for draw and modify interactions public
2017-01-31 16:57:47 +01:00
Frédéric Junod f0457bf075 Merge pull request #6294 from fredj/update_cc
Update code for closure-compiler v20170124
2017-01-31 16:19:08 +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
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
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
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
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
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
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
Frédéric Junod d0da44e26d Merge pull request #6379 from fredj/overviewmap_target
Set the overview map target in ol.control.OverviewMap.setMap
2017-01-18 16:16:03 +01:00
Frederic Junod 21593503c6 Set the overview map target in ol.control.OverviewMap.setMap 2017-01-18 11:57:21 +01:00
Frédéric Junod 2c0d876720 Merge pull request #6357 from fredj/geojson_externs
Fix GeoJSONCRSCode definition
2017-01-13 09:07:49 +01:00
Frédéric Junod cab7775151 Merge pull request #6362 from fredj/cleanup
Remove empty file
2017-01-12 16:22:59 +01:00
Frederic Junod ca144c26b0 Remove empty file 2017-01-12 16:11:55 +01:00
Frédéric Junod 0e8fe23ed7 Merge pull request #6356 from probins/patch-2
Bring custom builds tutorial up to date
2017-01-12 16:06:17 +01:00
Frédéric Junod 66ef6ecd20 Merge pull request #6360 from openlayers/rm_ol.array.flatten
Remove ol.array.flatten function
2017-01-12 10:59:13 +01:00
Frederic Junod d8c5e81675 Remove unused ol.array.flatten function 2017-01-12 10:39:19 +01:00
Frederic Junod ed79048528 Use ol.geom.flat.deflate.coordinates to flatten array 2017-01-12 10:39:19 +01:00
Frederic Junod a2f99f8e39 Correct spelling 2017-01-12 10:26:06 +01:00
Frederic Junod 87b137ab7c Fix GeoJSONCRSCode definition
The `code` property is on `GeoJSONCRSCode` not `GeoJSONCRSName`.

http://geojson.org/geojson-spec.html#named-crs
2017-01-11 13:42:33 +01:00
Frédéric Junod 76f63c8162 Merge pull request #6339 from fredj/cleanup
Code cleanup
2017-01-10 10:34:04 +01:00
Frederic Junod 5632084441 Remove 'analyzerChecks' from jscomp_off compiler option 2017-01-10 08:58:15 +01:00
Frederic Junod 22498991ab Remove unused private function 2017-01-10 08:51:41 +01:00
Frederic Junod 01e161e19f Remove unused private variable 2017-01-10 08:50:39 +01:00
Frederic Junod 6e4aa39e9d Add curly braces in type annotation 2017-01-10 08:49:11 +01:00
Frédéric Junod 30ed3e3ba5 Merge pull request #6336 from fredj/rm_getExtensions
Remove unused ol.format.Feature.getExtensions function
2017-01-09 10:09:00 +01:00
Frederic Junod 4bef3f3f19 Remove unused ol.format.Feature.getExtensions function 2017-01-09 08:36:11 +01:00
Frédéric Junod 1692a19c3b Merge pull request #6300 from fredj/hidpi_ImageArcGISRest
Add missing hidpi option for ol.source.ImageArcGISRest
2017-01-09 08:28:50 +01:00
Frederic Junod 3642f02601 Add missing hidpi option for ol.source.ImageArcGISRest 2016-12-23 14:36:26 +01:00