Commit Graph
100 Commits
Author SHA1 Message Date
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
Frédéric Junod dd3dcde160 Merge pull request #6255 from fredj/translate_cursor
Don't reset the css cursor if it's not needed
2016-12-22 09:20:00 +01:00
Frédéric Junod f9752626f0 Merge pull request #6291 from fredj/cleanup
Document olx.AtPixelOptions#hitTolerance default value
2016-12-21 16:17:51 +01:00
Frederic Junod 398ecf3660 Document olx.AtPixelOptions#hitTolerance default value 2016-12-21 14:51:49 +01:00
Frederic Junod c6fe60bcd7 Don't reset the css cursor if it's not needed 2016-12-16 15:57:41 +01:00
Frédéric Junod f6e62191d2 Merge pull request #6244 from fredj/comma-spacing
Enforces spacing around commas
2016-12-15 08:37:12 +01:00
Frederic Junod 392cbcc138 Enforces spacing around commas 2016-12-14 13:42:47 +01:00
Frédéric Junod b1f25d484b Merge pull request #6243 from fredj/key-spacing
Consistent spacing between keys and values in object literal
2016-12-14 13:28:26 +01:00
Frederic Junod 1478cadb18 Consistent spacing between keys and values in object literal
Related to https://github.com/openlayers/eslint-config-openlayers/pull/9
2016-12-14 12:10:47 +01:00
Frédéric Junod e95778e47f Merge pull request #6220 from fredj/collection_push_length
Fix ol.Collection#push return value
2016-12-08 08:26:31 +01:00
Frédéric Junod 000453a0e1 Merge pull request #6213 from drnextgis/preload
Add preload option to olx.layer.VectorTileOptions
2016-12-08 08:25:56 +01:00
Frederic Junod 5e0ce08804 Fix ol.Collection#push return value 2016-12-07 15:11:31 +01:00
Frédéric Junod 10e36a0529 Merge pull request #6218 from gberaudo/modify_interaction_check_map_rendered
Make modify interaction more robust
2016-12-07 12:14:05 +01:00
Frédéric Junod 51f7bfb415 Merge pull request #6178 from fredj/missing_require
Add missing goog.require
2016-11-29 08:20:57 +01:00
Frédéric Junod 9ef0434be2 Merge pull request #6179 from fredj/rm_unused
Remove unused ol.Map.removePreRenderFunction function
2016-11-28 16:53:15 +01:00
Frederic Junod 59b8d969d6 Remove unused ol.Map.removePreRenderFunction function
The function is no longer used after #6079
2016-11-28 14:02:42 +01:00
Frederic Junod 1b6c239114 Add missing goog.require 2016-11-28 13:46:26 +01:00
Frédéric Junod 8fe783d975 Merge pull request #6159 from tchandelle/examples-require-carriage-return
Remove carriage return after goog.require in examples
2016-11-25 13:20:15 +01:00
Frédéric Junod 15769101af Merge pull request #6169 from tchandelle/image-rotation-webgl
Image rotation in WebGL was anti-clockwise
2016-11-25 10:18:10 +01:00
Frédéric Junod 66a55d126b Merge pull request #6168 from openlayers/greenkeeper-mocha-3.2.0
Update mocha to version 3.2.0 🚀
2016-11-25 08:45:26 +01:00
Frédéric Junod 13884dac4d Merge pull request #6161 from openlayers/greenkeeper-async-2.1.4
Update async to version 2.1.4 🚀
2016-11-23 08:22:23 +01:00
Frédéric Junod d58103087f Merge pull request #6072 from openlayers/greenkeeper-metalsmith-2.3.0
Update metalsmith to version 2.3.0 🚀
2016-11-04 07:01:32 +01:00
Frédéric Junod 5f5bc2ecdb Merge pull request #6053 from openlayers/greenkeeper-glob-7.1.1
Update glob to version 7.1.1 🚀
2016-10-31 13:12:05 +01:00
Frédéric Junod 39abb2b143 Merge pull request #6036 from fredj/mousewheel_timeout_option
Add new timeout option to ol.interaction.MouseWheelZoom
2016-10-28 09:46:12 +02:00
Frederic Junod e0a9910d4e Add new timeout option to ol.interaction.MouseWheelZoom
And remove the `ol.MOUSEWHEELZOOM_TIMEOUT_DURATION` define.
2016-10-28 09:07:42 +02:00
Frédéric Junod c34f097ffd Merge pull request #6011 from fredj/rm_unused
Remove unused function
2016-10-21 15:44:08 +02:00
Frederic Junod 0a2b145fd5 Remove unused ol.extent.empty function 2016-10-21 14:25:46 +02:00
Frederic Junod 0f8d26d829 Remove unused ol.extent.touches function 2016-10-21 14:23:31 +02:00
Frederic Junod 2a1a9ec337 Remove unused ol.extent.isInfinite function 2016-10-21 14:22:37 +02:00
Frederic Junod 5627a467cd Remove unused ol.extent.normalize function 2016-10-21 14:20:33 +02:00
Frédéric Junod 1fbfd4aced Merge pull request #5991 from openlayers/Array.isView_tests
Only test ol.format.MVT if ArrayBuffer.isView is supported
2016-10-20 13:40:45 +02:00
Frederic Junod 0345055cfb Use tile pixel ratio for gutter calculation (webgl and tests) 2016-10-20 13:15:06 +02:00
Frederic Junod 88cebbf6c1 Remove projection param in ol.VectorTile constructor 2016-10-20 12:36:12 +02:00
Frederic Junod e8bc38b6a9 Use a mock format instead of ol.format.MVT in tests 2016-10-20 12:36:12 +02:00
Frederic Junod 61fcc4a326 Only test ol.format.MVT if ArrayBuffer.isView is supported 2016-10-20 12:18:23 +02:00
Frédéric Junod e542c622a7 Merge pull request #5963 from fredj/modify_deactivate
Remove the vertex on ol.interaction.Modify deactivation
2016-10-19 12:14:06 +02:00
Frederic Junod e853f1ed2a Remove the vertex on ol.interaction.Modify deactivation 2016-10-19 11:06:29 +02:00
Frederic Junod 92bd1d67a8 Use FileSaver.js in export-map example
Instead of relying on the download attribute.
2016-10-19 10:33:20 +02:00
Frédéric Junod b89eb77f20 Merge pull request #5989 from openlayers/rm_vector-osm_example
Remove vector-osm example
2016-10-18 16:05:26 +02:00
Frederic Junod e890b4b1d6 Remove vector-osm example
fixes #5988
2016-10-18 15:18:24 +02:00
Frédéric Junod eacc3a52bb Merge pull request #5967 from fredj/cleanup
Add missing jsdoc to ol.render.canvas.Replay#fill_ function
2016-10-14 15:35:05 +02:00
Frederic Junod 988b3f8b9b Add missing jsdoc to ol.render.canvas.Replay#fill_ function 2016-10-14 15:05:30 +02:00
Frédéric Junod 07a413efff Merge pull request #5960 from fredj/rename
More renaming to have one provide per file
2016-10-13 14:49:24 +02:00
Frederic Junod ed677cec4e Rename ol.render.EventType to ol.render.Event.Type 2016-10-13 12:02:51 +02:00
Frederic Junod 5a3794752a Rename ol.interaction.InteractionProperty to ol.interaction.Interaction.Property 2016-10-13 11:50:42 +02:00
Frederic Junod 189a7f1759 Rename ol.layer.VectorTileProperty to ol.layer.VectorTile.Property 2016-10-13 11:43:40 +02:00
Frederic Junod 80a6512d55 Rename ol.layer.VectorProperty to ol.layer.Vector.Property 2016-10-13 11:42:17 +02:00
Frederic Junod 99dcaf3830 Add missing goog.require('ol') 2016-10-13 11:40:06 +02:00
Frédéric Junod 5cdbd76b1e Merge pull request #5933 from openlayers/greenkeeper-phantomjs-prebuilt-2.1.13
Update phantomjs-prebuilt to version 2.1.13 🚀
2016-10-05 08:25:37 +02:00
Frédéric Junod d8fbc09326 Merge pull request #5911 from openlayers/greenkeeper-eslint-3.6.0
Update eslint to version 3.6.0 🚀
2016-09-26 09:37:09 +02:00
Frédéric Junod 27cdbf9c00 Merge pull request #5903 from fredj/ol.format.filter
Rename ol.format.ogc.filter namespace to ol.format.filter
2016-09-26 08:38:30 +02:00
Frédéric Junod 5083e7a395 Merge pull request #5913 from openlayers/greenkeeper-clean-css-3.4.20
Update clean-css to version 3.4.20 🚀
2016-09-26 08:36:32 +02:00
Frédéric Junod 833247d24e Merge pull request #5905 from openlayers/greenkeeper-pbf-3.0.1
Update pbf to version 3.0.1 🚀
2016-09-21 08:36:17 +02:00
Frederic Junod 78af52d62d Rename ol.format.ogc.filter namespace to ol.format.filter 2016-09-21 08:35:49 +02:00
Frédéric Junod addc23b20e Merge pull request #5904 from fredj/upgrade-notes_code
Fix changelog/upgrade-notes.md formating
2016-09-21 08:34:36 +02:00
Frédéric Junod d27b057969 Merge pull request #5906 from openlayers/greenkeeper-glob-7.1.0
Update glob to version 7.1.0 🚀
2016-09-21 07:18:03 +02:00
Frederic Junod 84c50ca6b2 Fix changelog/upgrade-notes.md formating 2016-09-20 16:54:19 +02:00
Frédéric Junod 22014f2454 Merge pull request #5898 from openlayers/greenkeeper-sinon-1.17.6
Update sinon to version 1.17.6 🚀
2016-09-20 08:33:43 +02:00
Frédéric Junod ae61fcfb34 Merge pull request #5888 from fredj/rm_unused
Remove unused functions
2016-09-20 08:33:12 +02:00
Frédéric Junod 474e5a0a98 Merge pull request #5900 from openlayers/greenkeeper-coveralls-2.11.14
Update coveralls to version 2.11.14 🚀
2016-09-20 08:32:25 +02:00
Frederic Junod 000207016f Remove unused ol.tilecoord.createFromString function 2016-09-15 16:33:58 +02:00
Frederic Junod 932269c8b6 Remove unused ol.color.isValid function 2016-09-15 16:33:42 +02:00
Frédéric Junod 415105c4db Merge pull request #5886 from fredj/rm_unused
Remove unused functions
2016-09-15 15:49:01 +02:00
Frederic Junod d812804b2e Remove unused ol.array.binaryFindNearest function 2016-09-15 10:39:46 +02:00
Frederic Junod d108658cff Remove unused ol.size.equals function 2016-09-15 10:39:46 +02:00
Frederic Junod 97ececb470 Remove unused ol.coordinate.fromProjectedArray function 2016-09-15 10:39:46 +02:00
Frederic Junod a4504b0e00 Remove unused ol.TileRange.boundingTileRange function 2016-09-15 10:21:50 +02:00
Frédéric Junod e416a884b7 Merge pull request #5853 from fredj/number_range_expandUrl
Allow more than one digit range in ol.TileUrlFunction.expandUrl
2016-09-15 09:20:52 +02:00
Frederic Junod 2591f61fd3 Allow more than one digit range in ol.TileUrlFunction.expandUrl
To be able to have number range like `{9-13}`
2016-09-15 08:44:22 +02:00