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
Frédéric Junod
15a516fd62
Merge pull request #2583 from fredj/readFeature-doc
...
Update ol.format.GeoJSON#readFeature documentation
2014-08-21 13:30:56 +02:00
Frederic Junod
b5a3e90bb4
Update ol.format.GeoJSON#readFeature documentation
...
An error is only thrown in development mode: goog.asserts.assert are removed
by the compiler.
2014-08-21 12:36:53 +02:00
Frédéric Junod
dcf05af210
Merge pull request #2579 from probins/patch-1
...
Remove link to non-existent ol.ViewOptions
2014-08-21 09:43:54 +02:00
Frédéric Junod
fa512f1ed0
Merge pull request #2545 from fredj/cleanup
...
Miscellaneous coding style fixes
2014-08-21 07:44:07 +02:00
Frédéric Junod
42e8fb544a
Merge pull request #2571 from fredj/rotatecontrol-cleanup
...
ol.control.Rotate cleanup and optimization
2014-08-20 11:59:57 +02:00
Frederic Junod
7f086e138a
Remove unnecessary local variable
2014-08-20 11:17:44 +02:00
Frederic Junod
27ae50e673
Only update rotate control element when it's needed
...
To avoid a lot of 'Recalculate style' events by the browser.
2014-08-20 10:58:18 +02:00
Frederic Junod
7c14399133
Add missing jsdoc tag
2014-08-20 10:58:18 +02:00
Frederic Junod
113888120f
Use goog.math.toDegrees
2014-08-20 10:58:17 +02:00
Frédéric Junod
27ad6c33bc
Merge pull request #2560 from fredj/optim
...
Don't create unnecessary closure
2014-08-19 12:28:34 +02:00
Frederic Junod
1439ceafa1
Simplify goog.object.forEach call
2014-08-19 11:58:50 +02:00
Frederic Junod
102f214afe
Remove unnecessary local variable
2014-08-19 11:58:25 +02:00
Frederic Junod
0f4e56978b
Remove unnecessary newlines
2014-08-19 11:58:25 +02:00
Frederic Junod
35e4134047
Don't create unnecessary closure
2014-08-19 11:39:44 +02:00
Frédéric Junod
59826ce490
Merge pull request #2558 from fredj/optim
...
Don't create unnecessary closure in constructor
2014-08-19 11:02:31 +02:00
Frederic Junod
2b3e0bf699
Don't create unnecessary closure in constructor
2014-08-19 09:55:18 +02:00
Frédéric Junod
b92a0338c9
Merge pull request #2547 from fredj/proj-api
...
Export more functions from ol.proj.Projection
2014-08-18 15:00:13 +02:00
Frederic Junod
d7c2e27d50
Export ol.proj.Projection#getMetersPerUnit function
2014-08-18 14:21:10 +02:00
Frederic Junod
e39e9c2230
Export ol.proj.Projection#isGlobal function
2014-08-18 14:21:10 +02:00
Frédéric Junod
c7bf94e69b
Merge pull request #2528 from fredj/wmts-source-optim
...
ol.source.WMTS optimization
2014-08-18 11:24:41 +02:00
Frederic Junod
b484801e4f
Use tmpExtent in ol.source.WMTS tileUrlFunction
2014-08-18 10:35:14 +02:00
Frederic Junod
8076401c0f
Use opt_tileCoord in ol.source.WMTS tileUrlFunction
2014-08-18 10:35:14 +02:00