Commit Graph

2475 Commits

Author SHA1 Message Date
Bruno Binet 15ce80f42e Merge pull request #364 from bbinet/fix-check-requires
Fix check for unused goog.require directives
2013-03-14 04:29:41 -07:00
Bruno Binet 9b1c389c80 Remove unused goog.require directives 2013-03-14 11:39:43 +01:00
Marc Jansen e872a49beb Use getContentBoxSize() for slider initialisation.
Initial note to revisit this came from @twpayne; thanks.
2013-03-14 09:37:36 +01:00
Marc Jansen 94d7379ba3 Correct API documentation. 2013-03-14 09:37:35 +01:00
Marc Jansen 220c7bd6f8 More specific argument type of callback method. 2013-03-14 09:37:35 +01:00
Marc Jansen bc07722816 Unregister previous event listeners, if any.
Thanks for spotting this, @twpayne.
2013-03-14 09:37:35 +01:00
Marc Jansen d77a8b0a1d Add an assertion to the dragchange handler.
This ensures that the result of resolution calculation stays inside of the
allowed bounds.
2013-03-14 09:37:35 +01:00
Marc Jansen ce67625b20 Use OSM resolutions as fallback resolutions.
Hat tip to @twpayne for suggesting this change in the defaults.
2013-03-14 09:37:35 +01:00
Marc Jansen 8bf71ebb3a Add a zoomslider control. 2013-03-14 09:37:35 +01:00
Bruno Binet 317676a68f Homogenize wmts tileUrlFunction relative to other sources 2013-03-13 16:52:54 +01:00
Bruno Binet 5eaf4baaa4 Try to expand single url for TiledWMS source 2013-03-13 16:52:54 +01:00
Bruno Binet 875ead58ab Remove expandUrl duplicated code from createFromTemplate
and make use of expandUrl function instead.
2013-03-13 16:52:54 +01:00
Bruno Binet 54dfca3419 Move factorizable code in ol.TileUrlFunction.expandUrl 2013-03-13 16:48:22 +01:00
Bruno Binet 86c05b4d21 Be more consistent with useTile abstract method 2013-03-12 17:58:29 +01:00
ahocevar 84154d7bb2 Merge branch 'master' of github.com:openlayers/ol3 into vector 2013-03-12 13:27:41 +01:00
Tom Payne f75d3abf7d Merge pull request #297 from twpayne/fix-297
Canvas map is not immediately updated when layers are added or removed
2013-03-12 05:26:25 -07:00
Tom Payne 427c376fc6 Always render map when layers are added or removed 2013-03-12 12:57:22 +01:00
Marc Jansen 06f8d1356d Merge pull request #352 from marcjansen/unselectable-css-const
Use constant for CSS class 'ol-unselectable'.
2013-03-12 03:30:38 -07:00
Marc Jansen 5e5e4d110a Use constant for CSS class 'ol-unselectable'. 2013-03-12 10:34:49 +01:00
ahocevar acd4f50f15 Making the linter happy 2013-03-12 10:23:38 +01:00
ahocevar eeecd424bf Moving vector rendering to ol.renderer.canvas.VectorRenderer 2013-03-12 10:05:47 +01:00
ahocevar bb8755eb68 Recovering from bad merge 2013-03-12 08:48:22 +01:00
ahocevar 15375df7ab Line was too long after previous change 2013-03-12 08:41:41 +01:00
ahocevar fad036aa53 Merge branch 'master' of github.com:openlayers/ol3 into vector
Conflicts:
	src/objectliterals.exports
2013-03-12 08:39:16 +01:00
ahocevar b20a2bae94 Moving RTreeNode_ into ol.structs package 2013-03-12 08:35:57 +01:00
Tom Payne a0b1d74bb5 Merge pull request #337 from Turbo87/polyline
Added ol.parser.polyline module
2013-03-11 13:55:04 -07:00
Tobias Bieniek 1172e58a50 polyline: Replaced "new Array()" by "[]" 2013-03-11 21:41:32 +01:00
Tobias Bieniek 0df5b4cad2 polyline: Improved decoding loops to be more robust 2013-03-11 20:32:25 +01:00
Tom Payne 8b5194da38 Merge pull request #338 from twpayne/snap-center-to-pixel2
Snap center to pixel
2013-03-11 08:41:28 -07:00
Bruno Binet 837aa7512b Merge pull request #342 from bbinet/wmts
Add WMTS support.
2013-03-11 08:05:25 -07:00
ahocevar a66f26f839 Merge branch 'master' of github.com:openlayers/ol3 into vector 2013-03-11 15:21:01 +01:00
Bruno Binet 8638f6d502 s/meters_per_unit/metersPerUnit/ 2013-03-11 15:05:53 +01:00
Tom Payne 58f1c929ac Merge pull request #324 from twpayne/fix-canvas-renderer-clear
Canvas renderer is not properly cleared
2013-03-11 05:08:54 -07:00
Bruno Binet 9e370bf6af Implement ol.source.WMTS.optionsFromCapabilities
and remove related ol.source.WMTS.createFromCapabilities function.
2013-03-11 12:42:14 +01:00
Frédéric Junod 5a70221e4b Merge pull request #306 from fredj/geolocation
Activate / deactivate geolocation
2013-03-11 04:04:04 -07:00
Bruno Binet c67e67ee12 Single tileUrlFunction in createFromTileUrlFunctions
In that case, simply return the single tileUrlFunction.
2013-03-11 11:29:40 +01:00
Bruno Binet b4cbe0609a Add missing exports
so that wmts-from-capabilities example works.
2013-03-11 10:42:38 +01:00
Bruno Binet 13d0b36a08 Add a ol.source.WMTS.createFromCapabilities function
so that we can create a wmts source directly from a getCapabilities response
(parsed by the wmts parser)
2013-03-11 10:42:37 +01:00
Bruno Binet dc440a6604 Ensure supportedCRS property won't be renamed
this property was renamed when using wmts parser when built with
ADVANCED_OPTIMIZATIONS
2013-03-11 10:42:37 +01:00
Bruno Binet 0f9f5a25ae Export methods methods for ol.Extent
so that wmts example work (it makes use of extent.getTopLeft() method)
2013-03-11 10:42:37 +01:00
Bruno Binet 877ce3adcf Add a WMTS source 2013-03-11 10:42:37 +01:00
Bruno Binet 6d78a8340a Add a WMTS tilegrid 2013-03-11 10:42:37 +01:00
Frederic Junod 97867738f8 Add new tracking and tracking_options property 2013-03-11 09:02:52 +01:00
Éric Lemoine 56f86ae512 Fix SingleImageWMS exports/externs 2013-03-11 08:31:32 +01:00
Éric Lemoine cee2725afd Fix Stamen exports/externs 2013-03-11 08:31:32 +01:00
Éric Lemoine 0459733883 Fix StaticImage exports/externs 2013-03-11 08:31:32 +01:00
Éric Lemoine f1949191b1 Fix TiledWMS exports/externs 2013-03-11 08:31:31 +01:00
Éric Lemoine 8121fda6fb Fix TileJSON exports/externs 2013-03-11 08:31:03 +01:00
Éric Lemoine 5ad6ca3aa1 Fix BingMaps exports/externs 2013-03-11 08:31:03 +01:00
Tobias Bieniek 8a34eaa4a4 polyline: Removed extra space in encodeFloats() function 2013-03-10 20:46:29 +01:00