Commit Graph
100 Commits
Author SHA1 Message Date
Frédéric Junod 0858017085 Merge pull request #2815 from fredj/leftover-2756
Fix jquery.min.js path in xyz-esri-4326-512 example
2014-10-08 14:33:42 +02:00
Frederic Junod bb1f51e5f0 Fix jquery.min.js path in xyz-esri-4326-512 example 2014-10-08 14:27:21 +02:00
Frédéric Junod 1f098633e2 Merge pull request #2814 from fredj/css-calc
Add missing whitespaces in CSS calc
2014-10-08 10:52:36 +02:00
Frederic Junod 2139e4455a Add missing whitespaces in CSS calc
See http://dev.w3.org/csswg/css-values/#calc-syntax
2014-10-08 10:40:27 +02:00
Frédéric Junod 3dcba3bf15 Merge pull request #2811 from fredj/leftover-2810
Remove defaultProjection and object from typedef
2014-10-07 16:24:21 +02:00
Frederic Junod 31bb1ada0a Remove defaultProjection and object from typedef
Leftover from #2810
2014-10-07 16:03:07 +02:00
Frédéric Junod 9d1101c727 Merge pull request #2779 from fredj/resources
Update jQuery to 1.9.1
2014-10-07 15:58:28 +02:00
Frédéric Junod 352d7071f7 Merge pull request #2808 from fredj/reprojectTo
Remove reprojectTo option from olx.source.OSMXMLOptions
2014-10-07 13:50:33 +02:00
Frédéric Junod 44c300bfef Merge pull request #2809 from fredj/button-cleanup
Miscellaneous controls cleanups
2014-10-07 13:37:27 +02:00
Frederic Junod be6c6ee93c Remove unused ResetRotation name attribute 2014-10-07 12:25:41 +02:00
Frederic Junod 0cf83c2047 Add missing 'button' type attribute to html button 2014-10-07 12:25:01 +02:00
Frederic Junod ec129f5778 Rename reprojectTo option to projection 2014-10-07 11:41:59 +02:00
Frederic Junod 4c1d2f8c86 Remove reprojectTo option from olx.source.OSMXMLOptions
Leftover from #1640
2014-10-07 10:41:32 +02:00
Frédéric Junod ee4ca5bd2c Merge pull request #2798 from fredj/update-closure-util
Update closure-util to version 1.0.0
2014-10-06 18:29:57 +02:00
Frederic Junod 04e7a81b1e Update closure-util to version 1.0.0 2014-10-06 13:42:34 +02:00
Frédéric Junod 24484d5e51 Merge pull request #2782 from fredj/hide-rotate
Hide the rotate control when the rotation is 0
2014-10-01 20:47:19 +02:00
Frederic Junod 6f3b01f3dc Hide the rotate control when the rotation is 0
To prevent the cursor to be displayed as a pointer (only happens with bootstrap)
2014-10-01 19:09:14 +02:00
Frederic Junod 898f5ac547 Update jquery to 1.9.1 2014-10-01 10:05:06 +02:00
Frederic Junod 078ba2dec0 Move jquery.min.js to resources 2014-10-01 09:59:20 +02:00
Frederic Junod fa60ec294e Remove 'examples/bootstrap' path from example filter
The directory was moved to resources/bootstrap in 6c5377eebe
2014-10-01 09:50:29 +02:00
Frédéric Junod 7273b501f1 Merge pull request #2774 from fredj/dead-code
Remove unused distinctFeatures object in ol.interaction.Modify#handlePointerDown
2014-10-01 09:10:42 +02:00
Frederic Junod a3b3e044f5 Remove unused distinctFeatures object in ol.interaction.Modify#handlePointerDown
The object is filled but never used.
2014-09-30 15:08:15 +02:00
Frédéric Junod c0fc220298 Merge pull request #2772 from fredj/changefeature
Rename updatefeature event to changefeature
2014-09-30 09:27:58 +02:00
Frederic Junod cf8738f9f6 Rename updatefeature event to changefeature 2014-09-30 09:02:53 +02:00
Frédéric Junod 1a4d841a26 Merge pull request #2764 from fredj/remove-rtree-example
Remove rtree example
2014-09-29 14:37:41 +02:00
Frederic Junod ced15e27c1 Remove rtree example
Fixes #2732
2014-09-29 13:29:52 +02:00
Frédéric Junod 14e8c098c8 Merge pull request #2763 from fredj/cleanup
Miscellaneous coding style and typo fixes
2014-09-29 11:45:14 +02:00
Frederic Junod 98ceee5d28 Fix documentation typo 2014-09-29 09:05:22 +02:00
Frederic Junod aaeb2b6938 Remove unnecessary parentheses 2014-09-29 09:05:22 +02:00
Frederic Junod 6e3a5ca7ca Remove unnecessary newlines 2014-09-29 09:05:22 +02:00
Frédéric Junod 5f51fbc93d Merge pull request #2658 from oterral/fix_getcap
Set inherited values when parsing a GetCapabilities
2014-09-25 13:51:40 +02:00
Frédéric Junod 884fb5736c Merge pull request #2750 from fredj/export-layer-base
Export ol.layer.Base
2014-09-25 10:58:04 +02:00
Frédéric Junod 9fd0b53b02 Merge pull request #2749 from fredj/export-source-source
Export ol.source.Source
2014-09-25 10:42:08 +02:00
Frederic Junod 48b9475bb6 Export ol.layer.Base
See #2615
2014-09-25 10:40:03 +02:00
Frederic Junod 4e5120ff71 Export ol.source.Source
Fixes #2615
2014-09-25 10:33:31 +02:00
Frédéric Junod aafe50c30e Merge pull request #2742 from fredj/updatefeature
Dispatch an 'updatefeature' from the vector source
2014-09-25 09:20:15 +02:00
Frédéric Junod d03755859f Merge pull request #2744 from fredj/feature-id-change
Fix ol.Feature 'change' event documentation
2014-09-24 09:35:14 +02:00
Frederic Junod 1dcde66839 Fix ol.Feature 'change' event documentation
Setting the id also dispatch a `change` event
2014-09-23 17:40:46 +02:00
Frederic Junod 79b8ef3a53 Dispatch an 'updatefeature' from the vector source 2014-09-23 16:19:00 +02:00
Frédéric Junod 7dcb54fb58 Merge pull request #2616 from fredj/attributions-target
Target for attribution links differs between maps
2014-09-23 14:46:11 +02:00
Frédéric Junod 5eaafc5936 Merge pull request #2724 from fredj/examples-unknownDefines
Error when compiling individual example
2014-09-17 16:25:58 +02:00
Frederic Junod 7ba7a61bb8 Disable unknownDefines check when compiling individual examples 2014-09-17 16:11:15 +02:00
Frederic Junod 0938ab654a Remove target attribute on attributions link 2014-09-17 11:26:15 +02:00
Frédéric Junod 8e2cc7e3db Merge pull request #2717 from fredj/rotate-css
Change the control visibility by using css class
2014-09-16 13:29:58 +02:00
Frederic Junod e136b4b4db Change the control visibility by using css class
Instead of changing the button opacity in the control, only add/remove
a css class (ol-hidden). This let the developer easily change the
behavior by updating the css.
2014-09-16 11:00:44 +02:00
Frédéric Junod 0b43183616 Merge pull request #2714 from fredj/opacity
Set the opacity directly to element.style.opacity
2014-09-15 17:13:50 +02:00
Frederic Junod ec9386acfe Set the opacity directly to element.style.opacity
goog.style.setOpacity handles the IE8 case (but we are doing the same
above in the same function) and Firefox prior to version 3.5 (latest
stable release in April 2011).

See https://developer.mozilla.org/en-US/docs/Web/CSS/opacity
2014-09-15 16:01:24 +02:00
Frédéric Junod 8bf43f5f22 Merge pull request #2647 from fredj/closure-lib-upgrade
Upgrade closure library version
2014-09-15 14:36:17 +02:00
Frédéric Junod 007fc34a23 Merge pull request #2549 from fredj/assume-array-native
Use goog.array.ASSUME_NATIVE_FUNCTIONS define
2014-09-15 13:28:14 +02:00
Frederic Junod fb87c22359 Set goog.array.ASSUME_NATIVE_FUNCTIONS to true 2014-09-11 13:24:13 +02:00
Frédéric Junod be7ee49701 Merge pull request #2702 from fredj/export-map
Add vector layer in export-map example
2014-09-10 09:48:32 +02:00
Frederic Junod 1ae3e2a7f4 Add vector layer in export-map example 2014-09-10 09:06:51 +02:00
Frederic Junod 20ce664068 Remove mousewheel event name workaround
Fixed upstream https://github.com/google/closure-library/pull/308
2014-09-09 15:03:18 +02:00
Frederic Junod 2b395d3160 Add missing goog.require 2014-09-09 15:03:18 +02:00
Frederic Junod 2eb9a4b72e Upgrade closure-library and closure-util version 2014-09-09 15:03:18 +02:00
Frédéric Junod ad1f255211 Merge pull request #2687 from fredj/legacy-ie
Use ol.LEGACY_IE_SUPPORT and ol.IS_LEGACY_IE define
2014-09-09 09:25:56 +02:00
Frédéric Junod 95d295bc6b Merge pull request #2675 from fredj/map.getlayers
Remove undefined from ol.Map#getLayers return type
2014-09-08 16:30:47 +02:00
Frederic Junod c0c14cb09c Remove undefined from ol.Map#getLayers return type
It's already assumed that the collection is defined in ol.Map#addLayer
and ol.Map#removeLayer.
2014-09-08 15:47:14 +02:00
Frédéric Junod bfef6ab075 Merge pull request #2692 from fredj/overlay-index
Unset z-index in overlay example
2014-09-08 15:20:28 +02:00
Frederic Junod 67a5b07a83 Unset z-index in overlay example 2014-09-08 15:01:19 +02:00
Frederic Junod 23745cd043 Use ol.LEGACY_IE_SUPPORT and ol.IS_LEGACY_IE define
See #1605
2014-09-06 17:52:13 +02:00
Frédéric Junod 5de537001f Merge pull request #2534 from fredj/polygon-api
Document ol.geom.Polygon#getLinearRing function
2014-09-04 17:57:12 +02:00
Frédéric Junod f188cfd384 Merge pull request #2676 from fredj/featureoverlay-style
ol.FeatureOverlay: use the feature style if defined
2014-09-03 16:46:49 +02:00
Frederic Junod 9a23778d50 Use a custom style for the position feature 2014-09-03 16:34:28 +02:00
Frederic Junod eecb5770a5 Use the feature style if defined
Same behavior as ol.layer.Vector
2014-09-03 16:34:28 +02:00
Frédéric Junod b87a50726c Merge pull request #2656 from fredj/image-layer-source-type
Set ol.layer.Image#getSource return type to ol.source.Image
2014-09-03 14:23:55 +02:00
Frederic Junod d7ee71a811 Remove unnecessary type cast 2014-09-03 11:14:33 +02:00
Frederic Junod b366407038 Set ol.layer.Tile#getSource return type to ol.source.Tile 2014-09-03 11:14:33 +02:00
Frederic Junod 009cd9f840 Remove unnecessary type cast 2014-09-03 11:14:33 +02:00
Frederic Junod 0e964cb84c Set ol.layer.Image#getSource return type to ol.source.Image 2014-09-03 11:14:33 +02:00
Frederic Junod 568f854f29 Add olx.layer.ImageOptions typedef 2014-09-03 11:14:33 +02:00
Frédéric Junod aa618e35e4 Merge pull request #2651 from gberaudo/layer_vector_source_specialisation
ol.layer.Vector.getSource return type specialisation.
2014-09-03 11:14:02 +02:00
Frédéric Junod 2470f21b4c Merge pull request #2669 from fredj/bad-commit
Revert "snapshot"
2014-09-02 16:17:18 +02:00
Frederic Junod ad8cc3c1e0 Revert "snapshot"
This reverts commit 47fd7d8626.
2014-09-02 16:13:34 +02:00
Frederic Junod 47fd7d8626 snapshot 2014-09-02 16:11:31 +02:00
Frederic Junod 4a21ad566a Remove unnecessary type cast 2014-09-02 15:17:32 +02:00
Frédéric Junod 62dfc15bd5 Merge pull request #2663 from fredj/geolocation-tracking-error
Set tracking property to false on geolocation error
2014-09-02 12:34:23 +02:00
Frederic Junod 4969c2cf34 Set tracking property to false on geolocation error 2014-09-02 11:13:06 +02:00
Frederic Junod aa40504dd5 Improve ol.Collection documentation 2014-08-29 07:27:35 +02:00
Frédéric Junod 507dd4d534 Merge pull request #2630 from fredj/misc
Improve ol.structs.LRUCache type annotation
2014-08-28 13:59:30 +02:00
Frédéric Junod 4e8abb62f9 Merge pull request #2639 from fredj/osmxml-options
Fix ol.source.OSMXML options
2014-08-27 15:11:03 +02:00
Frédéric Junod 95ba8c76e3 Merge pull request #2640 from fredj/geom-clone-return
Improve ol.geom.*.clone() return type annotation
2014-08-27 15:10:13 +02:00
Frederic Junod 42312c6c73 Improve ol.geom.*.clone() return type annotation 2014-08-27 13:30:06 +02:00
Frederic Junod eaca8c1691 Pass options.urls property to ol.source.OSMXML parent class 2014-08-27 12:31:09 +02:00
Frederic Junod d3c2e40c84 remove unused olx.source.OSMXMLOptions#defaultStyle property 2014-08-27 11:19:15 +02:00
Frédéric Junod 20131bf54a Merge pull request #2637 from fredj/kinetic-optim
Don't compute velocity if not needed
2014-08-27 10:52:13 +02:00
Frederic Junod 5cdd96b131 Don't compute velocity if not needed 2014-08-27 10:40:36 +02:00
Frederic Junod 1a4580f6f8 Add missing array type in ol.structs.LRUCache#getValues 2014-08-27 09:25:41 +02:00
Frederic Junod 25093b371d Improve ol.structs.LRUCache type annotation 2014-08-27 09:09:52 +02:00
Frédéric Junod 0e9744d967 Merge pull request #2631 from fredj/osm-maxzoom
Set default ol.source.OSM maxZoom to 19
2014-08-26 15:19:52 +02:00
Frederic Junod b611aff8e4 Set default ol.source.OSM maxZoom to 19 2014-08-26 14:21:32 +02:00
Frédéric Junod 1e0b366202 Merge pull request #2628 from fredj/scale-line
Take the 'us' and 'nautical' units into account in scale line control
2014-08-26 11:03:48 +02:00
Frederic Junod 8c8fd64ecb Add 'us' and 'nautical' units in scale-line example 2014-08-26 10:37:52 +02:00
Frederic Junod 58e3561ba5 Take the 'us' and 'nautical' units into account
When converting pointResolution from degrees to meters
2014-08-26 10:36:55 +02:00
Frédéric Junod dda700c1e4 Merge pull request #2618 from fredj/geom-clone
Indicates that ol.geom.Geometry#clone never return null
2014-08-25 17:10:20 +02:00
Frederic Junod 6e3354ab7b Indicates that ol.geom.Geometry#clone never return null 2014-08-25 16:44:52 +02:00
Frederic Junod 5602ae6521 Document ol.geom.Polygon#getLinearRing function 2014-08-25 09:21:09 +02:00
Frederic Junod 9feac717c8 Add ol.geom.Polygon#getLinearRingCount function 2014-08-25 09:21:09 +02:00
Frédéric Junod a9195771ca Merge pull request #2584 from openlayers/error-by-fail
Replace 'throw new Error' by 'goog.asserts.fail'
2014-08-21 18:33:46 +02:00
Frederic Junod fb1d7e0c50 Replace 'throw new Error' by 'goog.asserts.fail' 2014-08-21 15:22:01 +02:00