From e9c319cb5e8a5deeb9f9a1be661a4f820d39dd44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Sun, 21 Oct 2012 21:28:25 +0200 Subject: [PATCH] Update --- master/apidoc/global.html | 2 +- master/apidoc/index.html | 2 +- master/apidoc/ol.Attribution.html | 2 +- master/apidoc/ol.Collection.html | 2 +- master/apidoc/ol.CollectionEvent.html | 2 +- master/apidoc/ol.Color.html | 2 +- master/apidoc/ol.Constraints.html | 2 +- master/apidoc/ol.Coordinate.html | 412 +++++++++++++++++- master/apidoc/ol.CoverageArea.html | 2 +- master/apidoc/ol.Extent.html | 328 +++++++++++++- master/apidoc/ol.Map.html | 2 +- master/apidoc/ol.MapBrowserEvent.html | 2 +- master/apidoc/ol.MapBrowserEventHandler.html | 2 +- master/apidoc/ol.MapEvent.html | 2 +- master/apidoc/ol.Object.html | 2 +- master/apidoc/ol.Pixel.html | 2 +- master/apidoc/ol.PixelBounds.html | 2 +- master/apidoc/ol.Proj4jsProjection.html | 2 +- master/apidoc/ol.Projection.html | 2 +- master/apidoc/ol.Rectangle.html | 2 +- master/apidoc/ol.Size.html | 2 +- master/apidoc/ol.Tile.html | 2 +- master/apidoc/ol.TileCoord.html | 2 +- master/apidoc/ol.TileCoverageArea.html | 2 +- master/apidoc/ol.TileRange.html | 2 +- master/apidoc/ol.control.Attribution.html | 2 +- master/apidoc/ol.control.Control.html | 2 +- master/apidoc/ol.control.DragBox.html | 2 +- master/apidoc/ol.control.MousePosition.html | 2 +- master/apidoc/ol.control.Zoom.html | 2 +- .../apidoc/ol.interaction.DblClickZoom.html | 2 +- master/apidoc/ol.interaction.Drag.html | 2 +- master/apidoc/ol.interaction.DragPan.html | 2 +- master/apidoc/ol.interaction.DragRotate.html | 2 +- .../ol.interaction.DragRotateAndZoom.html | 2 +- master/apidoc/ol.interaction.DragZoom.html | 2 +- master/apidoc/ol.interaction.Interaction.html | 2 +- master/apidoc/ol.interaction.Keyboard.html | 2 +- master/apidoc/ol.interaction.KeyboardPan.html | 2 +- .../apidoc/ol.interaction.KeyboardZoom.html | 2 +- .../apidoc/ol.interaction.MouseWheelZoom.html | 2 +- master/apidoc/ol.layer.Layer.html | 2 +- master/apidoc/ol.layer.TileLayer.html | 2 +- master/apidoc/ol.overlay.Overlay.html | 2 +- master/apidoc/ol.renderer.Layer.html | 2 +- master/apidoc/ol.renderer.Map.html | 2 +- master/apidoc/ol.renderer.dom.Layer.html | 2 +- master/apidoc/ol.renderer.dom.Map.html | 2 +- master/apidoc/ol.renderer.dom.TileLayer.html | 2 +- .../ol.renderer.webgl.FragmentShader.html | 2 +- master/apidoc/ol.renderer.webgl.Layer.html | 2 +- master/apidoc/ol.renderer.webgl.Map.html | 2 +- master/apidoc/ol.renderer.webgl.Shader.html | 2 +- .../apidoc/ol.renderer.webgl.TileLayer.html | 2 +- .../ol.renderer.webgl.VertexShader.html | 2 +- ...ol.renderer.webgl.map.shader.Fragment.html | 2 +- .../ol.renderer.webgl.map.shader.Vertex.html | 2 +- ...bgl.tilelayerrenderer.shader.Fragment.html | 2 +- ...webgl.tilelayerrenderer.shader.Vertex.html | 2 +- master/apidoc/ol.source.BingMaps.html | 2 +- master/apidoc/ol.source.MapQuestOSM.html | 2 +- .../apidoc/ol.source.MapQuestOpenAerial.html | 2 +- master/apidoc/ol.source.OpenStreetMap.html | 2 +- master/apidoc/ol.source.Source.html | 2 +- master/apidoc/ol.source.Stamen.html | 2 +- master/apidoc/ol.source.TileJSON.html | 2 +- master/apidoc/ol.source.TileSource.html | 2 +- master/apidoc/ol.source.XYZ.html | 2 +- master/apidoc/ol.tilegrid.TileGrid.html | 2 +- master/apidoc/ol.tilegrid.XYZ.html | 2 +- master/build/ol.js | 160 +++---- master/examples/Jugl.js | 8 + master/examples/example-list.js | 1 + master/examples/example-list.xml | 1 + master/examples/full-screen.html | 29 +- master/examples/index.html | 297 ++++++++++++- master/examples/overlay-and-popup.html | 27 +- master/examples/overlay-and-popup.js | 3 +- master/examples/side-by-side.html | 11 +- master/examples/side-by-side.js | 6 +- master/examples/style.css | 6 + master/examples/two-layers.html | 9 +- 82 files changed, 1268 insertions(+), 166 deletions(-) create mode 100644 master/examples/Jugl.js create mode 100644 master/examples/example-list.js create mode 100644 master/examples/example-list.xml diff --git a/master/apidoc/global.html b/master/apidoc/global.html index ddf88ac351..564357fd19 100644 --- a/master/apidoc/global.html +++ b/master/apidoc/global.html @@ -263,7 +263,7 @@
diff --git a/master/apidoc/index.html b/master/apidoc/index.html index a4f5f0dce8..e87d07663c 100644 --- a/master/apidoc/index.html +++ b/master/apidoc/index.html @@ -54,7 +54,7 @@
diff --git a/master/apidoc/ol.Attribution.html b/master/apidoc/ol.Attribution.html index 6578fc3a16..b40e4c5d31 100644 --- a/master/apidoc/ol.Attribution.html +++ b/master/apidoc/ol.Attribution.html @@ -464,7 +464,7 @@
diff --git a/master/apidoc/ol.Collection.html b/master/apidoc/ol.Collection.html index 143daa54b1..08230edddc 100644 --- a/master/apidoc/ol.Collection.html +++ b/master/apidoc/ol.Collection.html @@ -2166,7 +2166,7 @@
diff --git a/master/apidoc/ol.CollectionEvent.html b/master/apidoc/ol.CollectionEvent.html index ef8474e96c..479b864e40 100644 --- a/master/apidoc/ol.CollectionEvent.html +++ b/master/apidoc/ol.CollectionEvent.html @@ -407,7 +407,7 @@
diff --git a/master/apidoc/ol.Color.html b/master/apidoc/ol.Color.html index bd81f0fef2..2d06022eb3 100644 --- a/master/apidoc/ol.Color.html +++ b/master/apidoc/ol.Color.html @@ -576,7 +576,7 @@
diff --git a/master/apidoc/ol.Constraints.html b/master/apidoc/ol.Constraints.html index b8f1c8d8f8..2b8aba1371 100644 --- a/master/apidoc/ol.Constraints.html +++ b/master/apidoc/ol.Constraints.html @@ -292,7 +292,7 @@
diff --git a/master/apidoc/ol.Coordinate.html b/master/apidoc/ol.Coordinate.html index 392d703a4b..43a23a62c3 100644 --- a/master/apidoc/ol.Coordinate.html +++ b/master/apidoc/ol.Coordinate.html @@ -140,7 +140,7 @@
Source:
-
+
@@ -214,7 +214,7 @@
Source:
-
+
@@ -232,6 +232,412 @@ +

Methods

+ +
+ +
+

<static> createStringXY

+ + +
+
+ + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
precision + + +number= + + + + (Optional) Precision.
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
  • coordinate.js, line 38
+ + + + + + + +
+ + + + + + + +
Returns:
+ + +
+ Coordinate format. +
+ + + +
+
+ Type +
+
+ +ol.CoordinateFormatType + + +
+
+ + + + +
+ + + +
+

<static> toStringHDMS

+ + +
+
+ + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
coordinate + + +ol.Coordinate +| + +undefined + + + + Coordinate.
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
  • coordinate.js, line 65
+ + + + + + + +
+ + + + + + + +
Returns:
+ + +
+ Hemisphere, degrees, minutes and seconds. +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + +
+ + + +
+

<static> toStringXY

+ + +
+
+ + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
coordinate + + +ol.Coordinate +| + +undefined + + + + Coordinate.
precision + + +number= + + + + (Optional) Precision.
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
  • coordinate.js, line 80
+ + + + + + + +
+ + + + + + + +
Returns:
+ + +
+ XY. +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + +
+ +
+ @@ -252,7 +658,7 @@
diff --git a/master/apidoc/ol.CoverageArea.html b/master/apidoc/ol.CoverageArea.html index e43bce431a..0142d3af6f 100644 --- a/master/apidoc/ol.CoverageArea.html +++ b/master/apidoc/ol.CoverageArea.html @@ -571,7 +571,7 @@
diff --git a/master/apidoc/ol.Extent.html b/master/apidoc/ol.Extent.html index cf12edb381..552871e926 100644 --- a/master/apidoc/ol.Extent.html +++ b/master/apidoc/ol.Extent.html @@ -682,6 +682,168 @@ + + + + +
+

getBottomLeft

+ + +
+
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
  • extent.js, line 56
+ + + + + + + +
+ + + + + + + +
Returns:
+ + +
+ Bottom left coordinate. +
+ + + +
+
+ Type +
+
+ +ol.Coordinate + + +
+
+ + + + +
+ + + +
+

getBottomRight

+ + +
+
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
  • extent.js, line 64
+ + + + + + + +
+ + + + + + + +
Returns:
+ + +
+ Bottom right coordinate. +
+ + + +
+
+ Type +
+
+ +ol.Coordinate + + +
+
+ + + +
@@ -940,6 +1102,168 @@ + + + + +
+

getTopLeft

+ + +
+
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
  • extent.js, line 72
+ + + + + + + +
+ + + + + + + +
Returns:
+ + +
+ Top left coordinate. +
+ + + +
+
+ Type +
+
+ +ol.Coordinate + + +
+
+ + + + +
+ + + +
+

getTopRight

+ + +
+
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
  • extent.js, line 80
+ + + + + + + +
+ + + + + + + +
Returns:
+ + +
+ Top right coordinate. +
+ + + +
+
+ Type +
+
+ +ol.Coordinate + + +
+
+ + + +
@@ -1457,7 +1781,7 @@
Source:
-
+
@@ -1521,7 +1845,7 @@
diff --git a/master/apidoc/ol.Map.html b/master/apidoc/ol.Map.html index b88f9eae8b..631f6fbfb3 100644 --- a/master/apidoc/ol.Map.html +++ b/master/apidoc/ol.Map.html @@ -5795,7 +5795,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
diff --git a/master/apidoc/ol.MapBrowserEvent.html b/master/apidoc/ol.MapBrowserEvent.html index c7fae9d035..449362d0fe 100644 --- a/master/apidoc/ol.MapBrowserEvent.html +++ b/master/apidoc/ol.MapBrowserEvent.html @@ -919,7 +919,7 @@
diff --git a/master/apidoc/ol.MapBrowserEventHandler.html b/master/apidoc/ol.MapBrowserEventHandler.html index 90d4249c1f..9d328a9363 100644 --- a/master/apidoc/ol.MapBrowserEventHandler.html +++ b/master/apidoc/ol.MapBrowserEventHandler.html @@ -244,7 +244,7 @@
diff --git a/master/apidoc/ol.MapEvent.html b/master/apidoc/ol.MapEvent.html index 1ae8bc33bc..b9e4bbffd1 100644 --- a/master/apidoc/ol.MapEvent.html +++ b/master/apidoc/ol.MapEvent.html @@ -365,7 +365,7 @@
diff --git a/master/apidoc/ol.Object.html b/master/apidoc/ol.Object.html index ab03b838af..3e39456b57 100644 --- a/master/apidoc/ol.Object.html +++ b/master/apidoc/ol.Object.html @@ -1818,7 +1818,7 @@
diff --git a/master/apidoc/ol.Pixel.html b/master/apidoc/ol.Pixel.html index bedd588ee8..f537379258 100644 --- a/master/apidoc/ol.Pixel.html +++ b/master/apidoc/ol.Pixel.html @@ -202,7 +202,7 @@
diff --git a/master/apidoc/ol.PixelBounds.html b/master/apidoc/ol.PixelBounds.html index b56c4d90b6..2b627abac5 100644 --- a/master/apidoc/ol.PixelBounds.html +++ b/master/apidoc/ol.PixelBounds.html @@ -1146,7 +1146,7 @@
diff --git a/master/apidoc/ol.Proj4jsProjection.html b/master/apidoc/ol.Proj4jsProjection.html index ef3a6b77ee..5afa7e27b5 100644 --- a/master/apidoc/ol.Proj4jsProjection.html +++ b/master/apidoc/ol.Proj4jsProjection.html @@ -545,7 +545,7 @@
diff --git a/master/apidoc/ol.Projection.html b/master/apidoc/ol.Projection.html index 8a1a94c5c7..4b025384d9 100644 --- a/master/apidoc/ol.Projection.html +++ b/master/apidoc/ol.Projection.html @@ -2584,7 +2584,7 @@
diff --git a/master/apidoc/ol.Rectangle.html b/master/apidoc/ol.Rectangle.html index 763a414508..14cd5017d8 100644 --- a/master/apidoc/ol.Rectangle.html +++ b/master/apidoc/ol.Rectangle.html @@ -1085,7 +1085,7 @@
diff --git a/master/apidoc/ol.Size.html b/master/apidoc/ol.Size.html index 3fda0f7102..e8b6862301 100644 --- a/master/apidoc/ol.Size.html +++ b/master/apidoc/ol.Size.html @@ -331,7 +331,7 @@
diff --git a/master/apidoc/ol.Tile.html b/master/apidoc/ol.Tile.html index 65575ee91e..b26a8bbd22 100644 --- a/master/apidoc/ol.Tile.html +++ b/master/apidoc/ol.Tile.html @@ -605,7 +605,7 @@
diff --git a/master/apidoc/ol.TileCoord.html b/master/apidoc/ol.TileCoord.html index ddc01e3277..7c51c835dc 100644 --- a/master/apidoc/ol.TileCoord.html +++ b/master/apidoc/ol.TileCoord.html @@ -770,7 +770,7 @@
diff --git a/master/apidoc/ol.TileCoverageArea.html b/master/apidoc/ol.TileCoverageArea.html index 655a37ea4b..d120bcb255 100644 --- a/master/apidoc/ol.TileCoverageArea.html +++ b/master/apidoc/ol.TileCoverageArea.html @@ -676,7 +676,7 @@
diff --git a/master/apidoc/ol.TileRange.html b/master/apidoc/ol.TileRange.html index c4d9960e37..903e675c18 100644 --- a/master/apidoc/ol.TileRange.html +++ b/master/apidoc/ol.TileRange.html @@ -1781,7 +1781,7 @@
diff --git a/master/apidoc/ol.control.Attribution.html b/master/apidoc/ol.control.Attribution.html index 9f080572aa..d5ab051f49 100644 --- a/master/apidoc/ol.control.Attribution.html +++ b/master/apidoc/ol.control.Attribution.html @@ -1186,7 +1186,7 @@
diff --git a/master/apidoc/ol.control.Control.html b/master/apidoc/ol.control.Control.html index eaaea87a65..a70885d070 100644 --- a/master/apidoc/ol.control.Control.html +++ b/master/apidoc/ol.control.Control.html @@ -478,7 +478,7 @@
diff --git a/master/apidoc/ol.control.DragBox.html b/master/apidoc/ol.control.DragBox.html index f2f9317473..010ee85491 100644 --- a/master/apidoc/ol.control.DragBox.html +++ b/master/apidoc/ol.control.DragBox.html @@ -449,7 +449,7 @@
diff --git a/master/apidoc/ol.control.MousePosition.html b/master/apidoc/ol.control.MousePosition.html index 4c5445e41f..34f06ead25 100644 --- a/master/apidoc/ol.control.MousePosition.html +++ b/master/apidoc/ol.control.MousePosition.html @@ -715,7 +715,7 @@
diff --git a/master/apidoc/ol.control.Zoom.html b/master/apidoc/ol.control.Zoom.html index 6c50b13766..5768f62001 100644 --- a/master/apidoc/ol.control.Zoom.html +++ b/master/apidoc/ol.control.Zoom.html @@ -498,7 +498,7 @@
diff --git a/master/apidoc/ol.interaction.DblClickZoom.html b/master/apidoc/ol.interaction.DblClickZoom.html index 12a4057e7d..2fa8ebe948 100644 --- a/master/apidoc/ol.interaction.DblClickZoom.html +++ b/master/apidoc/ol.interaction.DblClickZoom.html @@ -244,7 +244,7 @@
diff --git a/master/apidoc/ol.interaction.Drag.html b/master/apidoc/ol.interaction.Drag.html index 2e6e324596..492f8eed6c 100644 --- a/master/apidoc/ol.interaction.Drag.html +++ b/master/apidoc/ol.interaction.Drag.html @@ -618,7 +618,7 @@
diff --git a/master/apidoc/ol.interaction.DragPan.html b/master/apidoc/ol.interaction.DragPan.html index b0bdd5f1d8..4aa7636b29 100644 --- a/master/apidoc/ol.interaction.DragPan.html +++ b/master/apidoc/ol.interaction.DragPan.html @@ -728,7 +728,7 @@
diff --git a/master/apidoc/ol.interaction.DragRotate.html b/master/apidoc/ol.interaction.DragRotate.html index c74d2efc57..2a151e840b 100644 --- a/master/apidoc/ol.interaction.DragRotate.html +++ b/master/apidoc/ol.interaction.DragRotate.html @@ -728,7 +728,7 @@
diff --git a/master/apidoc/ol.interaction.DragRotateAndZoom.html b/master/apidoc/ol.interaction.DragRotateAndZoom.html index 31a2d0743a..4e4adf2cc2 100644 --- a/master/apidoc/ol.interaction.DragRotateAndZoom.html +++ b/master/apidoc/ol.interaction.DragRotateAndZoom.html @@ -728,7 +728,7 @@
diff --git a/master/apidoc/ol.interaction.DragZoom.html b/master/apidoc/ol.interaction.DragZoom.html index 2f52dd9dfa..3e9c679d8c 100644 --- a/master/apidoc/ol.interaction.DragZoom.html +++ b/master/apidoc/ol.interaction.DragZoom.html @@ -728,7 +728,7 @@
diff --git a/master/apidoc/ol.interaction.Interaction.html b/master/apidoc/ol.interaction.Interaction.html index 4f2f01cd4f..ac1121397a 100644 --- a/master/apidoc/ol.interaction.Interaction.html +++ b/master/apidoc/ol.interaction.Interaction.html @@ -181,7 +181,7 @@
diff --git a/master/apidoc/ol.interaction.Keyboard.html b/master/apidoc/ol.interaction.Keyboard.html index 179f67578e..b2d9fb2b42 100644 --- a/master/apidoc/ol.interaction.Keyboard.html +++ b/master/apidoc/ol.interaction.Keyboard.html @@ -324,7 +324,7 @@
diff --git a/master/apidoc/ol.interaction.KeyboardPan.html b/master/apidoc/ol.interaction.KeyboardPan.html index bcdcbf92fe..a0da94fe8d 100644 --- a/master/apidoc/ol.interaction.KeyboardPan.html +++ b/master/apidoc/ol.interaction.KeyboardPan.html @@ -244,7 +244,7 @@
diff --git a/master/apidoc/ol.interaction.KeyboardZoom.html b/master/apidoc/ol.interaction.KeyboardZoom.html index 737b7f848a..2da5e9f4db 100644 --- a/master/apidoc/ol.interaction.KeyboardZoom.html +++ b/master/apidoc/ol.interaction.KeyboardZoom.html @@ -200,7 +200,7 @@
diff --git a/master/apidoc/ol.interaction.MouseWheelZoom.html b/master/apidoc/ol.interaction.MouseWheelZoom.html index 0faf6afbb2..6c59672c31 100644 --- a/master/apidoc/ol.interaction.MouseWheelZoom.html +++ b/master/apidoc/ol.interaction.MouseWheelZoom.html @@ -244,7 +244,7 @@
diff --git a/master/apidoc/ol.layer.Layer.html b/master/apidoc/ol.layer.Layer.html index 225e1dd2b4..45e5c746a6 100644 --- a/master/apidoc/ol.layer.Layer.html +++ b/master/apidoc/ol.layer.Layer.html @@ -2379,7 +2379,7 @@
diff --git a/master/apidoc/ol.layer.TileLayer.html b/master/apidoc/ol.layer.TileLayer.html index 7edac861e0..0efeccaf82 100644 --- a/master/apidoc/ol.layer.TileLayer.html +++ b/master/apidoc/ol.layer.TileLayer.html @@ -2530,7 +2530,7 @@
diff --git a/master/apidoc/ol.overlay.Overlay.html b/master/apidoc/ol.overlay.Overlay.html index 7509d8c921..d6844764da 100644 --- a/master/apidoc/ol.overlay.Overlay.html +++ b/master/apidoc/ol.overlay.Overlay.html @@ -759,7 +759,7 @@ not set, the default is {@code ['left', 'bottom']}.
diff --git a/master/apidoc/ol.renderer.Layer.html b/master/apidoc/ol.renderer.Layer.html index 32d36f9896..bd6bf4ad7c 100644 --- a/master/apidoc/ol.renderer.Layer.html +++ b/master/apidoc/ol.renderer.Layer.html @@ -1699,7 +1699,7 @@
diff --git a/master/apidoc/ol.renderer.Map.html b/master/apidoc/ol.renderer.Map.html index bfebd58929..75bc14bbaa 100644 --- a/master/apidoc/ol.renderer.Map.html +++ b/master/apidoc/ol.renderer.Map.html @@ -2120,7 +2120,7 @@
diff --git a/master/apidoc/ol.renderer.dom.Layer.html b/master/apidoc/ol.renderer.dom.Layer.html index 6bd7d63e11..86361aee09 100644 --- a/master/apidoc/ol.renderer.dom.Layer.html +++ b/master/apidoc/ol.renderer.dom.Layer.html @@ -2042,7 +2042,7 @@
diff --git a/master/apidoc/ol.renderer.dom.Map.html b/master/apidoc/ol.renderer.dom.Map.html index 01e268dbff..9b71493587 100644 --- a/master/apidoc/ol.renderer.dom.Map.html +++ b/master/apidoc/ol.renderer.dom.Map.html @@ -2218,7 +2218,7 @@ position as needed on subsequent calls.
diff --git a/master/apidoc/ol.renderer.dom.TileLayer.html b/master/apidoc/ol.renderer.dom.TileLayer.html index 6bff64e664..73a55449a6 100644 --- a/master/apidoc/ol.renderer.dom.TileLayer.html +++ b/master/apidoc/ol.renderer.dom.TileLayer.html @@ -2081,7 +2081,7 @@
diff --git a/master/apidoc/ol.renderer.webgl.FragmentShader.html b/master/apidoc/ol.renderer.webgl.FragmentShader.html index 1c63c563a8..20cc82576c 100644 --- a/master/apidoc/ol.renderer.webgl.FragmentShader.html +++ b/master/apidoc/ol.renderer.webgl.FragmentShader.html @@ -385,7 +385,7 @@
diff --git a/master/apidoc/ol.renderer.webgl.Layer.html b/master/apidoc/ol.renderer.webgl.Layer.html index b1b93dad1c..acda3a77ba 100644 --- a/master/apidoc/ol.renderer.webgl.Layer.html +++ b/master/apidoc/ol.renderer.webgl.Layer.html @@ -2051,7 +2051,7 @@
diff --git a/master/apidoc/ol.renderer.webgl.Map.html b/master/apidoc/ol.renderer.webgl.Map.html index 3f2f4f3063..f71e578ab9 100644 --- a/master/apidoc/ol.renderer.webgl.Map.html +++ b/master/apidoc/ol.renderer.webgl.Map.html @@ -2884,7 +2884,7 @@
diff --git a/master/apidoc/ol.renderer.webgl.Shader.html b/master/apidoc/ol.renderer.webgl.Shader.html index 8be2b01816..c0762b7f9d 100644 --- a/master/apidoc/ol.renderer.webgl.Shader.html +++ b/master/apidoc/ol.renderer.webgl.Shader.html @@ -356,7 +356,7 @@
diff --git a/master/apidoc/ol.renderer.webgl.TileLayer.html b/master/apidoc/ol.renderer.webgl.TileLayer.html index 6bf4da4aca..e38138d464 100644 --- a/master/apidoc/ol.renderer.webgl.TileLayer.html +++ b/master/apidoc/ol.renderer.webgl.TileLayer.html @@ -2299,7 +2299,7 @@
diff --git a/master/apidoc/ol.renderer.webgl.VertexShader.html b/master/apidoc/ol.renderer.webgl.VertexShader.html index 1e7708733e..5ecf1bd92f 100644 --- a/master/apidoc/ol.renderer.webgl.VertexShader.html +++ b/master/apidoc/ol.renderer.webgl.VertexShader.html @@ -385,7 +385,7 @@
diff --git a/master/apidoc/ol.renderer.webgl.map.shader.Fragment.html b/master/apidoc/ol.renderer.webgl.map.shader.Fragment.html index dea8e79378..2436362e41 100644 --- a/master/apidoc/ol.renderer.webgl.map.shader.Fragment.html +++ b/master/apidoc/ol.renderer.webgl.map.shader.Fragment.html @@ -355,7 +355,7 @@
diff --git a/master/apidoc/ol.renderer.webgl.map.shader.Vertex.html b/master/apidoc/ol.renderer.webgl.map.shader.Vertex.html index 19fb1139c5..529303c67c 100644 --- a/master/apidoc/ol.renderer.webgl.map.shader.Vertex.html +++ b/master/apidoc/ol.renderer.webgl.map.shader.Vertex.html @@ -346,7 +346,7 @@
diff --git a/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Fragment.html b/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Fragment.html index f5480ab894..660e52212f 100644 --- a/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Fragment.html +++ b/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Fragment.html @@ -346,7 +346,7 @@
diff --git a/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Vertex.html b/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Vertex.html index 0940470209..23e594d734 100644 --- a/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Vertex.html +++ b/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Vertex.html @@ -346,7 +346,7 @@
diff --git a/master/apidoc/ol.source.BingMaps.html b/master/apidoc/ol.source.BingMaps.html index d4e96144d6..067629146f 100644 --- a/master/apidoc/ol.source.BingMaps.html +++ b/master/apidoc/ol.source.BingMaps.html @@ -1406,7 +1406,7 @@
diff --git a/master/apidoc/ol.source.MapQuestOSM.html b/master/apidoc/ol.source.MapQuestOSM.html index a5444ec295..7b023ff955 100644 --- a/master/apidoc/ol.source.MapQuestOSM.html +++ b/master/apidoc/ol.source.MapQuestOSM.html @@ -1357,7 +1357,7 @@
diff --git a/master/apidoc/ol.source.MapQuestOpenAerial.html b/master/apidoc/ol.source.MapQuestOpenAerial.html index 339b3b30d9..3a46f5c59d 100644 --- a/master/apidoc/ol.source.MapQuestOpenAerial.html +++ b/master/apidoc/ol.source.MapQuestOpenAerial.html @@ -1357,7 +1357,7 @@
diff --git a/master/apidoc/ol.source.OpenStreetMap.html b/master/apidoc/ol.source.OpenStreetMap.html index 411cc7a066..278478b38b 100644 --- a/master/apidoc/ol.source.OpenStreetMap.html +++ b/master/apidoc/ol.source.OpenStreetMap.html @@ -1357,7 +1357,7 @@
diff --git a/master/apidoc/ol.source.Source.html b/master/apidoc/ol.source.Source.html index 8e3aa94ed2..41533c6187 100644 --- a/master/apidoc/ol.source.Source.html +++ b/master/apidoc/ol.source.Source.html @@ -892,7 +892,7 @@
diff --git a/master/apidoc/ol.source.Stamen.html b/master/apidoc/ol.source.Stamen.html index c16874f19b..2fbb54d91b 100644 --- a/master/apidoc/ol.source.Stamen.html +++ b/master/apidoc/ol.source.Stamen.html @@ -1401,7 +1401,7 @@
diff --git a/master/apidoc/ol.source.TileJSON.html b/master/apidoc/ol.source.TileJSON.html index 79f9e45a3d..cde8a3e1b8 100644 --- a/master/apidoc/ol.source.TileJSON.html +++ b/master/apidoc/ol.source.TileJSON.html @@ -1362,7 +1362,7 @@
diff --git a/master/apidoc/ol.source.TileSource.html b/master/apidoc/ol.source.TileSource.html index 5ab846e3d5..ce5652875b 100644 --- a/master/apidoc/ol.source.TileSource.html +++ b/master/apidoc/ol.source.TileSource.html @@ -1371,7 +1371,7 @@
diff --git a/master/apidoc/ol.source.XYZ.html b/master/apidoc/ol.source.XYZ.html index 69d53e4513..e40d5f79f8 100644 --- a/master/apidoc/ol.source.XYZ.html +++ b/master/apidoc/ol.source.XYZ.html @@ -1447,7 +1447,7 @@
diff --git a/master/apidoc/ol.tilegrid.TileGrid.html b/master/apidoc/ol.tilegrid.TileGrid.html index 68d77571ce..52db722737 100644 --- a/master/apidoc/ol.tilegrid.TileGrid.html +++ b/master/apidoc/ol.tilegrid.TileGrid.html @@ -2193,7 +2193,7 @@
diff --git a/master/apidoc/ol.tilegrid.XYZ.html b/master/apidoc/ol.tilegrid.XYZ.html index ffe69fb460..6b1d1deb2b 100644 --- a/master/apidoc/ol.tilegrid.XYZ.html +++ b/master/apidoc/ol.tilegrid.XYZ.html @@ -2188,7 +2188,7 @@
diff --git a/master/build/ol.js b/master/build/ol.js index 905c67c3d0..4ac5065eb0 100644 --- a/master/build/ol.js +++ b/master/build/ol.js @@ -1,4 +1,4 @@ -(function(){var h=void 0,i=!0,j=null,l=!1;function ca(a){return function(){return this[a]}}var m,n=this;function s(){}function da(a){a.ta=function(){return a.Db?a.Db:a.Db=new a}} +(function(){var h=void 0,i=!0,j=null,l=!1;function ca(a){return function(){return this[a]}}var m,n=this;function s(){}function da(a){a.ta=function(){return a.Cb?a.Cb:a.Cb=new a}} function ea(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function t(a){return a!==h}function fa(a){return"array"==ea(a)}function ga(a){var b=ea(a);return"array"==b||"object"==b&&"number"==typeof a.length}function v(a){return"string"==typeof a}function ha(a){return"function"==ea(a)}function ia(a){var b=typeof a;return"object"==b&&a!=j||"function"==b}function w(a){return a[ja]||(a[ja]=++ka)}var ja="closure_uid_"+Math.floor(2147483648*Math.random()).toString(36),ka=0; function la(a,b,c){return a.call.apply(a.bind,arguments)}function ma(a,b,c){if(!a)throw Error();if(2parseFloat(fb)){eb=String(jb);break a}}eb=fb}var lb={}; function H(a){var b;if(!(b=lb[a])){b=0;for(var c=String(eb).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),d=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),e=Math.max(c.length,d.length),f=0;0==b&&f(0==p[1].length?0:parseInt(p[1],10))?1:0)||((0==r[2].length)<(0==p[2].length)?-1:(0==r[2].length)>(0==p[2].length)?1:0)||(r[2]p[2]?1:0)}while(0==b)}b=lb[a]=0<=b}return b}var mb={};function nb(a){return mb[a]||(mb[a]=E&&!!document.documentMode&&document.documentMode>=a)};var ob=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function pb(a,b){var c;if(a instanceof pb)this.T=t(b)?b:a.T,qb(this,a.da),c=a.Pa,rb(this),this.Pa=c,c=a.ga,rb(this),this.ga=c,sb(this,a.Ja),c=a.Ha,rb(this),this.Ha=c,tb(this,a.a.G()),c=a.sa,rb(this),this.sa=c;else if(a&&(c=String(a).match(ob))){this.T=!!b;qb(this,c[1]||"",i);var d=c[2]||"";rb(this);this.Pa=d?decodeURIComponent(d):"";d=c[3]||"";rb(this);this.ga=d?decodeURIComponent(d):"";sb(this,c[4]);d=c[5]||"";rb(this);this.Ha=d?decodeURIComponent(d):"";tb(this,c[6]||"",i);c=c[7]||"";rb(this);this.sa= -c?decodeURIComponent(c):""}else this.T=!!b,this.a=new ub(j,0,this.T)}m=pb.prototype;m.da="";m.Pa="";m.ga="";m.Ja=j;m.Ha="";m.sa="";m.Ec=l;m.T=l; +c?decodeURIComponent(c):""}else this.T=!!b,this.a=new ub(j,0,this.T)}m=pb.prototype;m.da="";m.Pa="";m.ga="";m.Ja=j;m.Ha="";m.sa="";m.Cc=l;m.T=l; m.toString=function(){var a=[],b=this.da;b&&a.push(vb(b,wb),":");if(b=this.ga){a.push("//");var c=this.Pa;c&&a.push(vb(c,wb),"@");a.push(encodeURIComponent(String(b)));b=this.Ja;b!=j&&a.push(":",String(b))}if(b=this.Ha)this.ga&&"/"!=b.charAt(0)&&a.push("/"),a.push(vb(b,"/"==b.charAt(0)?xb:yb));(b=this.a.toString())&&a.push("?",b);(b=this.sa)&&a.push("#",vb(b,zb));return a.join("")};m.G=function(){return new pb(this)}; function qb(a,b,c){rb(a);a.da=c?b?decodeURIComponent(b):"":b;a.da&&(a.da=a.da.replace(/:$/,""))}function sb(a,b){rb(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.Ja=b}else a.Ja=j} function tb(a,b,c){rb(a);if(b instanceof ub){a.a=b;b=a.a;if((a=a.T)&&!b.b){Ab(b);b.a=j;var d=b.q,c=function(a,b){var c=b.toLowerCase();b!=c&&(Bb(this,b),Cb(this,c,a))};if("function"==typeof d.forEach)d.forEach(c,b);else if(ga(d)||v(d))C(d,c,b);else{var e;if("function"==typeof d.$)e=d.$();else if("function"!=typeof d.L)if(ga(d)||v(d)){e=[];for(var f=d.length,g=0;g>4&15).toString(16)+(a&15).toString(16)}var wb=/[#\/\?@]/g,yb=/[\#\?:]/g,xb=/[\#\?]/g,Db=/[\#\?@]/g,zb=/#/g;function ub(a,b,c){this.a=a||j;this.b=!!c} +0,a.T)}function Eb(a,b,c){rb(a);fa(c)||(c=[String(c)]);Cb(a.a,b,c)}function rb(a){if(a.Cc)throw Error("Tried to modify a read-only Uri");}function vb(a,b){return v(a)?encodeURI(a).replace(b,Fb):j}function Fb(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var wb=/[#\/\?@]/g,yb=/[\#\?:]/g,xb=/[\#\?]/g,Db=/[\#\?@]/g,zb=/#/g;function ub(a,b,c){this.a=a||j;this.b=!!c} function Ab(a){if(!a.q&&(a.q=new Ma,a.k=0,a.a))for(var b=a.a.split("&"),c=0;c2*c.k&&Na(c))}}m.clear=function(){this.q=this.a=j;this.k=0};function Hb(a,b){Ab(a);b=Gb(a,b);return Oa(a.q.b,b)}m.$=function(){Ab(this);for(var a=this.q.L(),b=this.q.$(),c=[],d=0;d=a.keyCode)a.keyCode=-1}catch(b){}};m.lc=ca("A");function dc(){}var ec=0;dc.prototype.key=0;dc.prototype.ca=l;dc.prototype.a=l;dc.prototype.handleEvent=function(a){return this.b?this.ma.call(this.Wa||this.src,a):this.ma.handleEvent.call(this.ma,a)};var fc={},gc={},hc={},ic={}; +m.toString=function(){if(this.a)return this.a;if(!this.q)return"";for(var a=[],b=this.q.$(),c=0;c=a.keyCode)a.keyCode=-1}catch(b){}};m.kc=ca("A");function dc(){}var ec=0;dc.prototype.key=0;dc.prototype.ca=l;dc.prototype.a=l;dc.prototype.handleEvent=function(a){return this.b?this.ma.call(this.Wa||this.src,a):this.ma.handleEvent.call(this.ma,a)};var fc={},gc={},hc={},ic={}; function J(a,b,c,d,e){if(b){if(fa(b)){for(var f=0;ff.keyCode||f.returnValue!=h)return i;a:{var u=l;if(0==f.keyCode)try{f.keyCode=-1;break a}catch(r){u=i}if(u||f.returnValue==h)f.returnValue=i}}u=new Tb;Ub(u,f,this);f=i;try{if(k){for(var p=[],x=u.b;x;x=x.parentNode)p.push(x);g=e[i];g.B=g.k;for(var y=p.length- @@ -39,24 +39,24 @@ function xc(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function wc(a) The Closure Authors under the MIT license. All other code is Copyright 2005-2009 The Closure Authors. All Rights Reserved. */ -function Gc(a,b){this.a=[];this.f=a;this.e=b||j}m=Gc.prototype;m.R=l;m.ia=l;m.pa=0;m.Qb=l;m.ec=l;m.dc=0;m.ob=function(a,b){Hc(this,a,b);this.pa--;0==this.pa&&this.R&&Ic(this)};function Hc(a,b,c){a.R=i;a.b=c;a.ia=!b;Ic(a)}function Jc(a){if(a.R){if(!a.Qb)throw new Kc(a);a.Qb=l}}function Lc(a){return Aa(a.a,function(a){return ha(a[1])})} -function Ic(a){a.c&&(a.R&&Lc(a))&&(n.clearTimeout(a.c),delete a.c);a.d&&(a.d.dc--,delete a.d);for(var b=a.b,c=l,d=l;a.a.length&&0==a.pa;){var e=a.a.shift(),f=e[0],g=e[1],e=e[2];if(f=a.ia?g:f)try{var k=f.call(e||a.e,b);t(k)&&(a.ia=a.ia&&(k==b||k instanceof Error),a.b=b=k);b instanceof Gc&&(d=i,a.pa++)}catch(q){b=q,a.ia=i,Lc(a)||(c=i)}}a.b=b;d&&a.pa&&(d=b,k=na(a.ob,a,i),f=na(a.ob,a,l),d.a.push([k,f,h]),d.R&&Ic(d),b.ec=i);c&&(a.c=n.setTimeout(function(){throw b;},0))} -function Kc(a){qa.call(this);this.a=a}A(Kc,qa);Kc.prototype.message="Deferred has already fired";Kc.prototype.name="AlreadyCalledError";function Mc(a,b){var c=b||{},d=c.document||document,e=document.createElement("SCRIPT"),f={Ob:e,Oa:h},g=new Gc(Nc,f),k=j,q=c.timeout!=j?c.timeout:5E3;0=b.b&&a.a<=b.d&&a.d>=b.a}Xc.prototype.toString=function(){return"("+[this.b,this.a,this.c,this.d].join(", ")+")"};function Zc(a,b,c,d){Xc.call(this,a,b,c,d)}A(Zc,Xc);function $c(a){var b=arguments[0],b=new Zc(b.x,b.y,b.x,b.y),c;for(c=1;c>=1;return b.join("")}cd.prototype.toString=function(){return[this.j,this.x,this.y].join("/")};function fd(a,b,c,d){Xc.call(this,a,b,c,d)}A(fd,Xc);function gd(a,b,c,d){var e,f;for(e=a.b;e<=a.c;++e)for(f=a.a;f<=a.d;++f)c.call(d,new cd(b,e,f))}fd.prototype.e=function(){return this.d-this.a+1};fd.prototype.f=function(){return this.c-this.b+1};function hd(a,b){var c=a.length;if(a[0]<=b)return 0;if(!(b<=a[c-1])){var d;for(d=1;d=a.c&&(d.x+=1);b.y=a.d&&(d.y+=1);return d};function od(a,b,c,d){this.w=b;this.c=a;this.b=c;this.a=d}A(od,ad);od.prototype.transform=function(a){a=this.w.transform(a);return new od(this.c,a,this.b,this.a)};function U(a,b,c){this.a=a;this.b=b;this.c=c}U.prototype.d=ca("a");U.prototype.f=ca("c");U.prototype.e=ca("b");function pd(a,b){U.call(this,a,b.units,j);this.Mb=b}A(pd,U);var qd={},rd={},sd={};function td(a){C(a,function(a){rd[a.a]=a});C(a,function(b){C(a,function(a){ud(b,a,vd)})})}function ud(a,b,c){a=a.a;b=b.a;a in sd||(sd[a]={});sd[a][b]=c}function wd(a){var b=rd[a];"Proj4js"in n&&!t(b)&&(b=xd(a));t(b)||(b=j);return b} -function xd(a){var b=qd[a];t(b)||(b=new Proj4js.Proj(a),b=new pd(a,b),qd[a]=b);return b}function yd(a,b){var c=a.a,d=b.a,e;c in sd&&d in sd[c]&&(e=sd[c][d]);if("Proj4js"in n&&!t(e)){var f;f=(a instanceof pd?a:xd(a.a)).Mb;var g;g=(b instanceof pd?b:xd(a.a)).Mb;e=function(a){a=new Proj4js.Point(a.x,a.y);a=Proj4js.transform(f,g,a);return new T(a.x,a.y)};ud(a,b,e)}t(e)||(e=zd);return e}function Ad(a,b){var c=wd(a),d=wd(b);return yd(c,d)}function zd(a){return a}function vd(a){return new T(a.x,a.y)} -var Bd=6378137*Math.PI,Cd=new Zc(-Bd,-Bd,Bd,Bd),Dd=za(["EPSG:3857","EPSG:102100","EPSG:102113","EPSG:900913"],function(a){return new U(a,"m",Cd)}),Ed=new Zc(-180,-90,180,90),Fd=za(["CRS:84","EPSG:4326","urn:ogc:def:crs:EPSG:6.6:4326"],function(a){return new U(a,"degrees",Ed)});td(Dd);td(Fd);function Gd(a){var b=6378137*Math.PI*a.x/180,a=6378137*Math.log(Math.tan(Math.PI*(a.y+90)/360));return new T(b,a)} -function Hd(a){return new T(180*a.x/(6378137*Math.PI),360*Math.atan(Math.exp(a.y/6378137))/Math.PI-90)}C(Fd,function(a){C(Dd,function(b){ud(a,b,Gd);ud(b,a,Hd)})});function Id(a,b,c){this.b=a;this.a=b||j;this.c=c||j};function Jd(){I.call(this)}A(Jd,I);m=Jd.prototype;m.qb=i;m.ab=j;m.addEventListener=function(a,b,c,d){J(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){lc(this,a,b,c,d)};m.o=function(){Jd.i.o.call(this);var a,b=0,c=a==j;a=!!a;if(this==j)D(hc,function(d){for(var e=d.length-1;0<=e;e--){var f=d[e];if(c||a==f.capture)L(f.key),b++}});else{var d=w(this);if(hc[d])for(var d=hc[d],e=d.length-1;0<=e;e--){var f=d[e];if(c||a==f.capture)L(f.key),b++}}this.ab=j};function Kd(a,b,c){I.call(this);this.Na=a;this.g=b;this.a=0;this.b=new Image;c!==j&&(this.b.crossOrigin=c);this.d={};this.c=j}A(Kd,Jd);function Ld(a,b){if(t(b)){var c,d=w(b);if(d in a.d)return a.d[d];c=Ia(a.d)?a.b:a.b.cloneNode(l);return a.d[d]=c}return a.b}Kd.prototype.e=function(){this.a=3;C(this.c,L);this.c=j};Kd.prototype.f=function(){this.a=2;C(this.c,L);this.c=j;P(this,"change")};function Md(a){0==a.a&&(a.a=1,a.c=[kc(a.b,"error",a.e,l,a),kc(a.b,"load",a.f,l,a)],a.b.src=a.g)};function Nd(a){var b=/\{(\d)-(\d)\}/.exec(a)||/\{([a-z])-([a-z])\}/.exec(a);if(b){var c=[],d=b[2].charCodeAt(0),e;for(e=b[1].charCodeAt(0);e<=d;++e)c.push(a.replace(b[0],String.fromCharCode(e)));return Od(za(c,Nd))}return function(b){return b===j?h:a.replace("{z}",b.j).replace("{x}",b.x).replace("{y}",b.y)}}function Od(a){return function(b){if(b!==j){var c=tc(b.hash(),a.length);return a[c](b)}}}function Pd(){}function Qd(a,b){return function(c){return c===j?h:b(a(c))}};function Rd(a){return function(){return a}}var Sd=Rd(l),Td=Rd(i);function Ud(a){I.call(this);this.h=t(a.projection)?a.projection:j;this.g=t(a.w)?a.w:a.projection.c;this.a=t(a.F)?a.F:j}A(Ud,Jd);Ud.prototype.V=Td;function Vd(a){Ud.call(this,{F:a.F,w:a.w,projection:a.projection});this.K=t(a.K)?a.K:j;this.P=t(a.P)?a.P:Pd;this.d=t(a.crossOrigin)?a.crossOrigin:"anonymous";this.b={}}A(Vd,Ud);function Wd(a,b){var c=b.toString();if(c in a.b)return a.b[c];var d=a.P(b),d=t(d)?new Kd(b,d,a.d):j;return a.b[c]=d};function Xd(a){var b=Array(a.z+1),c;for(c=0;c<=a.z;++c)b[c]=Bd/(128<a)break;d=Math.floor(d/2);e=Math.floor(e/2);f=new fd(d,e,d,e);if(b.call(c,a,f))break}};var Yd={Xc:"Aerial",Yc:"AerialWithLabels",cd:"Road",bd:"OrdnanceSurvey",Zc:"CollinsBart"}; -function Zd(a){Vd.call(this,{projection:wd("EPSG:3857")});this.gc=t(a.culture)?a.culture:"en-us";this.c=l;var b=new pb("//dev.virtualearth.net/REST/v1/Imagery/Metadata/"+a.style),b=new Sc(b),a={include:"ImageryProviders",key:a.key},c=na(this.e,this),a=a||j,d="_"+(Tc++).toString(36)+pa().toString(36);n._callbacks_||(n._callbacks_={});var e=b.b.G();if(a)for(var f in a)(!a.hasOwnProperty||a.hasOwnProperty(f))&&Eb(e,f,a[f]);c&&(n._callbacks_[d]=function(a){Uc(d,i);c.apply(h,arguments)},Eb(e,b.a,"_callbacks_."+ -d));f=Mc(e.toString(),{timeout:b.Oa,nb:i});f.a.push([j,function(){Uc(d,l)},h]);f.R&&Ic(f)}A(Zd,Vd); -Zd.prototype.e=function(a){var b=a.resourceSets[0].resources[0],c=b.zoomMin,d=b.zoomMax,e=new Xd({z:d,eb:new Wc(b.imageWidth,b.imageHeight)});this.K=e;this.P=Qd(function(a){if(a.je||b<=e?j:new cd(a.j,tc(a.x,b),e)},Od(za(b.imageUrlSubdomains,function(a){var c=b.imageUrl.replace("{subdomain}",a).replace("{culture}",this.gc);return function(a){return a===j?h:c.replace("{quadkey}",ed(a))}})));var f=wd("EPSG:4326");this.a=za(b.imageryProviders,function(a){var b= -a.attribution,a=za(a.coverageAreas,function(a){var b=a.bbox;return new od(e,new Zc(b[1],b[0],b[3],b[2]),a.zoomMin,a.zoomMax)});return new Id(b,a,f)});this.c=i;P(this,"load")};Zd.prototype.V=ca("c");function V(a){I.call(this);t(a)&&this.Ya(a)}A(V,Jd);var $d={},ae={},be={};function ce(a){return a.substr(0,1).toUpperCase()+a.substr(1)}function de(a){return a.ol_accessors_||(a.ol_accessors_={})}function W(a){return $d[a]||($d[a]=a.toLowerCase()+"_changed")}function ee(a){return a.ol_bindings_||(a.ol_bindings_={})}m=V.prototype;m.cc=function(a,b,c,d){c=c||a;this.gb(a);var e=W(c);ee(this)[a]=J(b,e,function(){fe(this,a)},h,this);de(this)[a]={target:b,key:c};d||fe(this,a)};m.fc=s; -m.r=function(a){var b=de(this);if(a in b){var b=b[a],a=b.target,b=b.key,c=ae[b]||(ae[b]="get"+ce(b));return a[c]?a[c]():a.r(b)}return this[a]};m.Ib=function(a){var b=de(this);a in b?(a=b[a],a.target.Ib(a.key)):fe(this,a)};function fe(a,b){var c=W(b);P(a,c)}m.set=function(a,b){var c=de(this);if(a in c){var d=c[a],c=d.target,d=d.key,e=be[d]||(be[d]="set"+ce(d));if(c[e])c[e](b);else c.set(d,b)}else this[a]=b,fe(this,a)}; -m.Pb=function(a){D(a,function(a,c){var d=be[c]||(be[c]="set"+ce(c));if(this[d])this[d](a);else this.set(c,a)},this)};m.Ya=V.prototype.Pb;m.gb=function(a){var b=ee(this),c=b[a];c&&(delete b[a],L(c),b=this.r(a),delete de(this)[a],this[a]=b)};m.Vc=function(){var a=ee(this);C(Ha(a),function(a){this.gb(a)},this)};function ge(a,b,c,d,e){Qb.call(this,a,e);this.a=b;this.index=c;this.c=d}A(ge,Qb);function X(a){V.call(this);this.a=a||[];he(this)}A(X,V);m=X.prototype;m.clear=function(){for(;this.length;)this.Jb()};m.forEach=function(a,b){C(this.a,a,b)};m.jc=ca("a");m.kc=function(a){return this.a[a]};m.sb=function(){return this.r("length")};m.Ba=function(a,b){Da(this.a,a,0,b);he(this);P(this,new ge("add",b,h,h,this));P(this,new ge("insert_at",b,a,h,this))};m.Jb=function(){return this.Nb(this.sb()-1)}; -m.push=function(a){var b=this.a.length;this.Ba(b,a);return b};m.Nb=function(a){var b=this.a[a];B.splice.call(this.a,a,1);he(this);P(this,new ge("remove",b,h,h,this));P(this,new ge("remove_at",h,a,b,this));return b};m.Mc=function(a,b){var c=this.length;if(ac?1:0)},Dc:function(a){return t(a)?ie.rb(a.y,"NS")+" "+ie.rb(a.x,"EW"):""}};function je(a){I.call(this);this.Z=a||window;this.Ea=J(this.Z,"resize",this.zc,l,this);this.Y=Ac(this.Z||window);if(G&&Va||ab&&this.Z.self!=this.Z.top)this.Qa=window.setInterval(na(this.mb,this),ke)}A(je,Jd);var ke=500;m=je.prototype;m.Ea=j;m.Z=j;m.Y=j;m.Qa=j;m.o=function(){je.i.o.call(this);this.Ea&&(L(this.Ea),this.Ea=j);this.Qa&&(window.clearInterval(this.Qa),this.Qa=j);this.Y=this.Z=j};m.zc=function(){this.mb()}; +function Gc(a,b){this.a=[];this.f=a;this.e=b||j}m=Gc.prototype;m.R=l;m.ia=l;m.pa=0;m.Pb=l;m.dc=l;m.cc=0;m.ob=function(a,b){Hc(this,a,b);this.pa--;0==this.pa&&this.R&&Ic(this)};function Hc(a,b,c){a.R=i;a.b=c;a.ia=!b;Ic(a)}function Jc(a){if(a.R){if(!a.Pb)throw new Kc(a);a.Pb=l}}function Lc(a){return Aa(a.a,function(a){return ha(a[1])})} +function Ic(a){a.c&&(a.R&&Lc(a))&&(n.clearTimeout(a.c),delete a.c);a.d&&(a.d.cc--,delete a.d);for(var b=a.b,c=l,d=l;a.a.length&&0==a.pa;){var e=a.a.shift(),f=e[0],g=e[1],e=e[2];if(f=a.ia?g:f)try{var k=f.call(e||a.e,b);t(k)&&(a.ia=a.ia&&(k==b||k instanceof Error),a.b=b=k);b instanceof Gc&&(d=i,a.pa++)}catch(q){b=q,a.ia=i,Lc(a)||(c=i)}}a.b=b;d&&a.pa&&(d=b,k=na(a.ob,a,i),f=na(a.ob,a,l),d.a.push([k,f,h]),d.R&&Ic(d),b.dc=i);c&&(a.c=n.setTimeout(function(){throw b;},0))} +function Kc(a){qa.call(this);this.a=a}A(Kc,qa);Kc.prototype.message="Deferred has already fired";Kc.prototype.name="AlreadyCalledError";function Mc(a,b){var c=b||{},d=c.document||document,e=document.createElement("SCRIPT"),f={Nb:e,Oa:h},g=new Gc(Nc,f),k=j,q=c.timeout!=j?c.timeout:5E3;0c?1:0)};function Xc(a,b){uc.call(this,a,b)}A(Xc,uc);function Yc(a,b,c,d){this.b=a;this.a=b;this.c=c;this.d=d}Yc.prototype.e=function(){return this.d-this.a};Yc.prototype.f=function(){return this.c-this.b};function Zc(a,b){return a.b<=b.c&&a.c>=b.b&&a.a<=b.d&&a.d>=b.a}Yc.prototype.toString=function(){return"("+[this.b,this.a,this.c,this.d].join(", ")+")"};function $c(a,b,c,d){Yc.call(this,a,b,c,d)}A($c,Yc);function ad(a){var b=arguments[0],b=new $c(b.x,b.y,b.x,b.y),c;for(c=1;c>=1;return b.join("")}dd.prototype.toString=function(){return[this.j,this.x,this.y].join("/")};function gd(a,b,c,d){Yc.call(this,a,b,c,d)}A(gd,Yc);function hd(a,b,c,d){var e,f;for(e=a.b;e<=a.c;++e)for(f=a.a;f<=a.d;++f)c.call(d,new dd(b,e,f))}gd.prototype.e=function(){return this.d-this.a+1};gd.prototype.f=function(){return this.c-this.b+1};function id(a,b){var c=a.length;if(a[0]<=b)return 0;if(!(b<=a[c-1])){var d;for(d=1;d=a.c&&(d.x+=1);b.y=a.d&&(d.y+=1);return d};function pd(a,b,c,d){this.w=b;this.c=a;this.b=c;this.a=d}A(pd,bd);pd.prototype.transform=function(a){a=this.w.transform(a);return new pd(this.c,a,this.b,this.a)};function U(a,b,c){this.a=a;this.b=b;this.c=c}U.prototype.d=ca("a");U.prototype.f=ca("c");U.prototype.e=ca("b");function qd(a,b){U.call(this,a,b.units,j);this.Lb=b}A(qd,U);var rd={},sd={},td={};function ud(a){C(a,function(a){sd[a.a]=a});C(a,function(b){C(a,function(a){vd(b,a,wd)})})}function vd(a,b,c){a=a.a;b=b.a;a in td||(td[a]={});td[a][b]=c}function xd(a){var b=sd[a];"Proj4js"in n&&!t(b)&&(b=yd(a));t(b)||(b=j);return b} +function yd(a){var b=rd[a];t(b)||(b=new Proj4js.Proj(a),b=new qd(a,b),rd[a]=b);return b}function zd(a,b){var c=a.a,d=b.a,e;c in td&&d in td[c]&&(e=td[c][d]);if("Proj4js"in n&&!t(e)){var f;f=(a instanceof qd?a:yd(a.a)).Lb;var g;g=(b instanceof qd?b:yd(a.a)).Lb;e=function(a){a=new Proj4js.Point(a.x,a.y);a=Proj4js.transform(f,g,a);return new T(a.x,a.y)};vd(a,b,e)}t(e)||(e=Ad);return e}function Bd(a,b){var c=xd(a),d=xd(b);return zd(c,d)}function Ad(a){return a}function wd(a){return new T(a.x,a.y)} +var Cd=6378137*Math.PI,Dd=new $c(-Cd,-Cd,Cd,Cd),Ed=za(["EPSG:3857","EPSG:102100","EPSG:102113","EPSG:900913"],function(a){return new U(a,"m",Dd)}),Fd=new $c(-180,-90,180,90),Gd=za(["CRS:84","EPSG:4326","urn:ogc:def:crs:EPSG:6.6:4326"],function(a){return new U(a,"degrees",Fd)});ud(Ed);ud(Gd);function Hd(a){var b=6378137*Math.PI*a.x/180,a=6378137*Math.log(Math.tan(Math.PI*(a.y+90)/360));return new T(b,a)} +function Id(a){return new T(180*a.x/(6378137*Math.PI),360*Math.atan(Math.exp(a.y/6378137))/Math.PI-90)}C(Gd,function(a){C(Ed,function(b){vd(a,b,Hd);vd(b,a,Id)})});function Jd(a,b,c){this.b=a;this.a=b||j;this.c=c||j};function Kd(){I.call(this)}A(Kd,I);m=Kd.prototype;m.qb=i;m.ab=j;m.addEventListener=function(a,b,c,d){J(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){lc(this,a,b,c,d)};m.o=function(){Kd.i.o.call(this);var a,b=0,c=a==j;a=!!a;if(this==j)D(hc,function(d){for(var e=d.length-1;0<=e;e--){var f=d[e];if(c||a==f.capture)L(f.key),b++}});else{var d=w(this);if(hc[d])for(var d=hc[d],e=d.length-1;0<=e;e--){var f=d[e];if(c||a==f.capture)L(f.key),b++}}this.ab=j};function Ld(a,b,c){I.call(this);this.Na=a;this.g=b;this.a=0;this.b=new Image;c!==j&&(this.b.crossOrigin=c);this.d={};this.c=j}A(Ld,Kd);function Md(a,b){if(t(b)){var c,d=w(b);if(d in a.d)return a.d[d];c=Ia(a.d)?a.b:a.b.cloneNode(l);return a.d[d]=c}return a.b}Ld.prototype.e=function(){this.a=3;C(this.c,L);this.c=j};Ld.prototype.f=function(){this.a=2;C(this.c,L);this.c=j;P(this,"change")};function Nd(a){0==a.a&&(a.a=1,a.c=[kc(a.b,"error",a.e,l,a),kc(a.b,"load",a.f,l,a)],a.b.src=a.g)};function Od(a){var b=/\{(\d)-(\d)\}/.exec(a)||/\{([a-z])-([a-z])\}/.exec(a);if(b){var c=[],d=b[2].charCodeAt(0),e;for(e=b[1].charCodeAt(0);e<=d;++e)c.push(a.replace(b[0],String.fromCharCode(e)));return Pd(za(c,Od))}return function(b){return b===j?h:a.replace("{z}",b.j).replace("{x}",b.x).replace("{y}",b.y)}}function Pd(a){return function(b){if(b!==j){var c=tc(b.hash(),a.length);return a[c](b)}}}function Qd(){}function Rd(a,b){return function(c){return c===j?h:b(a(c))}};function Sd(a){return function(){return a}}var Td=Sd(l),Ud=Sd(i);function Vd(a){I.call(this);this.h=t(a.projection)?a.projection:j;this.g=t(a.w)?a.w:a.projection.c;this.a=t(a.F)?a.F:j}A(Vd,Kd);Vd.prototype.V=Ud;function Wd(a){Vd.call(this,{F:a.F,w:a.w,projection:a.projection});this.K=t(a.K)?a.K:j;this.P=t(a.P)?a.P:Qd;this.d=t(a.crossOrigin)?a.crossOrigin:"anonymous";this.b={}}A(Wd,Vd);function Xd(a,b){var c=b.toString();if(c in a.b)return a.b[c];var d=a.P(b),d=t(d)?new Ld(b,d,a.d):j;return a.b[c]=d};function Yd(a){var b=Array(a.z+1),c;for(c=0;c<=a.z;++c)b[c]=Cd/(128<a)break;d=Math.floor(d/2);e=Math.floor(e/2);f=new gd(d,e,d,e);if(b.call(c,a,f))break}};var Zd={Vc:"Aerial",Wc:"AerialWithLabels",ad:"Road",$c:"OrdnanceSurvey",Xc:"CollinsBart"}; +function $d(a){Wd.call(this,{projection:xd("EPSG:3857")});this.fc=t(a.culture)?a.culture:"en-us";this.c=l;var b=new pb("//dev.virtualearth.net/REST/v1/Imagery/Metadata/"+a.style),b=new Sc(b),a={include:"ImageryProviders",key:a.key},c=na(this.e,this),a=a||j,d="_"+(Tc++).toString(36)+pa().toString(36);n._callbacks_||(n._callbacks_={});var e=b.b.G();if(a)for(var f in a)(!a.hasOwnProperty||a.hasOwnProperty(f))&&Eb(e,f,a[f]);c&&(n._callbacks_[d]=function(a){Uc(d,i);c.apply(h,arguments)},Eb(e,b.a,"_callbacks_."+ +d));f=Mc(e.toString(),{timeout:b.Oa,nb:i});f.a.push([j,function(){Uc(d,l)},h]);f.R&&Ic(f)}A($d,Wd); +$d.prototype.e=function(a){var b=a.resourceSets[0].resources[0],c=b.zoomMin,d=b.zoomMax,e=new Yd({z:d,eb:new Xc(b.imageWidth,b.imageHeight)});this.K=e;this.P=Rd(function(a){if(a.je||b<=e?j:new dd(a.j,tc(a.x,b),e)},Pd(za(b.imageUrlSubdomains,function(a){var c=b.imageUrl.replace("{subdomain}",a).replace("{culture}",this.fc);return function(a){return a===j?h:c.replace("{quadkey}",fd(a))}})));var f=xd("EPSG:4326");this.a=za(b.imageryProviders,function(a){var b= +a.attribution,a=za(a.coverageAreas,function(a){var b=a.bbox;return new pd(e,new $c(b[1],b[0],b[3],b[2]),a.zoomMin,a.zoomMax)});return new Jd(b,a,f)});this.c=i;P(this,"load")};$d.prototype.V=ca("c");function V(a){I.call(this);t(a)&&this.Ya(a)}A(V,Kd);var ae={},be={},ce={};function de(a){return a.substr(0,1).toUpperCase()+a.substr(1)}function ee(a){return a.ol_accessors_||(a.ol_accessors_={})}function W(a){return ae[a]||(ae[a]=a.toLowerCase()+"_changed")}function fe(a){return a.ol_bindings_||(a.ol_bindings_={})}m=V.prototype;m.bc=function(a,b,c,d){c=c||a;this.gb(a);var e=W(c);fe(this)[a]=J(b,e,function(){ge(this,a)},h,this);ee(this)[a]={target:b,key:c};d||ge(this,a)};m.ec=s; +m.r=function(a){var b=ee(this);if(a in b){var b=b[a],a=b.target,b=b.key,c=be[b]||(be[b]="get"+de(b));return a[c]?a[c]():a.r(b)}return this[a]};m.Hb=function(a){var b=ee(this);a in b?(a=b[a],a.target.Hb(a.key)):ge(this,a)};function ge(a,b){var c=W(b);P(a,c)}m.set=function(a,b){var c=ee(this);if(a in c){var d=c[a],c=d.target,d=d.key,e=ce[d]||(ce[d]="set"+de(d));if(c[e])c[e](b);else c.set(d,b)}else this[a]=b,ge(this,a)}; +m.Ob=function(a){D(a,function(a,c){var d=ce[c]||(ce[c]="set"+de(c));if(this[d])this[d](a);else this.set(c,a)},this)};m.Ya=V.prototype.Ob;m.gb=function(a){var b=fe(this),c=b[a];c&&(delete b[a],L(c),b=this.r(a),delete ee(this)[a],this[a]=b)};m.Tc=function(){var a=fe(this);C(Ha(a),function(a){this.gb(a)},this)};function he(a,b,c,d,e){Qb.call(this,a,e);this.a=b;this.index=c;this.c=d}A(he,Qb);function X(a){V.call(this);this.a=a||[];ie(this)}A(X,V);m=X.prototype;m.clear=function(){for(;this.length;)this.Ib()};m.forEach=function(a,b){C(this.a,a,b)};m.ic=ca("a");m.jc=function(a){return this.a[a]};m.rb=function(){return this.r("length")};m.Ba=function(a,b){Da(this.a,a,0,b);ie(this);P(this,new he("add",b,h,h,this));P(this,new he("insert_at",b,a,h,this))};m.Ib=function(){return this.Mb(this.rb()-1)}; +m.push=function(a){var b=this.a.length;this.Ba(b,a);return b};m.Mb=function(a){var b=this.a[a];B.splice.call(this.a,a,1);ie(this);P(this,new he("remove",b,h,h,this));P(this,new he("remove_at",h,a,b,this));return b};m.Kc=function(a,b){var c=this.length;if(a=a||96<=a&&106>=a||65<=a&&90>=a||G&&0==a)return i;switch(a){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return i;default:return l}} -function ne(a){switch(a){case 61:return 187;case 59:return 186;case 224:return 91;case 0:return 224;default:return a}};function oe(a,b){I.call(this);a&&(this.Da&&pe(this),this.ha=a,this.Ca=J(this.ha,"keypress",this,b),this.Xa=J(this.ha,"keydown",this.a,b,this),this.Da=J(this.ha,"keyup",this.b,b,this))}A(oe,Jd);m=oe.prototype;m.ha=j;m.Ca=j;m.Xa=j;m.Da=j;m.O=-1;m.N=-1;m.Ra=l; +function ne(a){switch(a){case 61:return 187;case 59:return 186;case 224:return 91;case 0:return 224;default:return a}};function oe(a,b){I.call(this);a&&(this.Da&&pe(this),this.ha=a,this.Ca=J(this.ha,"keypress",this,b),this.Xa=J(this.ha,"keydown",this.a,b,this),this.Da=J(this.ha,"keyup",this.b,b,this))}A(oe,Kd);m=oe.prototype;m.ha=j;m.Ca=j;m.Xa=j;m.Da=j;m.O=-1;m.N=-1;m.Ra=l; var qe={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},re={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},se=E||G&&H("525"),te=Ua&&F; oe.prototype.a=function(a){if(G&&(17==this.O&&!a.va||18==this.O&&!a.I))this.N=this.O=-1;se&&!le(a.aa,this.O,a.U,a.va,a.I)?this.handleEvent(a):(this.N=F?ne(a.aa):a.aa,te&&(this.Ra=a.I))};oe.prototype.b=function(a){this.N=this.O=-1;this.Ra=a.I}; oe.prototype.handleEvent=function(a){var b=a.A,c,d,e=b.altKey;E&&"keypress"==a.type?(c=this.N,d=13!=c&&27!=c?b.keyCode:0):G&&"keypress"==a.type?(c=this.N,d=0<=b.charCode&&63232>b.charCode&&me(c)?b.charCode:0):ab?(c=this.N,d=me(c)?b.keyCode:0):(c=b.keyCode||this.N,d=b.charCode||0,te&&(e=this.Ra),Ua&&(63==d&&224==c)&&(c=191));var f=c,g=b.keyIdentifier;c?63232<=c&&c in qe?f=qe[c]:25==c&&a.U&&(f=9):g&&g in re&&(f=re[g]);a=f==this.O;this.O=f;b=new ue(f,d,a,b);b.I=e;P(this,b)}; @@ -65,75 +65,75 @@ function Be(a,b){var c,d,e=F&&(Ua||db)&&H("1.9");b instanceof R?(c=b.x,d=b.y):(c function Ee(a){if(E&&!nb(8))return a.offsetParent;for(var b=xc(a),c=Ae(a,"position"),d="fixed"==c||"absolute"==c,a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=Ae(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return j}function Fe(a,b){var c=Ge(a),d=Ge(b);return new R(c.x-d.x,c.y-d.y)} function Ge(a){var b=new R;if(1==a.nodeType){if(a.getBoundingClientRect){var c=De(a);b.x=c.left;b.y=c.top}else{c=Fc(vc(a));var d,e=xc(a),f=Ae(a,"position"),g=F&&e.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==f&&(d=e.getBoxObjectFor(a))&&(0>d.screenX||0>d.screenY),k=new R(0,0),q;d=e?xc(e):document;if(q=E)if(q=!nb(9))vc(d),q=l;q=q?d.body:d.documentElement;if(a!=q)if(a.getBoundingClientRect)d=De(a),e=Fc(vc(e)),k.x=d.left+e.x,k.y=d.top+e.y;else if(e.getBoxObjectFor&&!g)d=e.getBoxObjectFor(a), e=e.getBoxObjectFor(q),k.x=d.screenX-e.screenX,k.y=d.screenY-e.screenY;else{g=a;do{k.x+=g.offsetLeft;k.y+=g.offsetTop;g!=a&&(k.x+=g.clientLeft||0,k.y+=g.clientTop||0);if(G&&"fixed"==Ae(g,"position")){k.x+=e.body.scrollLeft;k.y+=e.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);if(ab||G&&"absolute"==f)k.y-=e.body.offsetTop;for(g=a;(g=Ee(g))&&g!=e.body&&g!=q;)if(k.x-=g.scrollLeft,!ab||"TR"!=g.tagName)k.y-=g.scrollTop}b.x=k.x-c.x;b.y=k.y-c.y}if(F&&!H(12)){var u;E?u="-ms-transform":G?u="-webkit-transform": -ab?u="-o-transform":F&&(u="-moz-transform");var r;u&&(r=Ae(a,u));r||(r=Ae(a,"transform"));r?(a=r.match(He),a=!a?new R(0,0):new R(parseFloat(a[1]),parseFloat(a[2]))):a=new R(0,0);b=new R(b.x+a.x,b.y+a.y)}}else u=ha(a.lc),r=a,a.targetTouches?r=a.targetTouches[0]:u&&a.A.targetTouches&&(r=a.A.targetTouches[0]),b.x=r.clientX,b.y=r.clientY;return b}function Ce(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Ie(a,b){a.style.display=b?"":"none"} +ab?u="-o-transform":F&&(u="-moz-transform");var r;u&&(r=Ae(a,u));r||(r=Ae(a,"transform"));r?(a=r.match(He),a=!a?new R(0,0):new R(parseFloat(a[1]),parseFloat(a[2]))):a=new R(0,0);b=new R(b.x+a.x,b.y+a.y)}}else u=ha(a.kc),r=a,a.targetTouches?r=a.targetTouches[0]:u&&a.A.targetTouches&&(r=a.A.targetTouches[0]),b.x=r.clientX,b.y=r.clientY;return b}function Ce(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Ie(a,b){a.style.display=b?"":"none"} function Je(a,b){vc(xc(a));if(E&&!H("8")){var c=a.style,d;if(E){d=Ke(a,ze(a,"paddingLeft"));var e=Ke(a,ze(a,"paddingRight")),f=Ke(a,ze(a,"paddingTop")),g=Ke(a,ze(a,"paddingBottom"));d=new ve(f,e,g,d)}else d=ye(a,"paddingLeft"),e=ye(a,"paddingRight"),f=ye(a,"paddingTop"),g=ye(a,"paddingBottom"),d=new ve(parseFloat(f),parseFloat(e),parseFloat(g),parseFloat(d));if(E)var e=Le(a,"borderLeft"),f=Le(a,"borderRight"),g=Le(a,"borderTop"),k=Le(a,"borderBottom"),e=new ve(g,f,k,e);else e=ye(a,"borderLeftWidth"), f=ye(a,"borderRightWidth"),g=ye(a,"borderTopWidth"),k=ye(a,"borderBottomWidth"),e=new ve(parseFloat(g),parseFloat(f),parseFloat(k),parseFloat(e));c.pixelWidth=b.width-e.left-d.left-d.right-e.right;c.pixelHeight=b.height-e.top-d.top-d.bottom-e.bottom}else c=a.style,F?c.MozBoxSizing="border-box":G?c.WebkitBoxSizing="border-box":c.boxSizing="border-box",c.width=Math.max(b.width,0)+"px",c.height=Math.max(b.height,0)+"px"} -function Ke(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;var e=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return e}var Me={thin:2,medium:4,thick:6};function Le(a,b){if("none"==ze(a,b+"Style"))return 0;var c=ze(a,b+"Width");return c in Me?Me[c]:Ke(a,c)}var He=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;function Ne(a){I.call(this);this.a=a;a=ia(this.a)&&1==this.a.nodeType?this.a:this.a?this.a.body:j;this.e=!!a&&"rtl"==Ae(a,"direction");this.b=J(this.a,F?"DOMMouseScroll":"mousewheel",this)}A(Ne,Jd); +function Ke(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;var e=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return e}var Me={thin:2,medium:4,thick:6};function Le(a,b){if("none"==ze(a,b+"Style"))return 0;var c=ze(a,b+"Width");return c in Me?Me[c]:Ke(a,c)}var He=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;function Ne(a){I.call(this);this.a=a;a=ia(this.a)&&1==this.a.nodeType?this.a:this.a?this.a.body:j;this.e=!!a&&"rtl"==Ae(a,"direction");this.b=J(this.a,F?"DOMMouseScroll":"mousewheel",this)}A(Ne,Kd); Ne.prototype.handleEvent=function(a){var b=0,c=0,d=0,a=a.A;if("mousewheel"==a.type){c=1;if(E||G&&(Va||H("532.0")))c=40;d=Oe(-a.wheelDelta,c);t(a.wheelDeltaX)?(b=Oe(-a.wheelDeltaX,c),c=Oe(-a.wheelDeltaY,c)):c=d}else d=a.detail,100d&&(d=-3),t(a.axis)&&a.axis===a.HORIZONTAL_AXIS?b=d:c=d;"number"==typeof this.c&&(b=sc(b,-this.c,this.c));"number"==typeof this.d&&(c=sc(c,-this.d,this.d));this.e&&(b=-b);b=new Pe(d,a,b,c);P(this,b)};function Oe(a,b){return G&&(Ua||Wa)&&0!=a%b?a:a/b} -Ne.prototype.o=function(){Ne.i.o.call(this);L(this.b);delete this.b};function Pe(a,b,c,d){b&&Ub(this,b,h);this.type="mousewheel";this.e=a;this.c=c;this.a=d}A(Pe,Tb);var Qe=n.window;function Re(a,b,c){I.call(this);this.b=a;this.e=b||0;this.c=c;this.d=na(this.f,this)}A(Re,I);Re.prototype.a=0;Re.prototype.o=function(){Re.i.o.call(this);Se(this);delete this.b;delete this.c};function Se(a){0!=a.a&&Qe.clearTimeout(a.a);a.a=0}Re.prototype.f=function(){this.a=0;this.b&&this.b.call(this.c)};var Te={},Ue=j;function Ve(){Ue||(Ue=new Re(function(){pa();D(Te,function(a){We(a)});Ia(Te)||Ve()},20));var a=Ue;if(0==a.a){Se(a);var b;b=a.d;var c=t(h)?h:a.e;if(!ha(b))if(b&&"function"==typeof b.handleEvent)b=na(b.handleEvent,b);else throw Error("Invalid listener argument");b=2147483647c.a?this.a:-this.a,d);a.t();c.t()}};function Nf(a,b){V.call(this);this.e=a;this.a=b;J(this.a,W("brightness"),this.xb,l,this);J(this.a,W("contrast"),this.yb,l,this);J(this.a,W("hue"),this.zb,l,this);J(this.a,"load",this.Za,l,this);J(this.a,W("opacity"),this.xa,l,this);J(this.a,W("saturation"),this.Ab,l,this);J(this.a,W("visible"),this.ya,l,this)}A(Nf,V);m=Nf.prototype;m.H=ca("a");m.S=ca("e");m.xb=s;m.yb=s;m.zb=s;m.Za=s;m.xa=s;m.Ab=s;m.ya=s;function Of(a){this.length=a.length||a;for(var b=0;bc.a?this.a:-this.a,d);a.t();c.t()}};function Nf(a,b){V.call(this);this.e=a;this.a=b;J(this.a,W("brightness"),this.wb,l,this);J(this.a,W("contrast"),this.xb,l,this);J(this.a,W("hue"),this.yb,l,this);J(this.a,"load",this.Za,l,this);J(this.a,W("opacity"),this.xa,l,this);J(this.a,W("saturation"),this.zb,l,this);J(this.a,W("visible"),this.ya,l,this)}A(Nf,V);m=Nf.prototype;m.H=ca("a");m.S=ca("e");m.wb=s;m.xb=s;m.yb=s;m.Za=s;m.xa=s;m.zb=s;m.ya=s;function Of(a){this.length=a.length||a;for(var b=0;bthis.l&&(0===this.oa?We(this):this.na=i)}; -function We(a){var b=a.f.p();a.na=l;if(b!=a.Rb){if(b){if(1==++a.l){var c=w(a);c in Te||(Te[c]=a);Ve()}}else 0===--a.l&&(c=w(a),delete Te[c],Ia(Te)&&Ue&&Se(Ue));a.Rb=b}P(a,tg)}m.rotate=function(a,b){a=this.J.a(a,b);this.Ka(a)};m.Nc=function(a){this.set(Xf,a)};Z.prototype.setBackgroundColor=Z.prototype.Nc;Z.prototype.h=function(a){this.set(uf,a)};Z.prototype.setCenter=Z.prototype.h;Z.prototype.Zb=function(a){this.set(tf,a)};Z.prototype.setLayers=Z.prototype.Zb; -Z.prototype.Yb=function(a){this.set("projection",a)};Z.prototype.setProjection=Z.prototype.Yb;Z.prototype.v=function(a){this.set(vf,a)};Z.prototype.setResolution=Z.prototype.v;Z.prototype.Ka=function(a){this.set(Yf,a)};Z.prototype.setRotation=Z.prototype.Ka;Z.prototype.lb=function(a){this.set(wf,a)};Z.prototype.setSize=Z.prototype.lb;Z.prototype.$b=function(a){this.h(this.bb(a))};Z.prototype.setUserCenter=Z.prototype.$b;Z.prototype.ac=function(a){this.set("userProjection",a)}; -Z.prototype.setUserProjection=Z.prototype.ac;function Jf(a,b,c){++a.oa;try{b.call(c)}finally{0===--a.oa&&(1>a.l&&a.na)&&We(a)}}Z.prototype.zoom=function(a,b){var c=this.J.resolution(this.a(),a);if(c!=j&&b!=j){var d=this.c(),e=this.a(),f=new T(b.x-c*(b.x-d.x)/e,b.y-c*(b.y-d.y)/e);Jf(this,function(){this.h(f);this.v(c)},this)}else this.v(c)};function Eg(a){var b=Bc("DIV",{"class":"ol-mouse-position"});nf.call(this,{element:b,map:a.map,target:a.target});this.h=a.projection;this.e=a.coordinateFormat;this.d=t(a.undefinedHtml)?a.undefinedHtml:"";this.c=zd;this.b=[];this.f()}A(Eg,nf);Eg.prototype.f=function(){Fg(this);this.element.innerHTML=this.d};Eg.prototype.l=function(a){var b=this.a,a=Fe(a,b.b),b=b.u()?ef(b.f,new bf(a.x,a.y)):j;b===j?b=this.d:(b=this.c(b),b=t(this.e)?this.e(b):b.toString());this.element.innerHTML=b}; -Eg.prototype.m=function(){this.element.innerHTML=this.d};Eg.prototype.C=function(a){this.b!==j&&(C(this.b,L),this.b=j);Eg.i.C.call(this,a);if(a!==j){var b=a.b;this.s=[J(a,W("projection"),this.f,l,this),J(b,"mousemove",this.l,l,this),J(b,"mouseout",this.m,l,this)];Fg(this)}};function Fg(a){var b=a.a;b===j?a.c=zd:(b=b.g(),a.c=!t(b)||!t(a.h)?zd:yd(b,a.h))};function Gg(){this.a={}}A(Gg,yf);Gg.prototype.c=function(a,b){var c;for(c=0;cg||f<=g)return j;f=tc(b.x,f);return!Yc(jd(c,new cd(b.j,f,b.y)),d)?j:new cd(b.j,f,g)},b):Qd(function(b){if(a.zd||c<=d?j:new cd(b.j,tc(b.x,c),d)},b);Vd.call(this,{F:a.F,crossOrigin:a.crossOrigin,w:a.w,projection:wd("EPSG:3857"),K:c,P:b})}A(Mg,Vd);function Ng(){Mg.call(this,{F:[new Id('Tiles Courtesy of MapQuest '),new Id('Data © OpenStreetMap contributors, CC BY-SA')],z:28,url:"http://otile{1-4}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.jpg"})}A(Ng,Mg); -function Og(){Mg.call(this,{F:[new Id('Tiles Courtesy of MapQuest '),new Id("Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency")],z:18,url:"http://oatile{1-4}.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg"})}A(Og,Mg);function Pg(){Mg.call(this,{F:[new Id('© OpenStreetMap contributors, CC BY-SA')],z:18,url:"http://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png"})}A(Pg,Mg);var Qg={terrain:{type:"jpg",Gb:4,z:18},toner:{type:"png",Gb:0,z:20},watercolor:{type:"jpg",Gb:3,z:16}}; -function Rg(a){var b=new Id('Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.'),c=a.Lc;t(a.ic)&&(c+="-"+a.ic);a=Qg[a.Lc];Mg.call(this,{F:[b],z:a.z,url:"http://{a-d}.tile.stamen.com/"+c+"/{z}/{x}/{y}."+a.type})}A(Rg,Mg);var Sg=[];z("grid",function(a){Sg.push(a)});function Tg(a){Vd.call(this,{projection:wd("EPSG:3857")});this.c=l;a=this.e=Mc(a.uri,{nb:i});a.a.push([this.f,j,this]);a.R&&Ic(a)}A(Tg,Vd); -Tg.prototype.f=function(){var a=Sg.pop(),b=wd("EPSG:4326"),c,d;t(a.bounds)?(c=a.bounds,c=new Zc(c[0],c[1],c[2],c[3]),this.g=d=c.transform(yd(b,this.h))):d=c=j;var e=a.minzoom||0,f=a.maxzoom||22,g=new Xd({z:f});this.K=g;this.P=Qd(function(a){if(a.jc||b<=c)return j;b=tc(a.x,b);return d!==j&&!Yc(jd(g,new cd(a.j,b,a.y)),d)?j:new cd(a.j,b,c)},Od(za(a.tiles,Nd)));t(a.attribution)&&(this.a=[new Id(a.attribution,[new od(g,c,e,f)],b)]);this.c=i;P(this,"load")}; -Tg.prototype.V=ca("c");z("goog.require",s);z("ol.BingMapsStyle",Yd);Yd.AERIAL="Aerial";Yd.AERIAL_WITH_LABELS="AerialWithLabels";Yd.COLLINS_BART="CollinsBart";Yd.ORDNANCE_SURVEY="OrdnanceSurvey";Yd.ROAD="Road";z("ol.Collection",X);X.prototype.clear=X.prototype.clear;X.prototype.forEach=X.prototype.forEach;X.prototype.getArray=X.prototype.jc;X.prototype.getAt=X.prototype.kc;X.prototype.getLength=X.prototype.sb;X.prototype.insertAt=X.prototype.Ba;X.prototype.pop=X.prototype.Jb;X.prototype.push=X.prototype.push; -X.prototype.removeAt=X.prototype.Nb;X.prototype.setAt=X.prototype.Mc;z("ol.Coordinate",T);z("ol.CoordinateFormat",ie);ie.hdms=ie.Dc;z("ol.Extent",Zc); +a.mouseWheelZoomDelta:1));(t(a.shiftDragZoom)?a.shiftDragZoom:1)&&b.push(new If(Cf))}a=v(a.target)?document.getElementById(a.target):a.target;this.bb=Ad;this.jb=wd;this.Qb=l;this.oa=this.l=0;this.na=l;this.qa=a;this.J=f;this.b=Bc("DIV","ol-viewport");this.b.style.position="relative";this.b.style.overflow="hidden";this.b.style.width="100%";this.b.style.height="100%";this.qa.appendChild(this.b);this.s=Bc("DIV","ol-overlaycontainer");J(this.s,["click",Xe?"touchstart":"mousedown"],Rb);this.b.appendChild(this.s); +a=new ff(this);J(a,[hf,jf,lf,mf,kf],this.Jb,l,this);Nb(this,a);a=new oe(document);J(a,"key",this.tb,l,this);Nb(this,a);a=new Ne(this.b);J(a,"mousewheel",this.tb,l,this);Nb(this,a);this.m=e;J(this.m,"add",this.sc,l,this);J(this.m,"remove",this.tc,l,this);this.ib=b;this.f=new c(this.b,this);Nb(this,this.f);this.ac=new je;J(this.ac,"resize",this.ub,l,this);J(this,W("projection"),this.xc,l,this);J(this,W("userProjection"),this.Ac,l,this);this.Ya(d);this.ub();this.m.forEach(function(a){a.C(this)},this)} +A(Z,V);Z.prototype.o=function(){Ec(this.b);Z.i.o.call(this)};Z.prototype.Tb=function(){return this.r(Xf)};Z.prototype.getBackgroundColor=Z.prototype.Tb;Z.prototype.c=function(){return this.r(uf)};Z.prototype.getCenter=Z.prototype.c;Z.prototype.Vb=ca("m");function qf(a){if(a.u()){var b=a.c(),c=a.a(),a=a.d();return new $c(b.x-c*a.width/2,b.y-c*a.height/2,b.x+c*a.width/2,b.y+c*a.height/2)}}Z.prototype.Wb=ca("ib"); +function Hf(a,b){if(a.u()){var c=a.f;$f(c);var d=[b.x,b.y,0];Sf(c.c,d,d);return new bf(d[0],d[1])}}Z.prototype.g=function(){return this.r("projection")};Z.prototype.getProjection=Z.prototype.g;Z.prototype.a=function(){return this.r(vf)};Z.prototype.getResolution=Z.prototype.a;function dg(a){var b=a.c(),c=a.a(),d=a.e()||0,e=a.d(),a=c*e.width/2,c=c*e.height/2,c=[new T(-a,-c),new T(-a,c),new T(a,-c),new T(a,c)];C(c,function(a){a.rotate(d);a.add(b)});return ad.apply(j,c)} +Z.prototype.e=function(){return this.r(Yf)||0};Z.prototype.getRotation=Z.prototype.e;Z.prototype.d=function(){return this.r(wf)};Z.prototype.getSize=Z.prototype.d;Z.prototype.Ub=function(){return this.r("userProjection")};Z.prototype.getUserProjection=Z.prototype.Ub;m=Z.prototype;m.tb=function(a,b){this.Jb(new cf(b||a.type,this,a))};m.sc=function(a){a.a.C(this)};m.tc=function(a){a.a.C(j)};m.Jb=function(a){var b=this.ib.a;if(P(this,a)!==l)for(var c=b.length-1;0<=c&&!(b[c].b(a),a.wa);c--);};m.xc=function(){Dg(this)}; +m.Ac=function(){Dg(this)};m.ub=function(){this.lb(new Xc(this.qa.clientWidth,this.qa.clientHeight))};m.u=function(){var a;if(a=this.c()!=j)if(a=t(this.a()))a=this.d()!=j;return a};function Dg(a){var b=a.g(),c=a.Ub();b!=j&&c!=j?(a.jb=zd(b,c),a.bb=zd(c,b)):(a.jb=wd,a.bb=Ad)}m.p=function(){1>this.l&&(0===this.oa?We(this):this.na=i)}; +function We(a){var b=a.f.p();a.na=l;if(b!=a.Qb){if(b){if(1==++a.l){var c=w(a);c in Te||(Te[c]=a);Ve()}}else 0===--a.l&&(c=w(a),delete Te[c],Ia(Te)&&Ue&&Se(Ue));a.Qb=b}P(a,tg)}m.rotate=function(a,b){a=this.J.a(a,b);this.Ka(a)};m.Lc=function(a){this.set(Xf,a)};Z.prototype.setBackgroundColor=Z.prototype.Lc;Z.prototype.h=function(a){this.set(uf,a)};Z.prototype.setCenter=Z.prototype.h;Z.prototype.Yb=function(a){this.set(tf,a)};Z.prototype.setLayers=Z.prototype.Yb; +Z.prototype.Xb=function(a){this.set("projection",a)};Z.prototype.setProjection=Z.prototype.Xb;Z.prototype.v=function(a){this.set(vf,a)};Z.prototype.setResolution=Z.prototype.v;Z.prototype.Ka=function(a){this.set(Yf,a)};Z.prototype.setRotation=Z.prototype.Ka;Z.prototype.lb=function(a){this.set(wf,a)};Z.prototype.setSize=Z.prototype.lb;Z.prototype.Zb=function(a){this.h(this.bb(a))};Z.prototype.setUserCenter=Z.prototype.Zb;Z.prototype.$b=function(a){this.set("userProjection",a)}; +Z.prototype.setUserProjection=Z.prototype.$b;function Jf(a,b,c){++a.oa;try{b.call(c)}finally{0===--a.oa&&(1>a.l&&a.na)&&We(a)}}Z.prototype.zoom=function(a,b){var c=this.J.resolution(this.a(),a);if(c!=j&&b!=j){var d=this.c(),e=this.a(),f=new T(b.x-c*(b.x-d.x)/e,b.y-c*(b.y-d.y)/e);Jf(this,function(){this.h(f);this.v(c)},this)}else this.v(c)};function Eg(a){var b=Bc("DIV",{"class":"ol-mouse-position"});nf.call(this,{element:b,map:a.map,target:a.target});this.h=a.projection;this.e=a.coordinateFormat;this.d=t(a.undefinedHtml)?a.undefinedHtml:"";this.c=Ad;this.b=[];this.f()}A(Eg,nf);Eg.prototype.f=function(){Fg(this);this.element.innerHTML=this.d};Eg.prototype.l=function(a){var b=this.a,a=Fe(a,b.b),b=b.u()?ef(b.f,new bf(a.x,a.y)):j;b===j?b=this.d:(b=this.c(b),b=t(this.e)?this.e(b):b.toString());this.element.innerHTML=b}; +Eg.prototype.m=function(){this.element.innerHTML=this.d};Eg.prototype.C=function(a){this.b!==j&&(C(this.b,L),this.b=j);Eg.i.C.call(this,a);if(a!==j){var b=a.b;this.s=[J(a,W("projection"),this.f,l,this),J(b,"mousemove",this.l,l,this),J(b,"mouseout",this.m,l,this)];Fg(this)}};function Fg(a){var b=a.a;b===j?a.c=Ad:(b=b.g(),a.c=!t(b)||!t(a.h)?Ad:zd(b,a.h))};function Gg(){this.a={}}A(Gg,yf);Gg.prototype.c=function(a,b){var c;for(c=0;cg||f<=g)return j;f=tc(b.x,f);return!Zc(kd(c,new dd(b.j,f,b.y)),d)?j:new dd(b.j,f,g)},b):Rd(function(b){if(a.zd||c<=d?j:new dd(b.j,tc(b.x,c),d)},b);Wd.call(this,{F:a.F,crossOrigin:a.crossOrigin,w:a.w,projection:xd("EPSG:3857"),K:c,P:b})}A(Mg,Wd);function Ng(){Mg.call(this,{F:[new Jd('Tiles Courtesy of MapQuest '),new Jd('Data © OpenStreetMap contributors, CC BY-SA')],z:28,url:"http://otile{1-4}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.jpg"})}A(Ng,Mg); +function Og(){Mg.call(this,{F:[new Jd('Tiles Courtesy of MapQuest '),new Jd("Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency")],z:18,url:"http://oatile{1-4}.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg"})}A(Og,Mg);function Pg(){Mg.call(this,{F:[new Jd('© OpenStreetMap contributors, CC BY-SA')],z:18,url:"http://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png"})}A(Pg,Mg);var Qg={terrain:{type:"jpg",Fb:4,z:18},toner:{type:"png",Fb:0,z:20},watercolor:{type:"jpg",Fb:3,z:16}}; +function Rg(a){var b=new Jd('Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.'),c=a.Jc;t(a.hc)&&(c+="-"+a.hc);a=Qg[a.Jc];Mg.call(this,{F:[b],z:a.z,url:"http://{a-d}.tile.stamen.com/"+c+"/{z}/{x}/{y}."+a.type})}A(Rg,Mg);var Sg=[];z("grid",function(a){Sg.push(a)});function Tg(a){Wd.call(this,{projection:xd("EPSG:3857")});this.c=l;a=this.e=Mc(a.uri,{nb:i});a.a.push([this.f,j,this]);a.R&&Ic(a)}A(Tg,Wd); +Tg.prototype.f=function(){var a=Sg.pop(),b=xd("EPSG:4326"),c,d;t(a.bounds)?(c=a.bounds,c=new $c(c[0],c[1],c[2],c[3]),this.g=d=c.transform(zd(b,this.h))):d=c=j;var e=a.minzoom||0,f=a.maxzoom||22,g=new Yd({z:f});this.K=g;this.P=Rd(function(a){if(a.jc||b<=c)return j;b=tc(a.x,b);return d!==j&&!Zc(kd(g,new dd(a.j,b,a.y)),d)?j:new dd(a.j,b,c)},Pd(za(a.tiles,Od)));t(a.attribution)&&(this.a=[new Jd(a.attribution,[new pd(g,c,e,f)],b)]);this.c=i;P(this,"load")}; +Tg.prototype.V=ca("c");z("goog.require",s);z("ol.BingMapsStyle",Zd);Zd.AERIAL="Aerial";Zd.AERIAL_WITH_LABELS="AerialWithLabels";Zd.COLLINS_BART="CollinsBart";Zd.ORDNANCE_SURVEY="OrdnanceSurvey";Zd.ROAD="Road";z("ol.Collection",X);X.prototype.clear=X.prototype.clear;X.prototype.forEach=X.prototype.forEach;X.prototype.getArray=X.prototype.ic;X.prototype.getAt=X.prototype.jc;X.prototype.getLength=X.prototype.rb;X.prototype.insertAt=X.prototype.Ba;X.prototype.pop=X.prototype.Ib;X.prototype.push=X.prototype.push; +X.prototype.removeAt=X.prototype.Mb;X.prototype.setAt=X.prototype.Kc;z("ol.Coordinate",T);T.toStringHDMS=function(a){return t(a)?Wc(a.y,"NS")+" "+Wc(a.x,"EW"):""};z("ol.Extent",$c); function Ug(a){Z.call(this,{center:a.center,controls:a.controls,doubleClickZoom:a.doubleClickZoom,dragPan:a.dragPan,interactions:a.interactions,keyboard:a.keyboard,keyboardPanOffset:a.keyboardPanOffset,layers:a.layers,maxResolution:a.maxResolution,mouseWheelZoom:a.mouseWheelZoom,mouseWheelZoomDelta:a.mouseWheelZoomDelta,numZoomLevels:a.numZoomLevels,projection:a.projection,renderer:a.renderer,renderers:a.renderers,resolution:a.resolution,resolutions:a.resolutions,rotate:a.rotate,shiftDragZoom:a.shiftDragZoom, -target:a.target,userProjection:a.userProjection,zoom:a.zoom,zoomDelta:a.zoomDelta,zoomFactor:a.zoomFactor})}A(Ug,Z);z("ol.Map",Ug);Z.prototype.getControls=Z.prototype.Wb;Z.prototype.getInteractions=Z.prototype.Xb;cf.prototype.getCoordinate=cf.prototype.c;z("ol.Object",V);V.prototype.bindTo=V.prototype.cc;V.prototype.changed=V.prototype.fc;V.prototype.get=V.prototype.r;V.prototype.notify=V.prototype.Ib;V.prototype.set=V.prototype.set;V.prototype.setOptions=V.prototype.Pb;V.prototype.setValues=V.prototype.Ya; -V.prototype.unbind=V.prototype.gb;V.prototype.unbindAll=V.prototype.Vc;z("ol.Projection",U);U.getFromCode=wd;U.getTransform=yd;U.getTransformFromCodes=Ad;U.transform=function(a,b,c){return yd(b,c)(a)};U.transformWithCodes=function(a,b,c){return Ad(b,c)(a)};U.prototype.getCode=U.prototype.d;U.prototype.getExtent=U.prototype.f;U.prototype.getUnits=U.prototype.e;z("ol.RendererHint",Bg);Bg.DOM="dom";Bg.WEBGL="webgl";function Vg(a){of.call(this,{map:a.map,target:a.target})}A(Vg,of); +target:a.target,userProjection:a.userProjection,zoom:a.zoom,zoomDelta:a.zoomDelta,zoomFactor:a.zoomFactor})}A(Ug,Z);z("ol.Map",Ug);Z.prototype.getControls=Z.prototype.Vb;Z.prototype.getInteractions=Z.prototype.Wb;cf.prototype.getCoordinate=cf.prototype.c;z("ol.Object",V);V.prototype.bindTo=V.prototype.bc;V.prototype.changed=V.prototype.ec;V.prototype.get=V.prototype.r;V.prototype.notify=V.prototype.Hb;V.prototype.set=V.prototype.set;V.prototype.setOptions=V.prototype.Ob;V.prototype.setValues=V.prototype.Ya; +V.prototype.unbind=V.prototype.gb;V.prototype.unbindAll=V.prototype.Tc;z("ol.Projection",U);U.getFromCode=xd;U.getTransform=zd;U.getTransformFromCodes=Bd;U.transform=function(a,b,c){return zd(b,c)(a)};U.transformWithCodes=function(a,b,c){return Bd(b,c)(a)};U.prototype.getCode=U.prototype.d;U.prototype.getExtent=U.prototype.f;U.prototype.getUnits=U.prototype.e;z("ol.RendererHint",Bg);Bg.DOM="dom";Bg.WEBGL="webgl";function Vg(a){of.call(this,{map:a.map,target:a.target})}A(Vg,of); z("ol.control.Attribution",Vg);function Wg(a){Eg.call(this,{coordinateFormat:a.coordinateFormat,map:a.map,projection:a.projection,target:a.target,undefinedHtml:a.undefinedHtml})}A(Wg,Eg);z("ol.control.MousePosition",Wg);function Xg(a){xf.call(this,{delta:a.delta,map:a.map,target:a.target})}A(Xg,xf);z("ol.control.Zoom",Xg);z("ol.interaction.Keyboard",Gg);Gg.prototype.addCallback=Gg.prototype.c; -function Yg(a){Y.call(this,{brightness:a.brightness,contrast:a.contrast,hue:a.hue,opacity:a.opacity,saturation:a.saturation,source:a.source,visible:a.visible})}A(Yg,ag);z("ol.layer.TileLayer",Yg);function Zg(a){Hg.call(this,{coordinate:a.coordinate,element:a.element,map:a.map,positioning:a.positioning})}A(Zg,Hg);z("ol.overlay.Overlay",Zg);Hg.prototype.getElement=Hg.prototype.l;Hg.prototype.setCoordinate=Hg.prototype.h;Hg.prototype.setMap=Hg.prototype.g;z("ol.source.BingMaps",Zd); +function Yg(a){Y.call(this,{brightness:a.brightness,contrast:a.contrast,hue:a.hue,opacity:a.opacity,saturation:a.saturation,source:a.source,visible:a.visible})}A(Yg,ag);z("ol.layer.TileLayer",Yg);function Zg(a){Hg.call(this,{coordinate:a.coordinate,element:a.element,map:a.map,positioning:a.positioning})}A(Zg,Hg);z("ol.overlay.Overlay",Zg);Hg.prototype.getElement=Hg.prototype.l;Hg.prototype.setCoordinate=Hg.prototype.h;Hg.prototype.setMap=Hg.prototype.g;z("ol.source.BingMaps",$d); z("ol.source.MapQuestOSM",Ng);z("ol.source.MapQuestOpenAerial",Og);z("ol.source.OpenStreetMap",Pg);z("ol.source.Stamen",Rg);z("ol.source.TileJSON",Tg);})(); diff --git a/master/examples/Jugl.js b/master/examples/Jugl.js new file mode 100644 index 0000000000..4f81a275cb --- /dev/null +++ b/master/examples/Jugl.js @@ -0,0 +1,8 @@ +/* + * Jugl.js -- JavaScript Template Library + * + * Copyright 2007-2010 Tim Schaub + * Released under the MIT license. Please see + * http://github.com/tschaub/jugl/blob/master/license.txt for the full license. + */ +(function(){var f={prefix:"jugl",namespaceURI:null,loadTemplate:function(h){var i=function(l){var m,k,n=!l.status||(l.status>=200&&l.status<300);if(n){try{m=l.responseXML;k=new e(m.documentElement)}catch(j){m=document.createElement("div");m.innerHTML=l.responseText;k=new e(m.firstChild)}if(h.callback){h.callback.call(h.scope,k)}}else{if(h.failure){h.failure.call(h.scope,l)}}};d(h.url,i)}};var g=function(h,j){h=h||{};j=j||{};for(var i in j){h[i]=j[i]}return h};var a=function(l,o){var m,n,k,j,h;if(typeof(l)==="string"){m=document.getElementById(l);if(!m){throw Error("Element id not found: "+l)}l=m}if(typeof(o)==="string"){m=document.getElementById(o);if(!m){throw Error("Element id not found: "+o)}o=m}if(o.namespaceURI&&o.xml){n=document.createElement("div");n.innerHTML=o.xml;k=n.childNodes;for(j=0,h=k.length;jOpenLayers Exampleshttp://openlayers.github.com/ol3/master/examples/example-list.xml#2012-10-21T07:26:32Z2012-10-21T07:26:32ZFull-screen examplefullscreen, mapquest, openaerial, tile, tilelayerExample of a full-screen map.2012-10-21T21:11:27+0200Éric Lemoinehttp://openlayers.github.com/ol3/master/examples/full-screen.html#2012-10-21T21:11:27+0200Overlay exampleoverlay, popup, mapquest, openaerialDemonstrates Overlays.2012-10-21T21:11:27+0200Éric Lemoinehttp://openlayers.github.com/ol3/master/examples/overlay-and-popup.html#2012-10-21T21:11:27+0200Side-by-side exampleside-by-side, webgl, dom, sync, objectSide-by-side DOM and WebGL sync'ed maps.2012-10-20T21:43:34+0200Éric Lemoinehttp://openlayers.github.com/ol3/master/examples/side-by-side.html#2012-10-20T21:43:34+0200Two-layer examplelayers, tilejson, bing, bingmapsSync'ed DOM and WebGL maps with two layers.2012-10-20T21:43:34+0200Éric Lemoinehttp://openlayers.github.com/ol3/master/examples/two-layers.html#2012-10-20T21:43:34+0200 \ No newline at end of file diff --git a/master/examples/full-screen.html b/master/examples/full-screen.html index f4fb9d5b62..53db08f8af 100644 --- a/master/examples/full-screen.html +++ b/master/examples/full-screen.html @@ -12,11 +12,36 @@ width: 100%; height: 100%; } + #text { + position: absolute; + top: 8px; + right: 8px; + z-index: 20000; + background-color: white; + padding: 0 0.5em 0.5em 0.5em; + border-radius: 4px; + } + @media only screen and (max-width: 600px) { + #text { + display: none; + } + } - ol3 full-screen demo + Full-screen example -
+
+
+

Full-screen example

+
Example of a full-screen map.
+
+

See the + full-screen.js source + to see how this is done.

+
+
+
+
fullscreen, mapquest, openaerial, tile, tilelayer
diff --git a/master/examples/index.html b/master/examples/index.html index 34837e3603..7dbe3bc16d 100644 --- a/master/examples/index.html +++ b/master/examples/index.html @@ -1 +1,296 @@ -ol3 examples

ol3 examples

\ No newline at end of file + + + + + + + + OpenLayers Examples + + + + + + + + +
+
+ + + + show all +
+
+
+ + + diff --git a/master/examples/overlay-and-popup.html b/master/examples/overlay-and-popup.html index 37b6aa871b..067adbf8b4 100644 --- a/master/examples/overlay-and-popup.html +++ b/master/examples/overlay-and-popup.html @@ -12,6 +12,20 @@ width: 100%; height: 100%; } + #text { + position: absolute; + top: 8px; + right: 8px; + z-index: 20000; + background-color: white; + padding: 0 0.5em 0.5em 0.5em; + border-radius: 4px; + } + @media only screen and (max-width: 600px) { + #text { + display: none; + } + } .overlay { display: none; font-size: 10pt; @@ -34,7 +48,6 @@ padding: 5px; } - /* Popup CSS generated with http://cssarrowplease.com/ */ .arrow_box { @@ -67,7 +80,7 @@ margin-left: -13px; } - ol3 overlay-and-popup demo + Overlay example
@@ -75,7 +88,17 @@ Vienna +
+

Overlay example

+
Demonstrates Overlays.
+
+

See the + overlay-and-popup.js source + to see how this is done.

+
+
+
overlay, popup, mapquest, openaerial
diff --git a/master/examples/overlay-and-popup.js b/master/examples/overlay-and-popup.js index 660ab2f38f..4b9b9f7222 100644 --- a/master/examples/overlay-and-popup.js +++ b/master/examples/overlay-and-popup.js @@ -3,7 +3,6 @@ goog.require('goog.debug.Logger'); goog.require('goog.debug.Logger.Level'); goog.require('ol.Collection'); goog.require('ol.Coordinate'); -goog.require('ol.CoordinateFormat'); goog.require('ol.Map'); goog.require('ol.overlay.Overlay'); goog.require('ol.source.MapQuestOpenAerial'); @@ -42,7 +41,7 @@ map.addEventListener('click', function(evt) { var coordinate = evt.getCoordinate(); popup.getElement().innerHTML = 'Welcome to ol3. The location you clicked was
' + - ol.CoordinateFormat.hdms(ol.Projection.transformWithCodes( + ol.Coordinate.toStringHDMS(ol.Projection.transformWithCodes( coordinate, 'EPSG:3857', 'EPSG:4326')); popup.setCoordinate(coordinate); }); diff --git a/master/examples/side-by-side.html b/master/examples/side-by-side.html index 3e5ee89250..2983cd69a8 100644 --- a/master/examples/side-by-side.html +++ b/master/examples/side-by-side.html @@ -12,10 +12,11 @@ margin: 1em; } - ol3 side-by-side demo + Side-by-side example -

ol3 side-by-side demo

+

Side-by-side example

+
Side-by-side DOM and WebGL sync'ed maps.
@@ -65,6 +66,12 @@
DOM

Notes: The two maps share the same center, resolution, rotation and layers.

+
+

See the + side-by-side.js source to + see how this is done.

+
+
side-by-side, webgl, dom, sync, object
diff --git a/master/examples/side-by-side.js b/master/examples/side-by-side.js index 61e9fdb3a5..5d7f531d31 100644 --- a/master/examples/side-by-side.js +++ b/master/examples/side-by-side.js @@ -1,7 +1,7 @@ goog.require('goog.debug.Console'); goog.require('goog.debug.Logger'); goog.require('goog.debug.Logger.Level'); -goog.require('ol.CoordinateFormat'); +goog.require('ol.Coordinate'); goog.require('ol.Map'); goog.require('ol.RendererHint'); goog.require('ol.control.MousePosition'); @@ -29,7 +29,7 @@ var domMap = new ol.Map({ }); domMap.getControls().push(new ol.control.MousePosition({ - coordinateFormat: ol.CoordinateFormat.hdms, + coordinateFormat: ol.Coordinate.toStringHDMS, projection: ol.Projection.getFromCode('EPSG:4326'), target: document.getElementById('domMousePosition'), undefinedHtml: ' ' @@ -47,7 +47,7 @@ if (webglMap !== null) { } webglMap.getControls().push(new ol.control.MousePosition({ - coordinateFormat: ol.CoordinateFormat.hdms, + coordinateFormat: ol.Coordinate.toStringHDMS, projection: ol.Projection.getFromCode('EPSG:4326'), target: document.getElementById('webglMousePosition'), undefinedHtml: ' ' diff --git a/master/examples/style.css b/master/examples/style.css index fc4956eb66..f2001ccb2b 100644 --- a/master/examples/style.css +++ b/master/examples/style.css @@ -54,3 +54,9 @@ h6 { font-size: 80%; font-weight: bold; } +#tags { + display: none; +} +#shortdesc { + margin-bottom: 2em; +} diff --git a/master/examples/two-layers.html b/master/examples/two-layers.html index 75bd4cc918..cc71de2683 100644 --- a/master/examples/two-layers.html +++ b/master/examples/two-layers.html @@ -15,7 +15,8 @@ ol3 two-layers demo -

ol3 two-layers demo

+

Two-layer example

+
Sync'ed DOM and WebGL maps with two layers.
@@ -26,6 +27,12 @@
DOM
+
+

See the + two-layers.js source + to see how this is done.

+
+
layers, tilejson, bing, bingmaps