Commit Graph
100 Commits
Author SHA1 Message Date
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
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
Frédéric Junod 7097be3d00 Merge pull request #2532 from fredj/tilerange-cleanup
Add ol.TileRange#containsXY function
2014-08-14 13:59:23 +02:00
Frédéric Junod db6c87a9bd Merge pull request #2529 from petrsloup/source-state-fix
Fix for invalid initial state of certain sources
2014-08-14 12:23:49 +02:00
Frederic Junod 14fc16b91d Add ol.TileRange#containsXY function 2014-08-14 10:50:19 +02:00
Frédéric Junod 8c3a72497c Merge pull request #2531 from fredj/debugtile-cleanup
Remove unneeded ol.DebugTile_#tileCoord_ variable
2014-08-14 10:17:36 +02:00
Frederic Junod abc01b5f10 Remove unneeded ol.DebugTile_#tileCoord_ variable 2014-08-14 09:43:05 +02:00
Frédéric Junod ff209d8759 Merge pull request #2526 from fredj/xyz-retina
Fix incorrect maximum extent in xyz-retina example
2014-08-13 16:40:25 +02:00
Frederic Junod 3b817d8db3 Fix attribution in xyz-retina example 2014-08-13 08:59:42 +02:00
Frederic Junod 2b8426fb47 Fix incorrect maximum extent in xyz-retina example 2014-08-12 18:09:00 +02:00
Frédéric Junod 4fb905170a Merge pull request #2525 from fredj/reuse-tileRange
Reuse tileRange in ol.renderer.Layer#manageTilePyramid
2014-08-12 17:53:56 +02:00
Frederic Junod f2638ddfbf Reuse tileRange in ol.renderer.Layer#manageTilePyramid
This avoids a lot of garbage.
2014-08-12 14:37:46 +02:00
Frédéric Junod 6ca3e83492 Merge pull request #2511 from fredj/cleanup
Remove unused goog.require
2014-08-11 15:31:00 +02:00
Frederic Junod ddd16b6985 Remove unused goog.require 2014-08-11 13:49:30 +02:00
Frédéric Junod 54406f5b2f Merge pull request #2416 from fredj/newer-closure-library
Upgrade closure-library version
2014-08-08 07:37:49 +02:00
Frédéric Junod b8dca21286 Merge pull request #2470 from fredj/2470
EPSG:4326 example broken
2014-08-07 17:38:06 +02:00
Frederic Junod 134a4e220d Change WMS server in examples 2014-08-07 17:25:08 +02:00
Frederic Junod 190db934ee Always use goog.json.parse and set goog.json.USE_NATIVE_JSON=true 2014-08-07 17:14:50 +02:00
Frederic Junod cf85079d22 Mark 'es5Strict' checks as errors 2014-08-07 17:14:49 +02:00
Frederic Junod 66da8fc393 Upgrade closure-library version 2014-08-07 17:14:49 +02:00
Frederic Junod 9e37aa796a Add new olx.format.KMLOptions#extractStyles property 2014-08-07 17:08:19 +02:00
Frédéric Junod 18b3c3eee7 Merge pull request #2501 from fredj/2501
bug fix to play nice with sencha touch 2.3
2014-08-07 16:58:19 +02:00
Frédéric Junod 5e4cfe875b Merge pull request #2503 from fredj/geolocation-bind-proj
Don't bind to ol.View projection property
2014-08-07 14:04:03 +02:00
Frederic Junod 0d6cc22bf0 Don't bind to ol.View projection property 2014-08-07 12:59:15 +02:00
Frederic Junod d3b5a14a9b Don't use TouchList#item function 2014-08-07 12:25:19 +02:00
Frédéric Junod a1e33eabc5 Merge pull request #2499 from fredj/2294
Properly clear features in ol.source.ServerVector#clear
2014-08-06 10:42:31 +02:00
Frédéric Junod 063532d509 Merge pull request #2455 from fredj/2455
Opacity of last layer is used in postcompose drawing
2014-08-05 17:18:57 +02:00
Frederic Junod ae98ee8b4a Restore context opacity after drawing layers
Closes #2455
2014-08-05 16:05:23 +02:00
Frédéric Junod 7de98d8794 Merge pull request #2433 from fredj/collection
Templatize ol.Collection
2014-08-02 09:47:34 +02:00
Frédéric Junod acf623f853 Merge pull request #2483 from fredj/view.projection
Remove projection from ol.View observable properties
2014-08-01 16:01:10 +02:00
Frédéric Junod 819fd83e06 Merge pull request #2473 from fredj/2472
Rename olx.FrameState#skippedFeatureUids_ skippedFeatureUids
2014-07-31 13:38:37 +02:00
Frederic Junod 8d9dbcbb2a Remove unneeded type cast 2014-07-31 12:11:27 +02:00
Frederic Junod e69913900e Remove projection from ol.View observable properties 2014-07-31 12:10:35 +02:00