Commit Graph
100 Commits
Author SHA1 Message Date
Frédéric Junod 4045e06aa9 Merge pull request #4050 from fredj/view_getState
Use view.getRotation and view.getResolution instead of view.getState
2015-08-26 14:15:31 +02:00
Frédéric Junod 61fe8a8418 Merge pull request #4051 from fredj/wrench_devDependencies
Move wrench node package to devDependencies
2015-08-26 14:15:00 +02:00
Frederic Junod 954c1c313e Move wrench node package to devDependencies
This package is only used by tasks/test-coverage.js (code coverage with istanbul)

Fixes #4048
2015-08-26 13:42:17 +02:00
Frederic Junod c1575e810b Use view.getRotation and view.getResolution instead of view.getState
view.getState calls 4 functions and creates an object and an array.
It's more efficient to use view.getRotation and view.getResolution.
2015-08-26 13:37:30 +02:00
Frédéric Junod 16d687205d Merge pull request #4047 from fredj/rm_pystache
Remove pystache dependency
2015-08-26 11:35:34 +02:00
Frederic Junod 15ef7eec85 Remove pystache dependency
And use the mustache node module instead.
2015-08-26 10:36:55 +02:00
Frédéric Junod db68c09e4d Merge pull request #4027 from fredj/20150729_compatibility
closure-compiler v20150729 compatibility
2015-08-26 10:17:02 +02:00
Frederic Junod 9d07300e71 Rename ol.SelectEvent to ol.interaction.SelectEvent 2015-08-25 09:26:10 +02:00
Frederic Junod ffc24e892e Rename ol.ModifyEvent to ol.interaction.ModifyEvent 2015-08-25 09:26:10 +02:00
Frederic Junod 49b8f90e66 Add missing goog.provide
The new version of the closure-compiler (version 20150729) wants that all the classes
tagged with `@constructor` to be provided (with `goog.provide`).
2015-08-25 09:26:10 +02:00
Frederic Junod eb4dab90e5 Better type for ol.interaction.Modify#rBush_ 2015-08-25 09:26:10 +02:00
Frédéric Junod 1c549b4df3 Merge pull request #4037 from fredj/travis_pip_install
Don't install python packages in before_install
2015-08-24 14:19:35 +02:00
Frederic Junod 37cdbcc72f Don't install python packages in before_install
Travis already installs the packages by default.
See http://docs.travis-ci.com/user/languages/python/#Travis-CI-uses-pip
2015-08-24 10:03:07 +02:00
Frédéric Junod da5bf46dbf Merge pull request #4014 from fredj/rm_checkStructDictInheritance
Remove deprecated checkStructDictInheritance
2015-08-24 09:08:12 +02:00
Frédéric Junod 2c8e5600ce Merge pull request #3987 from fredj/unnecessary_cast
Remove unnecessary cast
2015-08-24 09:07:27 +02:00
Frédéric Junod 6d7f51f111 Merge pull request #4026 from fredj/fa_css_class
Fix Font Awesome CSS class in examples
2015-08-20 12:15:16 +02:00
Frederic Junod da4b863ad8 Fix Font Awesome CSS class in examples 2015-08-20 11:49:19 +02:00
Frederic Junod 2d92791b17 Remove deprecated checkStructDictInheritance
Deprecated since the 20150505 Closure Compiler release.
See https://github.com/google/closure-compiler/wiki/Releases#may-5-2015-v20150505
2015-08-20 11:40:22 +02:00
Frederic Junod 4c615d8ddf Remove unnecessary cast
Found by the latest version of closure-compiler (v20150729)
2015-08-20 11:39:40 +02:00
Frédéric Junod 87a1031de5 Merge pull request #4002 from fredj/closure-library
Update closure-library to latest commit
2015-08-19 14:51:06 +02:00
Frederic Junod fdba4fc381 Add a test for ol.Map#getEventPixel 2015-08-19 13:50:14 +02:00
Frederic Junod 8730fc8824 Remove goog.style.getRelativePosition workaround
Fixed upstream with https://github.com/google/closure-library/pull/424
2015-08-19 13:50:14 +02:00
Frederic Junod 35d26f1280 Update closure-library to latest commit 2015-08-19 13:50:14 +02:00
Frédéric Junod 2ae22a934d Merge pull request #3992 from fredj/makefile_typo
Fix typo in Makefile
2015-08-11 09:46:37 +02:00
Frederic Junod 594eb7fe95 Fix typo in Makefile 2015-08-11 08:59:37 +02:00
Frédéric Junod c60b80b566 Merge pull request #3989 from fredj/3938
Handle JSONP errors in ol.source.TileJSON
2015-08-11 08:54:26 +02:00
Frederic Junod 0578e8f2f6 Handle JSONP errors in ol.source.TileJSON
Fixes #3938
2015-08-10 15:28:26 +02:00
Frédéric Junod 85815a32a0 Merge pull request #3960 from fredj/extra_require
Remove unused goog.require
2015-08-04 10:25:39 +02:00
Frederic Junod 0a6745f1e4 Remove unused goog.require
Found by the latest version of closure-compiler (v20150729)
2015-08-04 10:01:11 +02:00
Frederic Junod 761aa0ea5c Remove ol.control.Control.bindMouseOutFocusOutBlur function
It was a workaround added in #1761 to hide the button tooltip on
OSX / Chrome 32 and 33.

Because we're not using the tooltips anymore (see #2781) and this
version of chrome is deprecated this workaround can be removed.
2015-08-03 17:12:33 +02:00
Frédéric Junod d493d0a820 Merge pull request #3934 from fredj/drawpoint_events
Fix `drawstart` and `drawend` events when drawing a point
2015-08-03 16:26:00 +02:00
Frederic Junod 2143eebd30 Fix drawstart and drawend events when drawing a point
The previous behavior was to fire a `drawstart` on the first `mousemove`.
2015-08-03 13:40:56 +02:00
Frédéric Junod 64225776d4 Merge pull request #3949 from fredj/expect_called
Remove count argument from `called` function
2015-08-03 13:40:16 +02:00
Frederic Junod 3364dbb46e Remove count argument from called function
This function takes no arguments, use the `callCount` property instead.
2015-08-03 10:02:21 +02:00
Frédéric Junod d4d3555a88 Merge pull request #3930 from fredj/goog.functions.identity
Use goog.functions.identity instead of goog.identityFunction
2015-07-29 08:53:53 +02:00
Frédéric Junod 5e4474ca8c Merge pull request #3932 from Turbo87/patch-1
SnapOptions: Fix typo in pixelTolerance JSDoc
2015-07-28 13:03:14 +02:00
Frédéric Junod 2b1acc6216 Merge pull request #3931 from fredj/rm_htmlparser2
Remove unused htmlparser2 package
2015-07-28 11:07:48 +02:00
Frederic Junod c008de1a88 Remove unused htmlparser2 package
No longer used since #3542
2015-07-28 10:31:58 +02:00
Frederic Junod e6a38d8211 Use goog.functions.identity instead of goog.identityFunction
goog.identityFunction is deprecated
2015-07-28 09:44:51 +02:00
Frédéric Junod abb5fef043 Merge pull request #3912 from fredj/zoomslider_event_type
Fix the event type fired by goog.fx.Dragger
2015-07-22 14:39:40 +02:00
Frederic Junod 7634c0c2c4 Fix the event type fired by goog.fx.Dragger 2015-07-20 15:33:44 +02:00
Frédéric Junod ced3633d80 Merge pull request #3845 from fredj/collection_null_array
Prevent null array to be passed to an ol.Collection
2015-06-25 09:25:37 +02:00
Frederic Junod 8cf57941ac Prevent null array to be passed to ol.Collection 2015-06-25 09:11:38 +02:00
Frederic Junod dd132c9fad Add non-nullable notation to features array 2015-06-25 09:11:38 +02:00
Frédéric Junod f74e4c95ff Merge pull request #3808 from probins/patch-1
Correct typo in OverlayOptions
2015-06-16 10:37:53 +02:00
Frédéric Junod f672c1792b Merge pull request #3790 from fredj/geojson_quotes
Remove unnecessary quotes around object keys
2015-06-11 13:32:58 +02:00
Frederic Junod 0286564e8a Remove unnecessary quotes around object keys 2015-06-11 11:58:11 +02:00
Frédéric Junod a6dddfa282 Merge pull request #3784 from fredj/geojson_geometry
Always write the GeoJSONFeature geometry property
2015-06-11 10:20:02 +02:00
Frederic Junod d5ea855108 Add missing GeoJSONGeometryCollection type to GeoJSONFeature#geometry 2015-06-11 09:53:06 +02:00
Frederic Junod d8a495b639 Always write the GeoJSONFeature geometry property 2015-06-11 09:53:06 +02:00
Frédéric Junod 22bed40f5c Merge pull request #3736 from fredj/examples_html_markup
Fix invalid example HTML markup
2015-05-28 10:44:51 +02:00
Frédéric Junod a33008be9e Merge pull request #3735 from probins/snap
Snap example: remove featureoverlay from tags
2015-05-28 10:26:52 +02:00
Frederic Junod 746116d266 Fix invalid example HTML markup 2015-05-28 10:23:14 +02:00
Frédéric Junod ec208916d2 Merge pull request #3659 from fredj/undo_forEachFeatureAtCoordinate
Revert "Implement ol.renderer.Layer#forEachFeatureAtCoordinate"
2015-05-26 09:34:06 +02:00
Frédéric Junod 2e2d08f552 Merge pull request #3725 from fredj/doc
Document default value for olx.interaction.ModifyOptions#pixelTolerance
2015-05-22 11:43:38 +02:00
Frederic Junod 9870fe58e0 Document default value for olx.interaction.ModifyOptions#pixelTolerance 2015-05-22 11:26:58 +02:00
Frédéric Junod a314813511 Merge pull request #3688 from fredj/failIfMajorPerformanceCaveat_externs
Add two missing properties to extern of WebGLContextAttributes
2015-05-12 15:14:05 +02:00
Frederic Junod fe79389fd3 Add two missing properties to extern of WebGLContextAttributes
To be removed when the closure-compiler is updated
2015-05-12 13:55:13 +02:00
Frederic Junod bb6192bc10 Revert "Implement ol.renderer.Layer#forEachFeatureAtCoordinate"
This reverts commit dd07fd7977.
2015-05-05 09:38:50 +02:00
Frédéric Junod 56e8575e41 Merge pull request #3637 from fredj/forEachFeatureAtCoordinate
Implement ol.renderer.Layer#forEachFeatureAtCoordinate
2015-05-05 07:48:54 +02:00
Frederic Junod dd07fd7977 Implement ol.renderer.Layer#forEachFeatureAtCoordinate
And remove identical implementation in children classes.
2015-04-28 14:08:45 +02:00
Frédéric Junod 574c5a02c8 Merge pull request #3634 from fredj/kill-unused-local-var
Remove unused local variable
2015-04-27 10:21:03 +02:00
Frederic Junod 4b5f8cd60e Remove unused local variable 2015-04-27 09:56:01 +02:00
Frédéric Junod 046ff764df Merge pull request #3597 from fredj/apidoc-code-link
Remove dead link in api doc
2015-04-22 16:25:15 +02:00
Frederic Junod 00ce2f0f58 Remove dead link in api doc
Fixes #3596
2015-04-20 15:07:39 +02:00
Frédéric Junod 98240b0bea Merge pull request #3595 from probins/loader
Add featureloader.jsdoc
2015-04-20 14:53:16 +02:00
Frédéric Junod fc02d715d7 Merge pull request #3593 from fredj/ignore-build-examples
Add /examples/index.js to .gitignore
2015-04-20 14:36:26 +02:00
Frederic Junod b4d64523e9 Add /examples/index.js to .gitignore
The file is created by tasks/build-examples.js
2015-04-20 14:13:50 +02:00
Frédéric Junod 43984b24dd Merge pull request #3592 from probins/binding
Remove reference to binding in Collection docs
2015-04-20 12:46:25 +02:00
Frédéric Junod 522358614b Merge pull request #3591 from fredj/fixes-3589
Only draw the layer if visible and inside the resolution range
2015-04-20 12:45:23 +02:00
Frederic Junod 8fd2fae0cb Only draw the layer if visible and inside the resolution range 2015-04-20 12:15:34 +02:00
Frederic Junod c31a9ee71e Use getRendererFromQueryString() in wms-image examples 2015-04-20 12:13:55 +02:00
Frédéric Junod cb4fd37be4 Merge pull request #3528 from fredj/layer-group-leak
Fix memory leak when removing layers from ol.layer.Group
2015-04-20 09:51:29 +02:00
Frederic Junod dc0be1228c Add more ol.layer.Group tests 2015-04-20 09:20:19 +02:00
Frederic Junod 486a329cb4 Fix memory leak when removing layers from ol.layer.Group
Fixes #3479
2015-04-20 09:20:19 +02:00
Frédéric Junod 8b95ea4fbc Merge pull request #3549 from fredj/keyboard_pan_duration
Move ol.*_DURATION const to a constructor option
2015-04-20 09:03:53 +02:00
Frederic Junod 288392c8a7 Remove externs/vbarray.js 2015-04-18 17:10:24 -06:00
Frederic Junod b1d59366dc Remove ol.format.FormatType.BINARY 2015-04-18 17:10:15 -06:00
Frédéric Junod 1662500988 Merge pull request #3569 from fredj/bootstrap-link
Fix link to Bootstrap documentation
2015-04-16 11:13:29 +02:00
Frederic Junod 9b462dde0a Fix link to Bootstrap documentation 2015-04-16 10:30:28 +02:00
Frédéric Junod 075579688e Merge pull request #3568 from fredj/extractStyles
Move extractStyles option to ol.format.KML
2015-04-16 09:17:18 +02:00
Frederic Junod a81f414065 Move extractStyles option to ol.format.KML 2015-04-16 09:05:07 +02:00
Frédéric Junod 646a7bb96e Merge pull request #3562 from fredj/css-cleanup
Simplify .ol-zoomslider and .ol-overviewmap CSS
2015-04-16 07:40:58 +02:00
Frédéric Junod 31cebc7c8a Merge pull request #3565 from fredj/fix-3564
Move extractStyles option to ol.format.KML
2015-04-15 17:41:25 +02:00
Frederic Junod 0bd368ce06 Move extractStyles option to ol.format.KML
Fixes #3564
2015-04-15 17:19:02 +02:00
Frederic Junod 5bc875e075 Simplify .ol-zoomslider and .ol-overviewmap CSS
The .ol-control class already defines the position and background values.
2015-04-15 11:02:43 +02:00
Frédéric Junod ce1659bc14 Merge pull request #3523 from fredj/update-proj4js
Update proj4 version to 2.3.6
2015-04-15 09:11:59 +02:00
Frederic Junod 7909e7b079 Update proj4 version to 2.3.6 2015-04-15 08:58:07 +02:00
Frederic Junod dd8a4c355b Add more proj4js integration tests 2015-04-15 08:58:07 +02:00
Frédéric Junod 8b0179b91f Merge pull request #3557 from fredj/fastclick
Update FastClick externs to version 1.0.6
2015-04-14 16:57:00 +02:00
Frederic Junod 8882e85cb4 Update FastClick externs to version 1.0.6 2015-04-14 16:20:48 +02:00
Frederic Junod 6c33f84798 Move ol.DRAGROTATE_ANIMATION_DURATION const to a constructor option 2015-04-14 09:05:52 +02:00
Frederic Junod a94a87323d Move ol.DRAGROTATEANDZOOM_ANIMATION_DURATION const to a constructor option 2015-04-14 08:57:27 +02:00
Frederic Junod 1daf4628b7 Move ol.ROTATE_ANIMATION_DURATION const to a constructor option 2015-04-13 15:05:35 +02:00
Frederic Junod 2fcdc48d20 Move ol.DRAGZOOM_ANIMATION_DURATION const to a constructor option 2015-04-13 14:59:39 +02:00
Frederic Junod 3eb22559d6 Move ol.ZOOMSLIDER_ANIMATION_DURATION const to a constructor option 2015-04-13 14:54:23 +02:00
Frederic Junod 3b4bc0be25 Move ol.KEYBOARD_PAN_DURATION const to a constructor option 2015-04-13 14:54:23 +02:00
Frédéric Junod 0541fc31d8 Merge pull request #3521 from fredj/layergroup-cleanup
Remove goog.isDefAndNotNull test on ol.layer.Group#getLayers result
2015-04-08 15:38:28 +02:00
Frederic Junod 0fce3d5ec9 Remove goog.isDefAndNotNull test on ol.layer.Group#getLayers result
The return type of the function is {!ol.Collection.<ol.layer.Base>}
2015-04-08 12:16:39 +02:00
Frédéric Junod 596551502c Merge pull request #3513 from fredj/layergroup-cleanup
Remove layerGroup.setLayers(null) test
2015-04-07 17:26:12 +02:00