diff --git a/master/apidoc/44f1750883.html b/master/apidoc/44f1750883.html index dd07e81c31..f136f3b183 100644 --- a/master/apidoc/44f1750883.html +++ b/master/apidoc/44f1750883.html @@ -137,13 +137,13 @@ items from the cache is the responsibility of the user.
diff --git a/master/apidoc/global.html b/master/apidoc/global.html index 41f5fdb696..8196c49eb3 100644 --- a/master/apidoc/global.html +++ b/master/apidoc/global.html @@ -93,6 +93,85 @@ + + + + + + + + + +
+ +
+

+ Meters per unit lookup table. +

+ +
+ +
+
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
  • projection.js, line 36
+ + + + + + + +
+ + + + +
+ + + + + + + + + + + + + + + + + +
@@ -342,13 +421,13 @@
diff --git a/master/apidoc/index.html b/master/apidoc/index.html index 2fed7f5071..7e5503627e 100644 --- a/master/apidoc/index.html +++ b/master/apidoc/index.html @@ -50,13 +50,13 @@
diff --git a/master/apidoc/ol.AnchoredElement.html b/master/apidoc/ol.AnchoredElement.html index 55f7394a29..0235b1d394 100644 --- a/master/apidoc/ol.AnchoredElement.html +++ b/master/apidoc/ol.AnchoredElement.html @@ -2337,13 +2337,13 @@
diff --git a/master/apidoc/ol.Attribution.html b/master/apidoc/ol.Attribution.html index eaf1ea9431..a1cb9b2954 100644 --- a/master/apidoc/ol.Attribution.html +++ b/master/apidoc/ol.Attribution.html @@ -428,13 +428,13 @@
diff --git a/master/apidoc/ol.Collection.html b/master/apidoc/ol.Collection.html index 00f08c1cb1..0346db1b66 100644 --- a/master/apidoc/ol.Collection.html +++ b/master/apidoc/ol.Collection.html @@ -133,7 +133,7 @@
Source:
-
+
@@ -537,7 +537,114 @@
Source:
-
+
+ + + + + + + + + + + + + + + + + + + + + +
+

extend

+ + +
+
+ + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
arr + + +Array + + + + Array.
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
  • collection.js, line 89
@@ -683,7 +790,7 @@
Source:
-
  • collection.js, line 106
+
  • collection.js, line 101
@@ -876,7 +983,7 @@
Source:
-
  • collection.js, line 114
+
  • collection.js, line 109
@@ -1005,7 +1112,7 @@
Source:
-
  • collection.js, line 123
+
  • collection.js, line 118
@@ -1176,7 +1283,7 @@
Source:
-
  • collection.js, line 131
+
  • collection.js, line 126
@@ -1328,7 +1435,7 @@
Source:
-
  • collection.js, line 140
+
  • collection.js, line 135
@@ -1499,7 +1606,7 @@
Source:
-
  • collection.js, line 153
+
  • collection.js, line 146
@@ -1628,7 +1735,7 @@
Source:
-
  • collection.js, line 162
+
  • collection.js, line 155
@@ -1668,6 +1775,139 @@ +
+ + + +
+

remove

+ + +
+
+ + +
+ Removes the first occurence of elem from the collection. +
+ + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
elem + + +* + + + + Element.
+ + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
  • collection.js, line 167
+ + + + + + + +
+ + + + + + + +
Returns:
+ + +
+ The removed element or undefined if elem was not found. +
+ + + +
+
+ Type +
+
+ +* + + +
+
+ + + +
@@ -1757,7 +1997,7 @@
Source:
-
+
@@ -2044,7 +2284,7 @@
Source:
-
+
@@ -2374,13 +2614,13 @@
diff --git a/master/apidoc/ol.CollectionEvent.html b/master/apidoc/ol.CollectionEvent.html index be73309dc2..4af017adbb 100644 --- a/master/apidoc/ol.CollectionEvent.html +++ b/master/apidoc/ol.CollectionEvent.html @@ -137,68 +137,6 @@ - - - index - - - - - -number= - - - - - - - - - <optional>
- - - - - - - - - (Optional) Index. - - - - - - - prev - - - - - -*= - - - - - - - - - <optional>
- - - - - - - - - (Optional) Value. - - - - target @@ -255,7 +193,7 @@
Source:
-
+
@@ -329,99 +267,7 @@
Source:
-
- - - - - - - - - - - - - - - -
-

index :number|undefined

- - -
-
- - - -
- - - - - - - - - - - - - - - - - - - -
Source:
-
  • collection.js, line 51
- - - - - - - -
- - - -
- - - -
-

prev :*

- - -
-
- - - -
- - - - - - - - - - - - - - - - - - - -
Source:
-
  • collection.js, line 56
+
  • collection.js, line 40
@@ -455,13 +301,13 @@
- Documentation generated by JSDoc 3 on Tue Mar 05 2013 18:10:50 GMT+0100 (CET) + Documentation generated by JSDoc 3 on Wed Mar 06 2013 18:05:16 GMT+0100 (CET)
diff --git a/master/apidoc/ol.Color.html b/master/apidoc/ol.Color.html index 64e31665bd..a472860a82 100644 --- a/master/apidoc/ol.Color.html +++ b/master/apidoc/ol.Color.html @@ -756,13 +756,13 @@
- Documentation generated by JSDoc 3 on Tue Mar 05 2013 18:10:50 GMT+0100 (CET) + Documentation generated by JSDoc 3 on Wed Mar 06 2013 18:05:16 GMT+0100 (CET)
diff --git a/master/apidoc/ol.Constraints.html b/master/apidoc/ol.Constraints.html index 8b598e3b7e..ea7ba395fc 100644 --- a/master/apidoc/ol.Constraints.html +++ b/master/apidoc/ol.Constraints.html @@ -294,13 +294,13 @@
- Documentation generated by JSDoc 3 on Tue Mar 05 2013 18:10:50 GMT+0100 (CET) + Documentation generated by JSDoc 3 on Wed Mar 06 2013 18:05:16 GMT+0100 (CET)
diff --git a/master/apidoc/ol.Coordinate.html b/master/apidoc/ol.Coordinate.html index 24c3c6839e..c3c8970b68 100644 --- a/master/apidoc/ol.Coordinate.html +++ b/master/apidoc/ol.Coordinate.html @@ -860,13 +860,13 @@
- Documentation generated by JSDoc 3 on Tue Mar 05 2013 18:10:51 GMT+0100 (CET) + Documentation generated by JSDoc 3 on Wed Mar 06 2013 18:05:17 GMT+0100 (CET)
diff --git a/master/apidoc/ol.Ellipsoid.html b/master/apidoc/ol.Ellipsoid.html index fca8198105..a032aeb69e 100644 --- a/master/apidoc/ol.Ellipsoid.html +++ b/master/apidoc/ol.Ellipsoid.html @@ -1268,13 +1268,13 @@
- Documentation generated by JSDoc 3 on Tue Mar 05 2013 18:10:51 GMT+0100 (CET) + Documentation generated by JSDoc 3 on Wed Mar 06 2013 18:05:18 GMT+0100 (CET)
diff --git a/master/apidoc/ol.Extent.html b/master/apidoc/ol.Extent.html index 40d1821aad..67e64b16ea 100644 --- a/master/apidoc/ol.Extent.html +++ b/master/apidoc/ol.Extent.html @@ -2377,13 +2377,13 @@ extent.
- Documentation generated by JSDoc 3 on Tue Mar 05 2013 18:10:52 GMT+0100 (CET) + Documentation generated by JSDoc 3 on Wed Mar 06 2013 18:05:18 GMT+0100 (CET)
diff --git a/master/apidoc/ol.Geolocation.html b/master/apidoc/ol.Geolocation.html index edbb6f0108..3d322f7658 100644 --- a/master/apidoc/ol.Geolocation.html +++ b/master/apidoc/ol.Geolocation.html @@ -2083,13 +2083,13 @@
- Documentation generated by JSDoc 3 on Tue Mar 05 2013 18:10:52 GMT+0100 (CET) + Documentation generated by JSDoc 3 on Wed Mar 06 2013 18:05:18 GMT+0100 (CET)
diff --git a/master/apidoc/ol.Image.html b/master/apidoc/ol.Image.html index bea4cc2a45..0de248fd1f 100644 --- a/master/apidoc/ol.Image.html +++ b/master/apidoc/ol.Image.html @@ -952,13 +952,13 @@
- Documentation generated by JSDoc 3 on Tue Mar 05 2013 18:10:52 GMT+0100 (CET) + Documentation generated by JSDoc 3 on Wed Mar 06 2013 18:05:19 GMT+0100 (CET)
diff --git a/master/apidoc/ol.ImageTile.html b/master/apidoc/ol.ImageTile.html index f53f473466..46c31aeaf2 100644 --- a/master/apidoc/ol.ImageTile.html +++ b/master/apidoc/ol.ImageTile.html @@ -695,13 +695,13 @@ and decremented each time the tile is dequeued from a tile queue.
- Documentation generated by JSDoc 3 on Tue Mar 05 2013 18:10:52 GMT+0100 (CET) + Documentation generated by JSDoc 3 on Wed Mar 06 2013 18:05:19 GMT+0100 (CET)
diff --git a/master/apidoc/ol.Kinetic.html b/master/apidoc/ol.Kinetic.html index 362a51b724..cf8815f3e5 100644 --- a/master/apidoc/ol.Kinetic.html +++ b/master/apidoc/ol.Kinetic.html @@ -791,13 +791,13 @@
- Documentation generated by JSDoc 3 on Tue Mar 05 2013 18:10:55 GMT+0100 (CET) + Documentation generated by JSDoc 3 on Wed Mar 06 2013 18:05:22 GMT+0100 (CET)
diff --git a/master/apidoc/ol.Map.html b/master/apidoc/ol.Map.html index a64252dec7..edb245498c 100644 --- a/master/apidoc/ol.Map.html +++ b/master/apidoc/ol.Map.html @@ -123,7 +123,7 @@
Source:
-
  • map.js, line 129
+
  • map.js, line 115
@@ -248,7 +248,7 @@
Source:
-
  • map.js, line 138
+
  • map.js, line 124
@@ -307,52 +307,6 @@ -
- - - -
- - - -
-

<inner> controls :Array.<ol.control.Control>

- - -
-
- - - -
- - - - - - - - - - - - - - - - - - - -
Source:
-
  • map.js, line 296
- - - - - - -
@@ -452,7 +406,7 @@
Source:
-
+
@@ -581,7 +535,7 @@
Source:
-
+
@@ -688,7 +642,7 @@
Source:
-
+
@@ -958,7 +912,7 @@
Source:
-
+
@@ -1021,7 +975,7 @@
Source:
-
+
@@ -1214,7 +1168,7 @@
Source:
-
+
@@ -1346,7 +1300,7 @@
Source:
-
+
@@ -1427,7 +1381,7 @@
Source:
-
+
@@ -1598,7 +1552,7 @@
Source:
-
+
@@ -1679,7 +1633,7 @@
Source:
-
+
@@ -1810,7 +1764,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -1891,7 +1845,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -1972,7 +1926,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -2056,7 +2010,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -2231,7 +2185,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -2312,7 +2266,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -2393,7 +2347,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -2561,7 +2515,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -2620,7 +2574,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -2727,7 +2681,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -2786,7 +2740,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -2845,7 +2799,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -3086,7 +3040,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -3171,7 +3125,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -3234,7 +3188,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -3476,7 +3430,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -3583,7 +3537,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -3802,7 +3756,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -3909,7 +3863,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -4152,7 +4106,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -4298,7 +4252,7 @@ clicks and gestures on an overlay don't trigger any MapBrowserEvent.
Source:
-
+
@@ -4336,13 +4290,13 @@ 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 7df600111c..adb47c4393 100644 --- a/master/apidoc/ol.MapBrowserEvent.html +++ b/master/apidoc/ol.MapBrowserEvent.html @@ -1313,13 +1313,13 @@ FIXME: replace with goog.events.EventType enum once we use
diff --git a/master/apidoc/ol.MapBrowserEventHandler.html b/master/apidoc/ol.MapBrowserEventHandler.html index 4a207e7eb9..a0c52670b1 100644 --- a/master/apidoc/ol.MapBrowserEventHandler.html +++ b/master/apidoc/ol.MapBrowserEventHandler.html @@ -248,13 +248,13 @@
diff --git a/master/apidoc/ol.MapEvent.html b/master/apidoc/ol.MapEvent.html index a87e3bdf16..b8fa439d5b 100644 --- a/master/apidoc/ol.MapEvent.html +++ b/master/apidoc/ol.MapEvent.html @@ -460,13 +460,13 @@
diff --git a/master/apidoc/ol.Object.html b/master/apidoc/ol.Object.html index c11486e552..45890938e9 100644 --- a/master/apidoc/ol.Object.html +++ b/master/apidoc/ol.Object.html @@ -1999,13 +1999,13 @@
diff --git a/master/apidoc/ol.Pixel.html b/master/apidoc/ol.Pixel.html index fce6d5bb45..691bf28008 100644 --- a/master/apidoc/ol.Pixel.html +++ b/master/apidoc/ol.Pixel.html @@ -204,13 +204,13 @@
diff --git a/master/apidoc/ol.PixelBounds.html b/master/apidoc/ol.PixelBounds.html index 82c3c1f3c3..d9d461be94 100644 --- a/master/apidoc/ol.PixelBounds.html +++ b/master/apidoc/ol.PixelBounds.html @@ -1518,13 +1518,13 @@
diff --git a/master/apidoc/ol.Projection.html b/master/apidoc/ol.Projection.html index d6f67c6bc1..0877a3dfd9 100644 --- a/master/apidoc/ol.Projection.html +++ b/master/apidoc/ol.Projection.html @@ -220,7 +220,7 @@
Source:
-
+
@@ -288,7 +288,7 @@
Source:
-
+
@@ -347,7 +347,7 @@
Source:
-
+
@@ -428,7 +428,7 @@
Source:
-
+
@@ -509,7 +509,7 @@
Source:
-
+
@@ -590,7 +590,7 @@
Source:
-
+
@@ -630,6 +630,87 @@ + + + + +
+

getMetersPerUnit

+ + +
+
+ + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
Source:
+
  • projection.js, line 125
+ + + + + + + +
+ + + + + + + +
Returns:
+ + +
+ Meters. +
+ + + +
+
+ Type +
+
+ +number + + +
+
+ + + +
@@ -671,7 +752,7 @@
Source:
-
+
@@ -800,7 +881,7 @@
Source:
-
+
@@ -838,13 +919,13 @@
diff --git a/master/apidoc/ol.Rectangle.html b/master/apidoc/ol.Rectangle.html index 09383ce08a..01a33a45fc 100644 --- a/master/apidoc/ol.Rectangle.html +++ b/master/apidoc/ol.Rectangle.html @@ -1442,13 +1442,13 @@
diff --git a/master/apidoc/ol.Size.html b/master/apidoc/ol.Size.html index 92d4763fbd..e8072194f1 100644 --- a/master/apidoc/ol.Size.html +++ b/master/apidoc/ol.Size.html @@ -337,13 +337,13 @@
diff --git a/master/apidoc/ol.Sphere.html b/master/apidoc/ol.Sphere.html index 60ff2cafa4..74d525bd25 100644 --- a/master/apidoc/ol.Sphere.html +++ b/master/apidoc/ol.Sphere.html @@ -1681,13 +1681,13 @@ latitude.
diff --git a/master/apidoc/ol.Tile.html b/master/apidoc/ol.Tile.html index 13a30c5274..b6e42977c9 100644 --- a/master/apidoc/ol.Tile.html +++ b/master/apidoc/ol.Tile.html @@ -649,13 +649,13 @@ and decremented each time the tile is dequeued from a tile queue.
diff --git a/master/apidoc/ol.TileCache.html b/master/apidoc/ol.TileCache.html index b25b64fc53..ed5baa0c8b 100644 --- a/master/apidoc/ol.TileCache.html +++ b/master/apidoc/ol.TileCache.html @@ -1589,13 +1589,13 @@
diff --git a/master/apidoc/ol.TileCoord.html b/master/apidoc/ol.TileCoord.html index b11c496502..28ffe02917 100644 --- a/master/apidoc/ol.TileCoord.html +++ b/master/apidoc/ol.TileCoord.html @@ -783,13 +783,13 @@
diff --git a/master/apidoc/ol.TileQueue.html b/master/apidoc/ol.TileQueue.html index a6d9859acd..086cb98f23 100644 --- a/master/apidoc/ol.TileQueue.html +++ b/master/apidoc/ol.TileQueue.html @@ -521,13 +521,13 @@
diff --git a/master/apidoc/ol.TileRange.html b/master/apidoc/ol.TileRange.html index 9c249a11e3..d9182bd981 100644 --- a/master/apidoc/ol.TileRange.html +++ b/master/apidoc/ol.TileRange.html @@ -1880,13 +1880,13 @@ by its min/max tile coordinates and is inclusive of coordinates.
diff --git a/master/apidoc/ol.View.html b/master/apidoc/ol.View.html index 16018daebe..4a363f8f14 100644 --- a/master/apidoc/ol.View.html +++ b/master/apidoc/ol.View.html @@ -1520,13 +1520,13 @@
diff --git a/master/apidoc/ol.View2D.html b/master/apidoc/ol.View2D.html index e615de63ed..c340ef3758 100644 --- a/master/apidoc/ol.View2D.html +++ b/master/apidoc/ol.View2D.html @@ -3955,13 +3955,13 @@
diff --git a/master/apidoc/ol.control.Attribution.html b/master/apidoc/ol.control.Attribution.html index 2d5b9d8c2f..2159bc88a4 100644 --- a/master/apidoc/ol.control.Attribution.html +++ b/master/apidoc/ol.control.Attribution.html @@ -65,6 +65,8 @@ Type + Argument + @@ -77,24 +79,31 @@ - attributionOptions + options -ol.control.AttributionOptions +ol.control.AttributionOptions= + + + <optional>
+ + + + - Attribution - options. + + (Optional) Options. @@ -124,7 +133,7 @@
Source:
-
+
@@ -500,7 +509,7 @@
Source:
-
+
@@ -629,7 +638,7 @@
Source:
-
+
@@ -688,7 +697,7 @@
Source:
-
+
@@ -726,13 +735,13 @@
diff --git a/master/apidoc/ol.control.Control.html b/master/apidoc/ol.control.Control.html index 7b97804f95..e000b560c2 100644 --- a/master/apidoc/ol.control.Control.html +++ b/master/apidoc/ol.control.Control.html @@ -493,13 +493,13 @@ to the map here.
diff --git a/master/apidoc/ol.control.DragBox.html b/master/apidoc/ol.control.DragBox.html index bdd963c38e..a90d9c0f61 100644 --- a/master/apidoc/ol.control.DragBox.html +++ b/master/apidoc/ol.control.DragBox.html @@ -449,13 +449,13 @@
diff --git a/master/apidoc/ol.control.MousePosition.html b/master/apidoc/ol.control.MousePosition.html index 435ae4490d..9752886238 100644 --- a/master/apidoc/ol.control.MousePosition.html +++ b/master/apidoc/ol.control.MousePosition.html @@ -65,6 +65,8 @@ Type + Argument + @@ -77,24 +79,31 @@ - mousePositionOptions + options -ol.control.MousePositionOptions +ol.control.MousePositionOptions= + + + <optional>
+ + + + - Mouse position - options. + + (Optional) Options. @@ -124,7 +133,7 @@
Source:
-
+
@@ -460,7 +469,7 @@
Source:
-
+
@@ -567,7 +576,7 @@
Source:
-
+
@@ -674,7 +683,7 @@
Source:
-
+
@@ -733,7 +742,7 @@
Source:
-
+
@@ -771,13 +780,13 @@
diff --git a/master/apidoc/ol.control.ScaleLine.html b/master/apidoc/ol.control.ScaleLine.html index 0dc824148a..4953d1b00d 100644 --- a/master/apidoc/ol.control.ScaleLine.html +++ b/master/apidoc/ol.control.ScaleLine.html @@ -612,13 +612,13 @@
diff --git a/master/apidoc/ol.control.Zoom.html b/master/apidoc/ol.control.Zoom.html index 7c5dd2c0a2..e1324665c1 100644 --- a/master/apidoc/ol.control.Zoom.html +++ b/master/apidoc/ol.control.Zoom.html @@ -65,6 +65,8 @@ Type + Argument + @@ -77,23 +79,31 @@ - zoomOptions + options -ol.control.ZoomOptions +ol.control.ZoomOptions= + + + <optional>
+ + + + - Zoom options. + + (Optional) Options. @@ -508,13 +518,13 @@ to the map here.
diff --git a/master/apidoc/ol.interaction.DblClickZoom.html b/master/apidoc/ol.interaction.DblClickZoom.html index e111e97f51..26e947f767 100644 --- a/master/apidoc/ol.interaction.DblClickZoom.html +++ b/master/apidoc/ol.interaction.DblClickZoom.html @@ -244,13 +244,13 @@
diff --git a/master/apidoc/ol.interaction.Drag.html b/master/apidoc/ol.interaction.Drag.html index b572943e37..576d48d763 100644 --- a/master/apidoc/ol.interaction.Drag.html +++ b/master/apidoc/ol.interaction.Drag.html @@ -660,13 +660,13 @@
diff --git a/master/apidoc/ol.interaction.DragPan.html b/master/apidoc/ol.interaction.DragPan.html index 55750db388..27d51dad63 100644 --- a/master/apidoc/ol.interaction.DragPan.html +++ b/master/apidoc/ol.interaction.DragPan.html @@ -834,13 +834,13 @@
diff --git a/master/apidoc/ol.interaction.DragRotate.html b/master/apidoc/ol.interaction.DragRotate.html index 2fdd96f69d..8f161ebc4d 100644 --- a/master/apidoc/ol.interaction.DragRotate.html +++ b/master/apidoc/ol.interaction.DragRotate.html @@ -787,13 +787,13 @@
diff --git a/master/apidoc/ol.interaction.DragRotateAndZoom.html b/master/apidoc/ol.interaction.DragRotateAndZoom.html index bd62f8606c..7f9d5cdeb4 100644 --- a/master/apidoc/ol.interaction.DragRotateAndZoom.html +++ b/master/apidoc/ol.interaction.DragRotateAndZoom.html @@ -779,13 +779,13 @@
diff --git a/master/apidoc/ol.interaction.DragZoom.html b/master/apidoc/ol.interaction.DragZoom.html index 468aad8f89..087c858d80 100644 --- a/master/apidoc/ol.interaction.DragZoom.html +++ b/master/apidoc/ol.interaction.DragZoom.html @@ -779,13 +779,13 @@
diff --git a/master/apidoc/ol.interaction.Interaction.html b/master/apidoc/ol.interaction.Interaction.html index 21c87b3c59..6118f49fa6 100644 --- a/master/apidoc/ol.interaction.Interaction.html +++ b/master/apidoc/ol.interaction.Interaction.html @@ -177,13 +177,13 @@
diff --git a/master/apidoc/ol.interaction.Keyboard.html b/master/apidoc/ol.interaction.Keyboard.html index a24b419519..fe05bc8ed2 100644 --- a/master/apidoc/ol.interaction.Keyboard.html +++ b/master/apidoc/ol.interaction.Keyboard.html @@ -326,13 +326,13 @@
diff --git a/master/apidoc/ol.interaction.KeyboardPan.html b/master/apidoc/ol.interaction.KeyboardPan.html index ab046e1225..9991da77b2 100644 --- a/master/apidoc/ol.interaction.KeyboardPan.html +++ b/master/apidoc/ol.interaction.KeyboardPan.html @@ -244,13 +244,13 @@
diff --git a/master/apidoc/ol.interaction.KeyboardZoom.html b/master/apidoc/ol.interaction.KeyboardZoom.html index 8ebd590fd5..c32cb3f9bd 100644 --- a/master/apidoc/ol.interaction.KeyboardZoom.html +++ b/master/apidoc/ol.interaction.KeyboardZoom.html @@ -196,13 +196,13 @@
diff --git a/master/apidoc/ol.interaction.MouseWheelZoom.html b/master/apidoc/ol.interaction.MouseWheelZoom.html index c0f7bac373..4680b4e9b2 100644 --- a/master/apidoc/ol.interaction.MouseWheelZoom.html +++ b/master/apidoc/ol.interaction.MouseWheelZoom.html @@ -196,13 +196,13 @@
diff --git a/master/apidoc/ol.interaction.Touch.html b/master/apidoc/ol.interaction.Touch.html index 40d1749281..57bd4f867f 100644 --- a/master/apidoc/ol.interaction.Touch.html +++ b/master/apidoc/ol.interaction.Touch.html @@ -513,13 +513,13 @@
diff --git a/master/apidoc/ol.interaction.TouchPan.html b/master/apidoc/ol.interaction.TouchPan.html index c2cd368f37..9776d4a5aa 100644 --- a/master/apidoc/ol.interaction.TouchPan.html +++ b/master/apidoc/ol.interaction.TouchPan.html @@ -537,13 +537,13 @@
diff --git a/master/apidoc/ol.interaction.TouchRotate.html b/master/apidoc/ol.interaction.TouchRotate.html index dba50363d2..fb5e98144c 100644 --- a/master/apidoc/ol.interaction.TouchRotate.html +++ b/master/apidoc/ol.interaction.TouchRotate.html @@ -496,13 +496,13 @@
diff --git a/master/apidoc/ol.interaction.TouchZoom.html b/master/apidoc/ol.interaction.TouchZoom.html index 32b20b8b0e..5b4c0e2920 100644 --- a/master/apidoc/ol.interaction.TouchZoom.html +++ b/master/apidoc/ol.interaction.TouchZoom.html @@ -433,13 +433,13 @@
diff --git a/master/apidoc/ol.layer.ImageLayer.html b/master/apidoc/ol.layer.ImageLayer.html index 354bbf5ea0..8885df31ec 100644 --- a/master/apidoc/ol.layer.ImageLayer.html +++ b/master/apidoc/ol.layer.ImageLayer.html @@ -2829,13 +2829,13 @@ permitted).
diff --git a/master/apidoc/ol.layer.Layer.html b/master/apidoc/ol.layer.Layer.html index 65e85954c5..fa6c94c316 100644 --- a/master/apidoc/ol.layer.Layer.html +++ b/master/apidoc/ol.layer.Layer.html @@ -2673,13 +2673,13 @@ permitted).
diff --git a/master/apidoc/ol.layer.TileLayer.html b/master/apidoc/ol.layer.TileLayer.html index bc8011b3e0..080c56e0ca 100644 --- a/master/apidoc/ol.layer.TileLayer.html +++ b/master/apidoc/ol.layer.TileLayer.html @@ -2829,13 +2829,13 @@ permitted).
diff --git a/master/apidoc/ol.parser.XML.html b/master/apidoc/ol.parser.XML.html index 7a8dca4e93..09aa7e0043 100644 --- a/master/apidoc/ol.parser.XML.html +++ b/master/apidoc/ol.parser.XML.html @@ -970,13 +970,13 @@ provided).
diff --git a/master/apidoc/ol.parser.ogc.ExceptionReport.html b/master/apidoc/ol.parser.ogc.ExceptionReport.html index f2a4ee996f..7c302dbc36 100644 --- a/master/apidoc/ol.parser.ogc.ExceptionReport.html +++ b/master/apidoc/ol.parser.ogc.ExceptionReport.html @@ -1138,13 +1138,13 @@ provided).
diff --git a/master/apidoc/ol.parser.ogc.OWSCommon_v1.html b/master/apidoc/ol.parser.ogc.OWSCommon_v1.html index c43f4daf6f..25ad714e0d 100644 --- a/master/apidoc/ol.parser.ogc.OWSCommon_v1.html +++ b/master/apidoc/ol.parser.ogc.OWSCommon_v1.html @@ -1001,13 +1001,13 @@ provided).
diff --git a/master/apidoc/ol.parser.ogc.OWSCommon_v1_1_0.html b/master/apidoc/ol.parser.ogc.OWSCommon_v1_1_0.html index 3f4d19d287..7485c9eebf 100644 --- a/master/apidoc/ol.parser.ogc.OWSCommon_v1_1_0.html +++ b/master/apidoc/ol.parser.ogc.OWSCommon_v1_1_0.html @@ -1001,13 +1001,13 @@ provided).
diff --git a/master/apidoc/ol.parser.ogc.Versioned.html b/master/apidoc/ol.parser.ogc.Versioned.html index 8902fa3849..f15f623d4a 100644 --- a/master/apidoc/ol.parser.ogc.Versioned.html +++ b/master/apidoc/ol.parser.ogc.Versioned.html @@ -822,13 +822,13 @@
diff --git a/master/apidoc/ol.parser.ogc.WMSCapabilities.html b/master/apidoc/ol.parser.ogc.WMSCapabilities.html index b828280ecb..7161bd7504 100644 --- a/master/apidoc/ol.parser.ogc.WMSCapabilities.html +++ b/master/apidoc/ol.parser.ogc.WMSCapabilities.html @@ -858,13 +858,13 @@
diff --git a/master/apidoc/ol.parser.ogc.WMSCapabilities_v1.html b/master/apidoc/ol.parser.ogc.WMSCapabilities_v1.html index 1b95fbd111..249ae2ebe5 100644 --- a/master/apidoc/ol.parser.ogc.WMSCapabilities_v1.html +++ b/master/apidoc/ol.parser.ogc.WMSCapabilities_v1.html @@ -1136,13 +1136,13 @@ provided).
diff --git a/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1.html b/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1.html index 76a8745864..ba62cab042 100644 --- a/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1.html +++ b/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1.html @@ -1141,13 +1141,13 @@ provided).
diff --git a/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1_0.html b/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1_0.html index d3192d0862..12db118a67 100644 --- a/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1_0.html +++ b/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1_0.html @@ -1141,13 +1141,13 @@ provided).
diff --git a/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1_1.html b/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1_1.html index 69113c26b6..c238cc2453 100644 --- a/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1_1.html +++ b/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1_1.html @@ -1141,13 +1141,13 @@ provided).
diff --git a/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1_1_WMSC.html b/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1_1_WMSC.html index ecc11d774b..d90e65d89e 100644 --- a/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1_1_WMSC.html +++ b/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_1_1_WMSC.html @@ -1141,13 +1141,13 @@ provided).
diff --git a/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_3_0.html b/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_3_0.html index 3af2e30a0d..f262cbbb48 100644 --- a/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_3_0.html +++ b/master/apidoc/ol.parser.ogc.WMSCapabilities_v1_3_0.html @@ -1141,13 +1141,13 @@ provided).
diff --git a/master/apidoc/ol.parser.ogc.WMTSCapabilities.html b/master/apidoc/ol.parser.ogc.WMTSCapabilities.html index a38bc5aa89..e325ac5a17 100644 --- a/master/apidoc/ol.parser.ogc.WMTSCapabilities.html +++ b/master/apidoc/ol.parser.ogc.WMTSCapabilities.html @@ -858,13 +858,13 @@
diff --git a/master/apidoc/ol.parser.ogc.WMTSCapabilities_v1_0_0.html b/master/apidoc/ol.parser.ogc.WMTSCapabilities_v1_0_0.html index 90d0d1f3ed..6c93d9c101 100644 --- a/master/apidoc/ol.parser.ogc.WMTSCapabilities_v1_0_0.html +++ b/master/apidoc/ol.parser.ogc.WMTSCapabilities_v1_0_0.html @@ -1136,13 +1136,13 @@ provided).
diff --git a/master/apidoc/ol.projection.EPSG3857.html b/master/apidoc/ol.projection.EPSG3857.html index c3efa05c69..533146bedb 100644 --- a/master/apidoc/ol.projection.EPSG3857.html +++ b/master/apidoc/ol.projection.EPSG3857.html @@ -453,7 +453,7 @@
Source:
-
+
@@ -539,7 +539,7 @@
Source:
-
+
@@ -625,7 +625,7 @@
Source:
-
+
@@ -711,7 +711,7 @@
Source:
-
+
@@ -751,6 +751,92 @@ + + + + +
+

getMetersPerUnit

+ + +
+
+ + + + + + + + + + +
+ + + + + + + +
Inherited From:
+
+ + + + + + + + + + + + + +
Source:
+
  • projection.js, line 125
+ + + + + + + +
+ + + + + + + +
Returns:
+ + +
+ Meters. +
+ + + +
+
+ Type +
+
+ +number + + +
+
+ + + +
@@ -856,7 +942,7 @@
Source:
-
+
@@ -990,7 +1076,7 @@
Source:
-
+
@@ -1434,13 +1520,13 @@
diff --git a/master/apidoc/ol.projection.EPSG4326.html b/master/apidoc/ol.projection.EPSG4326.html index 9f4a9365ca..bd0cbe8bd9 100644 --- a/master/apidoc/ol.projection.EPSG4326.html +++ b/master/apidoc/ol.projection.EPSG4326.html @@ -354,7 +354,7 @@
Source:
-
+
@@ -440,7 +440,7 @@
Source:
-
+
@@ -526,7 +526,7 @@
Source:
-
+
@@ -612,7 +612,7 @@
Source:
-
+
@@ -652,6 +652,92 @@ + + + + +
+

getMetersPerUnit

+ + +
+
+ + + + + + + + + + +
+ + + + + + + +
Inherited From:
+
+ + + + + + + + + + + + + +
Source:
+
  • projection.js, line 125
+ + + + + + + +
+ + + + + + + +
Returns:
+ + +
+ Meters. +
+ + + +
+
+ Type +
+
+ +number + + +
+
+ + + +
@@ -757,7 +843,7 @@
Source:
-
+
@@ -891,7 +977,7 @@
Source:
-
+
@@ -929,13 +1015,13 @@
diff --git a/master/apidoc/ol.renderer.Layer.html b/master/apidoc/ol.renderer.Layer.html index a642ab609a..f483ec2c1b 100644 --- a/master/apidoc/ol.renderer.Layer.html +++ b/master/apidoc/ol.renderer.Layer.html @@ -1807,7 +1807,7 @@
- Listen once to titileKey, le change event. + Listen once to tileKey, le change event.
@@ -3054,13 +3054,13 @@
diff --git a/master/apidoc/ol.renderer.Map.html b/master/apidoc/ol.renderer.Map.html index f05ad39202..9f0e12c5ca 100644 --- a/master/apidoc/ol.renderer.Map.html +++ b/master/apidoc/ol.renderer.Map.html @@ -1758,13 +1758,13 @@
diff --git a/master/apidoc/ol.renderer.canvas.ImageLayer.html b/master/apidoc/ol.renderer.canvas.ImageLayer.html index 5dd5be0591..474a3f326b 100644 --- a/master/apidoc/ol.renderer.canvas.ImageLayer.html +++ b/master/apidoc/ol.renderer.canvas.ImageLayer.html @@ -2030,7 +2030,7 @@
- Listen once to titileKey, le change event. + Listen once to tileKey, le change event.
@@ -3361,13 +3361,13 @@
diff --git a/master/apidoc/ol.renderer.canvas.Layer.html b/master/apidoc/ol.renderer.canvas.Layer.html index 1e49deade2..fe14a32a78 100644 --- a/master/apidoc/ol.renderer.canvas.Layer.html +++ b/master/apidoc/ol.renderer.canvas.Layer.html @@ -1974,7 +1974,7 @@
- Listen once to titileKey, le change event. + Listen once to tileKey, le change event.
@@ -3246,13 +3246,13 @@
diff --git a/master/apidoc/ol.renderer.canvas.Map.html b/master/apidoc/ol.renderer.canvas.Map.html index 677eafb9f2..bd2f0305f5 100644 --- a/master/apidoc/ol.renderer.canvas.Map.html +++ b/master/apidoc/ol.renderer.canvas.Map.html @@ -1780,13 +1780,13 @@
diff --git a/master/apidoc/ol.renderer.canvas.TileLayer.html b/master/apidoc/ol.renderer.canvas.TileLayer.html index ca42c54b0d..e06546ec5b 100644 --- a/master/apidoc/ol.renderer.canvas.TileLayer.html +++ b/master/apidoc/ol.renderer.canvas.TileLayer.html @@ -2030,7 +2030,7 @@
- Listen once to titileKey, le change event. + Listen once to tileKey, le change event.
@@ -3361,13 +3361,13 @@
diff --git a/master/apidoc/ol.renderer.dom.ImageLayer.html b/master/apidoc/ol.renderer.dom.ImageLayer.html index e2afd6c421..45cf340f0a 100644 --- a/master/apidoc/ol.renderer.dom.ImageLayer.html +++ b/master/apidoc/ol.renderer.dom.ImageLayer.html @@ -2113,7 +2113,7 @@
- Listen once to titileKey, le change event. + Listen once to tileKey, le change event.
@@ -3551,13 +3551,13 @@
diff --git a/master/apidoc/ol.renderer.dom.Layer.html b/master/apidoc/ol.renderer.dom.Layer.html index 15989cd6e4..8f7e953ddd 100644 --- a/master/apidoc/ol.renderer.dom.Layer.html +++ b/master/apidoc/ol.renderer.dom.Layer.html @@ -2091,7 +2091,7 @@
- Listen once to titileKey, le change event. + Listen once to tileKey, le change event.
@@ -3363,13 +3363,13 @@
diff --git a/master/apidoc/ol.renderer.dom.Map.html b/master/apidoc/ol.renderer.dom.Map.html index 04895cd0bc..b96a4ae504 100644 --- a/master/apidoc/ol.renderer.dom.Map.html +++ b/master/apidoc/ol.renderer.dom.Map.html @@ -1719,13 +1719,13 @@
diff --git a/master/apidoc/ol.renderer.dom.TileLayer.html b/master/apidoc/ol.renderer.dom.TileLayer.html index 59218c927c..ca0f8936f1 100644 --- a/master/apidoc/ol.renderer.dom.TileLayer.html +++ b/master/apidoc/ol.renderer.dom.TileLayer.html @@ -2113,7 +2113,7 @@
- Listen once to titileKey, le change event. + Listen once to tileKey, le change event.
@@ -3444,13 +3444,13 @@
diff --git a/master/apidoc/ol.renderer.webgl.FragmentShader.html b/master/apidoc/ol.renderer.webgl.FragmentShader.html index e01964f92c..5ccdb7c4c5 100644 --- a/master/apidoc/ol.renderer.webgl.FragmentShader.html +++ b/master/apidoc/ol.renderer.webgl.FragmentShader.html @@ -385,13 +385,13 @@
diff --git a/master/apidoc/ol.renderer.webgl.ImageLayer.html b/master/apidoc/ol.renderer.webgl.ImageLayer.html index d104434e11..0cd834274f 100644 --- a/master/apidoc/ol.renderer.webgl.ImageLayer.html +++ b/master/apidoc/ol.renderer.webgl.ImageLayer.html @@ -2345,7 +2345,7 @@
- Listen once to titileKey, le change event. + Listen once to tileKey, le change event.
@@ -3676,13 +3676,13 @@
diff --git a/master/apidoc/ol.renderer.webgl.Layer.html b/master/apidoc/ol.renderer.webgl.Layer.html index 7b125c17d4..aede516c82 100644 --- a/master/apidoc/ol.renderer.webgl.Layer.html +++ b/master/apidoc/ol.renderer.webgl.Layer.html @@ -2178,7 +2178,7 @@
- Listen once to titileKey, le change event. + Listen once to tileKey, le change event.
@@ -3450,13 +3450,13 @@
diff --git a/master/apidoc/ol.renderer.webgl.Map.html b/master/apidoc/ol.renderer.webgl.Map.html index d52e6d7df8..a2bb9c5dc8 100644 --- a/master/apidoc/ol.renderer.webgl.Map.html +++ b/master/apidoc/ol.renderer.webgl.Map.html @@ -2525,13 +2525,13 @@
diff --git a/master/apidoc/ol.renderer.webgl.Shader.html b/master/apidoc/ol.renderer.webgl.Shader.html index c5230e8ec6..94851e6062 100644 --- a/master/apidoc/ol.renderer.webgl.Shader.html +++ b/master/apidoc/ol.renderer.webgl.Shader.html @@ -356,13 +356,13 @@
diff --git a/master/apidoc/ol.renderer.webgl.TileLayer.html b/master/apidoc/ol.renderer.webgl.TileLayer.html index cba6916421..0238a0238e 100644 --- a/master/apidoc/ol.renderer.webgl.TileLayer.html +++ b/master/apidoc/ol.renderer.webgl.TileLayer.html @@ -2345,7 +2345,7 @@
- Listen once to titileKey, le change event. + Listen once to tileKey, le change event.
@@ -3676,13 +3676,13 @@
diff --git a/master/apidoc/ol.renderer.webgl.VertexShader.html b/master/apidoc/ol.renderer.webgl.VertexShader.html index 77edaba7f0..db17999d3d 100644 --- a/master/apidoc/ol.renderer.webgl.VertexShader.html +++ b/master/apidoc/ol.renderer.webgl.VertexShader.html @@ -385,13 +385,13 @@
diff --git a/master/apidoc/ol.renderer.webgl.map.shader.Fragment.html b/master/apidoc/ol.renderer.webgl.map.shader.Fragment.html index 9e3db08463..4fc7c3e0f8 100644 --- a/master/apidoc/ol.renderer.webgl.map.shader.Fragment.html +++ b/master/apidoc/ol.renderer.webgl.map.shader.Fragment.html @@ -349,13 +349,13 @@
diff --git a/master/apidoc/ol.renderer.webgl.map.shader.Vertex.html b/master/apidoc/ol.renderer.webgl.map.shader.Vertex.html index 38525de121..276cbfeaa9 100644 --- a/master/apidoc/ol.renderer.webgl.map.shader.Vertex.html +++ b/master/apidoc/ol.renderer.webgl.map.shader.Vertex.html @@ -342,13 +342,13 @@
diff --git a/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Fragment.html b/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Fragment.html index bf9cbbebf7..8b449ef4a5 100644 --- a/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Fragment.html +++ b/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Fragment.html @@ -342,13 +342,13 @@
diff --git a/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Vertex.html b/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Vertex.html index d7a6b1b784..846441e9f3 100644 --- a/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Vertex.html +++ b/master/apidoc/ol.renderer.webgl.tilelayerrenderer.shader.Vertex.html @@ -342,13 +342,13 @@
diff --git a/master/apidoc/ol.source.BingMaps.html b/master/apidoc/ol.source.BingMaps.html index d2b36fb446..1b2c302df6 100644 --- a/master/apidoc/ol.source.BingMaps.html +++ b/master/apidoc/ol.source.BingMaps.html @@ -1870,13 +1870,13 @@ loaded tiles.
diff --git a/master/apidoc/ol.source.DebugTileSource.html b/master/apidoc/ol.source.DebugTileSource.html index 42a35d048e..edef017fd3 100644 --- a/master/apidoc/ol.source.DebugTileSource.html +++ b/master/apidoc/ol.source.DebugTileSource.html @@ -1786,13 +1786,13 @@ loaded tiles.
diff --git a/master/apidoc/ol.source.ImageSource.html b/master/apidoc/ol.source.ImageSource.html index cff7d01ed6..88169e1cb6 100644 --- a/master/apidoc/ol.source.ImageSource.html +++ b/master/apidoc/ol.source.ImageSource.html @@ -1369,13 +1369,13 @@
diff --git a/master/apidoc/ol.source.ImageTileSource.html b/master/apidoc/ol.source.ImageTileSource.html index 8684fee6f2..e10ef15c39 100644 --- a/master/apidoc/ol.source.ImageTileSource.html +++ b/master/apidoc/ol.source.ImageTileSource.html @@ -1836,13 +1836,13 @@ loaded tiles.
diff --git a/master/apidoc/ol.source.MapQuestOSM.html b/master/apidoc/ol.source.MapQuestOSM.html index 6298992d3a..1fb3387929 100644 --- a/master/apidoc/ol.source.MapQuestOSM.html +++ b/master/apidoc/ol.source.MapQuestOSM.html @@ -1813,13 +1813,13 @@ loaded tiles.
diff --git a/master/apidoc/ol.source.MapQuestOpenAerial.html b/master/apidoc/ol.source.MapQuestOpenAerial.html index ea5266e740..f2d6c4367b 100644 --- a/master/apidoc/ol.source.MapQuestOpenAerial.html +++ b/master/apidoc/ol.source.MapQuestOpenAerial.html @@ -1813,13 +1813,13 @@ loaded tiles.
diff --git a/master/apidoc/ol.source.OpenStreetMap.html b/master/apidoc/ol.source.OpenStreetMap.html index 3d83f5ddc9..e692f8fffb 100644 --- a/master/apidoc/ol.source.OpenStreetMap.html +++ b/master/apidoc/ol.source.OpenStreetMap.html @@ -1813,13 +1813,13 @@ loaded tiles.
diff --git a/master/apidoc/ol.source.SingleImageWMS.html b/master/apidoc/ol.source.SingleImageWMS.html index ba91c42f92..b30f4f8825 100644 --- a/master/apidoc/ol.source.SingleImageWMS.html +++ b/master/apidoc/ol.source.SingleImageWMS.html @@ -1396,13 +1396,13 @@
diff --git a/master/apidoc/ol.source.Source.html b/master/apidoc/ol.source.Source.html index bcdd042928..bdea294619 100644 --- a/master/apidoc/ol.source.Source.html +++ b/master/apidoc/ol.source.Source.html @@ -904,13 +904,13 @@
diff --git a/master/apidoc/ol.source.Stamen.html b/master/apidoc/ol.source.Stamen.html index 5c81924f90..e38622d41c 100644 --- a/master/apidoc/ol.source.Stamen.html +++ b/master/apidoc/ol.source.Stamen.html @@ -1861,13 +1861,13 @@ loaded tiles.
diff --git a/master/apidoc/ol.source.StaticImage.html b/master/apidoc/ol.source.StaticImage.html index 6ef22510fc..de33c8cb14 100644 --- a/master/apidoc/ol.source.StaticImage.html +++ b/master/apidoc/ol.source.StaticImage.html @@ -1528,13 +1528,13 @@
diff --git a/master/apidoc/ol.source.TileJSON.html b/master/apidoc/ol.source.TileJSON.html index aa9f39af1f..84830d1efe 100644 --- a/master/apidoc/ol.source.TileJSON.html +++ b/master/apidoc/ol.source.TileJSON.html @@ -1822,13 +1822,13 @@ loaded tiles.
diff --git a/master/apidoc/ol.source.TileSource.html b/master/apidoc/ol.source.TileSource.html index 637bf0698b..9099535cb9 100644 --- a/master/apidoc/ol.source.TileSource.html +++ b/master/apidoc/ol.source.TileSource.html @@ -1712,13 +1712,13 @@ loaded tiles.
diff --git a/master/apidoc/ol.source.TiledWMS.html b/master/apidoc/ol.source.TiledWMS.html index 19ab1e8b80..bbc3da2f47 100644 --- a/master/apidoc/ol.source.TiledWMS.html +++ b/master/apidoc/ol.source.TiledWMS.html @@ -1861,13 +1861,13 @@ loaded tiles.
diff --git a/master/apidoc/ol.source.XYZ.html b/master/apidoc/ol.source.XYZ.html index 6a451df8a2..2c5a44bd7d 100644 --- a/master/apidoc/ol.source.XYZ.html +++ b/master/apidoc/ol.source.XYZ.html @@ -1907,13 +1907,13 @@ loaded tiles.
diff --git a/master/apidoc/ol.tilegrid.TileGrid.html b/master/apidoc/ol.tilegrid.TileGrid.html index 761f73f094..22814241df 100644 --- a/master/apidoc/ol.tilegrid.TileGrid.html +++ b/master/apidoc/ol.tilegrid.TileGrid.html @@ -2256,13 +2256,13 @@ assigned the higher tile coordinate.
diff --git a/master/apidoc/ol.tilegrid.XYZ.html b/master/apidoc/ol.tilegrid.XYZ.html index 187f2645f3..74bf08d7c0 100644 --- a/master/apidoc/ol.tilegrid.XYZ.html +++ b/master/apidoc/ol.tilegrid.XYZ.html @@ -2216,13 +2216,13 @@ assigned the higher tile coordinate.
diff --git a/master/build/ol-simple.js b/master/build/ol-simple.js index e9b0b2a458..63162f207e 100644 --- a/master/build/ol-simple.js +++ b/master/build/ol-simple.js @@ -391,12 +391,11 @@ ol.Object.prototype.bindTo=function(a,b,c,d){c=c||a;this.unbind(a);var e=ol.Obje ol.Object.prototype.get=function(a){var b,c=ol.Object.getAccessors(this);c.hasOwnProperty(a)?(b=c[a],a=b.target,b=b.key,c=ol.Object.getGetterName(b),b=a[c]?a[c]():a.get(b)):this.values_.hasOwnProperty(a)&&(b=this.values_[a]);return b};ol.Object.prototype.getKeys=function(){var a=goog.object.getKeys(ol.Object.getAccessors(this)).concat(goog.object.getKeys(this.values_));goog.array.removeDuplicates(a);return a}; ol.Object.prototype.notify=function(a){var b=ol.Object.getAccessors(this);b.hasOwnProperty(a)?(a=b[a],a.target.notify(a.key)):this.notifyInternal_(a)};ol.Object.prototype.notifyInternal_=function(a){a=ol.Object.getChangedEventType(a);this.dispatchEvent(a);this.dispatchEvent(ol.ObjectEventType.CHANGED)}; ol.Object.prototype.set=function(a,b){var c=ol.Object.getAccessors(this);if(c.hasOwnProperty(a)){var d=c[a],c=d.target,d=d.key,e=ol.Object.getSetterName(d);if(c[e])c[e](b);else c.set(d,b)}else this.values_[a]=b,this.notifyInternal_(a)};ol.Object.prototype.setOptions=function(a){var b,c,d;for(b in a)if(c=a[b],d=ol.Object.getSetterName(b),this[d])this[d](c);else this.set(b,c)};ol.Object.prototype.setValues=ol.Object.prototype.setOptions; -ol.Object.prototype.unbind=function(a){var b=ol.Object.getListeners(this),c=b[a];c&&(delete b[a],goog.events.unlistenByKey(c),b=this.get(a),delete ol.Object.getAccessors(this)[a],this.values_[a]=b)};ol.Object.prototype.unbindAll=function(){for(var a in ol.Object.getListeners(this))this.unbind(a)};ol.CollectionEventType={ADD:"add",INSERT_AT:"insert_at",REMOVE:"remove",REMOVE_AT:"remove_at",SET_AT:"set_at"};ol.CollectionEvent=function(a,b,c,d,e){goog.events.Event.call(this,a,e);this.elem=b;this.index=c;this.prev=d};goog.inherits(ol.CollectionEvent,goog.events.Event);ol.CollectionProperty={LENGTH:"length"};ol.Collection=function(a){ol.Object.call(this);this.array_=a||[];this.updateLength_()};goog.inherits(ol.Collection,ol.Object);ol.Collection.prototype.clear=function(){for(;0a?goog.fx.easing.inAndOut(2*a):1-goog.fx.easing.inAndOut(2*(a-0.5))};ol.easing.elastic=function(a){return Math.pow(2,-10*a)*Math.sin((a-0.075)*2*Math.PI/0.3)+1};ol.easing.bounce=function(a){a<1/2.75?a*=7.5625*a:a<2/2.75?(a-=1.5/2.75,a=7.5625*a*a+0.75):a<2.5/2.75?(a-=2.25/2.75,a=7.5625*a*a+0.9375):(a-=2.625/2.75,a=7.5625*a*a+0.984375);return a};ol.animation={};ol.animation.bounce=function(a){var b=a.resolution,c=goog.isDef(a.start)?a.start:goog.now(),d=goog.isDef(a.duration)?a.duration:1E3,e=goog.isDef(a.easing)?a.easing:ol.easing.upAndDown;return function(a,g){if(g.timea-this.delay_;)c--;if(0<=c){var a=this.points_[c],b=this.points_[b],c=b.x-a.x,d=b.y-a.y;this.angle_=Math.atan2(d,c);this.initialVelocity_=Math.sqrt(c*c+d*d)/(b.t-a.t);return this.initialVelocity_>this.minVelocity_}return!1}; -ol.Kinetic.prototype.pan=function(a){var b=this.decay_,c=this.initialVelocity_,d=this.minVelocity_,e=this.getDuration_();return ol.animation.pan({source:a,duration:e,easing:function(a){return c*(Math.exp(b*a*e)-1)/(d-c)}})};ol.Kinetic.prototype.getDuration_=function(){return Math.log(this.minVelocity_/this.initialVelocity_)/this.decay_};ol.Kinetic.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_};ol.Kinetic.prototype.getAngle=function(){return this.angle_};ol.MapEventType={POSTRENDER:"postrender"};ol.MapEvent=function(a,b,c){goog.events.Event.call(this,a);this.map=b;this.defaultPrevented=!1;this.frameState=goog.isDef(c)?c:null};goog.inherits(ol.MapEvent,goog.events.Event);ol.MapEvent.prototype.preventDefault=function(){ol.MapEvent.superClass_.preventDefault.call(this);this.defaultPrevented=!0};ol.Pixel=function(a,b){goog.math.Coordinate.call(this,a,b)};goog.inherits(ol.Pixel,goog.math.Coordinate);ol.MapBrowserEvent=function(a,b,c,d){ol.MapEvent.call(this,a,b,d);this.browserEvent=c;this.pixel_=this.coordinate_=null};goog.inherits(ol.MapBrowserEvent,ol.MapEvent);ol.MapBrowserEvent.IEEventType={MSPOINTERDOWN:"MSPointerDown",MSPOINTERMOVE:"MSPointerMove",MSPOINTERUP:"MSPointerUp"};ol.MapBrowserEvent.prototype.getCoordinate=function(){goog.isNull(this.coordinate_)&&(this.coordinate_=this.map.getCoordinateFromPixel(this.getPixel()));return this.coordinate_}; +ol.layer.Layer.prototype.setVisible=function(a){a=!!a;a!=this.getVisible()&&this.set(ol.layer.LayerProperty.VISIBLE,a)};goog.exportProperty(ol.layer.Layer.prototype,"setVisible",ol.layer.Layer.prototype.setVisible);ol.IView3D=function(){};ol.IView=function(){};ol.IView.prototype.getView2D=function(){};ol.IView.prototype.getView3D=function(){};ol.MapEventType={POSTRENDER:"postrender"};ol.MapEvent=function(a,b,c){goog.events.Event.call(this,a);this.map=b;this.defaultPrevented=!1;this.frameState=goog.isDef(c)?c:null};goog.inherits(ol.MapEvent,goog.events.Event);ol.MapEvent.prototype.preventDefault=function(){ol.MapEvent.superClass_.preventDefault.call(this);this.defaultPrevented=!0};ol.Pixel=function(a,b){goog.math.Coordinate.call(this,a,b)};goog.inherits(ol.Pixel,goog.math.Coordinate);ol.MapBrowserEvent=function(a,b,c,d){ol.MapEvent.call(this,a,b,d);this.browserEvent=c;this.pixel_=this.coordinate_=null};goog.inherits(ol.MapBrowserEvent,ol.MapEvent);ol.MapBrowserEvent.IEEventType={MSPOINTERDOWN:"MSPointerDown",MSPOINTERMOVE:"MSPointerMove",MSPOINTERUP:"MSPointerUp"};ol.MapBrowserEvent.prototype.getCoordinate=function(){goog.isNull(this.coordinate_)&&(this.coordinate_=this.map.getCoordinateFromPixel(this.getPixel()));return this.coordinate_}; ol.MapBrowserEvent.prototype.getPixel=function(){if(goog.isNull(this.pixel_)){var a=goog.style.getRelativePosition(this.browserEvent,this.map.getViewport());this.pixel_=new ol.Pixel(a.x,a.y)}return this.pixel_};ol.MapBrowserEvent.prototype.isMouseActionButton=function(){return ol.BrowserFeature.HAS_TOUCH||this.browserEvent.isMouseActionButton()}; ol.MapBrowserEventHandler=function(a){this.map_=a;this.previous_=null;this.dragged_=!1;this.down_=this.touchListenerKeys_=this.dragListenerKeys_=this.downListenerKey_=this.clickListenerKey_=this.timestamp_=null;a=this.map_.getViewport();this.clickListenerKey_=goog.events.listen(a,[goog.events.EventType.CLICK,goog.events.EventType.DBLCLICK],this.click_,!1,this);this.downListenerKey_=goog.events.listen(a,goog.events.EventType.MOUSEDOWN,this.handleMouseDown_,!1,this);this.touchListenerKeys_=[goog.events.listen(a, [goog.events.EventType.TOUCHSTART,ol.MapBrowserEvent.IEEventType.MSPOINTERDOWN],this.handleTouchStart_,!1,this),goog.events.listen(a,[goog.events.EventType.TOUCHMOVE,ol.MapBrowserEvent.IEEventType.MSPOINTERMOVE],this.handleTouchMove_,!1,this),goog.events.listen(a,[goog.events.EventType.TOUCHEND,ol.MapBrowserEvent.IEEventType.MSPOINTERUP],this.handleTouchEnd_,!1,this)]};goog.inherits(ol.MapBrowserEventHandler,goog.events.EventTarget); @@ -522,8 +517,11 @@ ol.MapBrowserEventHandler.prototype.handleMouseMove_=function(a){var b;this.drag ol.MapBrowserEventHandler.prototype.handleTouchStart_=function(a){a.preventDefault();this.down_=a;this.dragged_=!1;a=new ol.MapBrowserEvent(ol.MapBrowserEvent.EventType.TOUCHSTART,this.map_,a);this.dispatchEvent(a)};ol.MapBrowserEventHandler.prototype.handleTouchMove_=function(a){this.dragged_=!0;a=new ol.MapBrowserEvent(ol.MapBrowserEvent.EventType.TOUCHMOVE,this.map_,a);this.dispatchEvent(a)}; ol.MapBrowserEventHandler.prototype.handleTouchEnd_=function(a){a=new ol.MapBrowserEvent(ol.MapBrowserEvent.EventType.TOUCHEND,this.map_,a);this.dispatchEvent(a);this.dragged_||(a=goog.now(),this.timestamp_=!this.timestamp_||250a?goog.fx.easing.inAndOut(2*a):1-goog.fx.easing.inAndOut(2*(a-0.5))};ol.easing.elastic=function(a){return Math.pow(2,-10*a)*Math.sin((a-0.075)*2*Math.PI/0.3)+1};ol.easing.bounce=function(a){a<1/2.75?a*=7.5625*a:a<2/2.75?(a-=1.5/2.75,a=7.5625*a*a+0.75):a<2.5/2.75?(a-=2.25/2.75,a=7.5625*a*a+0.9375):(a-=2.625/2.75,a=7.5625*a*a+0.984375);return a};ol.animation={};ol.animation.bounce=function(a){var b=a.resolution,c=goog.isDef(a.start)?a.start:goog.now(),d=goog.isDef(a.duration)?a.duration:1E3,e=goog.isDef(a.easing)?a.easing:ol.easing.upAndDown;return function(a,g){if(g.timeb?(d="\u2032",a*=60):d="\u00b0":this.units_==ol.control.ScaleLineUnits.IMPERIAL?0.9144>b?(d="in",a/=0.0254):1609.344>b?(d="ft",a/=0.3048):(d="mi",a/=1609.344):this.units_==ol.control.ScaleLineUnits.NAUTICAL? (a/=1852,d="nm"):this.units_==ol.control.ScaleLineUnits.METRIC?1>b?(d="mm",a*=1E3):1E3>b?d="m":(d="km",a/=1E3):this.units_==ol.control.ScaleLineUnits.US?0.9144>b?(d="in",a*=39.37):1609.344>b?(d="ft",a/=0.30480061):(d="mi",a/=1609.3472):goog.asserts.assert(!1);for(var b=3*Math.floor(Math.log(this.minWidth_*a)/Math.log(10)),e,f;;){e=ol.control.ScaleLine.LEADING_DIGITS[b%3]*Math.pow(10,Math.floor(b/3));f=Math.round(e/a);if(f>=this.minWidth_)break;++b}e+=d;this.renderedHTML_!=e&&(this.renderedHTML_=this.innerElement_.innerHTML= e);this.renderedWidth_!=f&&(this.innerElement_.style.width=f+"px",this.renderedWidth_=f);this.renderedVisible_||(goog.style.showElement(this.element_,!0),this.renderedVisible_=!0)}};ol.control.ZOOM_DURATION=250; -ol.control.Zoom=function(a){var b=goog.dom.createDom(goog.dom.TagName.A,{href:"#zoomIn","class":"ol-zoom-in"});goog.events.listen(b,[goog.events.EventType.TOUCHEND,goog.events.EventType.CLICK],this.handleIn_,!1,this);var c=goog.dom.createDom(goog.dom.TagName.A,{href:"#zoomOut","class":"ol-zoom-out"});goog.events.listen(c,[goog.events.EventType.TOUCHEND,goog.events.EventType.CLICK],this.handleOut_,!1,this);b=goog.dom.createDom(goog.dom.TagName.DIV,"ol-zoom ol-unselectable",b,c);ol.control.Control.call(this, -{element:b,map:a.map,target:a.target});this.delta_=goog.isDef(a.delta)?a.delta:1};goog.inherits(ol.control.Zoom,ol.control.Control);ol.control.Zoom.prototype.handleIn_=function(a){a.preventDefault();a=this.getMap();a.requestRenderFrame();a.getView().zoomByDelta(a,this.delta_,void 0,ol.control.ZOOM_DURATION)};ol.control.Zoom.prototype.handleOut_=function(a){a.preventDefault();a=this.getMap();a.requestRenderFrame();a.getView().zoomByDelta(a,-this.delta_,void 0,ol.control.ZOOM_DURATION)};ol.interaction={};ol.interaction.Interaction=function(){};ol.interaction.DBLCLICKZOOM_ANIMATION_DURATION=250;ol.interaction.DblClickZoom=function(a){this.delta_=a;ol.interaction.Interaction.call(this)};goog.inherits(ol.interaction.DblClickZoom,ol.interaction.Interaction); +ol.control.Zoom=function(a){var a=goog.isDef(a)?a:{},b=goog.dom.createDom(goog.dom.TagName.A,{href:"#zoomIn","class":"ol-zoom-in"});goog.events.listen(b,[goog.events.EventType.TOUCHEND,goog.events.EventType.CLICK],this.handleIn_,!1,this);var c=goog.dom.createDom(goog.dom.TagName.A,{href:"#zoomOut","class":"ol-zoom-out"});goog.events.listen(c,[goog.events.EventType.TOUCHEND,goog.events.EventType.CLICK],this.handleOut_,!1,this);b=goog.dom.createDom(goog.dom.TagName.DIV,"ol-zoom ol-unselectable",b,c); +ol.control.Control.call(this,{element:b,map:a.map,target:a.target});this.delta_=goog.isDef(a.delta)?a.delta:1};goog.inherits(ol.control.Zoom,ol.control.Control);ol.control.Zoom.prototype.handleIn_=function(a){a.preventDefault();a=this.getMap();a.requestRenderFrame();a.getView().zoomByDelta(a,this.delta_,void 0,ol.control.ZOOM_DURATION)};ol.control.Zoom.prototype.handleOut_=function(a){a.preventDefault();a=this.getMap();a.requestRenderFrame();a.getView().zoomByDelta(a,-this.delta_,void 0,ol.control.ZOOM_DURATION)};ol.control.defaults=function(a,b){var c=goog.isDef(a)?a:{},d=[];if(goog.isDef(c.attribution)?c.attribution:1){var e=goog.isDef(c.attributionOptions)?c.attributionOptions:void 0;d.push(new ol.control.Attribution(e))}goog.isDef(c.scaleLine)&&c.scaleLine&&(e=goog.isDef(c.scaleLineOptions)?c.scaleLineOptions:void 0,d.push(new ol.control.ScaleLine(e)));if(goog.isDef(c.zoom)?c.zoom:1)c=goog.isDef(c.zoomControlOptions)?c.zoomControlOptions:void 0,d.push(new ol.control.Zoom(c));goog.isDef(b)&&goog.array.extend(d, +b);return d};ol.Kinetic=function(a,b,c){this.decay_=a;this.minVelocity_=b;this.delay_=c;this.points_=[];this.initialVelocity_=this.angle_=0};ol.Kinetic.prototype.begin=function(){this.initialVelocity_=this.angle_=this.points_.length=0};ol.Kinetic.prototype.update=function(a,b){this.points_.push({x:a,y:b,t:goog.now()})}; +ol.Kinetic.prototype.end=function(){for(var a=goog.now(),b=this.points_.length-1,c=b-1;0<=c&&this.points_[c].t>a-this.delay_;)c--;if(0<=c){var a=this.points_[c],b=this.points_[b],c=b.x-a.x,d=b.y-a.y;this.angle_=Math.atan2(d,c);this.initialVelocity_=Math.sqrt(c*c+d*d)/(b.t-a.t);return this.initialVelocity_>this.minVelocity_}return!1}; +ol.Kinetic.prototype.pan=function(a){var b=this.decay_,c=this.initialVelocity_,d=this.minVelocity_,e=this.getDuration_();return ol.animation.pan({source:a,duration:e,easing:function(a){return c*(Math.exp(b*a*e)-1)/(d-c)}})};ol.Kinetic.prototype.getDuration_=function(){return Math.log(this.minVelocity_/this.initialVelocity_)/this.decay_};ol.Kinetic.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_};ol.Kinetic.prototype.getAngle=function(){return this.angle_};ol.interaction={};ol.interaction.Interaction=function(){};ol.interaction.DBLCLICKZOOM_ANIMATION_DURATION=250;ol.interaction.DblClickZoom=function(a){this.delta_=a;ol.interaction.Interaction.call(this)};goog.inherits(ol.interaction.DblClickZoom,ol.interaction.Interaction); ol.interaction.DblClickZoom.prototype.handleMapBrowserEvent=function(a){var b=a.browserEvent;if(a.type==ol.MapBrowserEvent.EventType.DBLCLICK&&a.isMouseActionButton()){var c=a.map,d=a.getCoordinate(),e=a.browserEvent.shiftKey?-this.delta_:this.delta_,f=c.getView();goog.asserts.assert(f instanceof ol.View2D);f.zoomByDelta(c,e,d,ol.interaction.DBLCLICKZOOM_ANIMATION_DURATION);a.preventDefault();b.preventDefault()}};ol.interaction.condition={};ol.interaction.condition.altKeyOnly=function(a){return a.altKey&&!a.platformModifierKey&&!a.shiftKey};ol.interaction.condition.altShiftKeysOnly=function(a){return a.altKey&&!a.platformModifierKey&&a.shiftKey};ol.interaction.condition.noModifierKeys=function(a){return!a.altKey&&!a.platformModifierKey&&!a.shiftKey};ol.interaction.condition.platformModifierKeyOnly=function(a){return!a.altKey&&a.platformModifierKey&&!a.shiftKey}; ol.interaction.condition.shiftKeyOnly=function(a){return!a.altKey&&!a.platformModifierKey&&a.shiftKey};ol.interaction.Drag=function(){ol.interaction.Interaction.call(this);this.dragging_=!1;this.offsetY=this.offsetX=this.startY=this.startX=0;this.startCoordinate=this.startCenter=null};goog.inherits(ol.interaction.Drag,ol.interaction.Interaction);ol.interaction.Drag.prototype.handleDrag=goog.nullFunction;ol.interaction.Drag.prototype.handleDragEnd=goog.nullFunction;ol.interaction.Drag.prototype.handleDragStart=goog.functions.FALSE;ol.interaction.Drag.prototype.handleDown=goog.nullFunction; ol.interaction.Drag.prototype.handleMapBrowserEvent=function(a){var b=a.map;if(b.isDef()){var b=b.getView(),c=a.browserEvent;a.type==ol.MapBrowserEvent.EventType.DOWN&&(goog.asserts.assert(c instanceof goog.events.BrowserEvent),this.handleDown(a));this.dragging_?a.type==ol.MapBrowserEvent.EventType.DRAG?(goog.asserts.assert(c instanceof goog.events.BrowserEvent),this.deltaX=c.clientX-this.startX,this.deltaY=c.clientY-this.startY,this.handleDrag(a)):a.type==ol.MapBrowserEvent.EventType.DRAGEND&&(goog.asserts.assert(c instanceof @@ -582,7 +583,9 @@ ol.interaction.TouchRotate.prototype.handleTouchMove=function(a){goog.asserts.as e.x-=d.x;e.y-=d.y;d=a.getCoordinateFromPixel(e);this.rotating_&&c.rotateWithoutConstraints(a,c.getRotation()+b,d)};ol.interaction.TouchRotate.prototype.handleTouchEnd=function(a){if(2>this.targetTouches.length){var a=a.map,b=a.getView();this.rotating_&&b.rotate(a,b.getRotation(),void 0,ol.interaction.TOUCHROTATE_ANIMATION_DURATION);b.setHint(ol.ViewHint.INTERACTING,-1);return!1}return!0}; ol.interaction.TouchRotate.prototype.handleTouchStart=function(a){return 2<=this.targetTouches.length?(a=a.map.getView(),this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,a.setHint(ol.ViewHint.INTERACTING,1),!0):!1};ol.interaction.TOUCHZOOM_ANIMATION_DURATION=250;ol.interaction.TouchZoom=function(){ol.interaction.Touch.call(this)};goog.inherits(ol.interaction.TouchZoom,ol.interaction.Touch); ol.interaction.TouchZoom.prototype.handleTouchMove=function(a){goog.asserts.assert(2<=this.targetTouches.length);var b=1,c=this.targetTouches[0],d=this.targetTouches[1],e=c.clientX-d.clientX,c=c.clientY-d.clientY,e=Math.sqrt(e*e+c*c);goog.isDef(this.lastDistance_)&&(b=this.lastDistance_/e);this.lastDistance_=e;a=a.map;e=a.getView();c=goog.style.getClientPosition(a.getViewport());d=ol.interaction.Touch.centroid(this.targetTouches);d.x-=c.x;d.y-=c.y;c=a.getCoordinateFromPixel(d);e.zoomWithoutConstraints(a, -e.getResolution()*b,c)};ol.interaction.TouchZoom.prototype.handleTouchEnd=function(a){if(2>this.targetTouches.length){var a=a.map,b=a.getView();b.zoom(a,b.getResolution(),void 0,ol.interaction.TOUCHZOOM_ANIMATION_DURATION);b.setHint(ol.ViewHint.INTERACTING,-1);return!1}return!0};ol.interaction.TouchZoom.prototype.handleTouchStart=function(a){return 2<=this.targetTouches.length?(a=a.map.getView(),this.lastDistance_=void 0,a.setHint(ol.ViewHint.INTERACTING,1),!0):!1};ol.math={};ol.math.cosh=function(a){return(Math.exp(a)+Math.exp(-a))/2};ol.math.coth=function(a){a=Math.exp(-2*a);return(1+a)/(1-a)};ol.math.csch=function(a){return 2/(Math.exp(a)-Math.exp(-a))};ol.math.sech=function(a){return 2/(Math.exp(a)+Math.exp(-a))};ol.math.sinh=function(a){return(Math.exp(a)-Math.exp(-a))/2};ol.math.tanh=function(a){a=Math.exp(-2*a);return(1-a)/(1+a)};ol.projection.EPSG3857=function(a){ol.Projection.call(this,a,ol.ProjectionUnits.METERS,ol.projection.EPSG3857.EXTENT)};goog.inherits(ol.projection.EPSG3857,ol.Projection);ol.projection.EPSG3857.RADIUS=6378137;ol.projection.EPSG3857.HALF_SIZE=Math.PI*ol.projection.EPSG3857.RADIUS;ol.projection.EPSG3857.EXTENT=new ol.Extent(-ol.projection.EPSG3857.HALF_SIZE,-ol.projection.EPSG3857.HALF_SIZE,ol.projection.EPSG3857.HALF_SIZE,ol.projection.EPSG3857.HALF_SIZE); +e.getResolution()*b,c)};ol.interaction.TouchZoom.prototype.handleTouchEnd=function(a){if(2>this.targetTouches.length){var a=a.map,b=a.getView();b.zoom(a,b.getResolution(),void 0,ol.interaction.TOUCHZOOM_ANIMATION_DURATION);b.setHint(ol.ViewHint.INTERACTING,-1);return!1}return!0};ol.interaction.TouchZoom.prototype.handleTouchStart=function(a){return 2<=this.targetTouches.length?(a=a.map.getView(),this.lastDistance_=void 0,a.setHint(ol.ViewHint.INTERACTING,1),!0):!1};ol.interaction.defaults=function(a,b){var c=goog.isDef(a)?a:{},d=new ol.Collection;(goog.isDef(c.rotate)?c.rotate:1)&&d.push(new ol.interaction.DragRotate(ol.interaction.condition.altShiftKeysOnly));if(goog.isDef(c.doubleClickZoom)?c.doubleClickZoom:1){var e=goog.isDef(c.zoomDelta)?c.zoomDelta:1;d.push(new ol.interaction.DblClickZoom(e))}(goog.isDef(c.touchPan)?c.touchPan:1)&&d.push(new ol.interaction.TouchPan(new ol.Kinetic(-0.005,0.05,100)));(goog.isDef(c.touchRotate)?c.touchRotate:1)&&d.push(new ol.interaction.TouchRotate); +(goog.isDef(c.touchZoom)?c.touchZoom:1)&&d.push(new ol.interaction.TouchZoom);(goog.isDef(c.dragPan)?c.dragPan:1)&&d.push(new ol.interaction.DragPan(ol.interaction.condition.noModifierKeys,new ol.Kinetic(-0.005,0.05,100)));var e=goog.isDef(c.keyboard)?c.keyboard:!0,f=goog.isDef(c.keyboardPanOffset)?c.keyboardPanOffset:80;e&&(d.push(new ol.interaction.KeyboardPan(f)),d.push(new ol.interaction.KeyboardZoom));(goog.isDef(c.mouseWheelZoom)?c.mouseWheelZoom:1)&&d.push(new ol.interaction.MouseWheelZoom); +(goog.isDef(c.shiftDragZoom)?c.shiftDragZoom:1)&&d.push(new ol.interaction.DragZoom(ol.interaction.condition.shiftKeyOnly));goog.isDef(b)&&d.extend(b);return d};ol.math={};ol.math.cosh=function(a){return(Math.exp(a)+Math.exp(-a))/2};ol.math.coth=function(a){a=Math.exp(-2*a);return(1+a)/(1-a)};ol.math.csch=function(a){return 2/(Math.exp(a)-Math.exp(-a))};ol.math.sech=function(a){return 2/(Math.exp(a)+Math.exp(-a))};ol.math.sinh=function(a){return(Math.exp(a)-Math.exp(-a))/2};ol.math.tanh=function(a){a=Math.exp(-2*a);return(1-a)/(1+a)};ol.projection.EPSG3857=function(a){ol.Projection.call(this,a,ol.ProjectionUnits.METERS,ol.projection.EPSG3857.EXTENT)};goog.inherits(ol.projection.EPSG3857,ol.Projection);ol.projection.EPSG3857.RADIUS=6378137;ol.projection.EPSG3857.HALF_SIZE=Math.PI*ol.projection.EPSG3857.RADIUS;ol.projection.EPSG3857.EXTENT=new ol.Extent(-ol.projection.EPSG3857.HALF_SIZE,-ol.projection.EPSG3857.HALF_SIZE,ol.projection.EPSG3857.HALF_SIZE,ol.projection.EPSG3857.HALF_SIZE); ol.projection.EPSG3857.CODES=["EPSG:3857","EPSG:102100","EPSG:102113","EPSG:900913"];ol.projection.EPSG3857.PROJECTIONS=goog.array.map(ol.projection.EPSG3857.CODES,function(a){return new ol.projection.EPSG3857(a)}); ol.projection.EPSG3857.fromEPSG4326=function(a,b,c){var d=a.length,c=1this.highWaterMark_};ol.TileCache.prototype.expireCache=function(a){for(var b,c;this.canExpireCache()&&!(b=this.peekLast(),c=b.tileCoord.z.toString(),c in a&&a[c].contains(b.tileCoord));)this.pop()};ol.TileUrlFunction={};ol.TileUrlFunction.createFromTemplate=function(a){var b=/\{(\d)-(\d)\}/.exec(a)||/\{([a-z])-([a-z])\}/.exec(a);if(b){for(var c=[],d=b[1].charCodeAt(0),e=b[2].charCodeAt(0);d<=e;++d)c.push(a.replace(b[0],String.fromCharCode(d)));return ol.TileUrlFunction.createFromTemplates(c)}return function(b){return goog.isNull(b)?void 0:a.replace("{z}",b.z).replace("{x}",b.x).replace("{y}",b.y)}}; ol.TileUrlFunction.createFromTemplates=function(a){return ol.TileUrlFunction.createFromTileUrlFunctions(goog.array.map(a,ol.TileUrlFunction.createFromTemplate))};ol.TileUrlFunction.createFromTileUrlFunctions=function(a){return function(b,c,d){if(!goog.isNull(b)){var e=goog.math.modulo(b.hash(),a.length);return a[e](b,c,d)}}}; -ol.TileUrlFunction.createWMSParams=function(a,b){return function(c,d,e){if(!goog.isNull(c)){var f=d.getTileSize(c.z),c=d.getTileCoordExtent(c);return ol.source.wms.getUrl(a,b,c,f,e)}}};ol.TileUrlFunction.nullTileUrlFunction=function(){};ol.TileUrlFunction.withTileCoordTransform=function(a,b){return function(c,d,e){return goog.isNull(c)?void 0:b(a(c,d,e),d,e)}};ol.control.MousePosition=function(a){var b=goog.dom.createDom(goog.dom.TagName.DIV,{"class":"ol-mouse-position"});ol.control.Control.call(this,{element:b,map:a.map,target:a.target});this.projection_=a.projection;this.coordinateFormat_=a.coordinateFormat;this.undefinedHTML_=goog.isDef(a.undefinedHTML)?a.undefinedHTML:"";this.renderedHTML_=b.innerHTML;this.mapProjection_=null;this.transform_=ol.projection.identityTransform;this.listenerKeys_=this.lastMouseMovePixel_=this.renderedProjection_=null}; -goog.inherits(ol.control.MousePosition,ol.control.Control);ol.control.MousePosition.prototype.handleMapPostrender=function(a){a=a.frameState;this.mapProjection_=goog.isNull(a)?null:a.view2DState.projection;this.updateHTML_(this.lastMouseMovePixel_)};ol.control.MousePosition.prototype.handleMouseMove=function(a){var b=this.getMap(),a=goog.style.getRelativePosition(a,b.getViewport()),a=new ol.Pixel(a.x,a.y);this.updateHTML_(a);this.lastMouseMovePixel_=a}; +ol.TileUrlFunction.createWMSParams=function(a,b){return function(c,d,e){if(!goog.isNull(c)){var f=d.getTileSize(c.z),c=d.getTileCoordExtent(c);return ol.source.wms.getUrl(a,b,c,f,e)}}};ol.TileUrlFunction.nullTileUrlFunction=function(){};ol.TileUrlFunction.withTileCoordTransform=function(a,b){return function(c,d,e){return goog.isNull(c)?void 0:b(a(c,d,e),d,e)}};ol.control.MousePosition=function(a){var a=goog.isDef(a)?a:{},b=goog.dom.createDom(goog.dom.TagName.DIV,{"class":"ol-mouse-position"});ol.control.Control.call(this,{element:b,map:a.map,target:a.target});this.projection_=a.projection;this.coordinateFormat_=a.coordinateFormat;this.undefinedHTML_=goog.isDef(a.undefinedHTML)?a.undefinedHTML:"";this.renderedHTML_=b.innerHTML;this.mapProjection_=null;this.transform_=ol.projection.identityTransform;this.listenerKeys_=this.lastMouseMovePixel_=this.renderedProjection_= +null};goog.inherits(ol.control.MousePosition,ol.control.Control);ol.control.MousePosition.prototype.handleMapPostrender=function(a){a=a.frameState;this.mapProjection_=goog.isNull(a)?null:a.view2DState.projection;this.updateHTML_(this.lastMouseMovePixel_)};ol.control.MousePosition.prototype.handleMouseMove=function(a){var b=this.getMap(),a=goog.style.getRelativePosition(a,b.getViewport()),a=new ol.Pixel(a.x,a.y);this.updateHTML_(a);this.lastMouseMovePixel_=a}; ol.control.MousePosition.prototype.handleMouseOut=function(){this.updateHTML_(null);this.lastMouseMovePixel_=null}; ol.control.MousePosition.prototype.setMap=function(a){goog.isNull(this.listenerKeys_)||(goog.array.forEach(this.listenerKeys_,goog.events.unlistenByKey),this.listenerKeys_=null);ol.control.MousePosition.superClass_.setMap.call(this,a);if(!goog.isNull(a)){var b=a.getViewport();this.listenerKeys_=[goog.events.listen(b,goog.events.EventType.MOUSEMOVE,this.handleMouseMove,!1,this),goog.events.listen(b,goog.events.EventType.MOUSEOUT,this.handleMouseOut,!1,this),goog.events.listen(a,ol.MapEventType.POSTRENDER, this.handleMapPostrender,!1,this)]}}; @@ -883,5 +883,5 @@ ol.source.StaticImage.prototype.getImage=function(a){return a.intersects(this.im ol.source.TileJSON.prototype.handleTileJSONResponse=function(){var a=ol.tilejson.grids_.pop(),b=ol.projection.getFromCode("EPSG:4326"),c,d;goog.isDef(a.bounds)?(c=a.bounds,c=new ol.Extent(c[0],c[1],c[2],c[3]),d=c.transform(ol.projection.getTransform(b,this.getProjection())),this.setExtent(d)):d=c=null;goog.isDef(a.scheme);goog.isDef(a.scheme)&&goog.asserts.assert("xyz"==a.scheme);var e=a.minzoom||0;goog.asserts.assert(0===e);var f=a.maxzoom||22,g=new ol.tilegrid.XYZ({maxZoom:f});this.tileGrid=g;this.tileUrlFunction= ol.TileUrlFunction.withTileCoordTransform(function(a){if(a.zc||b<=c)return null;b=goog.math.modulo(a.x,b);return!goog.isNull(d)&&!g.getTileCoordExtent(new ol.TileCoord(a.z,b,a.y)).intersects(d)?null:new ol.TileCoord(a.z,b,c)},ol.TileUrlFunction.createFromTemplates(a.tiles));if(goog.isDef(a.attribution)){b=goog.isNull(d)?b.getExtent():d;c={};var h,i;for(h=e;h<=f;++h)i=h.toString(),c[i]=[g.getTileRangeForExtentAndZ(b,h)];this.setAttributions([new ol.Attribution(a.attribution, c)])}this.ready_=!0;this.dispatchLoadEvent()};ol.source.TileJSON.prototype.isReady=function(){return this.ready_};ol.source.TiledWMS=function(a){goog.isDef(a.tileGrid);var b;a.urls?(b=goog.array.map(a.urls,function(b){return ol.TileUrlFunction.createWMSParams(b,a.params)}),b=ol.TileUrlFunction.createFromTileUrlFunctions(b)):b=a.url?ol.TileUrlFunction.createWMSParams(a.url,a.params):ol.TileUrlFunction.nullTileUrlFunction;var c=goog.isDef(a.params.TRANSPARENT)?a.params.TRANSPARENT:!0,d=a.extent;ol.source.ImageTileSource.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:d,tileGrid:a.tileGrid, -opaque:!c,projection:a.projection,tileUrlFunction:ol.TileUrlFunction.withTileCoordTransform(function(a,b,c){if(b.getResolutions().length<=a.z)return null;var h=a.x,i=b.getTileCoordExtent(a),c=c.getExtent();d=goog.isDef(d)?d:c;d.minX===c.minX&&d.maxX===c.maxX&&(i=Math.ceil((d.maxX-d.minX)/(i.maxX-i.minX)),h=goog.math.modulo(h,i),i=b.getTileCoordExtent(new ol.TileCoord(a.z,h,a.y)));return!i.intersects(d)?null:new ol.TileCoord(a.z,h,a.y)},b)})};goog.inherits(ol.source.TiledWMS,ol.source.ImageTileSource);ol.sphere.WGS84=new ol.Sphere(6378137);ol.AnchoredElementOptionsType={};ol.MapOptionsType={};ol.View2DOptionsType={};ol.animation.BounceOptionsType={};ol.animation.PanOptionsType={};ol.animation.RotateOptionsType={};ol.animation.ZoomOptionsType={};ol.control.AttributionOptionsType={};ol.control.MousePositionOptionsType={};ol.control.ScaleLineOptionsType={};ol.control.ZoomOptionsType={};ol.layer.LayerOptionsType={};ol.source.BingMapsOptionsType={};ol.source.DebugTileSourceOptionsType={};ol.source.SingleImageWMSOptionsType={}; -ol.source.StamenOptionsType={};ol.source.StaticImageOptionsType={};ol.source.TiledWMSOptionsType={};ol.tilegrid.TileGridOptionsType={};ol.tilegrid.XYZOptionsType={}; +opaque:!c,projection:a.projection,tileUrlFunction:ol.TileUrlFunction.withTileCoordTransform(function(a,b,c){if(b.getResolutions().length<=a.z)return null;var h=a.x,i=b.getTileCoordExtent(a),c=c.getExtent();d=goog.isDef(d)?d:c;d.minX===c.minX&&d.maxX===c.maxX&&(i=Math.ceil((d.maxX-d.minX)/(i.maxX-i.minX)),h=goog.math.modulo(h,i),i=b.getTileCoordExtent(new ol.TileCoord(a.z,h,a.y)));return!i.intersects(d)?null:new ol.TileCoord(a.z,h,a.y)},b)})};goog.inherits(ol.source.TiledWMS,ol.source.ImageTileSource);ol.sphere.WGS84=new ol.Sphere(6378137);ol.AnchoredElementOptionsType={};ol.MapOptionsType={};ol.View2DOptionsType={};ol.animation.BounceOptionsType={};ol.animation.PanOptionsType={};ol.animation.RotateOptionsType={};ol.animation.ZoomOptionsType={};ol.control.AttributionOptionsType={};ol.control.DefaultsOptionsType={};ol.control.MousePositionOptionsType={};ol.control.ScaleLineOptionsType={};ol.control.ZoomOptionsType={};ol.interaction.DefaultOptionsType={};ol.layer.LayerOptionsType={};ol.source.BingMapsOptionsType={}; +ol.source.DebugTileSourceOptionsType={};ol.source.SingleImageWMSOptionsType={};ol.source.StamenOptionsType={};ol.source.StaticImageOptionsType={};ol.source.TiledWMSOptionsType={};ol.tilegrid.TileGridOptionsType={};ol.tilegrid.XYZOptionsType={}; diff --git a/master/build/ol-whitespace.js b/master/build/ol-whitespace.js index 9cb56d0cba..a40ef846bd 100644 --- a/master/build/ol-whitespace.js +++ b/master/build/ol-whitespace.js @@ -1472,14 +1472,14 @@ goog.addDependency("/third_party/closure/goog/silverlight/supporteduseragent.js" goog.addDependency("build/src/internal/src/requireall.js", [], ["ol", "ol.AnchoredElement", "ol.AnchoredElementPositioning", "ol.AnchoredElementProperty", "ol.Attribution", "ol.BrowserFeature", "ol.Collection", "ol.CollectionEvent", "ol.CollectionEventType", "ol.Color", "ol.Constraints", "ol.Coordinate", "ol.CoordinateFormatType", "ol.Ellipsoid", "ol.Extent", "ol.FrameState", "ol.Geolocation", "ol.GeolocationProperty", "ol.IView", "ol.IView2D", "ol.IView3D", "ol.Image", "ol.ImageState", "ol.ImageTile", "ol.ImageUrlFunction", "ol.ImageUrlFunctionType", "ol.Kinetic", "ol.Map", "ol.MapBrowserEvent", "ol.MapBrowserEvent.EventType", "ol.MapBrowserEventHandler", "ol.MapEvent", "ol.MapEventType", "ol.MapProperty", "ol.Object", "ol.ObjectEventType", "ol.Pixel", "ol.PixelBounds", "ol.PostRenderFunction", "ol.PreRenderFunction", "ol.Projection", "ol.ProjectionUnits", "ol.Rectangle", "ol.RendererHint", "ol.RendererHints", "ol.ResolutionConstraint", "ol.ResolutionConstraintType", "ol.RotationConstraint", "ol.RotationConstraintType", "ol.Size", "ol.Sphere", "ol.Tile", "ol.TileCache", "ol.TileCoord", "ol.TilePriorityFunction", "ol.TileQueue", "ol.TileRange", "ol.TileState", "ol.TileUrlFunction", "ol.TileUrlFunctionType", "ol.TransformFunction", "ol.View", "ol.View2D", "ol.View2DProperty", "ol.View2DState", "ol.ViewHint", "ol.animation", "ol.array", "ol.canvas", "ol.control.Attribution", "ol.control.Control", "ol.control.ControlOptions", "ol.control.DragBox", "ol.control.MousePosition", "ol.control.ScaleLine", "ol.control.ScaleLineUnits", -"ol.control.Zoom", "ol.dom", "ol.dom.BrowserFeature", "ol.easing", "ol.ellipsoid.WGS84", "ol.interaction.ConditionType", "ol.interaction.DblClickZoom", "ol.interaction.Drag", "ol.interaction.DragPan", "ol.interaction.DragRotate", "ol.interaction.DragRotateAndZoom", "ol.interaction.DragZoom", "ol.interaction.Interaction", "ol.interaction.Keyboard", "ol.interaction.KeyboardPan", "ol.interaction.KeyboardZoom", "ol.interaction.MouseWheelZoom", "ol.interaction.Touch", "ol.interaction.TouchPan", "ol.interaction.TouchRotate", -"ol.interaction.TouchZoom", "ol.interaction.condition", "ol.layer.ImageLayer", "ol.layer.Layer", "ol.layer.LayerProperty", "ol.layer.LayerState", "ol.layer.TileLayer", "ol.math", "ol.parser.XML", "ol.parser.ogc.ExceptionReport", "ol.parser.ogc.OWSCommon_v1", "ol.parser.ogc.OWSCommon_v1_1_0", "ol.parser.ogc.Versioned", "ol.parser.ogc.WMSCapabilities", "ol.parser.ogc.WMSCapabilities_v1", "ol.parser.ogc.WMSCapabilities_v1_1", "ol.parser.ogc.WMSCapabilities_v1_1_0", "ol.parser.ogc.WMSCapabilities_v1_1_1", -"ol.parser.ogc.WMSCapabilities_v1_1_1_WMSC", "ol.parser.ogc.WMSCapabilities_v1_3_0", "ol.parser.ogc.WMTSCapabilities", "ol.parser.ogc.WMTSCapabilities_v1_0_0", "ol.projection", "ol.projection.EPSG3857", "ol.projection.EPSG4326", "ol.projection.addCommonProjections", "ol.renderer.Layer", "ol.renderer.Map", "ol.renderer.canvas.ImageLayer", "ol.renderer.canvas.Layer", "ol.renderer.canvas.Map", "ol.renderer.canvas.SUPPORTED", "ol.renderer.canvas.TileLayer", "ol.renderer.dom.ImageLayer", "ol.renderer.dom.Layer", -"ol.renderer.dom.Map", "ol.renderer.dom.SUPPORTED", "ol.renderer.dom.TileLayer", "ol.renderer.webgl.FragmentShader", "ol.renderer.webgl.ImageLayer", "ol.renderer.webgl.Layer", "ol.renderer.webgl.Map", "ol.renderer.webgl.SUPPORTED", "ol.renderer.webgl.TileLayer", "ol.renderer.webgl.VertexShader", "ol.renderer.webgl.map.shader", "ol.renderer.webgl.tilelayerrenderer", "ol.renderer.webgl.tilelayerrenderer.shader.Fragment", "ol.renderer.webgl.tilelayerrenderer.shader.Vertex", "ol.source.BingMaps", "ol.source.DebugTileSource", -"ol.source.ImageSource", "ol.source.ImageTileSource", "ol.source.ImageTileSourceOptions", "ol.source.MapQuestOSM", "ol.source.MapQuestOpenAerial", "ol.source.OpenStreetMap", "ol.source.SingleImageWMS", "ol.source.Source", "ol.source.Stamen", "ol.source.StaticImage", "ol.source.TileJSON", "ol.source.TileSource", "ol.source.TileSourceOptions", "ol.source.TiledWMS", "ol.source.XYZ", "ol.source.XYZOptions", "ol.source.wms", "ol.sphere.NORMAL", "ol.sphere.WGS84", "ol.structs.LRUCache", "ol.tilegrid.TileGrid", -"ol.tilegrid.XYZ", "ol.tilejson", "ol.vec.Mat4", "ol.webgl", "ol.webgl.WebGLContextEventType"]); -goog.addDependency("build/src/internal/src/types.js", ["ol.AnchoredElementOptionsType", "ol.MapOptionsType", "ol.View2DOptionsType", "ol.animation.BounceOptionsType", "ol.animation.PanOptionsType", "ol.animation.RotateOptionsType", "ol.animation.ZoomOptionsType", "ol.control.AttributionOptionsType", "ol.control.MousePositionOptionsType", "ol.control.ScaleLineOptionsType", "ol.control.ZoomOptionsType", "ol.layer.LayerOptionsType", "ol.source.BingMapsOptionsType", "ol.source.DebugTileSourceOptionsType", -"ol.source.SingleImageWMSOptionsType", "ol.source.StamenOptionsType", "ol.source.StaticImageOptionsType", "ol.source.TiledWMSOptionsType", "ol.tilegrid.TileGridOptionsType", "ol.tilegrid.XYZOptionsType"], []); +"ol.control.Zoom", "ol.control.defaults", "ol.dom", "ol.dom.BrowserFeature", "ol.easing", "ol.ellipsoid.WGS84", "ol.interaction.ConditionType", "ol.interaction.DblClickZoom", "ol.interaction.Drag", "ol.interaction.DragPan", "ol.interaction.DragRotate", "ol.interaction.DragRotateAndZoom", "ol.interaction.DragZoom", "ol.interaction.Interaction", "ol.interaction.Keyboard", "ol.interaction.KeyboardPan", "ol.interaction.KeyboardZoom", "ol.interaction.MouseWheelZoom", "ol.interaction.Touch", "ol.interaction.TouchPan", +"ol.interaction.TouchRotate", "ol.interaction.TouchZoom", "ol.interaction.condition", "ol.interaction.defaults", "ol.layer.ImageLayer", "ol.layer.Layer", "ol.layer.LayerProperty", "ol.layer.LayerState", "ol.layer.TileLayer", "ol.math", "ol.parser.XML", "ol.parser.ogc.ExceptionReport", "ol.parser.ogc.OWSCommon_v1", "ol.parser.ogc.OWSCommon_v1_1_0", "ol.parser.ogc.Versioned", "ol.parser.ogc.WMSCapabilities", "ol.parser.ogc.WMSCapabilities_v1", "ol.parser.ogc.WMSCapabilities_v1_1", "ol.parser.ogc.WMSCapabilities_v1_1_0", +"ol.parser.ogc.WMSCapabilities_v1_1_1", "ol.parser.ogc.WMSCapabilities_v1_1_1_WMSC", "ol.parser.ogc.WMSCapabilities_v1_3_0", "ol.parser.ogc.WMTSCapabilities", "ol.parser.ogc.WMTSCapabilities_v1_0_0", "ol.projection", "ol.projection.EPSG3857", "ol.projection.EPSG4326", "ol.projection.addCommonProjections", "ol.renderer.Layer", "ol.renderer.Map", "ol.renderer.canvas.ImageLayer", "ol.renderer.canvas.Layer", "ol.renderer.canvas.Map", "ol.renderer.canvas.SUPPORTED", "ol.renderer.canvas.TileLayer", "ol.renderer.dom.ImageLayer", +"ol.renderer.dom.Layer", "ol.renderer.dom.Map", "ol.renderer.dom.SUPPORTED", "ol.renderer.dom.TileLayer", "ol.renderer.webgl.FragmentShader", "ol.renderer.webgl.ImageLayer", "ol.renderer.webgl.Layer", "ol.renderer.webgl.Map", "ol.renderer.webgl.SUPPORTED", "ol.renderer.webgl.TileLayer", "ol.renderer.webgl.VertexShader", "ol.renderer.webgl.map.shader", "ol.renderer.webgl.tilelayerrenderer", "ol.renderer.webgl.tilelayerrenderer.shader.Fragment", "ol.renderer.webgl.tilelayerrenderer.shader.Vertex", +"ol.source.BingMaps", "ol.source.DebugTileSource", "ol.source.ImageSource", "ol.source.ImageTileSource", "ol.source.ImageTileSourceOptions", "ol.source.MapQuestOSM", "ol.source.MapQuestOpenAerial", "ol.source.OpenStreetMap", "ol.source.SingleImageWMS", "ol.source.Source", "ol.source.Stamen", "ol.source.StaticImage", "ol.source.TileJSON", "ol.source.TileSource", "ol.source.TileSourceOptions", "ol.source.TiledWMS", "ol.source.XYZ", "ol.source.XYZOptions", "ol.source.wms", "ol.sphere.NORMAL", "ol.sphere.WGS84", +"ol.structs.LRUCache", "ol.tilegrid.TileGrid", "ol.tilegrid.XYZ", "ol.tilejson", "ol.vec.Mat4", "ol.webgl", "ol.webgl.WebGLContextEventType"]); +goog.addDependency("build/src/internal/src/types.js", ["ol.AnchoredElementOptionsType", "ol.MapOptionsType", "ol.View2DOptionsType", "ol.animation.BounceOptionsType", "ol.animation.PanOptionsType", "ol.animation.RotateOptionsType", "ol.animation.ZoomOptionsType", "ol.control.AttributionOptionsType", "ol.control.DefaultsOptionsType", "ol.control.MousePositionOptionsType", "ol.control.ScaleLineOptionsType", "ol.control.ZoomOptionsType", "ol.interaction.DefaultOptionsType", "ol.layer.LayerOptionsType", +"ol.source.BingMapsOptionsType", "ol.source.DebugTileSourceOptionsType", "ol.source.SingleImageWMSOptionsType", "ol.source.StamenOptionsType", "ol.source.StaticImageOptionsType", "ol.source.TiledWMSOptionsType", "ol.tilegrid.TileGridOptionsType", "ol.tilegrid.XYZOptionsType"], []); goog.addDependency("src/ol/anchoredelement.js", ["ol.AnchoredElement", "ol.AnchoredElementPositioning", "ol.AnchoredElementProperty"], ["goog.dom", "goog.events", "goog.style", "ol.Coordinate", "ol.Map", "ol.MapEventType", "ol.Object"]); goog.addDependency("src/ol/animation.js", ["ol.animation"], ["goog.fx.easing", "ol.PreRenderFunction", "ol.ViewHint", "ol.easing"]); goog.addDependency("src/ol/array.js", ["ol.array"], ["goog.array"]); @@ -1491,6 +1491,7 @@ goog.addDependency("src/ol/color.js", ["ol.Color"], ["goog.color", "goog.math"]) goog.addDependency("src/ol/constraints.js", ["ol.Constraints"], ["ol.ResolutionConstraintType", "ol.RotationConstraintType"]); goog.addDependency("src/ol/control/attributioncontrol.js", ["ol.control.Attribution"], ["goog.array", "goog.dom", "goog.dom.TagName", "goog.events", "goog.object", "goog.style", "ol.Attribution", "ol.FrameState", "ol.MapEvent", "ol.MapEventType", "ol.TileRange", "ol.control.Control", "ol.source.Source"]); goog.addDependency("src/ol/control/control.js", ["ol.control.Control", "ol.control.ControlOptions"], ["goog.Disposable"]); +goog.addDependency("src/ol/control/defaults.js", ["ol.control.defaults"], ["goog.array", "ol.control.Attribution", "ol.control.ScaleLine", "ol.control.Zoom"]); goog.addDependency("src/ol/control/dragboxcontrol.js", ["ol.control.DragBox"], ["goog.asserts", "goog.dom", "goog.dom.TagName", "goog.events", "goog.style", "ol.Coordinate", "ol.MapBrowserEvent", "ol.MapBrowserEvent.EventType", "ol.Pixel", "ol.Size", "ol.control.Control"]); goog.addDependency("src/ol/control/mousepositioncontrol.js", ["ol.control.MousePosition"], ["goog.array", "goog.dom", "goog.events", "goog.events.EventType", "goog.style", "ol.Coordinate", "ol.CoordinateFormatType", "ol.MapEvent", "ol.MapEventType", "ol.Pixel", "ol.Projection", "ol.TransformFunction", "ol.control.Control", "ol.projection"]); goog.addDependency("src/ol/control/scalelinecontrol.js", ["ol.control.ScaleLine", "ol.control.ScaleLineUnits"], ["goog.dom", "goog.style", "ol.FrameState", "ol.MapEvent", "ol.MapEventType", "ol.ProjectionUnits", "ol.TransformFunction", "ol.control.Control", "ol.projection", "ol.sphere.NORMAL"]); @@ -1508,6 +1509,7 @@ goog.addDependency("src/ol/imagetile.js", ["ol.ImageTile"], ["goog.array", "goog goog.addDependency("src/ol/imageurlfunction.js", ["ol.ImageUrlFunction", "ol.ImageUrlFunctionType"], ["ol.Extent", "ol.Size", "ol.source.wms"]); goog.addDependency("src/ol/interaction/condition.js", ["ol.interaction.ConditionType", "ol.interaction.condition"], []); goog.addDependency("src/ol/interaction/dblclickzoominteraction.js", ["ol.interaction.DblClickZoom"], ["ol.MapBrowserEvent", "ol.MapBrowserEvent.EventType", "ol.View2D", "ol.interaction.Interaction"]); +goog.addDependency("src/ol/interaction/defaults.js", ["ol.interaction.defaults"], ["ol.Collection", "ol.Kinetic", "ol.interaction.DblClickZoom", "ol.interaction.DragPan", "ol.interaction.DragRotate", "ol.interaction.DragZoom", "ol.interaction.Interaction", "ol.interaction.KeyboardPan", "ol.interaction.KeyboardZoom", "ol.interaction.MouseWheelZoom", "ol.interaction.TouchPan", "ol.interaction.TouchRotate", "ol.interaction.TouchZoom", "ol.interaction.condition"]); goog.addDependency("src/ol/interaction/draginteraction.js", ["ol.interaction.Drag"], ["goog.asserts", "goog.functions", "ol.Coordinate", "ol.MapBrowserEvent", "ol.MapBrowserEvent.EventType", "ol.interaction.Interaction"]); goog.addDependency("src/ol/interaction/dragpaninteraction.js", ["ol.interaction.DragPan"], ["goog.asserts", "ol.Coordinate", "ol.Kinetic", "ol.Pixel", "ol.PreRenderFunction", "ol.View2D", "ol.ViewHint", "ol.interaction.ConditionType", "ol.interaction.Drag"]); goog.addDependency("src/ol/interaction/dragrotateandzoominteraction.js", ["ol.interaction.DragRotateAndZoom"], ["goog.math.Vec2", "ol.View2D", "ol.interaction.ConditionType", "ol.interaction.Drag"]); @@ -1529,9 +1531,9 @@ goog.addDependency("src/ol/kinetic.js", ["ol.Kinetic"], ["ol.Coordinate", "ol.Pr goog.addDependency("src/ol/layer/imagelayer.js", ["ol.layer.ImageLayer"], ["ol.layer.Layer", "ol.source.ImageSource"]); goog.addDependency("src/ol/layer/layer.js", ["ol.layer.Layer", "ol.layer.LayerProperty", "ol.layer.LayerState"], ["goog.events", "goog.events.EventType", "goog.math", "ol.Object", "ol.source.Source"]); goog.addDependency("src/ol/layer/tilelayer.js", ["ol.layer.TileLayer"], ["ol.layer.Layer", "ol.source.TileSource"]); -goog.addDependency("src/ol/map.js", ["ol.Map", "ol.MapProperty", "ol.RendererHint", "ol.RendererHints"], ["goog.Uri.QueryData", "goog.async.AnimationDelay", "goog.debug.Logger", "goog.dom", "goog.dom.ViewportSizeMonitor", "goog.events", "goog.events.BrowserEvent", "goog.events.Event", "goog.events.EventType", "goog.events.KeyHandler", "goog.events.KeyHandler.EventType", "goog.events.MouseWheelHandler", "goog.events.MouseWheelHandler.EventType", "ol.BrowserFeature", "ol.Collection", "ol.Color", "ol.Coordinate", -"ol.Extent", "ol.FrameState", "ol.IView", "ol.Kinetic", "ol.MapBrowserEvent", "ol.MapBrowserEvent.EventType", "ol.MapBrowserEventHandler", "ol.MapEvent", "ol.MapEventType", "ol.Object", "ol.ObjectEventType", "ol.Pixel", "ol.PostRenderFunction", "ol.PreRenderFunction", "ol.Size", "ol.Tile", "ol.TileQueue", "ol.View", "ol.View2D", "ol.control.Attribution", "ol.control.Control", "ol.control.ScaleLine", "ol.control.Zoom", "ol.interaction.DblClickZoom", "ol.interaction.DragPan", "ol.interaction.DragRotate", -"ol.interaction.DragZoom", "ol.interaction.Interaction", "ol.interaction.KeyboardPan", "ol.interaction.KeyboardZoom", "ol.interaction.MouseWheelZoom", "ol.interaction.TouchPan", "ol.interaction.TouchRotate", "ol.interaction.TouchZoom", "ol.interaction.condition", "ol.layer.Layer", "ol.projection", "ol.projection.addCommonProjections", "ol.renderer.Map", "ol.renderer.canvas.Map", "ol.renderer.canvas.SUPPORTED", "ol.renderer.dom.Map", "ol.renderer.dom.SUPPORTED", "ol.renderer.webgl.Map", "ol.renderer.webgl.SUPPORTED"]); +goog.addDependency("src/ol/map.js", ["ol.Map", "ol.MapProperty", "ol.RendererHint", "ol.RendererHints"], ["goog.Uri.QueryData", "goog.async.AnimationDelay", "goog.debug.Logger", "goog.dom", "goog.dom.ViewportSizeMonitor", "goog.events", "goog.events.BrowserEvent", "goog.events.Event", "goog.events.EventType", "goog.events.KeyHandler", "goog.events.KeyHandler.EventType", "goog.events.MouseWheelHandler", "goog.events.MouseWheelHandler.EventType", "goog.style", "ol.BrowserFeature", "ol.Collection", +"ol.Color", "ol.Coordinate", "ol.Extent", "ol.FrameState", "ol.IView", "ol.MapBrowserEvent", "ol.MapBrowserEvent.EventType", "ol.MapBrowserEventHandler", "ol.MapEvent", "ol.MapEventType", "ol.Object", "ol.ObjectEventType", "ol.Pixel", "ol.PostRenderFunction", "ol.PreRenderFunction", "ol.Size", "ol.Tile", "ol.TileQueue", "ol.View", "ol.View2D", "ol.control.defaults", "ol.interaction.defaults", "ol.layer.Layer", "ol.projection", "ol.projection.addCommonProjections", "ol.renderer.Map", "ol.renderer.canvas.Map", +"ol.renderer.canvas.SUPPORTED", "ol.renderer.dom.Map", "ol.renderer.dom.SUPPORTED", "ol.renderer.webgl.Map", "ol.renderer.webgl.SUPPORTED"]); goog.addDependency("src/ol/mapbrowserevent.js", ["ol.MapBrowserEvent", "ol.MapBrowserEvent.EventType", "ol.MapBrowserEventHandler"], ["goog.array", "goog.events.BrowserEvent", "goog.events.EventTarget", "goog.events.EventType", "goog.style", "ol.BrowserFeature", "ol.Coordinate", "ol.FrameState", "ol.MapEvent", "ol.Pixel"]); goog.addDependency("src/ol/mapevent.js", ["ol.MapEvent", "ol.MapEventType"], ["goog.events.Event", "ol.FrameState"]); goog.addDependency("src/ol/math.js", ["ol.math"], []); @@ -9408,12 +9410,10 @@ goog.provide("ol.CollectionEventType"); goog.require("goog.array"); goog.require("goog.events.Event"); goog.require("ol.Object"); -ol.CollectionEventType = {ADD:"add", INSERT_AT:"insert_at", REMOVE:"remove", REMOVE_AT:"remove_at", SET_AT:"set_at"}; -ol.CollectionEvent = function(type, opt_elem, opt_index, opt_prev, opt_target) { +ol.CollectionEventType = {ADD:"add", REMOVE:"remove"}; +ol.CollectionEvent = function(type, opt_elem, opt_target) { goog.base(this, type, opt_target); - this.elem = opt_elem; - this.index = opt_index; - this.prev = opt_prev + this.elem = opt_elem }; goog.inherits(ol.CollectionEvent, goog.events.Event); ol.CollectionProperty = {LENGTH:"length"}; @@ -9428,6 +9428,12 @@ ol.Collection.prototype.clear = function() { this.pop() } }; +ol.Collection.prototype.extend = function(arr) { + var i; + for(i = 0;i < arr.length;++i) { + this.push(arr[i]) + } +}; ol.Collection.prototype.forEach = function(f, opt_obj) { goog.array.forEach(this.array_, f, opt_obj) }; @@ -9443,8 +9449,7 @@ ol.Collection.prototype.getLength = function() { ol.Collection.prototype.insertAt = function(index, elem) { goog.array.insertAt(this.array_, elem, index); this.updateLength_(); - this.dispatchEvent(new ol.CollectionEvent(ol.CollectionEventType.ADD, elem, undefined, undefined, this)); - this.dispatchEvent(new ol.CollectionEvent(ol.CollectionEventType.INSERT_AT, elem, index, undefined, this)) + this.dispatchEvent(new ol.CollectionEvent(ol.CollectionEventType.ADD, elem, this)) }; ol.Collection.prototype.pop = function() { return this.removeAt(this.getLength() - 1) @@ -9454,12 +9459,20 @@ ol.Collection.prototype.push = function(elem) { this.insertAt(n, elem); return n }; +ol.Collection.prototype.remove = function(elem) { + var i; + for(i = 0;i < this.array_.length;++i) { + if(this.array_[i] === elem) { + return this.removeAt(i) + } + } + return undefined +}; ol.Collection.prototype.removeAt = function(index) { var prev = this.array_[index]; goog.array.removeAt(this.array_, index); this.updateLength_(); - this.dispatchEvent(new ol.CollectionEvent(ol.CollectionEventType.REMOVE, prev, undefined, undefined, this)); - this.dispatchEvent(new ol.CollectionEvent(ol.CollectionEventType.REMOVE_AT, undefined, index, prev, this)); + this.dispatchEvent(new ol.CollectionEvent(ol.CollectionEventType.REMOVE, prev, this)); return prev }; ol.Collection.prototype.setAt = function(index, elem) { @@ -9467,9 +9480,8 @@ ol.Collection.prototype.setAt = function(index, elem) { if(index < n) { var prev = this.array_[index]; this.array_[index] = elem; - this.dispatchEvent(new ol.CollectionEvent(ol.CollectionEventType.SET_AT, elem, index, prev, this)); - this.dispatchEvent(new ol.CollectionEvent(ol.CollectionEventType.REMOVE, prev, undefined, undefined, this)); - this.dispatchEvent(new ol.CollectionEvent(ol.CollectionEventType.ADD, elem, undefined, undefined, this)) + this.dispatchEvent(new ol.CollectionEvent(ol.CollectionEventType.REMOVE, prev, this)); + this.dispatchEvent(new ol.CollectionEvent(ol.CollectionEventType.ADD, elem, this)) }else { var j; for(j = n;j < index;++j) { @@ -11373,6 +11385,10 @@ goog.require("ol.sphere.NORMAL"); ol.ENABLE_PROJ4JS = true; ol.HAVE_PROJ4JS = ol.ENABLE_PROJ4JS && typeof Proj4js == "object"; ol.ProjectionUnits = {DEGREES:"degrees", FEET:"ft", METERS:"m"}; +ol.METERS_PER_UNIT = {}; +ol.METERS_PER_UNIT[ol.ProjectionUnits.DEGREES] = 2 * Math.PI * ol.sphere.NORMAL.radius / 360; +ol.METERS_PER_UNIT[ol.ProjectionUnits.FEET] = 0.3048; +ol.METERS_PER_UNIT[ol.ProjectionUnits.METERS] = 1; ol.Projection = function(code, units, extent, opt_axisOrientation) { this.code_ = code; this.units_ = units; @@ -11390,6 +11406,9 @@ ol.Projection.prototype.getPointResolution = goog.abstractMethod; ol.Projection.prototype.getUnits = function() { return this.units_ }; +ol.Projection.prototype.getMetersPerUnit = function() { + return ol.METERS_PER_UNIT[this.units_] +}; ol.Projection.prototype.getAxisOrientation = function() { return this.axisOrientation_ }; @@ -11525,7 +11544,12 @@ ol.projection.getProj4jsProjectionFromCode_ = function(code) { var proj4jsProjection = proj4jsProjections[code]; if(!goog.isDef(proj4jsProjection)) { var proj4jsProj = new Proj4js.Proj(code); - proj4jsProjection = new ol.Proj4jsProjection_(code, proj4jsProj); + var srsCode = proj4jsProj.srsCode; + proj4jsProjection = proj4jsProjections[srsCode]; + if(!goog.isDef(proj4jsProjection)) { + proj4jsProjection = new ol.Proj4jsProjection_(srsCode, proj4jsProj); + proj4jsProjections[srsCode] = proj4jsProjection + } proj4jsProjections[code] = proj4jsProjection } return proj4jsProjection @@ -11825,234 +11849,6 @@ ol.IView.prototype.getView2D = function() { }; ol.IView.prototype.getView3D = function() { }; -goog.provide("goog.fx.easing"); -goog.fx.easing.easeIn = function(t) { - return t * t * t -}; -goog.fx.easing.easeOut = function(t) { - return 1 - Math.pow(1 - t, 3) -}; -goog.fx.easing.inAndOut = function(t) { - return 3 * t * t - 2 * t * t * t -}; -goog.provide("ol.View"); -goog.provide("ol.ViewHint"); -goog.require("goog.array"); -goog.require("ol.IView"); -goog.require("ol.Object"); -ol.ViewHint = {ANIMATING:0, INTERACTING:1}; -ol.View = function() { - goog.base(this); - this.hints_ = [0, 0] -}; -goog.inherits(ol.View, ol.Object); -ol.View.prototype.getHints = function() { - return goog.array.clone(this.hints_) -}; -ol.View.prototype.getView2D = goog.abstractMethod; -ol.View.prototype.getView3D = goog.abstractMethod; -ol.View.prototype.setHint = function(hint, delta) { - goog.asserts.assert(0 <= hint && hint < this.hints_.length); - this.hints_[hint] += delta; - goog.asserts.assert(this.hints_[hint] >= 0) -}; -goog.provide("ol.easing"); -ol.easing.linear = function(t) { - return t -}; -ol.easing.upAndDown = function(t) { - if(t < 0.5) { - return goog.fx.easing.inAndOut(2 * t) - }else { - return 1 - goog.fx.easing.inAndOut(2 * (t - 0.5)) - } -}; -ol.easing.elastic = function(t) { - return Math.pow(2, -10 * t) * Math.sin((t - 0.075) * 2 * Math.PI / 0.3) + 1 -}; -ol.easing.bounce = function(t) { - var s = 7.5625, p = 2.75, l; - if(t < 1 / p) { - l = s * t * t - }else { - if(t < 2 / p) { - t -= 1.5 / p; - l = s * t * t + 0.75 - }else { - if(t < 2.5 / p) { - t -= 2.25 / p; - l = s * t * t + 0.9375 - }else { - t -= 2.625 / p; - l = s * t * t + 0.984375 - } - } - } - return l -}; -goog.provide("ol.animation"); -goog.require("goog.fx.easing"); -goog.require("ol.PreRenderFunction"); -goog.require("ol.ViewHint"); -goog.require("ol.easing"); -ol.animation.bounce = function(options) { - var resolution = options.resolution; - var start = goog.isDef(options.start) ? options.start : goog.now(); - var duration = goog.isDef(options.duration) ? options.duration : 1E3; - var easing = goog.isDef(options.easing) ? options.easing : ol.easing.upAndDown; - return function(map, frameState) { - if(frameState.time < start) { - frameState.animate = true; - frameState.viewHints[ol.ViewHint.ANIMATING] += 1; - return true - }else { - if(frameState.time < start + duration) { - var delta = easing((frameState.time - start) / duration); - var deltaResolution = resolution - frameState.view2DState.resolution; - frameState.animate = true; - frameState.view2DState.resolution += delta * deltaResolution; - frameState.viewHints[ol.ViewHint.ANIMATING] += 1; - return true - }else { - return false - } - } - } -}; -ol.animation.pan = function(options) { - var source = options.source; - var start = goog.isDef(options.start) ? options.start : goog.now(); - var sourceX = source.x; - var sourceY = source.y; - var duration = goog.isDef(options.duration) ? options.duration : 1E3; - var easing = goog.isDef(options.easing) ? options.easing : goog.fx.easing.inAndOut; - return function(map, frameState) { - if(frameState.time < start) { - frameState.animate = true; - frameState.viewHints[ol.ViewHint.ANIMATING] += 1; - return true - }else { - if(frameState.time < start + duration) { - var delta = 1 - easing((frameState.time - start) / duration); - var deltaX = sourceX - frameState.view2DState.center.x; - var deltaY = sourceY - frameState.view2DState.center.y; - frameState.animate = true; - frameState.view2DState.center.x += delta * deltaX; - frameState.view2DState.center.y += delta * deltaY; - frameState.viewHints[ol.ViewHint.ANIMATING] += 1; - return true - }else { - return false - } - } - } -}; -ol.animation.rotate = function(options) { - var sourceRotation = options.rotation; - var start = goog.isDef(options.start) ? options.start : goog.now(); - var duration = goog.isDef(options.duration) ? options.duration : 1E3; - var easing = goog.isDef(options.easing) ? options.easing : goog.fx.easing.inAndOut; - return function(map, frameState) { - if(frameState.time < start) { - frameState.animate = true; - frameState.viewHints[ol.ViewHint.ANIMATING] += 1; - return true - }else { - if(frameState.time < start + duration) { - var delta = 1 - easing((frameState.time - start) / duration); - var deltaRotation = sourceRotation - frameState.view2DState.rotation; - frameState.animate = true; - frameState.view2DState.rotation += delta * deltaRotation; - frameState.viewHints[ol.ViewHint.ANIMATING] += 1; - return true - }else { - return false - } - } - } -}; -ol.animation.zoom = function(options) { - var sourceResolution = options.resolution; - var start = goog.isDef(options.start) ? options.start : goog.now(); - var duration = goog.isDef(options.duration) ? options.duration : 1E3; - var easing = goog.isDef(options.easing) ? options.easing : ol.easing.linear; - return function(map, frameState) { - if(frameState.time < start) { - frameState.animate = true; - frameState.viewHints[ol.ViewHint.ANIMATING] += 1; - return true - }else { - if(frameState.time < start + duration) { - var delta = 1 - easing((frameState.time - start) / duration); - var deltaResolution = sourceResolution - frameState.view2DState.resolution; - frameState.animate = true; - frameState.view2DState.resolution += delta * deltaResolution; - frameState.viewHints[ol.ViewHint.ANIMATING] += 1; - return true - }else { - return false - } - } - } -}; -goog.provide("ol.Kinetic"); -goog.require("ol.Coordinate"); -goog.require("ol.PreRenderFunction"); -goog.require("ol.animation"); -ol.KineticPoint; -ol.Kinetic = function(decay, minVelocity, delay) { - this.decay_ = decay; - this.minVelocity_ = minVelocity; - this.delay_ = delay; - this.points_ = []; - this.angle_ = 0; - this.initialVelocity_ = 0 -}; -ol.Kinetic.prototype.begin = function() { - this.points_.length = 0; - this.angle_ = 0; - this.initialVelocity_ = 0 -}; -ol.Kinetic.prototype.update = function(x, y) { - this.points_.push({x:x, y:y, t:goog.now()}) -}; -ol.Kinetic.prototype.end = function() { - var now = goog.now(); - var lastIndex = this.points_.length - 1; - var firstIndex = lastIndex - 1; - while(firstIndex >= 0 && this.points_[firstIndex].t > now - this.delay_) { - firstIndex-- - } - if(firstIndex >= 0) { - var first = this.points_[firstIndex]; - var last = this.points_[lastIndex]; - var dx = last.x - first.x; - var dy = last.y - first.y; - this.angle_ = Math.atan2(dy, dx); - this.initialVelocity_ = Math.sqrt(dx * dx + dy * dy) / (last.t - first.t); - return this.initialVelocity_ > this.minVelocity_ - } - return false -}; -ol.Kinetic.prototype.pan = function(source) { - var decay = this.decay_; - var initialVelocity = this.initialVelocity_; - var minVelocity = this.minVelocity_; - var duration = this.getDuration_(); - var easingFunction = function(t) { - return initialVelocity * (Math.exp(decay * t * duration) - 1) / (minVelocity - initialVelocity) - }; - return ol.animation.pan({source:source, duration:duration, easing:easingFunction}) -}; -ol.Kinetic.prototype.getDuration_ = function() { - return Math.log(this.minVelocity_ / this.initialVelocity_) / this.decay_ -}; -ol.Kinetic.prototype.getDistance = function() { - return(this.minVelocity_ - this.initialVelocity_) / this.decay_ -}; -ol.Kinetic.prototype.getAngle = function() { - return this.angle_ -}; goog.provide("ol.MapEvent"); goog.provide("ol.MapEventType"); goog.require("goog.events.Event"); @@ -12215,6 +12011,37 @@ ol.MapBrowserEventHandler.prototype.disposeInternal = function() { goog.base(this, "disposeInternal") }; ol.MapBrowserEvent.EventType = {CLICK:goog.events.EventType.CLICK, DBLCLICK:goog.events.EventType.DBLCLICK, DOWN:"down", DRAGSTART:"dragstart", DRAG:"drag", DRAGEND:"dragend", TOUCHSTART:goog.events.EventType.TOUCHSTART, TOUCHMOVE:goog.events.EventType.TOUCHMOVE, TOUCHEND:goog.events.EventType.TOUCHEND}; +goog.provide("ol.View"); +goog.provide("ol.ViewHint"); +goog.require("goog.array"); +goog.require("ol.IView"); +goog.require("ol.Object"); +ol.ViewHint = {ANIMATING:0, INTERACTING:1}; +ol.View = function() { + goog.base(this); + this.hints_ = [0, 0] +}; +goog.inherits(ol.View, ol.Object); +ol.View.prototype.getHints = function() { + return goog.array.clone(this.hints_) +}; +ol.View.prototype.getView2D = goog.abstractMethod; +ol.View.prototype.getView3D = goog.abstractMethod; +ol.View.prototype.setHint = function(hint, delta) { + goog.asserts.assert(0 <= hint && hint < this.hints_.length); + this.hints_[hint] += delta; + goog.asserts.assert(this.hints_[hint] >= 0) +}; +goog.provide("goog.fx.easing"); +goog.fx.easing.easeIn = function(t) { + return t * t * t +}; +goog.fx.easing.easeOut = function(t) { + return 1 - Math.pow(1 - t, 3) +}; +goog.fx.easing.inAndOut = function(t) { + return 3 * t * t - 2 * t * t * t +}; goog.provide("ol.array"); goog.require("goog.array"); ol.array.binaryFindNearest = function(arr, target) { @@ -12350,6 +12177,145 @@ ol.Constraints = function(resolutionConstraint, rotationConstraint) { this.resolution = resolutionConstraint; this.rotation = rotationConstraint }; +goog.provide("ol.easing"); +ol.easing.linear = function(t) { + return t +}; +ol.easing.upAndDown = function(t) { + if(t < 0.5) { + return goog.fx.easing.inAndOut(2 * t) + }else { + return 1 - goog.fx.easing.inAndOut(2 * (t - 0.5)) + } +}; +ol.easing.elastic = function(t) { + return Math.pow(2, -10 * t) * Math.sin((t - 0.075) * 2 * Math.PI / 0.3) + 1 +}; +ol.easing.bounce = function(t) { + var s = 7.5625, p = 2.75, l; + if(t < 1 / p) { + l = s * t * t + }else { + if(t < 2 / p) { + t -= 1.5 / p; + l = s * t * t + 0.75 + }else { + if(t < 2.5 / p) { + t -= 2.25 / p; + l = s * t * t + 0.9375 + }else { + t -= 2.625 / p; + l = s * t * t + 0.984375 + } + } + } + return l +}; +goog.provide("ol.animation"); +goog.require("goog.fx.easing"); +goog.require("ol.PreRenderFunction"); +goog.require("ol.ViewHint"); +goog.require("ol.easing"); +ol.animation.bounce = function(options) { + var resolution = options.resolution; + var start = goog.isDef(options.start) ? options.start : goog.now(); + var duration = goog.isDef(options.duration) ? options.duration : 1E3; + var easing = goog.isDef(options.easing) ? options.easing : ol.easing.upAndDown; + return function(map, frameState) { + if(frameState.time < start) { + frameState.animate = true; + frameState.viewHints[ol.ViewHint.ANIMATING] += 1; + return true + }else { + if(frameState.time < start + duration) { + var delta = easing((frameState.time - start) / duration); + var deltaResolution = resolution - frameState.view2DState.resolution; + frameState.animate = true; + frameState.view2DState.resolution += delta * deltaResolution; + frameState.viewHints[ol.ViewHint.ANIMATING] += 1; + return true + }else { + return false + } + } + } +}; +ol.animation.pan = function(options) { + var source = options.source; + var start = goog.isDef(options.start) ? options.start : goog.now(); + var sourceX = source.x; + var sourceY = source.y; + var duration = goog.isDef(options.duration) ? options.duration : 1E3; + var easing = goog.isDef(options.easing) ? options.easing : goog.fx.easing.inAndOut; + return function(map, frameState) { + if(frameState.time < start) { + frameState.animate = true; + frameState.viewHints[ol.ViewHint.ANIMATING] += 1; + return true + }else { + if(frameState.time < start + duration) { + var delta = 1 - easing((frameState.time - start) / duration); + var deltaX = sourceX - frameState.view2DState.center.x; + var deltaY = sourceY - frameState.view2DState.center.y; + frameState.animate = true; + frameState.view2DState.center.x += delta * deltaX; + frameState.view2DState.center.y += delta * deltaY; + frameState.viewHints[ol.ViewHint.ANIMATING] += 1; + return true + }else { + return false + } + } + } +}; +ol.animation.rotate = function(options) { + var sourceRotation = options.rotation; + var start = goog.isDef(options.start) ? options.start : goog.now(); + var duration = goog.isDef(options.duration) ? options.duration : 1E3; + var easing = goog.isDef(options.easing) ? options.easing : goog.fx.easing.inAndOut; + return function(map, frameState) { + if(frameState.time < start) { + frameState.animate = true; + frameState.viewHints[ol.ViewHint.ANIMATING] += 1; + return true + }else { + if(frameState.time < start + duration) { + var delta = 1 - easing((frameState.time - start) / duration); + var deltaRotation = sourceRotation - frameState.view2DState.rotation; + frameState.animate = true; + frameState.view2DState.rotation += delta * deltaRotation; + frameState.viewHints[ol.ViewHint.ANIMATING] += 1; + return true + }else { + return false + } + } + } +}; +ol.animation.zoom = function(options) { + var sourceResolution = options.resolution; + var start = goog.isDef(options.start) ? options.start : goog.now(); + var duration = goog.isDef(options.duration) ? options.duration : 1E3; + var easing = goog.isDef(options.easing) ? options.easing : ol.easing.linear; + return function(map, frameState) { + if(frameState.time < start) { + frameState.animate = true; + frameState.viewHints[ol.ViewHint.ANIMATING] += 1; + return true + }else { + if(frameState.time < start + duration) { + var delta = 1 - easing((frameState.time - start) / duration); + var deltaResolution = sourceResolution - frameState.view2DState.resolution; + frameState.animate = true; + frameState.view2DState.resolution += delta * deltaResolution; + frameState.viewHints[ol.ViewHint.ANIMATING] += 1; + return true + }else { + return false + } + } + } +}; goog.provide("ol.View2D"); goog.provide("ol.View2DProperty"); goog.require("goog.fx.easing"); @@ -12588,10 +12554,11 @@ goog.require("ol.MapEventType"); goog.require("ol.TileRange"); goog.require("ol.control.Control"); goog.require("ol.source.Source"); -ol.control.Attribution = function(attributionOptions) { +ol.control.Attribution = function(opt_options) { + var options = goog.isDef(opt_options) ? opt_options : {}; this.ulElement_ = goog.dom.createElement(goog.dom.TagName.UL); var element = goog.dom.createDom(goog.dom.TagName.DIV, {"class":"ol-attribution ol-unselectable"}, this.ulElement_); - goog.base(this, {element:element, map:attributionOptions.map, target:attributionOptions.target}); + goog.base(this, {element:element, map:options.map, target:options.target}); this.renderedVisible_ = true; this.attributionElements_ = {}; this.attributionElementRenderedVisible_ = {}; @@ -12872,14 +12839,15 @@ goog.require("goog.events"); goog.require("goog.events.EventType"); goog.require("ol.control.Control"); ol.control.ZOOM_DURATION = 250; -ol.control.Zoom = function(zoomOptions) { +ol.control.Zoom = function(opt_options) { + var options = goog.isDef(opt_options) ? opt_options : {}; var inElement = goog.dom.createDom(goog.dom.TagName.A, {"href":"#zoomIn", "class":"ol-zoom-in"}); goog.events.listen(inElement, [goog.events.EventType.TOUCHEND, goog.events.EventType.CLICK], this.handleIn_, false, this); var outElement = goog.dom.createDom(goog.dom.TagName.A, {"href":"#zoomOut", "class":"ol-zoom-out"}); goog.events.listen(outElement, [goog.events.EventType.TOUCHEND, goog.events.EventType.CLICK], this.handleOut_, false, this); var element = goog.dom.createDom(goog.dom.TagName.DIV, "ol-zoom ol-unselectable", inElement, outElement); - goog.base(this, {element:element, map:zoomOptions.map, target:zoomOptions.target}); - this.delta_ = goog.isDef(zoomOptions.delta) ? zoomOptions.delta : 1 + goog.base(this, {element:element, map:options.map, target:options.target}); + this.delta_ = goog.isDef(options.delta) ? options.delta : 1 }; goog.inherits(ol.control.Zoom, ol.control.Control); ol.control.Zoom.prototype.handleIn_ = function(browserEvent) { @@ -12894,6 +12862,92 @@ ol.control.Zoom.prototype.handleOut_ = function(browserEvent) { map.requestRenderFrame(); map.getView().zoomByDelta(map, -this.delta_, undefined, ol.control.ZOOM_DURATION) }; +goog.provide("ol.control.defaults"); +goog.require("goog.array"); +goog.require("ol.control.Attribution"); +goog.require("ol.control.ScaleLine"); +goog.require("ol.control.Zoom"); +ol.control.defaults = function(opt_options, opt_controls) { + var options = goog.isDef(opt_options) ? opt_options : {}; + var controls = []; + var attributionControl = goog.isDef(options.attribution) ? options.attribution : true; + if(attributionControl) { + var attributionControlOptions = goog.isDef(options.attributionOptions) ? options.attributionOptions : undefined; + controls.push(new ol.control.Attribution(attributionControlOptions)) + } + var scaleLineControl = goog.isDef(options.scaleLine) ? options.scaleLine : false; + if(scaleLineControl) { + var scaleLineOptions = goog.isDef(options.scaleLineOptions) ? options.scaleLineOptions : undefined; + controls.push(new ol.control.ScaleLine(scaleLineOptions)) + } + var zoomControl = goog.isDef(options.zoom) ? options.zoom : true; + if(zoomControl) { + var zoomControlOptions = goog.isDef(options.zoomControlOptions) ? options.zoomControlOptions : undefined; + controls.push(new ol.control.Zoom(zoomControlOptions)) + } + if(goog.isDef(opt_controls)) { + goog.array.extend(controls, opt_controls) + } + return controls +}; +goog.provide("ol.Kinetic"); +goog.require("ol.Coordinate"); +goog.require("ol.PreRenderFunction"); +goog.require("ol.animation"); +ol.KineticPoint; +ol.Kinetic = function(decay, minVelocity, delay) { + this.decay_ = decay; + this.minVelocity_ = minVelocity; + this.delay_ = delay; + this.points_ = []; + this.angle_ = 0; + this.initialVelocity_ = 0 +}; +ol.Kinetic.prototype.begin = function() { + this.points_.length = 0; + this.angle_ = 0; + this.initialVelocity_ = 0 +}; +ol.Kinetic.prototype.update = function(x, y) { + this.points_.push({x:x, y:y, t:goog.now()}) +}; +ol.Kinetic.prototype.end = function() { + var now = goog.now(); + var lastIndex = this.points_.length - 1; + var firstIndex = lastIndex - 1; + while(firstIndex >= 0 && this.points_[firstIndex].t > now - this.delay_) { + firstIndex-- + } + if(firstIndex >= 0) { + var first = this.points_[firstIndex]; + var last = this.points_[lastIndex]; + var dx = last.x - first.x; + var dy = last.y - first.y; + this.angle_ = Math.atan2(dy, dx); + this.initialVelocity_ = Math.sqrt(dx * dx + dy * dy) / (last.t - first.t); + return this.initialVelocity_ > this.minVelocity_ + } + return false +}; +ol.Kinetic.prototype.pan = function(source) { + var decay = this.decay_; + var initialVelocity = this.initialVelocity_; + var minVelocity = this.minVelocity_; + var duration = this.getDuration_(); + var easingFunction = function(t) { + return initialVelocity * (Math.exp(decay * t * duration) - 1) / (minVelocity - initialVelocity) + }; + return ol.animation.pan({source:source, duration:duration, easing:easingFunction}) +}; +ol.Kinetic.prototype.getDuration_ = function() { + return Math.log(this.minVelocity_ / this.initialVelocity_) / this.decay_ +}; +ol.Kinetic.prototype.getDistance = function() { + return(this.minVelocity_ - this.initialVelocity_) / this.decay_ +}; +ol.Kinetic.prototype.getAngle = function() { + return this.angle_ +}; goog.provide("ol.interaction.Interaction"); goog.require("ol.MapBrowserEvent"); ol.interaction.Interaction = function() { @@ -13575,6 +13629,68 @@ ol.interaction.TouchZoom.prototype.handleTouchStart = function(mapBrowserEvent) return false } }; +goog.provide("ol.interaction.defaults"); +goog.require("ol.Collection"); +goog.require("ol.Kinetic"); +goog.require("ol.interaction.DblClickZoom"); +goog.require("ol.interaction.DragPan"); +goog.require("ol.interaction.DragRotate"); +goog.require("ol.interaction.DragZoom"); +goog.require("ol.interaction.Interaction"); +goog.require("ol.interaction.KeyboardPan"); +goog.require("ol.interaction.KeyboardZoom"); +goog.require("ol.interaction.MouseWheelZoom"); +goog.require("ol.interaction.TouchPan"); +goog.require("ol.interaction.TouchRotate"); +goog.require("ol.interaction.TouchZoom"); +goog.require("ol.interaction.condition"); +ol.interaction.defaults = function(opt_options, opt_interactions) { + var options = goog.isDef(opt_options) ? opt_options : {}; + var interactions = new ol.Collection; + var rotate = goog.isDef(options.rotate) ? options.rotate : true; + if(rotate) { + interactions.push(new ol.interaction.DragRotate(ol.interaction.condition.altShiftKeysOnly)) + } + var doubleClickZoom = goog.isDef(options.doubleClickZoom) ? options.doubleClickZoom : true; + if(doubleClickZoom) { + var zoomDelta = goog.isDef(options.zoomDelta) ? options.zoomDelta : 1; + interactions.push(new ol.interaction.DblClickZoom(zoomDelta)) + } + var touchPan = goog.isDef(options.touchPan) ? options.touchPan : true; + if(touchPan) { + interactions.push(new ol.interaction.TouchPan(new ol.Kinetic(-0.005, 0.05, 100))) + } + var touchRotate = goog.isDef(options.touchRotate) ? options.touchRotate : true; + if(touchRotate) { + interactions.push(new ol.interaction.TouchRotate) + } + var touchZoom = goog.isDef(options.touchZoom) ? options.touchZoom : true; + if(touchZoom) { + interactions.push(new ol.interaction.TouchZoom) + } + var dragPan = goog.isDef(options.dragPan) ? options.dragPan : true; + if(dragPan) { + interactions.push(new ol.interaction.DragPan(ol.interaction.condition.noModifierKeys, new ol.Kinetic(-0.005, 0.05, 100))) + } + var keyboard = goog.isDef(options.keyboard) ? options.keyboard : true; + var keyboardPanOffset = goog.isDef(options.keyboardPanOffset) ? options.keyboardPanOffset : 80; + if(keyboard) { + interactions.push(new ol.interaction.KeyboardPan(keyboardPanOffset)); + interactions.push(new ol.interaction.KeyboardZoom) + } + var mouseWheelZoom = goog.isDef(options.mouseWheelZoom) ? options.mouseWheelZoom : true; + if(mouseWheelZoom) { + interactions.push(new ol.interaction.MouseWheelZoom) + } + var shiftDragZoom = goog.isDef(options.shiftDragZoom) ? options.shiftDragZoom : true; + if(shiftDragZoom) { + interactions.push(new ol.interaction.DragZoom(ol.interaction.condition.shiftKeyOnly)) + } + if(goog.isDef(opt_interactions)) { + interactions.extend(opt_interactions) + } + return interactions +}; goog.provide("ol.math"); ol.math.cosh = function(x) { return(Math.exp(x) + Math.exp(-x)) / 2 @@ -16500,6 +16616,7 @@ goog.require("goog.events.KeyHandler"); goog.require("goog.events.KeyHandler.EventType"); goog.require("goog.events.MouseWheelHandler"); goog.require("goog.events.MouseWheelHandler.EventType"); +goog.require("goog.style"); goog.require("ol.BrowserFeature"); goog.require("ol.Collection"); goog.require("ol.Color"); @@ -16507,7 +16624,6 @@ goog.require("ol.Coordinate"); goog.require("ol.Extent"); goog.require("ol.FrameState"); goog.require("ol.IView"); -goog.require("ol.Kinetic"); goog.require("ol.MapBrowserEvent"); goog.require("ol.MapBrowserEvent.EventType"); goog.require("ol.MapBrowserEventHandler"); @@ -16523,22 +16639,8 @@ goog.require("ol.Tile"); goog.require("ol.TileQueue"); goog.require("ol.View"); goog.require("ol.View2D"); -goog.require("ol.control.Attribution"); -goog.require("ol.control.Control"); -goog.require("ol.control.ScaleLine"); -goog.require("ol.control.Zoom"); -goog.require("ol.interaction.DblClickZoom"); -goog.require("ol.interaction.DragPan"); -goog.require("ol.interaction.DragRotate"); -goog.require("ol.interaction.DragZoom"); -goog.require("ol.interaction.Interaction"); -goog.require("ol.interaction.KeyboardPan"); -goog.require("ol.interaction.KeyboardZoom"); -goog.require("ol.interaction.MouseWheelZoom"); -goog.require("ol.interaction.TouchPan"); -goog.require("ol.interaction.TouchRotate"); -goog.require("ol.interaction.TouchZoom"); -goog.require("ol.interaction.condition"); +goog.require("ol.control.defaults"); +goog.require("ol.interaction.defaults"); goog.require("ol.layer.Layer"); goog.require("ol.projection"); goog.require("ol.projection.addCommonProjections"); @@ -16603,10 +16705,11 @@ ol.Map = function(mapOptions) { goog.events.listen(this, ol.Object.getChangedEventType(ol.MapProperty.BACKGROUND_COLOR), this.handleBackgroundColorChanged_, false, this); this.setValues(mapOptionsInternal.values); this.handleBrowserWindowResize(); - var controls = mapOptionsInternal.controls; - goog.array.forEach(controls, function(control) { - control.setMap(this) - }, this) + if(goog.isDef(mapOptionsInternal.controls)) { + goog.array.forEach(mapOptionsInternal.controls, function(control) { + control.setMap(this) + }, this) + } }; goog.inherits(ol.Map, ol.Object); ol.Map.prototype.addPreRenderFunction = function(preRenderFunction) { @@ -16725,8 +16828,8 @@ ol.Map.prototype.handleBackgroundColorChanged_ = function() { this.render() }; ol.Map.prototype.handleBrowserWindowResize = function() { - var size = new ol.Size(this.target_.clientWidth, this.target_.clientHeight); - this.setSize(size) + var size = goog.style.getSize(this.target_); + this.setSize(new ol.Size(size.width, size.height)) }; ol.Map.prototype.handleSizeChanged_ = function() { this.render() @@ -16900,77 +17003,11 @@ ol.Map.createOptionsInternal = function(mapOptions) { } } } - var controls = ol.Map.createControls_(mapOptions); - var interactions; - if(goog.isDef(mapOptions.interactions)) { - interactions = mapOptions.interactions - }else { - interactions = ol.Map.createInteractions_(mapOptions) - } + var controls = goog.isDef(mapOptions.controls) ? mapOptions.controls : ol.control.defaults(); + var interactions = goog.isDef(mapOptions.interactions) ? mapOptions.interactions : ol.interaction.defaults(); var target = goog.dom.getElement(mapOptions.target); return{controls:controls, interactions:interactions, rendererConstructor:rendererConstructor, target:target, values:values} }; -ol.Map.createControls_ = function(mapOptions) { - var controls = []; - var attributionControl = goog.isDef(mapOptions.attributionControl) ? mapOptions.attributionControl : true; - if(attributionControl) { - controls.push(new ol.control.Attribution({})) - } - var scaleLineControl = goog.isDef(mapOptions.scaleLineControl) ? mapOptions.scaleLineControl : false; - if(scaleLineControl) { - var scaleLineUnits = goog.isDef(mapOptions.scaleLineUnits) ? mapOptions.scaleLineUnits : undefined; - controls.push(new ol.control.ScaleLine({units:scaleLineUnits})) - } - var zoomControl = goog.isDef(mapOptions.zoomControl) ? mapOptions.zoomControl : true; - if(zoomControl) { - var zoomDelta = goog.isDef(mapOptions.zoomDelta) ? mapOptions.zoomDelta : 1; - controls.push(new ol.control.Zoom({delta:zoomDelta})) - } - return controls -}; -ol.Map.createInteractions_ = function(mapOptions) { - var interactions = new ol.Collection; - var rotate = goog.isDef(mapOptions.rotate) ? mapOptions.rotate : true; - if(rotate) { - interactions.push(new ol.interaction.DragRotate(ol.interaction.condition.altShiftKeysOnly)) - } - var doubleClickZoom = goog.isDef(mapOptions.doubleClickZoom) ? mapOptions.doubleClickZoom : true; - if(doubleClickZoom) { - var zoomDelta = goog.isDef(mapOptions.zoomDelta) ? mapOptions.zoomDelta : 1; - interactions.push(new ol.interaction.DblClickZoom(zoomDelta)) - } - var touchPan = goog.isDef(mapOptions.touchPan) ? mapOptions.touchPan : true; - if(touchPan) { - interactions.push(new ol.interaction.TouchPan(new ol.Kinetic(-0.005, 0.05, 100))) - } - var touchRotate = goog.isDef(mapOptions.touchRotate) ? mapOptions.touchRotate : true; - if(touchRotate) { - interactions.push(new ol.interaction.TouchRotate) - } - var touchZoom = goog.isDef(mapOptions.touchZoom) ? mapOptions.touchZoom : true; - if(touchZoom) { - interactions.push(new ol.interaction.TouchZoom) - } - var dragPan = goog.isDef(mapOptions.dragPan) ? mapOptions.dragPan : true; - if(dragPan) { - interactions.push(new ol.interaction.DragPan(ol.interaction.condition.noModifierKeys, new ol.Kinetic(-0.005, 0.05, 100))) - } - var keyboard = goog.isDef(mapOptions.keyboard) ? mapOptions.keyboard : true; - var keyboardPanOffset = goog.isDef(mapOptions.keyboardPanOffset) ? mapOptions.keyboardPanOffset : 80; - if(keyboard) { - interactions.push(new ol.interaction.KeyboardPan(keyboardPanOffset)); - interactions.push(new ol.interaction.KeyboardZoom) - } - var mouseWheelZoom = goog.isDef(mapOptions.mouseWheelZoom) ? mapOptions.mouseWheelZoom : true; - if(mouseWheelZoom) { - interactions.push(new ol.interaction.MouseWheelZoom) - } - var shiftDragZoom = goog.isDef(mapOptions.shiftDragZoom) ? mapOptions.shiftDragZoom : true; - if(shiftDragZoom) { - interactions.push(new ol.interaction.DragZoom(ol.interaction.condition.shiftKeyOnly)) - } - return interactions -}; ol.RendererHints.createFromQueryData = function(opt_queryData) { var query = goog.global.location.search.substring(1), queryData = goog.isDef(opt_queryData) ? opt_queryData : new goog.Uri.QueryData(query); if(queryData.containsKey("renderers")) { @@ -17460,12 +17497,13 @@ goog.require("ol.Projection"); goog.require("ol.TransformFunction"); goog.require("ol.control.Control"); goog.require("ol.projection"); -ol.control.MousePosition = function(mousePositionOptions) { +ol.control.MousePosition = function(opt_options) { + var options = goog.isDef(opt_options) ? opt_options : {}; var element = goog.dom.createDom(goog.dom.TagName.DIV, {"class":"ol-mouse-position"}); - goog.base(this, {element:element, map:mousePositionOptions.map, target:mousePositionOptions.target}); - this.projection_ = mousePositionOptions.projection; - this.coordinateFormat_ = mousePositionOptions.coordinateFormat; - this.undefinedHTML_ = goog.isDef(mousePositionOptions.undefinedHTML) ? mousePositionOptions.undefinedHTML : ""; + goog.base(this, {element:element, map:options.map, target:options.target}); + this.projection_ = options.projection; + this.coordinateFormat_ = options.coordinateFormat; + this.undefinedHTML_ = goog.isDef(options.undefinedHTML) ? options.undefinedHTML : ""; this.renderedHTML_ = element.innerHTML; this.mapProjection_ = null; this.transform_ = ol.projection.identityTransform; @@ -19649,6 +19687,7 @@ goog.require("ol.control.MousePosition"); goog.require("ol.control.ScaleLine"); goog.require("ol.control.ScaleLineUnits"); goog.require("ol.control.Zoom"); +goog.require("ol.control.defaults"); goog.require("ol.dom"); goog.require("ol.dom.BrowserFeature"); goog.require("ol.easing"); @@ -19670,6 +19709,7 @@ goog.require("ol.interaction.TouchPan"); goog.require("ol.interaction.TouchRotate"); goog.require("ol.interaction.TouchZoom"); goog.require("ol.interaction.condition"); +goog.require("ol.interaction.defaults"); goog.require("ol.layer.ImageLayer"); goog.require("ol.layer.Layer"); goog.require("ol.layer.LayerProperty"); @@ -19753,9 +19793,11 @@ goog.provide("ol.animation.PanOptionsType"); goog.provide("ol.animation.RotateOptionsType"); goog.provide("ol.animation.ZoomOptionsType"); goog.provide("ol.control.AttributionOptionsType"); +goog.provide("ol.control.DefaultsOptionsType"); goog.provide("ol.control.MousePositionOptionsType"); goog.provide("ol.control.ScaleLineOptionsType"); goog.provide("ol.control.ZoomOptionsType"); +goog.provide("ol.interaction.DefaultOptionsType"); goog.provide("ol.layer.LayerOptionsType"); goog.provide("ol.source.BingMapsOptionsType"); goog.provide("ol.source.DebugTileSourceOptionsType"); @@ -19773,9 +19815,11 @@ ol.animation.PanOptions; ol.animation.RotateOptions; ol.animation.ZoomOptions; ol.control.AttributionOptions; +ol.control.DefaultsOptions; ol.control.MousePositionOptions; ol.control.ScaleLineOptions; ol.control.ZoomOptions; +ol.interaction.DefaultOptions; ol.layer.LayerOptions; ol.source.BingMapsOptions; ol.source.DebugTileSourceOptions; diff --git a/master/build/ol.js b/master/build/ol.js index d9862b64b1..859354b600 100644 --- a/master/build/ol.js +++ b/master/build/ol.js @@ -1,238 +1,240 @@ -(function(){var h=void 0,i=!0,k=null,l=!1;function aa(){return function(a){return a}}function m(a){return function(){return this[a]}}var p,w=this;function ba(){}function ca(a){a.Ya=function(){return a.pc?a.pc:a.pc=new a}} +(function(){var h=void 0,j=!0,k=null,l=!1;function aa(){return function(a){return a}}function m(a){return function(){return this[a]}}var p,w=this;function ba(){}function ca(a){a.Ya=function(){return a.qc?a.qc:a.qc=new a}} function da(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 x(a){return a!==h}function ea(a){return"array"==da(a)}function fa(a){var b=da(a);return"array"==b||"object"==b&&"number"==typeof a.length}function ga(a){return"string"==typeof a}function ha(a){return"function"==da(a)}function ia(a){var b=typeof a;return"object"==b&&a!=k||"function"==b}function y(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(2")&&(a=a.replace(wa,">"));-1!=a.indexOf('"')&&(a=a.replace(xa,"""));return a}var ua=/&/g,va=//g,xa=/\"/g,ta=/[&<>\"]/;var ya=Array.prototype,za=ya.indexOf?function(a,b,c){return ya.indexOf.call(a,b,c)}:function(a,b,c){c=c==k?0:0>c?Math.max(0,a.length+c):c;if(ga(a))return!ga(b)||1!=b.length?-1:a.indexOf(b,c);for(;c=arguments.length?ya.slice.call(a,b):ya.slice.call(a,b,c)}function Ia(a){ya.sort.call(a,Ja)}function Ja(a,b){return a>b?1:a2*this.n&&Ya(this),i):l};function Ya(a){if(a.n!=a.a.length){for(var b=0,c=0;bparseFloat(rb)){qb=String(vb);break a}}qb=rb}var xb={}; -function yb(a){var b;if(!(b=xb[a])){b=0;for(var c=String(qb).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==q[1].length?0:parseInt(q[1],10))?1:0)||((0==s[2].length)<(0==q[2].length)?-1:(0==s[2].length)>(0==q[2].length)?1:0)||(s[2]q[2]?1:0)}while(0==b)}b=xb[a]=0<=b}return b}var zb={};function Ab(a){return zb[a]||(zb[a]=F&&!!document.documentMode&&document.documentMode>=a)};var Bb,Cb=!F||Ab(9);!mb&&!F||F&&Ab(9)||mb&&yb("1.9.1");F&&yb("9");function Db(a,b){var c;c=a.className;c=ga(c)&&c.match(/\S+/g)||[];for(var d=Ha(arguments,1),e=c.length+d.length,f=c,g=0;gc*b?c+b:c};function Gb(a,b){this.x=x(a)?a:0;this.y=x(b)?b:0}Gb.prototype.S=function(){return new Gb(this.x,this.y)};function Hb(a,b){this.width=a;this.height=b}p=Hb.prototype;p.S=function(){return new Hb(this.width,this.height)};p.Ia=function(){return!(this.width*this.height)};p.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};p.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};p.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Ib(a){return a?new Jb(Kb(a)):Bb||(Bb=new Jb)}function Lb(a,b){Ka(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in Mb?a.setAttribute(Mb[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}var Mb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"}; -function Nb(a){a=a.document.documentElement;return new Hb(a.clientWidth,a.clientHeight)}function Ob(a,b,c){var d=arguments,e=document,f=d[0],g=d[1];if(!Cb&&g&&(g.name||g.type)){f=["<",f];g.name&&f.push(' name="',ra(g.name),'"');if(g.type){f.push(' type="',ra(g.type),'"');var j={};Ua(j,g);delete j.type;g=j}f.push(">");f=f.join("")}f=e.createElement(f);g&&(ga(g)?f.className=g:ea(g)?Db.apply(k,[f].concat(g)):Lb(f,g));2=a.keyCode)a.keyCode=-1}catch(b){}};p.dd=m("K");function lc(){}var mc=0;lc.prototype.key=0;lc.prototype.za=l;lc.prototype.a=l;lc.prototype.handleEvent=function(a){return this.b?this.Ja.call(this.Ob||this.src,a):this.Ja.handleEvent.call(this.Ja,a)};var nc={},oc={},pc={},qc={}; -function H(a,b,c,d,e){if(b){if(ea(b)){for(var f=0;f=arguments.length?ya.slice.call(a,b):ya.slice.call(a,b,c)}function Ja(a){ya.sort.call(a,Ka)} +function Ka(a,b){return a>b?1:a2*this.n&&Za(this),j):l};function Za(a){if(a.n!=a.a.length){for(var b=0,c=0;bparseFloat(sb)){rb=String(wb);break a}}rb=sb}var yb={}; +function zb(a){var b;if(!(b=yb[a])){b=0;for(var c=String(rb).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==q[1].length?0:parseInt(q[1],10))?1:0)||((0==s[2].length)<(0==q[2].length)?-1:(0==s[2].length)>(0==q[2].length)?1:0)||(s[2]q[2]?1:0)}while(0==b)}b=yb[a]=0<=b}return b}var Ab={};function Bb(a){return Ab[a]||(Ab[a]=F&&!!document.documentMode&&document.documentMode>=a)};var Cb,Db=!F||Bb(9);!nb&&!F||F&&Bb(9)||nb&&zb("1.9.1");F&&zb("9");function Eb(a,b){var c;c=a.className;c=ga(c)&&c.match(/\S+/g)||[];for(var d=Ia(arguments,1),e=c.length+d.length,f=c,g=0;gc*b?c+b:c};function Hb(a,b){this.x=x(a)?a:0;this.y=x(b)?b:0}Hb.prototype.S=function(){return new Hb(this.x,this.y)};function Ib(a,b){this.width=a;this.height=b}p=Ib.prototype;p.S=function(){return new Ib(this.width,this.height)};p.Ia=function(){return!(this.width*this.height)};p.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};p.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};p.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Jb(a){return a?new Kb(Lb(a)):Cb||(Cb=new Kb)}function Mb(a,b){La(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in Nb?a.setAttribute(Nb[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})}var Nb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"}; +function Ob(a){a=a.document.documentElement;return new Ib(a.clientWidth,a.clientHeight)}function Pb(a,b,c){var d=arguments,e=document,f=d[0],g=d[1];if(!Db&&g&&(g.name||g.type)){f=["<",f];g.name&&f.push(' name="',ra(g.name),'"');if(g.type){f.push(' type="',ra(g.type),'"');var i={};Va(i,g);delete i.type;g=i}f.push(">");f=f.join("")}f=e.createElement(f);g&&(ga(g)?f.className=g:ea(g)?Eb.apply(k,[f].concat(g)):Mb(f,g));2=a.keyCode)a.keyCode=-1}catch(b){}};p.cd=m("K");function mc(){}var nc=0;mc.prototype.key=0;mc.prototype.za=l;mc.prototype.a=l;mc.prototype.handleEvent=function(a){return this.b?this.Ja.call(this.Ob||this.src,a):this.Ja.handleEvent.call(this.Ja,a)};var oc={},pc={},qc={},rc={}; +function H(a,b,c,d,e){if(b){if(ea(b)){for(var f=0;ff.keyCode||f.returnValue!=h)return i;a:{var r=l;if(0==f.keyCode)try{f.keyCode=-1;break a}catch(s){r=i}if(r||f.returnValue==h)f.returnValue=i}}r=new hc;ic(r,f,this);f=i;try{if(j){for(var q=[],v=r.c;v;v=v.parentNode)q.push(v);g=e[i];g.Q=g.n;for(var u=q.length- -1;!r.qa&&0<=u&&g.Q;u--)r.c=q[u],f&=wc(g,q[u],d,i,r);if(n){g=e[l];g.Q=g.n;for(u=0;!r.qa&&u=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom};function zc(a,b){var c=Kb(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,k))?c[b]||c.getPropertyValue(b)||"":""}function Ac(a,b){return a.currentStyle?a.currentStyle[b]:k}function Bc(a,b){return zc(a,b)||Ac(a,b)||a.style&&a.style[b]}function Cc(a,b){var c,d,e=mb&&(eb||pb)&&yb("1.9");b instanceof Gb?(c=b.x,d=b.y):(c=b,d=h);a.style.left=Dc(c,e);a.style.top=Dc(d,e)} -function Ec(a){var b=a.getBoundingClientRect();F&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b} -function Fc(a){if(F&&!Ab(8))return a.offsetParent;for(var b=Kb(a),c=Bc(a,"position"),d="fixed"==c||"absolute"==c,a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=Bc(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 k}function Gc(a,b){var c=Hc(a),d=Hc(b);return new Gb(c.x-d.x,c.y-d.y)} -function Hc(a){var b=new Gb;if(1==a.nodeType){if(a.getBoundingClientRect){var c=Ec(a);b.x=c.left;b.y=c.top}else{c=Vb(Ib(a));var d,e=Kb(a),f=Bc(a,"position"),g=mb&&e.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==f&&(d=e.getBoxObjectFor(a))&&(0>d.screenX||0>d.screenY),j=new Gb(0,0),n;d=e?Kb(e):document;if(n=F)if(n=!Ab(9))Ib(d),n=l;n=n?d.body:d.documentElement;if(a!=n)if(a.getBoundingClientRect)d=Ec(a),e=Vb(Ib(e)),j.x=d.left+e.x,j.y=d.top+e.y;else if(e.getBoxObjectFor&&!g)d=e.getBoxObjectFor(a), -e=e.getBoxObjectFor(n),j.x=d.screenX-e.screenX,j.y=d.screenY-e.screenY;else{g=a;do{j.x+=g.offsetLeft;j.y+=g.offsetTop;g!=a&&(j.x+=g.clientLeft||0,j.y+=g.clientTop||0);if(G&&"fixed"==Bc(g,"position")){j.x+=e.body.scrollLeft;j.y+=e.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);if(lb||G&&"absolute"==f)j.y-=e.body.offsetTop;for(g=a;(g=Fc(g))&&g!=e.body&&g!=n;)if(j.x-=g.scrollLeft,!lb||"TR"!=g.tagName)j.y-=g.scrollTop}b.x=j.x-c.x;b.y=j.y-c.y}if(mb&&!yb(12)){var r;F?r="-ms-transform":G?r="-webkit-transform": -lb?r="-o-transform":mb&&(r="-moz-transform");var s;r&&(s=Bc(a,r));s||(s=Bc(a,"transform"));s?(a=s.match(Ic),a=!a?new Gb(0,0):new Gb(parseFloat(a[1]),parseFloat(a[2]))):a=new Gb(0,0);b=new Gb(b.x+a.x,b.y+a.y)}}else r=ha(a.dd),s=a,a.targetTouches?s=a.targetTouches[0]:r&&a.K.targetTouches&&(s=a.K.targetTouches[0]),b.x=s.clientX,b.y=s.clientY;return b}function Dc(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Jc(a,b){a.style.display=b?"":"none"} -function Kc(a,b){Ib(Kb(a));if(F&&!yb("8")){var c=a.style,d;if(F){d=Lc(a,Ac(a,"paddingLeft"));var e=Lc(a,Ac(a,"paddingRight")),f=Lc(a,Ac(a,"paddingTop")),g=Lc(a,Ac(a,"paddingBottom"));d=new yc(f,e,g,d)}else d=zc(a,"paddingLeft"),e=zc(a,"paddingRight"),f=zc(a,"paddingTop"),g=zc(a,"paddingBottom"),d=new yc(parseFloat(f),parseFloat(e),parseFloat(g),parseFloat(d));if(F)var e=Mc(a,"borderLeft"),f=Mc(a,"borderRight"),g=Mc(a,"borderTop"),j=Mc(a,"borderBottom"),e=new yc(g,f,j,e);else e=zc(a,"borderLeftWidth"), -f=zc(a,"borderRightWidth"),g=zc(a,"borderTopWidth"),j=zc(a,"borderBottomWidth"),e=new yc(parseFloat(g),parseFloat(f),parseFloat(j),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,mb?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 Lc(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 Nc={thin:2,medium:4,thick:6};function Mc(a,b){if("none"==Ac(a,b+"Style"))return 0;var c=Ac(a,b+"Width");return c in Nc?Nc[c]:Lc(a,c)}var Ic=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;function Oc(a,b){this.x=a;this.y=b}B(Oc,Gb);Oc.prototype.S=function(){return new Oc(this.x,this.y)};Oc.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};Oc.prototype.rotate=function(a){var b=Math.cos(a),a=Math.sin(a),c=this.y*b+this.x*a;this.x=this.x*b-this.y*a;this.y=c;return this};function L(a,b){Oc.call(this,a,b)}B(L,Oc);function Pc(a,b){var c=Fb(a+180,360)-180,d=Math.abs(Math.round(3600*c));return Math.floor(d/3600)+"\u00b0 "+Math.floor(d/60%60)+"\u2032 "+Math.floor(d%60)+"\u2033 "+b.charAt(0>c?1:0)};var Qc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function Rc(a,b,c){if(ea(b))for(var d=0;db)throw Error("Bad port number "+b);a.rb=b}else a.rb=k} -function Wc(a,b,c){Uc(a);if(b instanceof Xc){a.a=b;b=a.a;if((a=a.la)&&!b.b){cd(b);b.a=k;var d=b.D,c=function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),dd(this,c,a))};if("function"==typeof d.forEach)d.forEach(c,b);else if(fa(d)||ga(d))C(d,c,b);else{var e;if("function"==typeof d.W)e=d.W();else if("function"!=typeof d.N)if(fa(d)||ga(d)){e=[];for(var f=d.length,g=0;g>4&15).toString(16)+(a&15).toString(16)}var Zc=/[#\/\?@]/g,ad=/[\#\?:]/g,$c=/[\#\?]/g,ed=/[\#\?@]/g,bd=/#/g;function Xc(a,b,c){this.a=a||k;this.b=!!c} -function cd(a){if(!a.D&&(a.D=new Wa,a.n=0,a.a))for(var b=a.a.split("&"),c=0;c=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 Ad(a){switch(a){case 61:return 187;case 59:return 186;case 224:return 91;case 0:return 224;default:return a}};function Bd(a,b){Zb.call(this);a&&(this.hb&&Cd(this),this.Da=a,this.gb=H(this.Da,"keypress",this,b),this.Pb=H(this.Da,"keydown",this.a,b,this),this.hb=H(this.Da,"keyup",this.b,b,this))}B(Bd,kd);p=Bd.prototype;p.Da=k;p.gb=k;p.Pb=k;p.hb=k;p.ga=-1;p.fa=-1;p.Bb=l; -var Dd={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},Ed={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},Fd=F||G&&yb("525"),Gd=eb&&mb; -Bd.prototype.a=function(a){if(G&&(17==this.ga&&!a.ab||18==this.ga&&!a.ca))this.fa=this.ga=-1;Fd&&!yd(a.wa,this.ga,a.ma,a.ab,a.ca)?this.handleEvent(a):(this.fa=mb?Ad(a.wa):a.wa,Gd&&(this.Bb=a.ca))};Bd.prototype.b=function(a){this.fa=this.ga=-1;this.Bb=a.ca}; -Bd.prototype.handleEvent=function(a){var b=a.K,c,d,e=b.altKey;F&&"keypress"==a.type?(c=this.fa,d=13!=c&&27!=c?b.keyCode:0):G&&"keypress"==a.type?(c=this.fa,d=0<=b.charCode&&63232>b.charCode&&zd(c)?b.charCode:0):lb?(c=this.fa,d=zd(c)?b.keyCode:0):(c=b.keyCode||this.fa,d=b.charCode||0,Gd&&(e=this.Bb),eb&&(63==d&&224==c)&&(c=191));var f=c,g=b.keyIdentifier;c?63232<=c&&c in Dd?f=Dd[c]:25==c&&a.ma&&(f=9):g&&g in Ed&&(f=Ed[g]);a=f==this.ga;this.ga=f;b=new Hd(f,d,a,b);b.ca=e;K(this,b)}; -function Cd(a){a.gb&&(J(a.gb),J(a.Pb),J(a.hb),a.gb=k,a.Pb=k,a.hb=k);a.Da=k;a.ga=-1;a.fa=-1}Bd.prototype.r=function(){Bd.v.r.call(this);Cd(this)};function Hd(a,b,c,d){d&&ic(this,d,h);this.type="key";this.wa=a;this.$a=b;this.b=c}B(Hd,hc);function Id(a){Zb.call(this);this.a=a;a=ia(this.a)&&1==this.a.nodeType?this.a:this.a?this.a.body:k;this.e=!!a&&"rtl"==Bc(a,"direction");this.b=H(this.a,mb?"DOMMouseScroll":"mousewheel",this)}B(Id,kd); -Id.prototype.handleEvent=function(a){var b=0,c=0,d=0,a=a.K;if("mousewheel"==a.type){c=1;if(F||G&&(fb||yb("532.0")))c=40;d=Jd(-a.wheelDelta,c);x(a.wheelDeltaX)?(b=Jd(-a.wheelDeltaX,c),c=Jd(-a.wheelDeltaY,c)):c=d}else d=a.detail,100d&&(d=-3),x(a.axis)&&a.axis===a.HORIZONTAL_AXIS?b=d:c=d;"number"==typeof this.c&&(b=Eb(b,-this.c,this.c));"number"==typeof this.d&&(c=Eb(c,-this.d,this.d));this.e&&(b=-b);b=new Kd(d,a,b,c);K(this,b)};function Jd(a,b){return G&&(eb||gb)&&0!=a%b?a:a/b} -Id.prototype.r=function(){Id.v.r.call(this);J(this.b);delete this.b};function Kd(a,b,c,d){b&&ic(this,b,h);this.type="mousewheel";this.e=a;this.d=c;this.b=d}B(Kd,hc);var Ld=document&&"ontouchstart"in document.documentElement||!!window.navigator.msPointerEnabled;function M(a){Zb.call(this);this.o={};x(a)&&this.nb(a)}B(M,kd);var Md={},Nd={},Od={};function Pd(a){return a.substr(0,1).toUpperCase()+a.substr(1)}function Qd(a){return a.ol_accessors_||(a.ol_accessors_={})}function Rd(a){return Md.hasOwnProperty(a)?Md[a]:Md[a]=a.toLowerCase()+"_changed"}function Sd(a){return a.ol_bindings_||(a.ol_bindings_={})}p=M.prototype; -p.Uc=function(a,b,c,d){c=c||a;this.Vb(a);var e=Rd(c);Sd(this)[a]=H(b,e,function(){Td(this,a)},h,this);Qd(this)[a]={target:b,key:c};d||Td(this,a)};p.Xc=ba;p.s=function(a){var b,c=Qd(this);c.hasOwnProperty(a)?(b=c[a],a=b.target,b=b.key,c=Nd.hasOwnProperty(b)?Nd[b]:Nd[b]="get"+Pd(b),b=a[c]?a[c]():a.s(b)):this.o.hasOwnProperty(a)&&(b=this.o[a]);return b}; -p.W=function(){for(var a=Ma(Qd(this)).concat(Ma(this.o)),b={},c=0,d=0;d=b.i&&a.j<=b.k&&a.k>=b.j}Yd.prototype.toString=function(){return"("+[this.i,this.j,this.l,this.k].join(", ")+")"};function $d(a,b,c,d){Yd.call(this,a,b,c,d)}B($d,Yd);function ae(a){var b=arguments[0],b=new $d(b.x,b.y,b.x,b.y),c;for(c=1;c>=1;return b.join("")}pe.prototype.toString=function(){return[this.m,this.x,this.y].join("/")};function re(a,b,c,d){this.i=a;this.j=b;this.l=c;this.k=d}B(re,Yd);re.prototype.contains=function(a){return this.i<=a.x&&a.x<=this.l&&this.j<=a.y&&a.y<=this.k};re.prototype.aa=function(){return this.k-this.j+1};re.prototype.ea=function(){return this.l-this.i+1};function se(a,b){this.b=a;this.a=b||k};function te(a){Zb.call(this);this.e=0;this.V=a;this.a=0}B(te,kd);te.prototype.b=function(){return y(this).toString()};function ue(a){this.d=a;this.f=8;this.c=0;this.a=[];this.b={}}function ve(a,b,c,d){if(0==b.a){var e=b.b();if(!(e in a.b)){var f=a.d(b,c,d);Infinity!=f&&(a.a.push([f,b,c,d]),a.b[e]=i,we(a,0,a.a.length-1),b.e++)}}}ue.prototype.e=function(){--this.c};function xe(a,b){for(var c=a.a,d=c.length,e=c[b],f=b;b>1;){var g=2*b+1,j=2*b+2,g=jb;){var e=c-1>>1;if(a[e][0]>d[0])a[c]=a[e],c=e;else break}a[c]=d};/* +function sc(a,b){if(!oc[a])return j;var c=oc[a],d=c.type,e=pc;if(!(d in e))return j;var e=e[d],f,g;if(!Yb){var i;if(!(i=b))a:{i=["window","event"];for(var n=w;f=i.shift();)if(n[f]!=k)n=n[f];else{i=k;break a}i=n}f=i;i=j in e;n=l in e;if(i){if(0>f.keyCode||f.returnValue!=h)return j;a:{var r=l;if(0==f.keyCode)try{f.keyCode=-1;break a}catch(s){r=j}if(r||f.returnValue==h)f.returnValue=j}}r=new ic;jc(r,f,this);f=j;try{if(i){for(var q=[],v=r.c;v;v=v.parentNode)q.push(v);g=e[j];g.Q=g.n;for(var u=q.length- +1;!r.qa&&0<=u&&g.Q;u--)r.c=q[u],f&=xc(g,q[u],d,j,r);if(n){g=e[l];g.Q=g.n;for(u=0;!r.qa&&u=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom};function Ac(a,b){var c=Lb(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,k))?c[b]||c.getPropertyValue(b)||"":""}function Bc(a,b){return a.currentStyle?a.currentStyle[b]:k}function Cc(a,b){return Ac(a,b)||Bc(a,b)||a.style&&a.style[b]}function Dc(a,b){var c,d,e=nb&&(fb||qb)&&zb("1.9");b instanceof Hb?(c=b.x,d=b.y):(c=b,d=h);a.style.left=Ec(c,e);a.style.top=Ec(d,e)} +function Fc(a){var b=a.getBoundingClientRect();F&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b} +function Gc(a){if(F&&!Bb(8))return a.offsetParent;for(var b=Lb(a),c=Cc(a,"position"),d="fixed"==c||"absolute"==c,a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=Cc(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 k}function Hc(a,b){var c=Ic(a),d=Ic(b);return new Hb(c.x-d.x,c.y-d.y)} +function Ic(a){var b=new Hb;if(1==a.nodeType){if(a.getBoundingClientRect){var c=Fc(a);b.x=c.left;b.y=c.top}else{c=Wb(Jb(a));var d,e=Lb(a),f=Cc(a,"position"),g=nb&&e.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==f&&(d=e.getBoxObjectFor(a))&&(0>d.screenX||0>d.screenY),i=new Hb(0,0),n;d=e?Lb(e):document;if(n=F)if(n=!Bb(9))Jb(d),n=l;n=n?d.body:d.documentElement;if(a!=n)if(a.getBoundingClientRect)d=Fc(a),e=Wb(Jb(e)),i.x=d.left+e.x,i.y=d.top+e.y;else if(e.getBoxObjectFor&&!g)d=e.getBoxObjectFor(a), +e=e.getBoxObjectFor(n),i.x=d.screenX-e.screenX,i.y=d.screenY-e.screenY;else{g=a;do{i.x+=g.offsetLeft;i.y+=g.offsetTop;g!=a&&(i.x+=g.clientLeft||0,i.y+=g.clientTop||0);if(G&&"fixed"==Cc(g,"position")){i.x+=e.body.scrollLeft;i.y+=e.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);if(mb||G&&"absolute"==f)i.y-=e.body.offsetTop;for(g=a;(g=Gc(g))&&g!=e.body&&g!=n;)if(i.x-=g.scrollLeft,!mb||"TR"!=g.tagName)i.y-=g.scrollTop}b.x=i.x-c.x;b.y=i.y-c.y}if(nb&&!zb(12)){var r;F?r="-ms-transform":G?r="-webkit-transform": +mb?r="-o-transform":nb&&(r="-moz-transform");var s;r&&(s=Cc(a,r));s||(s=Cc(a,"transform"));s?(a=s.match(Jc),a=!a?new Hb(0,0):new Hb(parseFloat(a[1]),parseFloat(a[2]))):a=new Hb(0,0);b=new Hb(b.x+a.x,b.y+a.y)}}else r=ha(a.cd),s=a,a.targetTouches?s=a.targetTouches[0]:r&&a.K.targetTouches&&(s=a.K.targetTouches[0]),b.x=s.clientX,b.y=s.clientY;return b}function Ec(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a} +function Kc(a){var b=a.offsetWidth,c=a.offsetHeight,d=G&&!b&&!c;return(!x(b)||d)&&a.getBoundingClientRect?(a=Fc(a),new Ib(a.right-a.left,a.bottom-a.top)):new Ib(b,c)}function Lc(a,b){a.style.display=b?"":"none"} +function Mc(a,b){Jb(Lb(a));if(F&&!zb("8")){var c=a.style,d;if(F){d=Nc(a,Bc(a,"paddingLeft"));var e=Nc(a,Bc(a,"paddingRight")),f=Nc(a,Bc(a,"paddingTop")),g=Nc(a,Bc(a,"paddingBottom"));d=new zc(f,e,g,d)}else d=Ac(a,"paddingLeft"),e=Ac(a,"paddingRight"),f=Ac(a,"paddingTop"),g=Ac(a,"paddingBottom"),d=new zc(parseFloat(f),parseFloat(e),parseFloat(g),parseFloat(d));if(F)var e=Oc(a,"borderLeft"),f=Oc(a,"borderRight"),g=Oc(a,"borderTop"),i=Oc(a,"borderBottom"),e=new zc(g,f,i,e);else e=Ac(a,"borderLeftWidth"), +f=Ac(a,"borderRightWidth"),g=Ac(a,"borderTopWidth"),i=Ac(a,"borderBottomWidth"),e=new zc(parseFloat(g),parseFloat(f),parseFloat(i),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,nb?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 Nc(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 Pc={thin:2,medium:4,thick:6};function Oc(a,b){if("none"==Bc(a,b+"Style"))return 0;var c=Bc(a,b+"Width");return c in Pc?Pc[c]:Nc(a,c)}var Jc=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;function Qc(a,b){this.x=a;this.y=b}B(Qc,Hb);Qc.prototype.S=function(){return new Qc(this.x,this.y)};Qc.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};Qc.prototype.rotate=function(a){var b=Math.cos(a),a=Math.sin(a),c=this.y*b+this.x*a;this.x=this.x*b-this.y*a;this.y=c;return this};function L(a,b){Qc.call(this,a,b)}B(L,Qc);function Rc(a,b){var c=Gb(a+180,360)-180,d=Math.abs(Math.round(3600*c));return Math.floor(d/3600)+"\u00b0 "+Math.floor(d/60%60)+"\u2032 "+Math.floor(d%60)+"\u2033 "+b.charAt(0>c?1:0)};var Sc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function Tc(a,b,c){if(ea(b))for(var d=0;db)throw Error("Bad port number "+b);a.rb=b}else a.rb=k} +function Yc(a,b,c){Wc(a);if(b instanceof Zc){a.a=b;b=a.a;if((a=a.la)&&!b.b){ed(b);b.a=k;var d=b.D,c=function(a,b){var c=b.toLowerCase();b!=c&&(this.remove(b),fd(this,c,a))};if("function"==typeof d.forEach)d.forEach(c,b);else if(fa(d)||ga(d))C(d,c,b);else{var e;if("function"==typeof d.W)e=d.W();else if("function"!=typeof d.N)if(fa(d)||ga(d)){e=[];for(var f=d.length,g=0;g>4&15).toString(16)+(a&15).toString(16)}var ad=/[#\/\?@]/g,cd=/[\#\?:]/g,bd=/[\#\?]/g,gd=/[\#\?@]/g,dd=/#/g;function Zc(a,b,c){this.a=a||k;this.b=!!c} +function ed(a){if(!a.D&&(a.D=new Xa,a.n=0,a.a))for(var b=a.a.split("&"),c=0;c=a||96<=a&&106>=a||65<=a&&90>=a||G&&0==a)return j;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 j;default:return l}} +function Cd(a){switch(a){case 61:return 187;case 59:return 186;case 224:return 91;case 0:return 224;default:return a}};function Dd(a,b){$b.call(this);a&&(this.hb&&Ed(this),this.Da=a,this.gb=H(this.Da,"keypress",this,b),this.Pb=H(this.Da,"keydown",this.a,b,this),this.hb=H(this.Da,"keyup",this.b,b,this))}B(Dd,md);p=Dd.prototype;p.Da=k;p.gb=k;p.Pb=k;p.hb=k;p.ga=-1;p.fa=-1;p.Bb=l; +var Fd={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},Gd={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},Hd=F||G&&zb("525"),Id=fb&&nb; +Dd.prototype.a=function(a){if(G&&(17==this.ga&&!a.ab||18==this.ga&&!a.ca))this.fa=this.ga=-1;Hd&&!Ad(a.va,this.ga,a.ma,a.ab,a.ca)?this.handleEvent(a):(this.fa=nb?Cd(a.va):a.va,Id&&(this.Bb=a.ca))};Dd.prototype.b=function(a){this.fa=this.ga=-1;this.Bb=a.ca}; +Dd.prototype.handleEvent=function(a){var b=a.K,c,d,e=b.altKey;F&&"keypress"==a.type?(c=this.fa,d=13!=c&&27!=c?b.keyCode:0):G&&"keypress"==a.type?(c=this.fa,d=0<=b.charCode&&63232>b.charCode&&Bd(c)?b.charCode:0):mb?(c=this.fa,d=Bd(c)?b.keyCode:0):(c=b.keyCode||this.fa,d=b.charCode||0,Id&&(e=this.Bb),fb&&(63==d&&224==c)&&(c=191));var f=c,g=b.keyIdentifier;c?63232<=c&&c in Fd?f=Fd[c]:25==c&&a.ma&&(f=9):g&&g in Gd&&(f=Gd[g]);a=f==this.ga;this.ga=f;b=new Jd(f,d,a,b);b.ca=e;K(this,b)}; +function Ed(a){a.gb&&(I(a.gb),I(a.Pb),I(a.hb),a.gb=k,a.Pb=k,a.hb=k);a.Da=k;a.ga=-1;a.fa=-1}Dd.prototype.r=function(){Dd.v.r.call(this);Ed(this)};function Jd(a,b,c,d){d&&jc(this,d,h);this.type="key";this.va=a;this.$a=b;this.b=c}B(Jd,ic);function Kd(a){$b.call(this);this.a=a;a=ia(this.a)&&1==this.a.nodeType?this.a:this.a?this.a.body:k;this.e=!!a&&"rtl"==Cc(a,"direction");this.b=H(this.a,nb?"DOMMouseScroll":"mousewheel",this)}B(Kd,md); +Kd.prototype.handleEvent=function(a){var b=0,c=0,d=0,a=a.K;if("mousewheel"==a.type){c=1;if(F||G&&(gb||zb("532.0")))c=40;d=Ld(-a.wheelDelta,c);x(a.wheelDeltaX)?(b=Ld(-a.wheelDeltaX,c),c=Ld(-a.wheelDeltaY,c)):c=d}else d=a.detail,100d&&(d=-3),x(a.axis)&&a.axis===a.HORIZONTAL_AXIS?b=d:c=d;"number"==typeof this.c&&(b=Fb(b,-this.c,this.c));"number"==typeof this.d&&(c=Fb(c,-this.d,this.d));this.e&&(b=-b);b=new Md(d,a,b,c);K(this,b)};function Ld(a,b){return G&&(fb||hb)&&0!=a%b?a:a/b} +Kd.prototype.r=function(){Kd.v.r.call(this);I(this.b);delete this.b};function Md(a,b,c,d){b&&jc(this,b,h);this.type="mousewheel";this.e=a;this.d=c;this.b=d}B(Md,ic);var Nd=document&&"ontouchstart"in document.documentElement||!!window.navigator.msPointerEnabled;function M(a){$b.call(this);this.o={};x(a)&&this.nb(a)}B(M,md);var Od={},Pd={},Qd={};function Rd(a){return a.substr(0,1).toUpperCase()+a.substr(1)}function Sd(a){return a.ol_accessors_||(a.ol_accessors_={})}function Td(a){return Od.hasOwnProperty(a)?Od[a]:Od[a]=a.toLowerCase()+"_changed"}function Ud(a){return a.ol_bindings_||(a.ol_bindings_={})}p=M.prototype; +p.Uc=function(a,b,c,d){c=c||a;this.Wb(a);var e=Td(c);Ud(this)[a]=H(b,e,function(){Vd(this,a)},h,this);Sd(this)[a]={target:b,key:c};d||Vd(this,a)};p.Xc=ba;p.s=function(a){var b,c=Sd(this);c.hasOwnProperty(a)?(b=c[a],a=b.target,b=b.key,c=Pd.hasOwnProperty(b)?Pd[b]:Pd[b]="get"+Rd(b),b=a[c]?a[c]():a.s(b)):this.o.hasOwnProperty(a)&&(b=this.o[a]);return b}; +p.W=function(){for(var a=Sa(Sd(this)).concat(Sa(this.o)),b={},c=0,d=0;d=b.i&&a.j<=b.k&&a.k>=b.j}$d.prototype.toString=function(){return"("+[this.i,this.j,this.l,this.k].join(", ")+")"};function be(a,b,c,d){$d.call(this,a,b,c,d)}B(be,$d);function ce(a){var b=arguments[0],b=new be(b.x,b.y,b.x,b.y),c;for(c=1;c>=1;return b.join("")}re.prototype.toString=function(){return[this.m,this.x,this.y].join("/")};function te(a,b,c,d){this.i=a;this.j=b;this.l=c;this.k=d}B(te,$d);te.prototype.contains=function(a){return this.i<=a.x&&a.x<=this.l&&this.j<=a.y&&a.y<=this.k};te.prototype.aa=function(){return this.k-this.j+1};te.prototype.ea=function(){return this.l-this.i+1};function ue(a,b){this.b=a;this.a=b||k};function ve(a){$b.call(this);this.e=0;this.V=a;this.a=0}B(ve,md);ve.prototype.b=function(){return y(this).toString()};function we(a){this.d=a;this.f=8;this.c=0;this.a=[];this.b={}}function xe(a,b,c,d){if(0==b.a){var e=b.b();if(!(e in a.b)){var f=a.d(b,c,d);Infinity!=f&&(a.a.push([f,b,c,d]),a.b[e]=j,ye(a,0,a.a.length-1),b.e++)}}}we.prototype.e=function(){--this.c};function ze(a,b){for(var c=a.a,d=c.length,e=c[b],f=b;b>1;){var g=2*b+1,i=2*b+2,g=ib;){var e=c-1>>1;if(a[e][0]>d[0])a[c]=a[e],c=e;else break}a[c]=d};/* Latitude/longitude spherical geodesy formulae taken from http://www.movable-type.co.uk/scripts/latlong.html Licenced under CC-BY-3.0. */ -function ye(a,b){var c=a.y*Math.PI/180,d=b.y*Math.PI/180,e=(d-c)/2,f=(b.x-a.x)*Math.PI/180/2,c=Math.sin(e)*Math.sin(e)+Math.sin(f)*Math.sin(f)*Math.cos(c)*Math.cos(d);return 2*ze.a*Math.atan2(Math.sqrt(c),Math.sqrt(1-c))};var ze=new function(){this.a=6370997};var Ae="object"==typeof Proj4js,Be={Nc:"degrees",le:"ft",pe:"m"};function O(a,b,c,d){this.a=a;this.c=b;this.na=c;this.d=x(d)?d:"enu";this.f=k}O.prototype.h=m("a");O.prototype.H=m("na");O.prototype.o=m("c");O.prototype.g=m("d");function Ce(a,b){O.call(this,a,b.units,k,b.axis);this.zc=b;this.e=k}B(Ce,O); -Ce.prototype.b=function(a,b){if("degrees"==this.c)return a;this.e===k&&(this.e=De(this,Ee("EPSG:4326")));var c=[b.x-a/2,b.y,b.x+a/2,b.y,b.x,b.y-a/2,b.x,b.y+a/2],c=this.e(c,c,2),c=(ye(new L(c[0],c[1]),new L(c[2],c[3]))+ye(new L(c[4],c[5]),new L(c[6],c[7])))/2;"ft"==this.c&&(c/=0.3048);return c};var Fe={},Ge={},He={};function Ie(a){C(a,function(a){Je(a)});C(a,function(b){C(a,function(a){b!==a&&Ke(b,a,Le)})})}function Je(a){Ge[a.a]=a;Ke(a,a,Le)} -function Me(a){return a!=k?ga(a)?Ne(a):a:Ne("EPSG:3857")}function Ke(a,b,c){a=a.a;b=b.a;a in He||(He[a]={});He[a][b]=c}function Ne(a){var b=Ge[a];Ae&&!x(b)&&(b=Ee(a));x(b)||(b=k);return b}function Ee(a){var b=Fe[a];x(b)||(b=new Proj4js.Proj(a),b=new Ce(a,b),Fe[a]=b);return b} -function De(a,b){var c=a.a,d=b.a,e;c in He&&d in He[c]&&(e=He[c][d]);if(Ae&&!x(e)){var f;f=(a instanceof Ce?a:Ee(a.a)).zc;var g;g=(b instanceof Ce?b:Ee(b.a)).zc;e=function(a,b,c){var d=a.length,c=1a?Se(2*a):1-Se(2*(a-0.5))},$c:function(a){return Math.pow(2,-10*a)*Math.sin((a-0.075)*2*Math.PI/0.3)+1},Cb:function(a){a<1/2.75?a*=7.5625*a:a<2/2.75?(a-=1.5/2.75,a=7.5625*a*a+0.75):a<2.5/2.75?(a-=2.25/2.75,a=7.5625*a*a+0.9375):(a-=2.625/2.75,a=7.5625*a*a+0.984375);return a}};var We={Cb:function(a){var b=a.resolution,c=x(a.start)?a.start:pa(),d=x(a.duration)?a.duration:1E3,e=x(a.easing)?a.easing:Ve.Jc;return function(a,g){if(g.timeb-a.f;)d--;if(0<=d){var b=a.a[d],c=a.a[c],d=c.x-b.x,e=c.y-b.y;a.c=Math.atan2(e,d);a.b=Math.sqrt(d*d+e*e)/(c.Na-b.Na);return a.b>a.d}return l}Xe.prototype.pa=function(a){var b=this.e,c=this.b,d=this.d,e=Math.log(this.d/this.b)/this.e;return We.pa({source:a,duration:e,easing:function(a){return c*(Math.exp(b*a*e)-1)/(d-c)}})};function Ze(a,b,c){ec.call(this,a);this.map=b;this.bb=l;this.b=x(c)?c:k}B(Ze,ec);Ze.prototype.C=function(){Ze.v.C.call(this);this.bb=i};function $e(a,b){Gb.call(this,a,b)}B($e,Gb);function af(a,b,c,d){Ze.call(this,a,b,d);this.a=c;this.f=this.e=k}B(af,Ze);af.prototype.d=function(){this.e===k&&(this.e=bf(this.map,cf(this)));return this.e};function cf(a){if(a.f===k){var b=Gc(a.a,a.map.b);a.f=new $e(b.x,b.y)}return a.f} -function df(a){this.a=a;this.e=k;this.b=l;this.c=this.g=this.d=this.o=this.h=this.f=k;a=this.a.b;this.h=H(a,["click","dblclick"],this.dc,l,this);this.o=H(a,"mousedown",this.xd,l,this);this.g=[H(a,["touchstart","MSPointerDown"],this.Id,l,this),H(a,["touchmove","MSPointerMove"],this.Hd,l,this),H(a,["touchend","MSPointerUp"],this.Gd,l,this)]}B(df,kd);p=df.prototype;p.dc=function(a){if(!this.b){var b=a.type;K(this,0==this.f||"dblclick"==b?new af(ef,this.a,a):new af(ff,this.a,a))}}; -p.zd=function(a){this.e&&(this.c=k,C(this.d,J),this.e=this.d=k,this.b&&K(this,new af(gf,this.a,a)))};p.xd=function(a){K(this,new af(hf,this.a,a));this.e||(this.c=a,this.e={clientX:a.clientX,clientY:a.clientY},this.b=l,this.d=[H(document,"mousemove",this.yd,l,this),H(document,"mouseup",this.zd,l,this)],a.C())};p.yd=function(a){var b;this.b||(this.b=i,b=new af(jf,this.a,this.c),K(this,b));this.e={clientX:a.clientX,clientY:a.clientY};b=new af(kf,this.a,a);K(this,b)}; -p.Id=function(a){a.C();this.c=a;this.b=l;K(this,new af(lf,this.a,a))};p.Hd=function(a){this.b=i;K(this,new af(mf,this.a,a))};p.Gd=function(a){K(this,new af(nf,this.a,a));this.b||(a=pa(),this.f=!this.f||250=Math.abs(a+c)?0:a+c}};function Q(a){Te.call(this);var a=a||{},b={};b.center=x(a.center)?a.center:k;b.projection=Me(a.projection);if(x(a.resolution))b.resolution=a.resolution;else if(x(a.zoom)){var c=b.projection.H(),c=Math.max(c.l-c.i,c.k-c.j);b.resolution=c/(256*Math.pow(2,a.zoom))}b.rotation=a.rotation;this.nb(b);if(x(a.resolutions))var d=a.resolutions,a=function(a,b){if(x(a)){var c=pf(d,a),c=Eb(c+b,0,d.length-1);return d[c]}};else{x(a.maxResolution)&&x(a.numZoomLevels)&&x(a.zoomFactor)?(b=a.maxResolution,c=a.numZoomLevels, -a=a.zoomFactor):(a=Me(a.projection).H(),b=Math.max(a.l-a.i,a.k-a.j)/256,c=29,a=2);var e=a,f=b,g=c-1,a=function(a,b){if(x(a)){var c=Math.floor(Math.log(f/a)/Math.log(e)+0.5),c=Math.max(c+b,0);x(g)&&(c=Math.min(c,g));return f/Math.pow(e,c)}}}this.b=new qf(a)}B(Q,Te);Q.prototype.M=function(){return this.s("center")};Q.prototype.getCenter=Q.prototype.M;Q.prototype.H=function(a){var b=this.M(),c=this.P();return new $d(b.x-c*a.width/2,b.y-c*a.height/2,b.x+c*a.width/2,b.y+c*a.height/2)};Q.prototype.wc=function(){return this.s("projection")}; -Q.prototype.getProjection=Q.prototype.wc;Q.prototype.P=function(){return this.s("resolution")};Q.prototype.getResolution=Q.prototype.P;Q.prototype.X=function(){return this.s("rotation")||0};Q.prototype.getRotation=Q.prototype.X;Q.prototype.Ha=function(){return this.M()!=k&&x(this.P())};Q.prototype.a=function(a){this.q("center",a)};Q.prototype.setCenter=Q.prototype.a;Q.prototype.f=function(a){this.q("projection",a)};Q.prototype.setProjection=Q.prototype.f; -Q.prototype.c=function(a){this.q("resolution",a)};Q.prototype.setResolution=Q.prototype.c;Q.prototype.d=function(a){this.q("rotation",a)};Q.prototype.setRotation=Q.prototype.d;Q.prototype.rotate=function(a,b,c,d){b=this.b.rotation(b,0);rf(this,a,b,c,d)}; -function rf(a,b,c,d,e){if(c!=k){var f=a.X(),g=a.M();x(f)&&(x(g)&&x(e))&&(sf(b),b.c(We.rotate({rotation:f,duration:e,easing:Re})),x(d)&&b.c(We.pa({source:g,duration:e,easing:Re})));if(d!=k){var e=a.M(),j=new L(e.x-d.x,e.y-d.y);j.rotate(c-a.X());j.x+=d.x;j.y+=d.y;tf(b,function(){this.a(j);this.d(c)},a)}else a.d(c)}}Q.prototype.zoom=function(a,b,c,d){b=this.b.resolution(b,0);uf(this,a,b,c,d)};function vf(a,b,c,d,e){var f=a.P(),c=a.b.resolution(f,c);uf(a,b,c,d,e)} -function uf(a,b,c,d,e){if(c!=k){var f=a.P(),g=a.M();x(f)&&(x(g)&&x(e))&&(sf(b),b.c(We.zoom({resolution:f,duration:e,easing:Re})),x(d)&&b.c(We.pa({source:g,duration:e,easing:Re})));if(d!=k){var e=a.M(),f=a.P(),j=new L(d.x-c*(d.x-e.x)/f,d.y-c*(d.y-e.y)/f);tf(b,function(){this.a(j);this.c(c)},a)}else a.c(c)}};function wf(a){Zb.call(this);this.element=x(a.element)?a.element:k;this.p=a.target;this.b=k;x(a.map)&&this.a(a.map)}B(wf,Zb);wf.prototype.r=function(){Ub(this.element);wf.v.r.call(this)};wf.prototype.a=function(a){this.b===k||Ub(this.element);this.b=a;this.b!==k&&(x(this.p)?this.p:a.w).appendChild(this.element)};function xf(a){this.g=Qb("UL");var b=Ob("DIV",{"class":"ol-attribution ol-unselectable"},this.g);wf.call(this,{element:b,map:a.map,target:a.target});this.f=i;this.c={};this.d={};this.e=k}B(xf,wf); -xf.prototype.h=function(a){var b=a.b;if(b===k)this.f&&(Jc(this.element,l),this.f=l);else{var c={},d={},a=this.b.t();x(a)&&a.forEach(function(a){a=a.Y();d[y(a).toString()]=a;a=a.ka();if(a!==k){var b,e;for(e=0;e=Math.abs(a+c)?0:a+c}};var pf={rc:aa(),Jc:function(a){return 0.5>a?mf(2*a):1-mf(2*(a-0.5))},$c:function(a){return Math.pow(2,-10*a)*Math.sin((a-0.075)*2*Math.PI/0.3)+1},Cb:function(a){a<1/2.75?a*=7.5625*a:a<2/2.75?(a-=1.5/2.75,a=7.5625*a*a+0.75):a<2.5/2.75?(a-=2.25/2.75,a=7.5625*a*a+0.9375):(a-=2.625/2.75,a=7.5625*a*a+0.984375);return a}};var qf={Cb:function(a){var b=a.resolution,c=x(a.start)?a.start:pa(),d=x(a.duration)?a.duration:1E3,e=x(a.easing)?a.easing:pf.Jc;return function(a,g){if(g.timeb?(d="\u2032",a*=60):d="\u00b0":"imperial"==this.c?0.9144>b?(d="in",a/=0.0254):1609.344>b?(d="ft",a/=0.3048):(d="mi",a/=1609.344):"nautical"==this.c?(a/=1852,d="nm"):"metric"==this.c?1>b?(d="mm",a*=1E3):1E3>b?d="m":(d="km",a/=1E3):"us"==this.c&&(0.9144>b?(d="in",a*=39.37):1609.344>b?(d="ft",a/=0.30480061):(d="mi",a/=1609.3472));for(var b=3*Math.floor(Math.log(this.h*a)/Math.log(10)),e,f;;){e=Af[b%3]*Math.pow(10,Math.floor(b/3));f=Math.round(e/a);if(f>=this.h)break;++b}e=e+d;this.t!=e&& -(this.t=this.g.innerHTML=e);this.F!=f&&(this.g.style.width=f+"px",this.F=f);this.f||(Jc(this.o,i),this.f=i)}};zf.prototype.a=function(a){this.e!==k&&(C(this.e,J),this.e=k);zf.v.a.call(this,a);a!==k&&(this.e=[H(a,"postrender",this.w,l,this)])};function Bf(a){var b=Ob("A",{href:"#zoomIn","class":"ol-zoom-in"});H(b,["touchend","click"],this.d,l,this);var c=Ob("A",{href:"#zoomOut","class":"ol-zoom-out"});H(c,["touchend","click"],this.e,l,this);b=Ob("DIV","ol-zoom ol-unselectable",b,c);wf.call(this,{element:b,map:a.map,target:a.target});this.c=x(a.delta)?a.delta:1}B(Bf,wf);Bf.prototype.d=function(a){a.C();a=this.b;sf(a);vf(a.a(),a,this.c,h,250)};Bf.prototype.e=function(a){a.C();a=this.b;sf(a);vf(a.a(),a,-this.c,h,250)};function Cf(){};function Df(a){this.a=a}B(Df,Cf);Df.prototype.oa=function(a){var b=a.a;if(a.type==ef&&(Ld||kc(a.a))){var c=a.map,d=a.d(),e=a.a.ma?-this.a:this.a;vf(c.a(),c,e,d,250);a.C();b.C()}};function Ef(a){return a.ca&&!a.qb&&a.ma}function Ff(a){return!a.ca&&!a.qb&&!a.ma}function Gf(a){return!a.ca&&!a.qb&&a.ma};function Hf(){this.e=l;this.p=this.na=this.h=this.g=0;this.Ma=this.f=k}B(Hf,Cf);p=Hf.prototype;p.Ib=ba;p.cb=ba;p.eb=md;p.oc=ba;p.oa=function(a){var b=a.map;if(b.Ha()){var b=b.a(),c=a.a;a.type==hf&&this.oc(a);this.e?a.type==kf?(this.d=c.clientX-this.g,this.b=c.clientY-this.h,this.Ib(a)):a.type==gf&&(this.d=c.clientX-this.g,this.b=c.clientY-this.h,this.cb(a),this.e=l):a.type==jf&&(this.g=c.clientX,this.h=c.clientY,this.b=this.d=0,this.f=b.M(),this.Ma=a.d(),this.eb(a)&&(this.e=i,a.C()))}};function If(a,b){Hf.call(this);this.o=a;this.a=b;this.c=k}B(If,Hf);If.prototype.Ib=function(a){this.a&&this.a.a.push({x:a.a.clientX,y:a.a.clientY,Na:pa()});var a=a.map,b=a.a(),c=b.P(),d=b.X(),c=new L(-c*this.d,c*this.b);c.rotate(d);d=new L(this.f.x+c.x,this.f.y+c.y);sf(a);b.a(d)}; -If.prototype.cb=function(a){var b=a.map,a=b.a();Ue(a,-1);if(this.a&&Ye(this.a)){var c=(this.a.d-this.a.b)/this.a.e,d=this.a.c,e=a.M();this.c=this.a.pa(e);b.c(this.c);e=Jf(b,e);b=bf(b,new $e(e.x-c*Math.cos(d),e.y-c*Math.sin(d)));a.a(b)}};If.prototype.eb=function(a){var b=a.a;if(this.o(b)){if(this.a){var c=this.a;c.a.length=0;c.c=0;c.b=0;this.a.a.push({x:b.clientX,y:b.clientY,Na:pa()})}a=a.map;sf(a);Ue(a.a(),1);return i}return l}; -If.prototype.oc=function(a){var b=a.map,c=b.a();this.c!==k&&Da(b.h,this.c)&&(sf(b),c.a(a.b.u.center),this.c=k)};function Kf(a){Hf.call(this);this.c=a}B(Kf,Hf);Kf.prototype.Ib=function(a){var b=a.map,c=b.f(),a=cf(a),c=Math.atan2(c.height/2-a.y,a.x-c.width/2);if(x(this.a)){var a=c-this.a,d=b.a();sf(b);rf(d,b,d.X()-a)}this.a=c};Kf.prototype.cb=function(a){var a=a.map,b=a.a();b.rotate(a,b.X(),h,250);Ue(b,-1)};Kf.prototype.eb=function(a){var b=a.a;return kc(b)&&this.c(b)?(a=a.map,b=a.a(),sf(a),this.a=h,Ue(b,1),i):l};function Lf(a){var b=Ob("DIV","ol-dragbox");this.c=k;this.e=a.Ma;this.d=k;wf.call(this,{element:b,map:a.map})}B(Lf,wf);Lf.prototype.a=function(a){this.d!==k&&(J(this.d),this.d=k);a!==k&&(this.c=Jf(a,this.e),Cc(this.element,this.c),Kc(this.element,new Xd(0,0)),this.d=H(a,kf,this.f,l,this));Lf.v.a.call(this,a)};Lf.prototype.f=function(a){var b=this.b,a=a.d(),b=Jf(b,a);Cc(this.element,new $e(Math.min(b.x,this.c.x),Math.min(b.y,this.c.y)));Kc(this.element,new Xd(Math.abs(b.x-this.c.x),Math.abs(b.y-this.c.y)))};function Mf(a){Hf.call(this);this.c=a;this.a=k}B(Mf,Hf);Mf.prototype.cb=function(a){this.a.a(k);this.a=k;if(64<=this.d*this.d+this.b*this.b){var b=a.map,c=ae(this.Ma,a.d());tf(b,function(){var a=b.a(),e=b.f();a.a(new L((c.i+c.l)/2,(c.j+c.k)/2));e=Math.max((c.l-c.i)/e.width,(c.k-c.j)/e.height);e=a.b.resolution(e,0);a.c(e);a.d(0)})}};Mf.prototype.eb=function(a){var b=a.a;return kc(b)&&this.c(b)?(this.a=new Lf({map:a.map,Ma:this.Ma}),i):l};function Nf(a){this.a=a}B(Nf,Cf);Nf.prototype.oa=function(a){if("key"==a.type){var b=a.a,c=b.wa;if(40==c||37==c||39==c||38==c){var d=a.map.a(),e=d.P()*this.a,c=40==c?new L(0,-e):37==c?new L(-e,0):39==c?new L(e,0):new L(0,e),e=d.M();d.a(new L(e.x+c.x,e.y+c.y));b.C();a.C()}}};function Of(){}B(Of,Cf);Of.prototype.oa=function(a){if("key"==a.type){var b=a.a,c=b.$a;if(43==c||45==c){var d=a.map,c=43==c?4:-4;sf(d);vf(d.a(),d,c,h,100);b.C();a.C()}}};function Pf(){this.a=0;this.c=k;this.d=this.b=h}B(Pf,Cf);Pf.prototype.oa=function(a){if("mousewheel"==a.type){var b=a.map,c=a.a;this.c=a.d();this.a+=c.b/3;x(this.b)||(this.b=pa());var d=Math.max(80-(pa()-this.b),0);w.clearTimeout(this.d);this.d=w.setTimeout(na(this.e,this,b),d);a.C();c.C()}};Pf.prototype.e=function(a){var b=Eb(this.a,-1,1),c=a.a();sf(a);vf(c,a,-b,this.c,250);this.a=0;this.c=k;this.d=this.b=h};function Qf(){this.g=l;this.h={};this.targetTouches=[]}B(Qf,Cf);function Rf(a){for(var b=a.length,c=0,d=0,e=0;ethis.o&&(this.a=i));this.c=c;var a=a.map,c=a.a(),d=Hc(a.b),e=Rf(this.targetTouches);e.x-=d.x;e.y-=d.y;d=bf(a,e);this.a&&rf(c,a,c.X()+b,d)}; -Tf.prototype.d=function(a){if(2>this.targetTouches.length){var a=a.map,b=a.a();this.a&&b.rotate(a,b.X(),h,250);Ue(b,-1);return l}return i};Tf.prototype.f=function(a){return 2<=this.targetTouches.length?(a=a.map.a(),this.c=h,this.a=l,this.b=0,Ue(a,1),i):l};function Uf(){Qf.call(this)}B(Uf,Qf);Uf.prototype.e=function(a){var b=1,c=this.targetTouches[0],d=this.targetTouches[1],e=c.clientX-d.clientX,c=c.clientY-d.clientY,e=Math.sqrt(e*e+c*c);x(this.a)&&(b=this.a/e);this.a=e;a=a.map;e=a.a();c=Hc(a.b);d=Rf(this.targetTouches);d.x-=c.x;d.y-=c.y;c=bf(a,d);uf(e,a,e.P()*b,c)};Uf.prototype.d=function(a){if(2>this.targetTouches.length){var a=a.map,b=a.a();b.zoom(a,b.P(),h,250);Ue(b,-1);return l}return i}; -Uf.prototype.f=function(a){return 2<=this.targetTouches.length?(a=a.map.a(),this.a=h,Ue(a,1),i):l};function Vf(a){O.call(this,a,"m",Wf)}B(Vf,O);var Xf=6378137*Math.PI,Wf=new $d(-Xf,-Xf,Xf,Xf),Yf=Aa(["EPSG:3857","EPSG:102100","EPSG:102113","EPSG:900913"],function(a){return new Vf(a)});Vf.prototype.b=function(a,b){return a/((Math.exp(b.y/6378137)+Math.exp(-(b.y/6378137)))/2)};function Zf(a,b){O.call(this,a,"degrees",$f,b)}B(Zf,O);var $f=new $d(-180,-90,180,90),ag=[new Zf("CRS:84"),new Zf("EPSG:4326","neu"),new Zf("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new Zf("urn:ogc:def:crs:OGC:1.3:CRS84")];Zf.prototype.b=aa();function bg(a,b,c,d,e){this.f=e;this.g=a;this.h=c;this.e=b;this.b=new Image;d!==k&&(this.b.crossOrigin=d);this.d={};this.c=k;this.a=0}B(bg,kd);bg.prototype.ka=m("f");bg.prototype.H=m("g");function cg(a,b){if(x(b)){var c,d=y(b);if(d in a.d)return a.d[d];c=Sa(a.d)?a.b:a.b.cloneNode(l);return a.d[d]=c}return a.b}bg.prototype.o=function(){this.a=3;C(this.c,J);this.c=k;K(this,"change")};bg.prototype.p=function(){this.a=2;C(this.c,J);this.c=k;K(this,"change")}; -function dg(a){0==a.a&&(a.a=1,a.c=[sc(a.b,"error",a.o,l,a),sc(a.b,"load",a.p,l,a)],a.b.src=a.h)};function eg(a){this.a=a.resolutions;this.g=this.a.length;this.d=x(a.origin)?a.origin:k;this.f=k;x(a.origins)&&(this.f=a.origins);this.c=k;x(a.tileSizes)&&(this.c=a.tileSizes);this.e=x(a.tileSize)?a.tileSize:this.c===k?new Xd(256,256):k}eg.prototype.b=function(a,b,c){for(var d=fg(this,a),a=a.m-1;0<=a&&!b.call(c,a,gg(this,d,this.a[a]));)--a};function hg(a,b){return a.d===k?a.f[b]:a.d}eg.prototype.Fb=m("a"); -function gg(a,b,c){var d=ig(a,new L(b.i,b.j),c),a=ig(a,new L(b.l,b.k),c,i);return new re(d.x,d.y,a.x,a.y)}function jg(a,b){var c=hg(a,b.m),d=a.a[b.m],e=kg(a,b.m);return new L(c.x+(b.x+0.5)*e.width*d,c.y+(b.y+0.5)*e.height*d)}function fg(a,b){var c=hg(a,b.m),d=a.a[b.m],e=kg(a,b.m),f=c.x+b.x*e.width*d,c=c.y+b.y*e.height*d;return new $d(f,c,f+e.width*d,c+e.height*d)} -function ig(a,b,c,d){var e=pf(a.a,c),f=c/a.a[e],g=hg(a,e),j=kg(a,e),a=f*(b.x-g.x)/(c*j.width),b=f*(b.y-g.y)/(c*j.height);d?(a=Math.ceil(a)-1,b=Math.ceil(b)-1):(a=Math.floor(a),b=Math.floor(b));return new pe(e,a,b)}function kg(a,b){return a.e===k?a.c[b]:a.e} -function lg(a){var b=a.f;if(b===k){for(var b=a.H(),c=Math.max(b.l-b.i,b.k-b.j),d=x(h)?h:new Xd(256,256),e=Array((x(h)?NaN:42)+1),c=c/d.width,f=0,g=e.length;fc?a[1]="?":c==f.length-1&&(a[1]=h));return a.join("")};function Cg(a,b){return function(c,d,e){return Bg(a,b,c,d,e)}}function Dg(){};function Eg(a){Qe.call(this,{attributions:a.attributions,extent:a.extent,projection:a.projection});this.Ga=x(a.Ga)?a.Ga:Dg;this.d=x(a.crossOrigin)?a.crossOrigin:"anonymous";this.a=x(a.resolutions)?a.resolutions:k}B(Eg,Qe);function Fg(a,b,c,d,e){var f=k,d=a.Ga(b,d,e);x(d)&&(f=new bg(b,c,d,a.d,a.ka()));return f};function Gg(a){P.call(this,a)}B(Gg,P);function Hg(a){P.call(this,a)}B(Hg,P);function Ig(a,b){og.call(this,a,b)}B(Ig,og);function Jg(a,b){og.call(this,a,b);this.b=k;this.c=ee()}B(Jg,Ig);Jg.prototype.I=function(){return this.b===k?k:cg(this.b,this)};Jg.prototype.ra=m("c"); -Jg.prototype.ha=function(a){var b=a.u,c=b.center,d=b.resolution,e=b.rotation,f=this.a.Y(),g=a.B;!g[0]&&!g[1]&&(b=f.I(a.extent,d,b.projection),b!==k&&(f=b.a,0==f?(sc(b,"change",this.Jb,l,this),dg(b)):2==f&&(this.b=b)));if(this.b!==k){var b=this.b,f=b.H(),g=b.e,j=this.c;ie(j);me(j,a.size.width/2,a.size.height/2);oe(j,e);ne(j,g/d,g/d);me(j,(f.i-c.x)/g,(c.y-f.k)/g);sg(a.attributions,b.ka())}};function Kg(a,b){og.call(this,a,b);this.e=this.c=this.d=k;this.f=ee();this.b=k}B(Kg,Ig);Kg.prototype.I=m("d");Kg.prototype.ra=m("f"); -Kg.prototype.ha=function(a){var b=a.u,c=b.projection,d=this.a.Y(),e=y(d).toString(),f=d.tileGrid;f===k&&(f=lg(c));var g=pf(f.a,b.resolution),j=kg(f,g),n=f.a[g],r=gg(f,a.extent,n),s=r.ea(),q=r.aa(),j=new Xd(j.width*s,j.height*q),v,u;this.d===k?(v=Qb("CANVAS"),v.width=j.width,v.height=j.height,u=v.getContext("2d"),this.d=v,this.c=j,this.e=u,this.b=Array(s*q)):(v=this.d,u=this.e,this.c.width==j.width&&this.c.height==j.height||(v.width=j.width,v.height=j.height,this.c=j,this.b=Array(s*q)));q={};q[g]= -{};var j=na(d.d,d,q,vg(function(a){return a!==k&&2==a.a},d,f,c)),t,z,E,D;for(E=r.i;E<=r.l;++E)for(D=r.j;D<=r.k;++D)if(z=new pe(g,E,D),t=d.b(z,f,c),t!==k){v=t.a;if(0==v)qg(this,t),ug(a.Qa,d,z),v=jg(f,z),ve(a.Ub,t,e,v);else if(2==v){q[g][z.toString()]=t;continue}else if(3==v)continue;f.b(z,j)}e=Aa(Ma(q),Number);Ia(e);v=d.G;var c=be(fg(f,new pe(g,r.i,r.k))),U,R,I,Y,V,sa;for(U=0;Uc;++c)d[c]=b[c].toFixed(6);c=d.join(",")}else c=b.join(",");c="matrix3d("+c+")";d=a.style;d.WebkitTransform=c;d.MozTransform=c;d.a=c;d.transform=c};function Og(a,b,c){og.call(this,a,b);this.target=c}B(Og,og);Og.prototype.r=function(){Ub(this.target);Og.v.r.call(this)};function Pg(a,b){var c=Qb("DIV");c.className="ol-layer-image";c.style.position="absolute";Og.call(this,a,b,c);this.b=k;this.c=ge()}B(Pg,Og); -Pg.prototype.ha=function(a){var b=a.u,c=b.center,d=b.resolution,e=b.rotation,f=this.b,g=this.a.Y(),j=a.B;!j[0]&&!j[1]&&(b=g.I(a.extent,d,b.projection),b!==k&&(g=b.a,0==g?(sc(b,"change",this.Jb,l,this),dg(b)):2==g&&(f=b)));f!==k&&(g=f.H(),j=f.e,b=ee(),ie(b),me(b,a.size.width/2,a.size.height/2),oe(b,e),ne(b,j/d,j/d),me(b,(g.i-c.x)/j,(c.y-g.k)/j),f!=this.b&&(c=cg(f,this),c.style.position="absolute",Sb(this.target),this.target.appendChild(c),this.b=f),ke(b,this.c)||(Ng(this.target,b),he(this.c,b)),sg(a.attributions, -f.ka()))};function Qg(a,b){var c=Qb("DIV");c.className="ol-layer-tile";c.style.position="absolute";Og.call(this,a,b,c);this.c=i;this.d=1;this.b={}}B(Qg,Og); -Qg.prototype.ha=function(a,b){if(b.visible){var c=a.u,d=c.projection,e=this.a.Y(),f=y(e).toString(),g=e.tileGrid;g===k&&(g=lg(d));var j=pf(g.a,c.resolution),n=gg(g,a.extent,g.a[j]),r={};r[j]={};var s=na(e.d,e,r,vg(function(a){return a!==k&&2==a.a},e,g,d)),q,v,u,t,z;for(t=n.i;t<=n.l;++t)for(z=n.j;z<=n.k;++z)if(u=new pe(j,t,z),q=e.b(u,g,d),q!==k){v=q.a;if(0==v)qg(this,q),ug(a.Qa,e,u),v=jg(g,u),ve(a.Ub,q,f,v);else if(2==v){r[j][u.toString()]=q;continue}else if(3==v)continue;g.b(u,s)}s=Aa(Ma(r),Number); -Ia(s);var d={},E;for(q=0;qu&&Tb(this.target,f.target)}else{if(!a.B[0]&&!a.B[1]){v=gg(f.d,a.extent,f.d.a[f.c.m]);u=[];z=t=h;for(z in f.b)t=f.b[z],v.contains(t.V)||u.push(t); -v=h;for(v=0;v=a.$()){for(var a=this.a,d=0;d>1,a[d].L>c.L)a[b]=a[d],b=d;else break;a[b]=c}p=$g.prototype; -p.remove=function(){var a=this.a,b=a.length,c=a[0];if(!(0>=b)){if(1==b)Ca(a);else{a[0]=a.pop();for(var a=0,b=this.a,d=b.length,e=b[a];a>1;){var f=2*a+1,g=2*a+2,f=ge.L)break;b[a]=b[f];a=f}b[a]=e}return c.Z}};p.N=function(){for(var a=this.a,b=[],c=a.length,d=0;dc;++c)d=b.remove(),hh(a,d)},b,u));R?(this.b=q,this.w=v):(this.w=this.b=k,a.R=i)}tg(a.Pa,g,r,q);ng(g,r,a.extent,n);rg(a,g);ie(this.d); -me(this.d,(d.center.x-v.i)/(v.l-v.i),(d.center.y-v.j)/(v.k-v.j));oe(this.d,d.rotation);ne(this.d,a.size.width*d.resolution/(v.l-v.i),a.size.height*d.resolution/(v.k-v.j));me(this.d,-0.5,-0.5)};function ih(){this.n=0;this.c={};this.b=this.a=k}p=ih.prototype;p.clear=function(){this.n=0;this.c={};this.b=this.a=k};function gh(a,b){return a.c.hasOwnProperty(b)}p.forEach=function(a,b){for(var c=this.a;c!==k;)a.call(b,c.Z,c.L,this),c=c.U};function jh(a,b){var c=a.c[b];if(c===a.b)return c.Z;c===a.a?(a.a=a.a.U,a.a.ia=k):(c.U.ia=c.ia,c.ia.U=c.U);c.U=k;c.ia=a.b;a.b.U=c;a.b=c;return c.Z}p.$=m("n");p.W=function(){var a=Array(this.n),b=0,c;for(c=this.b;c!==k;c=c.ia)a[b++]=c.L;return a}; -p.N=function(){var a=Array(this.n),b=0,c;for(c=this.b;c!==k;c=c.ia)a[b++]=c.Z;return a};function kh(a){var b=a.a;delete a.c[b.L];b.U!==k&&(b.U.ia=k);a.a=b.U;a.a===k&&(a.b=k);--a.n}function lh(a,b,c){c={L:b,U:k,ia:a.b,Z:c};a.b===k?a.a=c:a.b.U=c;a.b=c;a.c[b]=c;++a.n};var mh=["webgl","webgl-experimental","webkit-3d","moz-webgl"];function nh(a,b){var c,d,e=mh.length;for(d=0;d>1)-1;0<=b;b--)xe(a,b);for(a=this.ra;0b;++b)e=c[b],e.rotate(d),e.add(a);f.extent=ae.apply(k,c)}this.e=f;this.J.ob(f);this.p=l;f!==k&&(f.R&&sf(this),Array.prototype.push.apply(this.yb, -f.xa));K(this,new Ze("postrender",this,f));w.setTimeout(this.Pc,0)}};p.Qd=function(a){this.q("backgroundColor",a)};S.prototype.setBackgroundColor=S.prototype.Qd;S.prototype.Rc=function(a){this.q(xg,a)};S.prototype.setLayers=S.prototype.Rc;S.prototype.Ra=function(a){this.q("size",a)};S.prototype.setSize=S.prototype.Ra;S.prototype.Sc=function(a){this.q("view",a)};S.prototype.setView=S.prototype.Sc;function tf(a,b,c){++a.g;try{b.call(c)}finally{0===--a.g&&a.p&&(a=a.d,qd(a),a.Gb())}} -uh.Yc=function(a){var b=w.location.search.substring(1),a=x(a)?a:new Xc(b);return id(a,"renderers")?jd(a,"renderers").split(","):id(a,"renderer")?[jd(a,"renderer")]:wh};Ie(Yf);Ie(ag);function xh(a,b,c){var d=a.length,c=1b-a.f;)d--;if(0<=d){var b=a.a[d],c=a.a[c],d=c.x-b.x,e=c.y-b.y;a.c=Math.atan2(e,d);a.b=Math.sqrt(d*d+e*e)/(c.Na-b.Na);return a.b>a.d}return l}Df.prototype.pa=function(a){var b=this.e,c=this.b,d=this.d,e=Math.log(this.d/this.b)/this.e;return qf.pa({source:a,duration:e,easing:function(a){return c*(Math.exp(b*a*e)-1)/(d-c)}})};function Ff(){};function Gf(a){this.a=a}B(Gf,Ff);Gf.prototype.oa=function(a){var b=a.a;if(a.type==Ze&&(Nd||lc(a.a))){var c=a.map,d=a.d(),e=a.a.ma?-this.a:this.a;vf(c.a(),c,e,d,250);a.C();b.C()}};function Hf(a){return a.ca&&!a.qb&&a.ma}function If(a){return!a.ca&&!a.qb&&!a.ma}function Jf(a){return!a.ca&&!a.qb&&a.ma};function Kf(){this.e=l;this.p=this.na=this.h=this.g=0;this.Ma=this.f=k}B(Kf,Ff);p=Kf.prototype;p.Ib=ba;p.cb=ba;p.eb=od;p.pc=ba;p.oa=function(a){var b=a.map;if(b.Ha()){var b=b.a(),c=a.a;a.type==bf&&this.pc(a);this.e?a.type==df?(this.d=c.clientX-this.g,this.b=c.clientY-this.h,this.Ib(a)):a.type==af&&(this.d=c.clientX-this.g,this.b=c.clientY-this.h,this.cb(a),this.e=l):a.type==cf&&(this.g=c.clientX,this.h=c.clientY,this.b=this.d=0,this.f=b.M(),this.Ma=a.d(),this.eb(a)&&(this.e=j,a.C()))}};function Lf(a,b){Kf.call(this);this.o=a;this.a=b;this.c=k}B(Lf,Kf);Lf.prototype.Ib=function(a){this.a&&this.a.a.push({x:a.a.clientX,y:a.a.clientY,Na:pa()});var a=a.map,b=a.a(),c=b.P(),d=b.X(),c=new L(-c*this.d,c*this.b);c.rotate(d);d=new L(this.f.x+c.x,this.f.y+c.y);sf(a);b.a(d)}; +Lf.prototype.cb=function(a){var b=a.map,a=b.a();kf(a,-1);if(this.a&&Ef(this.a)){var c=(this.a.d-this.a.b)/this.a.e,d=this.a.c,e=a.M();this.c=this.a.pa(e);b.c(this.c);e=Mf(b,e);b=We(b,new Ue(e.x-c*Math.cos(d),e.y-c*Math.sin(d)));a.a(b)}};Lf.prototype.eb=function(a){var b=a.a;if(this.o(b)){if(this.a){var c=this.a;c.a.length=0;c.c=0;c.b=0;this.a.a.push({x:b.clientX,y:b.clientY,Na:pa()})}a=a.map;sf(a);kf(a.a(),1);return j}return l}; +Lf.prototype.pc=function(a){var b=a.map,c=b.a();this.c!==k&&Da(b.h,this.c)&&(sf(b),c.a(a.b.u.center),this.c=k)};function Nf(a){Kf.call(this);this.c=a}B(Nf,Kf);Nf.prototype.Ib=function(a){var b=a.map,c=b.f(),a=Xe(a),c=Math.atan2(c.height/2-a.y,a.x-c.width/2);if(x(this.a)){var a=c-this.a,d=b.a();sf(b);rf(d,b,d.X()-a)}this.a=c};Nf.prototype.cb=function(a){var a=a.map,b=a.a();b.rotate(a,b.X(),h,250);kf(b,-1)};Nf.prototype.eb=function(a){var b=a.a;return lc(b)&&this.c(b)?(a=a.map,b=a.a(),sf(a),this.a=h,kf(b,1),j):l};function Of(a){var b=Pb("DIV","ol-dragbox");this.c=k;this.e=a.Ma;this.d=k;wf.call(this,{element:b,map:a.map})}B(Of,wf);Of.prototype.a=function(a){this.d!==k&&(I(this.d),this.d=k);a!==k&&(this.c=Mf(a,this.e),Dc(this.element,this.c),Mc(this.element,new Zd(0,0)),this.d=H(a,df,this.f,l,this));Of.v.a.call(this,a)};Of.prototype.f=function(a){var b=this.b,a=a.d(),b=Mf(b,a);Dc(this.element,new Ue(Math.min(b.x,this.c.x),Math.min(b.y,this.c.y)));Mc(this.element,new Zd(Math.abs(b.x-this.c.x),Math.abs(b.y-this.c.y)))};function Pf(a){Kf.call(this);this.c=a;this.a=k}B(Pf,Kf);Pf.prototype.cb=function(a){this.a.a(k);this.a=k;if(64<=this.d*this.d+this.b*this.b){var b=a.map,c=ce(this.Ma,a.d());tf(b,function(){var a=b.a(),e=b.f();a.f(c,e);a.d(0)})}};Pf.prototype.eb=function(a){var b=a.a;return lc(b)&&this.c(b)?(this.a=new Of({map:a.map,Ma:this.Ma}),j):l};function Qf(a){this.a=a}B(Qf,Ff);Qf.prototype.oa=function(a){if("key"==a.type){var b=a.a,c=b.va;if(40==c||37==c||39==c||38==c){var d=a.map.a(),e=d.P()*this.a,c=40==c?new L(0,-e):37==c?new L(-e,0):39==c?new L(e,0):new L(0,e),e=d.M();d.a(new L(e.x+c.x,e.y+c.y));b.C();a.C()}}};function Rf(){}B(Rf,Ff);Rf.prototype.oa=function(a){if("key"==a.type){var b=a.a,c=b.$a;if(43==c||45==c){var d=a.map,c=43==c?4:-4;sf(d);vf(d.a(),d,c,h,100);b.C();a.C()}}};function Sf(){this.a=0;this.c=k;this.d=this.b=h}B(Sf,Ff);Sf.prototype.oa=function(a){if("mousewheel"==a.type){var b=a.map,c=a.a;this.c=a.d();this.a+=c.b/3;x(this.b)||(this.b=pa());var d=Math.max(80-(pa()-this.b),0);w.clearTimeout(this.d);this.d=w.setTimeout(na(this.e,this,b),d);a.C();c.C()}};Sf.prototype.e=function(a){var b=Fb(this.a,-1,1),c=a.a();sf(a);vf(c,a,-b,this.c,250);this.a=0;this.c=k;this.d=this.b=h};function Tf(){this.g=l;this.h={};this.targetTouches=[]}B(Tf,Ff);function Uf(a){for(var b=a.length,c=0,d=0,e=0;ethis.o&&(this.a=j));this.c=c;var a=a.map,c=a.a(),d=Ic(a.b),e=Uf(this.targetTouches);e.x-=d.x;e.y-=d.y;d=We(a,e);this.a&&rf(c,a,c.X()+b,d)}; +Wf.prototype.d=function(a){if(2>this.targetTouches.length){var a=a.map,b=a.a();this.a&&b.rotate(a,b.X(),h,250);kf(b,-1);return l}return j};Wf.prototype.f=function(a){return 2<=this.targetTouches.length?(a=a.map.a(),this.c=h,this.a=l,this.b=0,kf(a,1),j):l};function Xf(){Tf.call(this)}B(Xf,Tf);Xf.prototype.e=function(a){var b=1,c=this.targetTouches[0],d=this.targetTouches[1],e=c.clientX-d.clientX,c=c.clientY-d.clientY,e=Math.sqrt(e*e+c*c);x(this.a)&&(b=this.a/e);this.a=e;a=a.map;e=a.a();c=Ic(a.b);d=Uf(this.targetTouches);d.x-=c.x;d.y-=c.y;c=We(a,d);uf(e,a,e.P()*b,c)};Xf.prototype.d=function(a){if(2>this.targetTouches.length){var a=a.map,b=a.a();b.zoom(a,b.P(),h,250);kf(b,-1);return l}return j}; +Xf.prototype.f=function(a){return 2<=this.targetTouches.length?(a=a.map.a(),this.a=h,kf(a,1),j):l};function Yf(a,b){var c=x(a)?a:{},d=new N;(x(c.rotate)?c.rotate:1)&&d.push(new Nf(Hf));if(x(c.Qd)?c.Qd:1)d.push(new Gf(x(c.le)?c.le:1));(x(c.Wd)?c.Wd:1)&&d.push(new Vf(new Df(-0.005,0.05,100)));(x(c.Xd)?c.Xd:1)&&d.push(new Wf);(x(c.Yd)?c.Yd:1)&&d.push(new Xf);(x(c.Rd)?c.Rd:1)&&d.push(new Lf(If,new Df(-0.005,0.05,100)));var e=x(c.Td)?c.Td:80;if(x(c.Sd)?c.Sd:1)d.push(new Qf(e)),d.push(new Rf);(x(c.Ud)?c.Ud:1)&&d.push(new Sf);(x(c.Vd)?c.Vd:1)&&d.push(new Pf(Jf));if(x(b))for(c=0;cc?a[1]="?":c==f.length-1&&(a[1]=h));return a.join("")};function Gg(a,b){return function(c,d,e){return Fg(a,b,c,d,e)}}function Hg(){};function Ig(a){Se.call(this,{attributions:a.attributions,extent:a.extent,projection:a.projection});this.Ga=x(a.Ga)?a.Ga:Hg;this.d=x(a.crossOrigin)?a.crossOrigin:"anonymous";this.a=x(a.resolutions)?a.resolutions:k}B(Ig,Se);function Jg(a,b,c,d,e){var f=k,d=a.Ga(b,d,e);x(d)&&(f=new fg(b,c,d,a.d,a.ka()));return f};function Kg(a){P.call(this,a)}B(Kg,P);function Lg(a){P.call(this,a)}B(Lg,P);function Mg(a,b){sg.call(this,a,b)}B(Mg,sg);function Ng(a,b){sg.call(this,a,b);this.b=k;this.c=ge()}B(Ng,Mg);Ng.prototype.I=function(){return this.b===k?k:gg(this.b,this)};Ng.prototype.xa=m("c"); +Ng.prototype.ha=function(a){var b=a.u,c=b.center,d=b.resolution,e=b.rotation,f=this.a.Y(),g=a.B;!g[0]&&!g[1]&&(b=f.I(a.extent,d,b.projection),b!==k&&(f=b.a,0==f?(tc(b,"change",this.Jb,l,this),hg(b)):2==f&&(this.b=b)));if(this.b!==k){var b=this.b,f=b.H(),g=b.e,i=this.c;ke(i);oe(i,a.size.width/2,a.size.height/2);qe(i,e);pe(i,g/d,g/d);oe(i,(f.i-c.x)/g,(c.y-f.k)/g);wg(a.attributions,b.ka())}};function Og(a,b){sg.call(this,a,b);this.e=this.c=this.d=k;this.f=ge();this.b=k}B(Og,Mg);Og.prototype.I=m("d");Og.prototype.xa=m("f"); +Og.prototype.ha=function(a){var b=a.u,c=b.projection,d=this.a.Y(),e=y(d).toString(),f=d.tileGrid;f===k&&(f=pg(c));var g=nf(f.a,b.resolution),i=og(f,g),n=f.a[g],r=kg(f,a.extent,n),s=r.ea(),q=r.aa(),i=new Zd(i.width*s,i.height*q),v,u;this.d===k?(v=Rb("CANVAS"),v.width=i.width,v.height=i.height,u=v.getContext("2d"),this.d=v,this.c=i,this.e=u,this.b=Array(s*q)):(v=this.d,u=this.e,this.c.width==i.width&&this.c.height==i.height||(v.width=i.width,v.height=i.height,this.c=i,this.b=Array(s*q)));q={};q[g]= +{};var i=na(d.d,d,q,zg(function(a){return a!==k&&2==a.a},d,f,c)),t,z,E,D;for(E=r.i;E<=r.l;++E)for(D=r.j;D<=r.k;++D)if(z=new re(g,E,D),t=d.b(z,f,c),t!==k){v=t.a;if(0==v)ug(this,t),yg(a.Qa,d,z),v=ng(f,z),xe(a.Vb,t,e,v);else if(2==v){q[g][z.toString()]=t;continue}else if(3==v)continue;f.b(z,i)}e=Aa(Sa(q),Number);Ja(e);v=d.G;var c=de(jg(f,new re(g,r.i,r.k))),U,R,J,Z,V,sa;for(U=0;Uc;++c)d[c]=b[c].toFixed(6);c=d.join(",")}else c=b.join(",");c="matrix3d("+c+")";d=a.style;d.WebkitTransform=c;d.MozTransform=c;d.a=c;d.transform=c};function Sg(a,b,c){sg.call(this,a,b);this.target=c}B(Sg,sg);Sg.prototype.r=function(){Vb(this.target);Sg.v.r.call(this)};function Tg(a,b){var c=Rb("DIV");c.className="ol-layer-image";c.style.position="absolute";Sg.call(this,a,b,c);this.b=k;this.c=ie()}B(Tg,Sg); +Tg.prototype.ha=function(a){var b=a.u,c=b.center,d=b.resolution,e=b.rotation,f=this.b,g=this.a.Y(),i=a.B;!i[0]&&!i[1]&&(b=g.I(a.extent,d,b.projection),b!==k&&(g=b.a,0==g?(tc(b,"change",this.Jb,l,this),hg(b)):2==g&&(f=b)));f!==k&&(g=f.H(),i=f.e,b=ge(),ke(b),oe(b,a.size.width/2,a.size.height/2),qe(b,e),pe(b,i/d,i/d),oe(b,(g.i-c.x)/i,(c.y-g.k)/i),f!=this.b&&(c=gg(f,this),c.style.position="absolute",Tb(this.target),this.target.appendChild(c),this.b=f),me(b,this.c)||(Rg(this.target,b),je(this.c,b)),wg(a.attributions, +f.ka()))};function Ug(a,b){var c=Rb("DIV");c.className="ol-layer-tile";c.style.position="absolute";Sg.call(this,a,b,c);this.c=j;this.d=1;this.b={}}B(Ug,Sg); +Ug.prototype.ha=function(a,b){if(b.visible){var c=a.u,d=c.projection,e=this.a.Y(),f=y(e).toString(),g=e.tileGrid;g===k&&(g=pg(d));var i=nf(g.a,c.resolution),n=kg(g,a.extent,g.a[i]),r={};r[i]={};var s=na(e.d,e,r,zg(function(a){return a!==k&&2==a.a},e,g,d)),q,v,u,t,z;for(t=n.i;t<=n.l;++t)for(z=n.j;z<=n.k;++z)if(u=new re(i,t,z),q=e.b(u,g,d),q!==k){v=q.a;if(0==v)ug(this,q),yg(a.Qa,e,u),v=ng(g,u),xe(a.Vb,q,f,v);else if(2==v){r[i][u.toString()]=q;continue}else if(3==v)continue;g.b(u,s)}s=Aa(Sa(r),Number); +Ja(s);var d={},E;for(q=0;qu&&Ub(this.target,f.target)}else{if(!a.B[0]&&!a.B[1]){v=kg(f.d,a.extent,f.d.a[f.c.m]);u=[];z=t=h;for(z in f.b)t=f.b[z],v.contains(t.V)||u.push(t); +v=h;for(v=0;v=a.$()){for(var a=this.a,d=0;d>1,a[d].L>c.L)a[b]=a[d],b=d;else break;a[b]=c}p=dh.prototype; +p.remove=function(){var a=this.a,b=a.length,c=a[0];if(!(0>=b)){if(1==b)Ca(a);else{a[0]=a.pop();for(var a=0,b=this.a,d=b.length,e=b[a];a>1;){var f=2*a+1,g=2*a+2,f=ge.L)break;b[a]=b[f];a=f}b[a]=e}return c.Z}};p.N=function(){for(var a=this.a,b=[],c=a.length,d=0;dc;++c)d=b.remove(),lh(a,d)},b,u));R?(this.b=q,this.w=v):(this.w=this.b=k,a.R=j)}xg(a.Pa,g,r,q);rg(g,r,a.extent,n);vg(a,g);ke(this.d); +oe(this.d,(d.center.x-v.i)/(v.l-v.i),(d.center.y-v.j)/(v.k-v.j));qe(this.d,d.rotation);pe(this.d,a.size.width*d.resolution/(v.l-v.i),a.size.height*d.resolution/(v.k-v.j));oe(this.d,-0.5,-0.5)};function mh(){this.n=0;this.c={};this.b=this.a=k}p=mh.prototype;p.clear=function(){this.n=0;this.c={};this.b=this.a=k};function kh(a,b){return a.c.hasOwnProperty(b)}p.forEach=function(a,b){for(var c=this.a;c!==k;)a.call(b,c.Z,c.L,this),c=c.U};function nh(a,b){var c=a.c[b];if(c===a.b)return c.Z;c===a.a?(a.a=a.a.U,a.a.ia=k):(c.U.ia=c.ia,c.ia.U=c.U);c.U=k;c.ia=a.b;a.b.U=c;a.b=c;return c.Z}p.$=m("n");p.W=function(){var a=Array(this.n),b=0,c;for(c=this.b;c!==k;c=c.ia)a[b++]=c.L;return a}; +p.N=function(){var a=Array(this.n),b=0,c;for(c=this.b;c!==k;c=c.ia)a[b++]=c.Z;return a};function oh(a){var b=a.a;delete a.c[b.L];b.U!==k&&(b.U.ia=k);a.a=b.U;a.a===k&&(a.b=k);--a.n}function ph(a,b,c){c={L:b,U:k,ia:a.b,Z:c};a.b===k?a.a=c:a.b.U=c;a.b=c;a.c[b]=c;++a.n};var qh=["webgl","webgl-experimental","webkit-3d","moz-webgl"];function rh(a,b){var c,d,e=qh.length;for(d=0;d>1)-1;0<=b;b--)ze(a,b);for(a=this.J;0b;++b)e=c[b],e.rotate(d),e.add(a);f.extent=ce.apply(k,c)}this.e=f;this.G.ob(f);this.p=l;f!==k&&(f.R&&sf(this),Array.prototype.push.apply(this.yb, +f.wa));K(this,new Te("postrender",this,f));w.setTimeout(this.Pc,0)}};p.ae=function(a){this.q("backgroundColor",a)};S.prototype.setBackgroundColor=S.prototype.ae;S.prototype.Rc=function(a){this.q(Bg,a)};S.prototype.setLayers=S.prototype.Rc;S.prototype.Ra=function(a){this.q("size",a)};S.prototype.setSize=S.prototype.Ra;S.prototype.Sc=function(a){this.q("view",a)};S.prototype.setView=S.prototype.Sc;function tf(a,b,c){++a.g;try{b.call(c)}finally{0===--a.g&&a.p&&(a=a.d,sd(a),a.Gb())}} +yh.Yc=function(a){var b=w.location.search.substring(1),a=x(a)?a:new Zc(b);return kd(a,"renderers")?ld(a,"renderers").split(","):kd(a,"renderer")?[ld(a,"renderer")]:Ah};Ke(bg);Ke(eg);function Bh(a,b,c){var d=a.length,c=1this.d&&!(b=this.a.Z,c=b.V.m.toString(),c in a&&a[c].contains(b.V));)kh(this)};function qi(a){mg.call(this,{attributions:a.attributions,extent:a.extent,opaque:a.opaque,projection:a.projection,tileGrid:a.tileGrid});this.da=x(a.da)?a.da:mi;this.F=x(a.crossOrigin)?a.crossOrigin:"anonymous";this.a=new pi}B(qi,mg);qi.prototype.f=function(){return this.a.$()>this.a.d};qi.prototype.Ca=function(a){this.a.Ca(a)};qi.prototype.b=function(a,b,c){var d=a.toString();if(gh(this.a,d))return jh(this.a,d);b=this.da(a,b,c);x(b)?(a=new oi(a,b,this.F),lh(this.a,d,a)):a=k;return a}; -qi.prototype.p=function(a){a=a.toString();gh(this.a,a)&&jh(this.a,a)};function ri(a){var b=Array(a.maxZoom+1),c,d=2*Xf/256;for(c=0;c<=a.maxZoom;++c)b[c]=d/Math.pow(2,c);eg.call(this,{origin:new L(-Xf,Xf),resolutions:b,tileSize:new Xd(256,256)})}B(ri,eg);ri.prototype.b=function(a,b,c){for(var d=a.x,e=a.y,a=a.m,f;;){a-=1;if(0>a)break;d>>=1;e>>=1;f=new re(d,e,d,e);if(b.call(c,a,f))break}};function si(a){qi.call(this,{opaque:i,projection:Ne("EPSG:3857")});this.Zc=x(a.culture)?a.culture:"en-us";this.g=l;var b=new Sc("//dev.virtualearth.net/REST/v1/Imagery/Metadata/"+a.style),b=new gi(b),a={include:"ImageryProviders",key:a.key},c=na(this.t,this),a=a||k,d="_"+(hi++).toString(36)+pa().toString(36);w._callbacks_||(w._callbacks_={});var e=b.b.S();if(a)for(var f in a)(!a.hasOwnProperty||a.hasOwnProperty(f))&&fd(e,f,a[f]);c&&(w._callbacks_[d]=function(a){ii(d,i);c.apply(h,arguments)},fd(e, -b.a,"_callbacks_."+d));f=ai(e.toString(),{timeout:b.vb,cc:i});f.a.push([k,function(){ii(d,l)},h]);f.ja&&Xh(f)}B(si,qi); -si.prototype.t=function(a){var b=a.resourceSets[0].resources[0],c=b.zoomMin,d=b.zoomMax,e=new ri({maxZoom:d,tileSize:new Xd(b.imageWidth,b.imageHeight)});this.tileGrid=e;this.da=ni(function(a){if(a.me||b<=e?k:new pe(a.m,Fb(a.x,b),e)},ki(Aa(b.imageUrlSubdomains,function(a){var c=b.imageUrl.replace("{subdomain}",a).replace("{culture}",this.Zc);return function(a){return a===k?h:c.replace("{quadkey}",qe(a))}})));var f=De(Ne("EPSG:4326"),this.o);this.e= -Aa(b.imageryProviders,function(a){var b=a.attribution,c={};C(a.coverageAreas,function(a){var b=a.zoomMin,d=a.zoomMax,a=a.bbox,a=(new $d(a[1],a[0],a[3],a[2])).transform(f),g,j;for(g=b;g<=d;++g)j=g.toString(),b=gg(e,a,e.a[g]),j in c?c[j].push(b):c[j]=[b]});return new se(b,c)});this.g=i;K(this,"load")};si.prototype.c=m("g");function ti(a,b){te.call(this,a);this.a=2;this.f=a;this.d=kg(b,a.m);this.c={}}B(ti,te);ti.prototype.I=function(a){a=x(a)?y(a):-1;if(a in this.c)return this.c[a];var b=this.d,c=Qb("CANVAS");c.width=b.width;c.height=b.height;var d=c.getContext("2d");d.strokeStyle="black";d.strokeRect(0.5,0.5,b.width+0.5,b.height+0.5);d.fillStyle="black";d.textAlign="center";d.textBaseline="middle";d.font="24px sans-serif";d.fillText(this.f.toString(),b.width/2,b.height/2);return this.c[a]=c}; -function ui(a){mg.call(this,{extent:a.extent,opaque:l,projection:a.projection,tileGrid:a.tileGrid});this.a=new pi}B(ui,mg);ui.prototype.f=function(){return this.a.$()>this.a.d};ui.prototype.Ca=function(a){this.a.Ca(a)};ui.prototype.b=function(a){var b=a.toString();if(gh(this.a,b))return jh(this.a,b);a=new ti(a,this.tileGrid);lh(this.a,b,a);return a};function vi(a){var b=a.projection||Ne("EPSG:3857"),c=mi;x(a.da)?c=a.da:x(a.urls)?c=ki(Aa(a.urls,ji)):x(a.url)&&(c=ji(a.url));var d=new ri({maxZoom:a.maxZoom}),e=a.extent,c=e!=k?ni(function(b){if(a.maxZoomj||c<=j)return k;c=Fb(b.x,c);return!Zd(fg(d,new pe(b.m,c,b.y)),e)?k:new pe(b.m,c,j)},c):ni(function(b){if(a.maxZoomd||c<=d?k:new pe(b.m,Fb(b.x,c),d)},c);qi.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin, -extent:a.extent,projection:b,tileGrid:d,da:c})}B(vi,qi);function wi(){vi.call(this,{attributions:[new se('Tiles Courtesy of MapQuest '),new se('Data © OpenStreetMap contributors, CC BY-SA')],opaque:i,maxZoom:28,url:"http://otile{1-4}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.jpg"})}B(wi,vi); -function xi(){vi.call(this,{attributions:[new se('Tiles Courtesy of MapQuest '),new se("Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency")],maxZoom:18,opaque:i,url:"http://oatile{1-4}.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg"})}B(xi,vi);function yi(){vi.call(this,{attributions:[new se('© OpenStreetMap contributors, CC BY-SA')],opaque:i,maxZoom:18,url:"http://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png"})}B(yi,vi);function zi(a){Eg.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:a.extent,projection:a.projection,resolutions:a.resolutions,Ga:x(a.url)?Cg(a.url,a.params):Dg});this.b=k;this.f=1.5}B(zi,Eg); -zi.prototype.I=function(a,b,c){this.a===k||(b=this.a[pf(this.a,b)]);var d=this.b,e;if(e=d!==k)if(e=d.e==b)e=d.H(),e=e.i<=a.i&&a.l<=e.l&&e.j<=a.j&&a.k<=e.k;if(e)return d;var d=a=new $d(a.i,a.j,a.l,a.k),f=this.f;e=d.ea()/2*(f-1);f=d.aa()/2*(f-1);d.i-=e;d.j-=f;d.l+=e;d.k+=f;return this.b=Fg(this,a,b,new Xd(a.ea()/b,a.aa()/b),c)};var Ai={terrain:{T:"jpg",opaque:i},"terrain-background":{T:"jpg",opaque:i},"terrain-labels":{T:"png",opaque:l},"terrain-lines":{T:"png",opaque:l},"toner-background":{T:"png",opaque:i},toner:{T:"png",opaque:i},"toner-hybrid":{T:"png",opaque:l},"toner-labels":{T:"png",opaque:l},"toner-lines":{T:"png",opaque:l},"toner-lite":{T:"png",opaque:i},watercolor:{T:"jpg",opaque:i}},Bi={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:3,maxZoom:16}}; -function Ci(a){var b=new se('Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.'),c=a.layer.indexOf("-"),c=-1==c?a.layer:a.layer.slice(0,c),d=Ai[a.layer];vi.call(this,{attributions:[b],maxZoom:Bi[c].maxZoom,opaque:d.opaque,url:x(a.url)?a.url:"http://{a-d}.tile.stamen.com/"+a.layer+ -"/{z}/{x}/{y}."+d.T})}B(Ci,vi);function Di(a){var b=a.imageExtent,c=a.imageSize,d=b.aa()/c.height,e=x(a.projection)?a.projection:k,f=a.url;Eg.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:a.extent,projection:a.projection,Ga:function(){return f},resolutions:[d]});this.b=Fg(this,b,d,c,e)}B(Di,Eg);Di.prototype.I=function(a){return Zd(a,this.b.H())?this.b:k};var Ei=[];A("grid",function(a){Ei.push(a)});function Fi(a){qi.call(this,{projection:Ne("EPSG:3857")});this.g=l;a=this.t=ai(a.uri,{cc:i});a.a.push([this.w,k,this]);a.ja&&Xh(a)}B(Fi,qi); -Fi.prototype.w=function(){var a=Ei.pop(),b=Ne("EPSG:4326"),c,d;x(a.bounds)?(c=a.bounds,c=new $d(c[0],c[1],c[2],c[3]),this.h=d=c.transform(De(b,this.o))):d=c=k;var e=a.minzoom||0,f=a.maxzoom||22,g=new ri({maxZoom:f});this.tileGrid=g;this.da=ni(function(a){if(a.mc||b<=c)return k;b=Fb(a.x,b);return d!==k&&!Zd(fg(g,new pe(a.m,b,a.y)),d)?k:new pe(a.m,b,c)},ki(Aa(a.tiles,ji)));if(x(a.attribution)){b=d===k?b.H():d;c={};var j,n;for(j=e;j<=f;++j)n=j.toString(), -c[n]=[gg(g,b,g.a[j])];this.e=[new se(a.attribution,c)]}this.g=i;K(this,"load")};Fi.prototype.c=m("g");function Gi(a){var b;a.urls?(b=Aa(a.urls,function(b){return li(b,a.params)}),b=ki(b)):b=a.url?li(a.url,a.params):mi;var c=a.extent;qi.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:c,tileGrid:a.tileGrid,opaque:!(x(a.params.TRANSPARENT)?a.params.TRANSPARENT:1),projection:a.projection,da:ni(function(a,b,f){if(b.Fb().length<=a.m)return k;var g=a.x,j=fg(b,a),f=f.H();c=x(c)?c:f;c.i===f.i&&c.l===f.l&&(j=Math.ceil((c.l-c.i)/(j.l-j.i)),g=Fb(g,j),j=fg(b,new pe(a.m,g,a.y)));return!Zd(j, -c)?k:new pe(a.m,g,a.y)},b)})}B(Gi,qi);A("goog.require",ba);function Hi(a){T.call(this,{element:a.element,map:a.map,position:a.position,positioning:a.positioning})}B(Hi,T);A("ol.AnchoredElement",Hi);A("ol.AnchoredElementPositioning",zh);zh.BOTTOM_LEFT="bottom-left";zh.BOTTOM_RIGHT="bottom-right";zh.TOP_LEFT="top-left";zh.TOP_RIGHT="top-right";A("ol.Attribution",se);A("ol.Collection",N);N.prototype.clear=N.prototype.clear;N.prototype.forEach=N.prototype.forEach;N.prototype.getArray=N.prototype.bd;N.prototype.getAt=N.prototype.cd; -N.prototype.getLength=N.prototype.Za;N.prototype.insertAt=N.prototype.fb;N.prototype.pop=N.prototype.vc;N.prototype.push=N.prototype.push;N.prototype.removeAt=N.prototype.Bc;N.prototype.setAt=N.prototype.Pd;A("ol.Coordinate",L);L.toStringHDMS=function(a){return x(a)?Pc(a.y,"NS")+" "+Pc(a.x,"EW"):""};A("ol.Extent",$d);$d.prototype.getHeight=$d.prototype.aa;$d.prototype.getWidth=$d.prototype.ea;A("ol.Geolocation",X); -function Ii(a){S.call(this,{attributionControl:a.attributionControl,doubleClickZoom:a.doubleClickZoom,dragPan:a.dragPan,interactions:a.interactions,keyboard:a.keyboard,keyboardPanOffset:a.keyboardPanOffset,layers:a.layers,mouseWheelZoom:a.mouseWheelZoom,renderer:a.renderer,renderers:a.renderers,scaleLineControl:a.scaleLineControl,scaleLineUnits:a.scaleLineUnits,shiftDragZoom:a.shiftDragZoom,target:a.target,touchPan:a.touchPan,touchRotate:a.touchRotate,touchZoom:a.touchZoom,view:a.view,zoomControl:a.zoomControl, -zoomDelta:a.zoomDelta})}B(Ii,S);A("ol.Map",Ii);S.prototype.addPreRenderFunction=S.prototype.c;S.prototype.addPreRenderFunctions=S.prototype.Ab;S.prototype.getInteractions=S.prototype.Mc;S.prototype.getRenderer=S.prototype.Oc;af.prototype.getCoordinate=af.prototype.d;A("ol.Object",M);M.prototype.bindTo=M.prototype.Uc;M.prototype.changed=M.prototype.Xc;M.prototype.get=M.prototype.s;M.prototype.notify=M.prototype.uc;M.prototype.set=M.prototype.q;M.prototype.setOptions=M.prototype.Ec; -M.prototype.setValues=M.prototype.nb;M.prototype.unbind=M.prototype.Vb;M.prototype.unbindAll=M.prototype.Zd;A("ol.Projection",O);O.prototype.getAxisOrientation=O.prototype.g;O.prototype.getCode=O.prototype.h;O.prototype.getExtent=O.prototype.H;O.prototype.getPointResolution=O.prototype.b;O.prototype.getUnits=O.prototype.o;A("ol.ProjectionUnits",Be);Be.DEGREES="degrees";Be.METERS="m";A("ol.RendererHint",vh);vh.CANVAS="canvas";vh.DOM="dom";vh.WEBGL="webgl";A("ol.RendererHints",uh); -uh.createFromQueryData=uh.Yc;function Ji(a){Q.call(this,{center:a.center,maxResolution:a.maxResolution,numZoomLevels:a.numZoomLevels,projection:a.projection,resolution:a.resolution,resolutions:a.resolutions,rotation:a.rotation,zoom:a.zoom,zoomFactor:a.zoomFactor})}B(Ji,Q);A("ol.View2D",Ji);A("ol.animation",We);We.bounce=We.Cb;We.pan=We.pa;We.rotate=We.rotate;We.zoom=We.zoom;function Ki(a){xf.call(this,{map:a.map,target:a.target})}B(Ki,xf);A("ol.control.Attribution",Ki);xf.prototype.setMap=xf.prototype.a; -function Li(a){Ch.call(this,{coordinateFormat:a.coordinateFormat,map:a.map,projection:a.projection,target:a.target,undefinedHTML:a.undefinedHTML})}B(Li,Ch);A("ol.control.MousePosition",Li);Ch.prototype.setMap=Ch.prototype.a;function Mi(a){zf.call(this,{map:a.map,minWidth:a.minWidth,target:a.target,units:a.units})}B(Mi,zf);A("ol.control.ScaleLine",Mi);zf.prototype.setMap=zf.prototype.a;A("ol.control.ScaleLineUnits",yf);yf.DEGREES="degrees";yf.IMPERIAL="imperial";yf.METRIC="metric";yf.NAUTICAL="nautical"; -yf.US="us";function Ni(a){Bf.call(this,{delta:a.delta,map:a.map,target:a.target})}B(Ni,Bf);A("ol.control.Zoom",Ni);Bf.prototype.setMap=Bf.prototype.a;A("ol.easing",Ve);Ve.bounce=Ve.Cb;Ve.elastic=Ve.$c;Ve.linear=Ve.qc;Ve.upAndDown=Ve.Jc;A("ol.interaction.Keyboard",Eh);Eh.prototype.addCallback=Eh.prototype.b;function Oi(a){P.call(this,{brightness:a.brightness,contrast:a.contrast,hue:a.hue,opacity:a.opacity,saturation:a.saturation,source:a.source,visible:a.visible})}B(Oi,Gg); -A("ol.layer.ImageLayer",Oi);function Pi(a){P.call(this,{brightness:a.brightness,contrast:a.contrast,hue:a.hue,opacity:a.opacity,saturation:a.saturation,source:a.source,visible:a.visible})}B(Pi,Hg);A("ol.layer.TileLayer",Pi);A("ol.parser.ogc.WMSCapabilities",Qh);Qh.prototype.read=Qh.prototype.sa;A("ol.parser.ogc.WMTSCapabilities",Uh);Uh.prototype.read=Uh.prototype.sa;A("ol.projection.addProjection",Je);A("ol.projection.getFromCode",Ne);A("ol.projection.getTransform",De); -A("ol.projection.getTransformFromCodes",Pe);A("ol.projection.transform",function(a,b,c){b=De(b,c);a=[a.x,a.y];a=b(a,a,2);return new L(a[0],a[1])});A("ol.projection.transformWithCodes",function(a,b,c){b=Pe(b,c);a=[a.x,a.y];a=b(a,a,2);return new L(a[0],a[1])});Lg.prototype.getCanvas=Lg.prototype.Xa;A("ol.source.BingMaps",si);function Qi(a){ui.call(this,{extent:a.extent,projection:a.projection,tileGrid:a.tileGrid})}B(Qi,ui);A("ol.source.DebugTileSource",Qi);A("ol.source.MapQuestOSM",wi); -A("ol.source.MapQuestOpenAerial",xi);A("ol.source.OpenStreetMap",yi);A("ol.source.SingleImageWMS",zi);A("ol.source.Stamen",Ci);A("ol.source.StaticImage",Di);A("ol.source.TileJSON",Fi);A("ol.source.TiledWMS",Gi);function Ri(a){eg.call(this,{origin:a.origin,origins:a.origins,resolutions:a.resolutions,tileSize:a.tileSize,tileSizes:a.tileSizes})}B(Ri,eg);A("ol.tilegrid.TileGrid",Ri);function Si(a){ri.call(this,{maxZoom:a.maxZoom})}B(Si,ri);A("ol.tilegrid.XYZ",Si);We.be={};We.se={};We.te={};We.Ce={};})(); +function Zh(a,b){this.a=[];this.f=a;this.e=b||k}p=Zh.prototype;p.ja=l;p.Ea=l;p.Ka=0;p.Fc=l;p.Wc=l;p.Vc=0;p.fc=function(a,b){$h(this,a,b);this.Ka--;0==this.Ka&&this.ja&&ai(this)};function $h(a,b,c){a.ja=j;a.b=c;a.Ea=!b;ai(a)}function bi(a){if(a.ja){if(!a.Fc)throw new ci(a);a.Fc=l}}function di(a){return Ba(a.a,function(a){return ha(a[1])})} +function ai(a){a.c&&(a.ja&&di(a))&&(w.clearTimeout(a.c),delete a.c);a.d&&(a.d.Vc--,delete a.d);for(var b=a.b,c=l,d=l;a.a.length&&0==a.Ka;){var e=a.a.shift(),f=e[0],g=e[1],e=e[2];if(f=a.Ea?g:f)try{var i=f.call(e||a.e,b);x(i)&&(a.Ea=a.Ea&&(i==b||i instanceof Error),a.b=b=i);b instanceof Zh&&(d=j,a.Ka++)}catch(n){b=n,a.Ea=j,di(a)||(c=j)}}a.b=b;d&&a.Ka&&(d=b,i=na(a.fc,a,j),f=na(a.fc,a,l),d.a.push([i,f,h]),d.ja&&ai(d),b.Wc=j);c&&(a.c=w.setTimeout(function(){throw b;},0))} +function ci(a){qa.call(this);this.a=a}B(ci,qa);ci.prototype.message="Deferred has already fired";ci.prototype.name="AlreadyCalledError";function ei(a,b){var c=b||{},d=c.document||document,e=Rb("SCRIPT"),f={Cc:e,vb:h},g=new Zh(fi,f),i=k,n=c.timeout!=k?c.timeout:5E3;0this.d&&!(b=this.a.Z,c=b.V.m.toString(),c in a&&a[c].contains(b.V));)oh(this)};function ui(a){qg.call(this,{attributions:a.attributions,extent:a.extent,opaque:a.opaque,projection:a.projection,tileGrid:a.tileGrid});this.da=x(a.da)?a.da:qi;this.F=x(a.crossOrigin)?a.crossOrigin:"anonymous";this.a=new ti}B(ui,qg);ui.prototype.f=function(){return this.a.$()>this.a.d};ui.prototype.Ca=function(a){this.a.Ca(a)};ui.prototype.b=function(a,b,c){var d=a.toString();if(kh(this.a,d))return nh(this.a,d);b=this.da(a,b,c);x(b)?(a=new si(a,b,this.F),ph(this.a,d,a)):a=k;return a}; +ui.prototype.p=function(a){a=a.toString();kh(this.a,a)&&nh(this.a,a)};function vi(a){var b=Array(a.maxZoom+1),c,d=2*ag/256;for(c=0;c<=a.maxZoom;++c)b[c]=d/Math.pow(2,c);ig.call(this,{origin:new L(-ag,ag),resolutions:b,tileSize:new Zd(256,256)})}B(vi,ig);vi.prototype.b=function(a,b,c){for(var d=a.x,e=a.y,a=a.m,f;;){a-=1;if(0>a)break;d>>=1;e>>=1;f=new te(d,e,d,e);if(b.call(c,a,f))break}};function wi(a){ui.call(this,{opaque:j,projection:Pe("EPSG:3857")});this.Zc=x(a.culture)?a.culture:"en-us";this.g=l;var b=new Uc("//dev.virtualearth.net/REST/v1/Imagery/Metadata/"+a.style),b=new ki(b),a={include:"ImageryProviders",key:a.key},c=na(this.t,this),a=a||k,d="_"+(li++).toString(36)+pa().toString(36);w._callbacks_||(w._callbacks_={});var e=b.b.S();if(a)for(var f in a)(!a.hasOwnProperty||a.hasOwnProperty(f))&&hd(e,f,a[f]);c&&(w._callbacks_[d]=function(a){mi(d,j);c.apply(h,arguments)},hd(e, +b.a,"_callbacks_."+d));f=ei(e.toString(),{timeout:b.vb,dc:j});f.a.push([k,function(){mi(d,l)},h]);f.ja&&ai(f)}B(wi,ui); +wi.prototype.t=function(a){var b=a.resourceSets[0].resources[0],c=b.zoomMin,d=b.zoomMax,e=new vi({maxZoom:d,tileSize:new Zd(b.imageWidth,b.imageHeight)});this.tileGrid=e;this.da=ri(function(a){if(a.me||b<=e?k:new re(a.m,Gb(a.x,b),e)},oi(Aa(b.imageUrlSubdomains,function(a){var c=b.imageUrl.replace("{subdomain}",a).replace("{culture}",this.Zc);return function(a){return a===k?h:c.replace("{quadkey}",se(a))}})));var f=Fe(Pe("EPSG:4326"),this.o);this.e= +Aa(b.imageryProviders,function(a){var b=a.attribution,c={};C(a.coverageAreas,function(a){var b=a.zoomMin,d=a.zoomMax,a=a.bbox,a=(new be(a[1],a[0],a[3],a[2])).transform(f),g,i;for(g=b;g<=d;++g)i=g.toString(),b=kg(e,a,e.a[g]),i in c?c[i].push(b):c[i]=[b]});return new ue(b,c)});this.g=j;K(this,"load")};wi.prototype.c=m("g");function xi(a,b){ve.call(this,a);this.a=2;this.f=a;this.d=og(b,a.m);this.c={}}B(xi,ve);xi.prototype.I=function(a){a=x(a)?y(a):-1;if(a in this.c)return this.c[a];var b=this.d,c=Rb("CANVAS");c.width=b.width;c.height=b.height;var d=c.getContext("2d");d.strokeStyle="black";d.strokeRect(0.5,0.5,b.width+0.5,b.height+0.5);d.fillStyle="black";d.textAlign="center";d.textBaseline="middle";d.font="24px sans-serif";d.fillText(this.f.toString(),b.width/2,b.height/2);return this.c[a]=c}; +function yi(a){qg.call(this,{extent:a.extent,opaque:l,projection:a.projection,tileGrid:a.tileGrid});this.a=new ti}B(yi,qg);yi.prototype.f=function(){return this.a.$()>this.a.d};yi.prototype.Ca=function(a){this.a.Ca(a)};yi.prototype.b=function(a){var b=a.toString();if(kh(this.a,b))return nh(this.a,b);a=new xi(a,this.tileGrid);ph(this.a,b,a);return a};function zi(a){var b=a.projection||Pe("EPSG:3857"),c=qi;x(a.da)?c=a.da:x(a.urls)?c=oi(Aa(a.urls,ni)):x(a.url)&&(c=ni(a.url));var d=new vi({maxZoom:a.maxZoom}),e=a.extent,c=e!=k?ri(function(b){if(a.maxZoomi||c<=i)return k;c=Gb(b.x,c);return!ae(jg(d,new re(b.m,c,b.y)),e)?k:new re(b.m,c,i)},c):ri(function(b){if(a.maxZoomd||c<=d?k:new re(b.m,Gb(b.x,c),d)},c);ui.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin, +extent:a.extent,projection:b,tileGrid:d,da:c})}B(zi,ui);function Ai(){zi.call(this,{attributions:[new ue('Tiles Courtesy of MapQuest '),new ue('Data © OpenStreetMap contributors, CC BY-SA')],opaque:j,maxZoom:28,url:"http://otile{1-4}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.jpg"})}B(Ai,zi); +function Bi(){zi.call(this,{attributions:[new ue('Tiles Courtesy of MapQuest '),new ue("Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency")],maxZoom:18,opaque:j,url:"http://oatile{1-4}.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg"})}B(Bi,zi);function Ci(){zi.call(this,{attributions:[new ue('© OpenStreetMap contributors, CC BY-SA')],opaque:j,maxZoom:18,url:"http://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png"})}B(Ci,zi);function Di(a){Ig.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:a.extent,projection:a.projection,resolutions:a.resolutions,Ga:x(a.url)?Gg(a.url,a.params):Hg});this.b=k;this.f=1.5}B(Di,Ig); +Di.prototype.I=function(a,b,c){this.a===k||(b=this.a[nf(this.a,b)]);var d=this.b,e;if(e=d!==k)if(e=d.e==b)e=d.H(),e=e.i<=a.i&&a.l<=e.l&&e.j<=a.j&&a.k<=e.k;if(e)return d;var d=a=new be(a.i,a.j,a.l,a.k),f=this.f;e=d.ea()/2*(f-1);f=d.aa()/2*(f-1);d.i-=e;d.j-=f;d.l+=e;d.k+=f;return this.b=Jg(this,a,b,new Zd(a.ea()/b,a.aa()/b),c)};var Ei={terrain:{T:"jpg",opaque:j},"terrain-background":{T:"jpg",opaque:j},"terrain-labels":{T:"png",opaque:l},"terrain-lines":{T:"png",opaque:l},"toner-background":{T:"png",opaque:j},toner:{T:"png",opaque:j},"toner-hybrid":{T:"png",opaque:l},"toner-labels":{T:"png",opaque:l},"toner-lines":{T:"png",opaque:l},"toner-lite":{T:"png",opaque:j},watercolor:{T:"jpg",opaque:j}},Fi={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:3,maxZoom:16}}; +function Gi(a){var b=new ue('Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.'),c=a.layer.indexOf("-"),c=-1==c?a.layer:a.layer.slice(0,c),d=Ei[a.layer];zi.call(this,{attributions:[b],maxZoom:Fi[c].maxZoom,opaque:d.opaque,url:x(a.url)?a.url:"http://{a-d}.tile.stamen.com/"+a.layer+ +"/{z}/{x}/{y}."+d.T})}B(Gi,zi);function Hi(a){var b=a.imageExtent,c=a.imageSize,d=b.aa()/c.height,e=x(a.projection)?a.projection:k,f=a.url;Ig.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:a.extent,projection:a.projection,Ga:function(){return f},resolutions:[d]});this.b=Jg(this,b,d,c,e)}B(Hi,Ig);Hi.prototype.I=function(a){return ae(a,this.b.H())?this.b:k};var Ii=[];A("grid",function(a){Ii.push(a)});function Ji(a){ui.call(this,{projection:Pe("EPSG:3857")});this.g=l;a=this.t=ei(a.uri,{dc:j});a.a.push([this.w,k,this]);a.ja&&ai(a)}B(Ji,ui); +Ji.prototype.w=function(){var a=Ii.pop(),b=Pe("EPSG:4326"),c,d;x(a.bounds)?(c=a.bounds,c=new be(c[0],c[1],c[2],c[3]),this.h=d=c.transform(Fe(b,this.o))):d=c=k;var e=a.minzoom||0,f=a.maxzoom||22,g=new vi({maxZoom:f});this.tileGrid=g;this.da=ri(function(a){if(a.mc||b<=c)return k;b=Gb(a.x,b);return d!==k&&!ae(jg(g,new re(a.m,b,a.y)),d)?k:new re(a.m,b,c)},oi(Aa(a.tiles,ni)));if(x(a.attribution)){b=d===k?b.H():d;c={};var i,n;for(i=e;i<=f;++i)n=i.toString(), +c[n]=[kg(g,b,g.a[i])];this.e=[new ue(a.attribution,c)]}this.g=j;K(this,"load")};Ji.prototype.c=m("g");function Ki(a){var b;a.urls?(b=Aa(a.urls,function(b){return pi(b,a.params)}),b=oi(b)):b=a.url?pi(a.url,a.params):qi;var c=a.extent;ui.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:c,tileGrid:a.tileGrid,opaque:!(x(a.params.TRANSPARENT)?a.params.TRANSPARENT:1),projection:a.projection,da:ri(function(a,b,f){if(b.Fb().length<=a.m)return k;var g=a.x,i=jg(b,a),f=f.H();c=x(c)?c:f;c.i===f.i&&c.l===f.l&&(i=Math.ceil((c.l-c.i)/(i.l-i.i)),g=Gb(g,i),i=jg(b,new re(a.m,g,a.y)));return!ae(i, +c)?k:new re(a.m,g,a.y)},b)})}B(Ki,ui);A("goog.require",ba);function Li(a){T.call(this,{element:a.element,map:a.map,position:a.position,positioning:a.positioning})}B(Li,T);A("ol.AnchoredElement",Li);A("ol.AnchoredElementPositioning",Dh);Dh.BOTTOM_LEFT="bottom-left";Dh.BOTTOM_RIGHT="bottom-right";Dh.TOP_LEFT="top-left";Dh.TOP_RIGHT="top-right";A("ol.Attribution",ue);A("ol.Collection",N);N.prototype.clear=N.prototype.clear;N.prototype.forEach=N.prototype.forEach;N.prototype.getAt=N.prototype.bd;N.prototype.getLength=N.prototype.Za; +N.prototype.insertAt=N.prototype.fb;N.prototype.pop=N.prototype.wc;N.prototype.push=N.prototype.push;N.prototype.remove=N.prototype.remove;N.prototype.removeAt=N.prototype.Rb;N.prototype.setAt=N.prototype.$d;A("ol.Coordinate",L);L.toStringHDMS=function(a){return x(a)?Rc(a.y,"NS")+" "+Rc(a.x,"EW"):""};A("ol.Extent",be);be.prototype.getHeight=be.prototype.aa;be.prototype.getWidth=be.prototype.ea;A("ol.Geolocation",X); +function Mi(a){S.call(this,{controls:a.controls,interactions:a.interactions,layers:a.layers,renderer:a.renderer,renderers:a.renderers,target:a.target,view:a.view})}B(Mi,S);A("ol.Map",Mi);S.prototype.addPreRenderFunction=S.prototype.c;S.prototype.addPreRenderFunctions=S.prototype.Ab;S.prototype.getInteractions=S.prototype.Mc;S.prototype.getRenderer=S.prototype.Oc;Ve.prototype.getCoordinate=Ve.prototype.d;A("ol.Object",M);M.prototype.bindTo=M.prototype.Uc;M.prototype.changed=M.prototype.Xc; +M.prototype.get=M.prototype.s;M.prototype.notify=M.prototype.vc;M.prototype.set=M.prototype.q;M.prototype.setOptions=M.prototype.Ec;M.prototype.setValues=M.prototype.nb;M.prototype.unbind=M.prototype.Wb;M.prototype.unbindAll=M.prototype.je;A("ol.Projection",O);O.prototype.getAxisOrientation=O.prototype.g;O.prototype.getCode=O.prototype.h;O.prototype.getExtent=O.prototype.H;O.prototype.getPointResolution=O.prototype.b;O.prototype.getUnits=O.prototype.o;A("ol.ProjectionUnits",De);De.DEGREES="degrees"; +De.METERS="m";A("ol.RendererHint",zh);zh.CANVAS="canvas";zh.DOM="dom";zh.WEBGL="webgl";A("ol.RendererHints",yh);yh.createFromQueryData=yh.Yc;function Ni(a){Q.call(this,{center:a.center,maxResolution:a.maxResolution,numZoomLevels:a.numZoomLevels,projection:a.projection,resolution:a.resolution,resolutions:a.resolutions,rotation:a.rotation,zoom:a.zoom,zoomFactor:a.zoomFactor})}B(Ni,Q);A("ol.View2D",Ni);Q.prototype.fitExtent=Q.prototype.f;Q.prototype.getView2D=Q.prototype.g;A("ol.animation",qf); +qf.bounce=qf.Cb;qf.pan=qf.pa;qf.rotate=qf.rotate;qf.zoom=qf.zoom;function Oi(a){xf.call(this,{map:a.map,target:a.target})}B(Oi,xf);A("ol.control.Attribution",Oi);xf.prototype.setMap=xf.prototype.a;function Pi(a){Gh.call(this,{coordinateFormat:a.coordinateFormat,map:a.map,projection:a.projection,target:a.target,undefinedHTML:a.undefinedHTML})}B(Pi,Gh);A("ol.control.MousePosition",Pi);Gh.prototype.setMap=Gh.prototype.a; +function Qi(a){zf.call(this,{map:a.map,minWidth:a.minWidth,target:a.target,units:a.units})}B(Qi,zf);A("ol.control.ScaleLine",Qi);zf.prototype.setMap=zf.prototype.a;A("ol.control.ScaleLineUnits",yf);yf.DEGREES="degrees";yf.IMPERIAL="imperial";yf.METRIC="metric";yf.NAUTICAL="nautical";yf.US="us";function Ri(a){Bf.call(this,{delta:a.delta,map:a.map,target:a.target})}B(Ri,Bf);A("ol.control.Zoom",Ri);Bf.prototype.setMap=Bf.prototype.a;A("ol.control.defaults",Cf);A("ol.easing",pf);pf.bounce=pf.Cb; +pf.elastic=pf.$c;pf.linear=pf.rc;pf.upAndDown=pf.Jc;A("ol.interaction.Keyboard",Ih);Ih.prototype.addCallback=Ih.prototype.b;A("ol.interaction.defaults",Yf);function Si(a){P.call(this,{brightness:a.brightness,contrast:a.contrast,hue:a.hue,opacity:a.opacity,saturation:a.saturation,source:a.source,visible:a.visible})}B(Si,Kg);A("ol.layer.ImageLayer",Si); +function Ti(a){P.call(this,{brightness:a.brightness,contrast:a.contrast,hue:a.hue,opacity:a.opacity,saturation:a.saturation,source:a.source,visible:a.visible})}B(Ti,Lg);A("ol.layer.TileLayer",Ti);A("ol.parser.ogc.WMSCapabilities",Uh);Uh.prototype.read=Uh.prototype.ra;A("ol.parser.ogc.WMTSCapabilities",Yh);Yh.prototype.read=Yh.prototype.ra;A("ol.projection.addProjection",Le);A("ol.projection.getFromCode",Pe);A("ol.projection.getTransform",Fe);A("ol.projection.getTransformFromCodes",Re); +A("ol.projection.transform",function(a,b,c){b=Fe(b,c);a=[a.x,a.y];a=b(a,a,2);return new L(a[0],a[1])});A("ol.projection.transformWithCodes",function(a,b,c){b=Re(b,c);a=[a.x,a.y];a=b(a,a,2);return new L(a[0],a[1])});Pg.prototype.getCanvas=Pg.prototype.Xa;A("ol.source.BingMaps",wi);function Ui(a){yi.call(this,{extent:a.extent,projection:a.projection,tileGrid:a.tileGrid})}B(Ui,yi);A("ol.source.DebugTileSource",Ui);A("ol.source.MapQuestOSM",Ai);A("ol.source.MapQuestOpenAerial",Bi); +A("ol.source.OpenStreetMap",Ci);A("ol.source.SingleImageWMS",Di);A("ol.source.Stamen",Gi);A("ol.source.StaticImage",Hi);A("ol.source.TileJSON",Ji);A("ol.source.TiledWMS",Ki);function Vi(a){ig.call(this,{origin:a.origin,origins:a.origins,resolutions:a.resolutions,tileSize:a.tileSize,tileSizes:a.tileSizes})}B(Vi,ig);A("ol.tilegrid.TileGrid",Vi);function Wi(a){vi.call(this,{maxZoom:a.maxZoom})}B(Wi,vi);A("ol.tilegrid.XYZ",Wi);qf.oe={};qf.Fe={};qf.Ge={};qf.Pe={};})(); diff --git a/master/examples/anchored-elements.html b/master/examples/anchored-elements.html index 5d7b25b747..2f7cbc57f2 100644 --- a/master/examples/anchored-elements.html +++ b/master/examples/anchored-elements.html @@ -1,31 +1,13 @@ - - + + - + - + + + - ol3 canvas tiles demo + + + + + Canvas tiles example -

Canvas tiles example

-
The black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left).
- - - - - - - - - - - -
DOMWebGLCanvas
-
-

See the - canvas-tiles.js source - to see how this is done.

+ + -
layers, stamen, canvas
+ +
+ +
+
+

Canvas

+
+
+
+

WebGL

+
+
+
+

DOM

+
+
+
+ +
+ +
+

Canvas tiles example

+

The black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left).

+
+

See the canvas-tiles.js source to see how this is done.

+
+
layers, openstreetmap, canvas
+
+ +
+ + diff --git a/master/examples/epsg-4326.html b/master/examples/epsg-4326.html index ea7e3e1691..a845d8f468 100644 --- a/master/examples/epsg-4326.html +++ b/master/examples/epsg-4326.html @@ -1,47 +1,52 @@ - - + + - + - - + + + EPSG:4326 example -
-
-

EPSG:4326 example

-
Example of a epsg-4326 map.
-
-

See the - epsg-4326.js source - to see how this is done.

+ + -
epsg4326
+ +
+ +
+
+
+
+
+ +
+ +
+

EPSG:4326 example

+

Example of a map in EPSG:4326.

+
+

See the epsg-4326.js source to see how this is done.

+
+
epsg4326
+
+ +
+ +
+ + diff --git a/master/examples/epsg-4326.js b/master/examples/epsg-4326.js index 303da4c23e..5219ed456a 100644 --- a/master/examples/epsg-4326.js +++ b/master/examples/epsg-4326.js @@ -4,6 +4,7 @@ goog.require('ol.Map'); goog.require('ol.RendererHint'); goog.require('ol.View2D'); goog.require('ol.control.ScaleLineUnits'); +goog.require('ol.control.defaults'); goog.require('ol.layer.TileLayer'); goog.require('ol.projection'); goog.require('ol.source.TiledWMS'); @@ -24,11 +25,16 @@ var layers = new ol.Collection([ ]); var map = new ol.Map({ + controls: ol.control.defaults({ + scaleLine: true, + // FIXME The typecast here is only needed if the example is compiled + scaleLineOptions: /** @type {ol.control.ScaleLineOptions} */ ({ + units: ol.control.ScaleLineUnits.DEGREES + }) + }), layers: layers, // The OSgeo server does not set cross origin headers, so we cannot use WebGL renderers: [ol.RendererHint.CANVAS, ol.RendererHint.DOM], - scaleLineControl: true, - scaleLineUnits: ol.control.ScaleLineUnits.DEGREES, target: 'map', view: new ol.View2D({ projection: ol.projection.getFromCode('EPSG:4326'), diff --git a/master/examples/example-list.js b/master/examples/example-list.js index c0a14c1819..4f046a24a5 100644 --- a/master/examples/example-list.js +++ b/master/examples/example-list.js @@ -1 +1 @@ -var info={"index": {"origin": {"1": 2}, "and": {"8": 1, "4": 1, "6": 1}, "layer": {"9": 1, "6": 1}, "projection": {"8": 3}, "capabilities": {"7": 1}, "ed": {"4": 1, "6": 1}, "national": {"8": 1}, "4326": {"2": 2}, "sync": {"4": 2, "6": 1}, "21781": {"8": 1}, "an": {"1": 1}, "openaerial": {"0": 1, "3": 1}, "tilelayer": {"8": 1, "9": 1, "3": 1, "5": 1}, "popup": {"0": 1}, "osm": {"1": 1}, "are": {"1": 2}, "mapquest": {"0": 1, "3": 1}, "1": {"8": 2}, "getcapabilities": {"7": 3}, "tilejson": {"6": 1}, "tiled": {"8": 2, "9": 2}, "webgl": {"4": 2, "6": 1}, "layers": {"8": 1, "1": 1, "6": 2}, "fullscreen": {"3": 1, "5": 1}, "canvas": {"1": 3, "4": 1, "6": 1}, "overlay": {"0": 1}, "wms": {"8": 3, "9": 3, "7": 3}, "demonstrates": {"0": 1}, "top": {"1": 1}, "custom": {"8": 1}, "two": {"8": 1, "6": 2}, "coordinates": {"1": 3}, "response": {"7": 1}, "note": {"1": 1}, "maps": {"4": 1, "6": 1}, "pixelmap": {"8": 1}, "black": {"1": 1}, "tile": {"8": 1, "1": 3, "3": 1, "5": 1, "9": 1}, "parks": {"8": 1}, "stamen": {"1": 1, "5": 3}, "map": {"2": 1, "3": 1}, "tiles": {"1": 2}, "elements": {"0": 3}, "that": {"1": 1}, "screen": {"3": 2}, "object": {"4": 1}, "generated": {"1": 1}, "ol3": {"1": 1}, "grid": {"1": 1}, "html5": {"1": 1}, "not": {"1": 1}, "using": {"8": 1}, "epsg4326": {"2": 1}, "on": {"1": 1}, "with": {"8": 1, "1": 1, "6": 1}, "by": {"4": 3}, "bingmaps": {"6": 1}, "a": {"9": 1, "2": 1, "3": 1, "5": 1, "7": 1}, "anchored": {"0": 3}, "full": {"3": 2}, "dom": {"4": 2, "6": 1}, "of": {"2": 1, "3": 1, "5": 1, "7": 1, "8": 1, "9": 1}, "bing": {"6": 1}, "bottom": {"1": 1}, "000": {"8": 2}, "side": {"4": 6}, "parsing": {"7": 2}, "client": {"1": 1}, "source": {"5": 1}, "epsg": {"8": 1, "2": 2}, "the": {"8": 1, "1": 3}, "left": {"1": 2}, "example": {"0": 1, "1": 1, "2": 2, "3": 2, "4": 1, "5": 2, "6": 1, "7": 2, "8": 2, "9": 2}, "normalized": {"1": 1}}, "examples": [{"author": "Tom Payne", "tags": "anchored elements, overlay, popup, mapquest, openaerial", "modified": "2013-01-22T14:37:13+0100", "classes": [], "link": "anchored-elements.html", "shortdesc": "Demonstrates anchored elements.", "title": "Anchored elements example", "example": "anchored-elements.html"}, {"author": "Tom Payne", "tags": "layers, stamen, canvas", "modified": "2013-02-06T18:06:16+0100", "classes": [], "link": "canvas-tiles.html", "shortdesc": "The black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left).", "title": "Canvas tiles example", "example": "canvas-tiles.html"}, {"author": "Tom Payne", "tags": "epsg4326", "modified": "2013-02-21T20:22:46+0100", "classes": [], "link": "epsg-4326.html", "shortdesc": "Example of a epsg-4326 map.", "title": "EPSG:4326 example", "example": "epsg-4326.html"}, {"author": "Frederic Junod", "tags": "fullscreen, mapquest, openaerial, tile, tilelayer", "modified": "2013-02-04T10:52:29+0100", "classes": [], "link": "full-screen.html", "shortdesc": "Example of a full-screen map.", "title": "Full-screen example", "example": "full-screen.html"}, {"author": "Tom Payne", "tags": "side-by-side, webgl, dom, sync, object", "modified": "2013-01-18T14:04:33+0100", "classes": [], "link": "side-by-side.html", "shortdesc": "Side-by-side DOM, WebGL and Canvas sync'ed maps.", "title": "Side-by-side example", "example": "side-by-side.html"}, {"author": "Tom Payne", "tags": "fullscreen, stamen, tilelayer", "modified": "2013-03-05T00:41:46+0100", "classes": [], "link": "stamen.html", "shortdesc": "Example of a Stamen tile source.", "title": "Stamen example", "example": "stamen.html"}, {"author": "Frederic Junod", "tags": "layers, tilejson, bing, bingmaps", "modified": "2013-01-21T16:13:19+0100", "classes": [], "link": "two-layers.html", "shortdesc": "Sync'ed DOM, WebGL and Canvas maps with two layers.", "title": "Two-layer example", "example": "two-layers.html"}, {"author": "Bruno Binet", "tags": "wms, capabilities, getcapabilities", "modified": "2013-03-03T17:37:15+0100", "classes": [], "link": "wms-capabilities.html", "shortdesc": "Example of parsing a WMS GetCapabilities response.", "title": "WMS GetCapabilities parsing example", "example": "wms-capabilities.html"}, {"author": "ahocevar", "tags": "wms, tile, tilelayer, projection", "modified": "2012-10-29T09:33:00+0100", "classes": [], "link": "wms-custom-proj.html", "shortdesc": "Example of two tiled WMS layers (Pixelmap 1:1'000'000 and national parks) using the projection EPSG:21781.", "title": "Tiled WMS with custom projection example", "example": "wms-custom-proj.html"}, {"author": "ahocevar", "tags": "wms, tile, tilelayer", "modified": "2012-10-26T21:36:30+0200", "classes": [], "link": "wms.html", "shortdesc": "Example of a tiled WMS layer.", "title": "Tiled WMS example", "example": "wms.html"}]}; \ No newline at end of file +var info={"index": {"openaerial": {"0": 1, "3": 1}, "osm": {"1": 1}, "same": {"4": 1}, "layers": {"1": 1, "4": 1, "9": 1, "7": 2}, "note": {"1": 1}, "wms": {"8": 3, "9": 3, "10": 3}, "capabilities": {"8": 1}, "source": {"6": 1}, "black": {"1": 1}, "tiles": {"1": 2}, "watercolor": {"6": 1}, "grid": {"1": 1}, "tiled": {"9": 2, "10": 2}, "not": {"1": 1}, "using": {"9": 1}, "rotation": {"4": 1}, "transparent": {"7": 1}, "semi": {"7": 1}, "side": {"4": 4}, "ed": {"7": 1}, "national": {"9": 1}, "sync": {"4": 1, "7": 1}, "4326": {"2": 2}, "anchored": {"0": 3}, "full": {"3": 2}, "are": {"1": 2}, "fullscreen": {"3": 1}, "canvas": {"1": 3, "4": 1, "7": 1}, "overlay": {"0": 1}, "demonstrates": {"0": 1}, "popup": {"0": 1}, "screen": {"3": 2}, "ol3": {"1": 1}, "html5": {"1": 1}, "tilejson": {"7": 2}, "by": {"4": 2}, "bingmaps": {"7": 1}, "getcapabilities": {"8": 3}, "of": {"2": 1, "3": 1, "5": 1, "6": 1, "8": 1, "9": 1, "10": 1}, "base": {"7": 1}, "origin": {"1": 2}, "and": {"9": 1, "4": 1, "7": 2}, "projection": {"9": 3}, "simple": {"5": 3}, "parsing": {"8": 2}, "tilelayer": {"9": 1, "10": 1, "3": 1}, "coordinates": {"1": 3}, "mapquest": {"0": 1, "3": 1}, "epsg4326": {"2": 1}, "epsg": {"9": 1, "2": 2}, "top": {"1": 1}, "two": {"9": 1, "4": 1, "7": 1}, "custom": {"9": 1}, "pixelmap": {"9": 1}, "that": {"1": 1}, "normalized": {"1": 1}, "with": {"1": 1, "9": 1, "7": 1}, "example": {"0": 1, "1": 1, "2": 2, "3": 2, "4": 1, "5": 2, "6": 2, "7": 1, "8": 2, "9": 2, "10": 2}, "openstreetmap": {"1": 1, "5": 1}, "layer": {"10": 1, "7": 2}, "share": {"4": 1}, "21781": {"9": 1}, "an": {"1": 1}, "in": {"2": 1}, "webgl": {"4": 1, "7": 1}, "parks": {"9": 1}, "1": {"9": 2}, "maps": {"4": 1, "7": 2}, "tile": {"1": 3, "10": 1, "3": 1, "6": 1, "9": 1}, "stamen": {"6": 3}, "map": {"2": 1, "3": 1, "5": 1}, "elements": {"0": 3}, "object": {"4": 1}, "generated": {"1": 1}, "000": {"9": 2}, "on": {"1": 1}, "response": {"8": 1}, "a": {"2": 1, "3": 1, "5": 1, "6": 1, "7": 2, "8": 1, "10": 1}, "center": {"4": 1}, "dom": {"4": 1, "7": 1}, "bing": {"7": 2}, "bottom": {"1": 1}, "client": {"1": 1}, "the": {"1": 3, "4": 2, "9": 1}, "resolution": {"4": 1}, "left": {"1": 2}}, "examples": [{"author": "Frederic Junod", "tags": "anchored elements, overlay, popup, mapquest, openaerial", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "anchored-elements.html", "shortdesc": "Demonstrates anchored elements.", "title": "Anchored elements example", "example": "anchored-elements.html"}, {"author": "Frederic Junod", "tags": "layers, openstreetmap, canvas", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "canvas-tiles.html", "shortdesc": "The black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left).", "title": "Canvas tiles example", "example": "canvas-tiles.html"}, {"author": "Frederic Junod", "tags": "epsg4326", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "epsg-4326.html", "shortdesc": "Example of a map in EPSG:4326.", "title": "EPSG:4326 example", "example": "epsg-4326.html"}, {"author": "Frederic Junod", "tags": "fullscreen, mapquest, openaerial, tile, tilelayer", "modified": "2013-03-06T17:31:46+0100", "classes": [], "link": "full-screen.html", "shortdesc": "Example of a full-screen map.", "title": "Full-screen example", "example": "full-screen.html"}, {"author": "Frederic Junod", "tags": "side-by-side, canvas, webgl, dom, sync, object", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "side-by-side.html", "shortdesc": "The two maps share the same center, resolution, rotation and layers.", "title": "Side-by-side example", "example": "side-by-side.html"}, {"author": "Frederic Junod", "tags": "simple, openstreetmap", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "simple.html", "shortdesc": "Example of a simple map.", "title": "Simple example", "example": "simple.html"}, {"author": "Frederic Junod", "tags": "stamen, watercolor", "modified": "2013-03-06T17:07:47+0100", "classes": [], "link": "stamen.html", "shortdesc": "Example of a Stamen tile source.", "title": "Stamen example", "example": "stamen.html"}, {"author": "Frederic Junod", "tags": "layers, tilejson, bing, bingmaps", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "two-layers.html", "shortdesc": "Sync'ed DOM, WebGL and Canvas maps with a Bing Maps base layer and a semi-transparent TileJSON layer.", "title": "Two layers example", "example": "two-layers.html"}, {"author": "Frederic Junod", "tags": "wms, capabilities, getcapabilities", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "wms-capabilities.html", "shortdesc": "Example of parsing a WMS GetCapabilities response.", "title": "WMS GetCapabilities parsing example", "example": "wms-capabilities.html"}, {"author": "Frederic Junod", "tags": "wms, tile, tilelayer, projection", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "wms-custom-proj.html", "shortdesc": "Example of two tiled WMS layers (Pixelmap 1:1'000'000 and national parks) using the projection EPSG:21781.", "title": "Tiled WMS with custom projection example", "example": "wms-custom-proj.html"}, {"author": "Frederic Junod", "tags": "wms, tile, tilelayer", "modified": "2013-03-06T15:12:01+0100", "classes": [], "link": "wms.html", "shortdesc": "Example of a tiled WMS layer.", "title": "Tiled WMS example", "example": "wms.html"}]}; \ No newline at end of file diff --git a/master/examples/example-list.xml b/master/examples/example-list.xml index 7bc2593d84..49b65ebbf0 100644 --- a/master/examples/example-list.xml +++ b/master/examples/example-list.xml @@ -1 +1 @@ -OpenLayers Exampleshttp://openlayers.github.com/ol3/master/examples/example-list.xml#2013-03-05T05:10:35Z2013-03-05T05:10:35ZStamen examplefullscreen, stamen, tilelayerExample of a Stamen tile source.2013-03-05T00:41:46+0100Tom Paynehttp://openlayers.github.com/ol3/master/examples/stamen.html#2013-03-05T00:41:46+0100WMS GetCapabilities parsing examplewms, capabilities, getcapabilitiesExample of parsing a WMS GetCapabilities response.2013-03-03T17:37:15+0100Bruno Binethttp://openlayers.github.com/ol3/master/examples/wms-capabilities.html#2013-03-03T17:37:15+0100EPSG:4326 exampleepsg4326Example of a epsg-4326 map.2013-02-21T20:22:46+0100Tom Paynehttp://openlayers.github.com/ol3/master/examples/epsg-4326.html#2013-02-21T20:22:46+0100Canvas tiles examplelayers, stamen, canvasThe black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left).2013-02-06T18:06:16+0100Tom Paynehttp://openlayers.github.com/ol3/master/examples/canvas-tiles.html#2013-02-06T18:06:16+0100Full-screen examplefullscreen, mapquest, openaerial, tile, tilelayerExample of a full-screen map.2013-02-04T10:52:29+0100Frederic Junodhttp://openlayers.github.com/ol3/master/examples/full-screen.html#2013-02-04T10:52:29+0100Anchored elements exampleanchored elements, overlay, popup, mapquest, openaerialDemonstrates anchored elements.2013-01-22T14:37:13+0100Tom Paynehttp://openlayers.github.com/ol3/master/examples/anchored-elements.html#2013-01-22T14:37:13+0100Two-layer examplelayers, tilejson, bing, bingmapsSync'ed DOM, WebGL and Canvas maps with two layers.2013-01-21T16:13:19+0100Frederic Junodhttp://openlayers.github.com/ol3/master/examples/two-layers.html#2013-01-21T16:13:19+0100Side-by-side exampleside-by-side, webgl, dom, sync, objectSide-by-side DOM, WebGL and Canvas sync'ed maps.2013-01-18T14:04:33+0100Tom Paynehttp://openlayers.github.com/ol3/master/examples/side-by-side.html#2013-01-18T14:04:33+0100Tiled WMS with custom projection examplewms, tile, tilelayer, projectionExample of two tiled WMS layers (Pixelmap 1:1'000'000 and national parks) using the projection EPSG:21781.2012-10-29T09:33:00+0100ahocevarhttp://openlayers.github.com/ol3/master/examples/wms-custom-proj.html#2012-10-29T09:33:00+0100Tiled WMS examplewms, tile, tilelayerExample of a tiled WMS layer.2012-10-26T21:36:30+0200ahocevarhttp://openlayers.github.com/ol3/master/examples/wms.html#2012-10-26T21:36:30+0200 \ No newline at end of file +OpenLayers Exampleshttp://openlayers.github.com/ol3/master/examples/example-list.xml#2013-03-06T05:04:11Z2013-03-06T05:04:11ZFull-screen examplefullscreen, mapquest, openaerial, tile, tilelayerExample of a full-screen map.2013-03-06T17:31:46+0100Frederic Junodhttp://openlayers.github.com/ol3/master/examples/full-screen.html#2013-03-06T17:31:46+0100Stamen examplestamen, watercolorExample of a Stamen tile source.2013-03-06T17:07:47+0100Frederic Junodhttp://openlayers.github.com/ol3/master/examples/stamen.html#2013-03-06T17:07:47+0100Anchored elements exampleanchored elements, overlay, popup, mapquest, openaerialDemonstrates anchored elements.2013-03-06T15:12:01+0100Frederic Junodhttp://openlayers.github.com/ol3/master/examples/anchored-elements.html#2013-03-06T15:12:01+0100Canvas tiles examplelayers, openstreetmap, canvasThe black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left).2013-03-06T15:12:01+0100Frederic Junodhttp://openlayers.github.com/ol3/master/examples/canvas-tiles.html#2013-03-06T15:12:01+0100EPSG:4326 exampleepsg4326Example of a map in EPSG:4326.2013-03-06T15:12:01+0100Frederic Junodhttp://openlayers.github.com/ol3/master/examples/epsg-4326.html#2013-03-06T15:12:01+0100Side-by-side exampleside-by-side, canvas, webgl, dom, sync, objectThe two maps share the same center, resolution, rotation and layers.2013-03-06T15:12:01+0100Frederic Junodhttp://openlayers.github.com/ol3/master/examples/side-by-side.html#2013-03-06T15:12:01+0100Simple examplesimple, openstreetmapExample of a simple map.2013-03-06T15:12:01+0100Frederic Junodhttp://openlayers.github.com/ol3/master/examples/simple.html#2013-03-06T15:12:01+0100Two layers examplelayers, tilejson, bing, bingmapsSync'ed DOM, WebGL and Canvas maps with a Bing Maps base layer and a semi-transparent TileJSON layer.2013-03-06T15:12:01+0100Frederic Junodhttp://openlayers.github.com/ol3/master/examples/two-layers.html#2013-03-06T15:12:01+0100WMS GetCapabilities parsing examplewms, capabilities, getcapabilitiesExample of parsing a WMS GetCapabilities response.2013-03-06T15:12:01+0100Frederic Junodhttp://openlayers.github.com/ol3/master/examples/wms-capabilities.html#2013-03-06T15:12:01+0100Tiled WMS with custom projection examplewms, tile, tilelayer, projectionExample of two tiled WMS layers (Pixelmap 1:1'000'000 and national parks) using the projection EPSG:21781.2013-03-06T15:12:01+0100Frederic Junodhttp://openlayers.github.com/ol3/master/examples/wms-custom-proj.html#2013-03-06T15:12:01+0100Tiled WMS examplewms, tile, tilelayerExample of a tiled WMS layer.2013-03-06T15:12:01+0100Frederic Junodhttp://openlayers.github.com/ol3/master/examples/wms.html#2013-03-06T15:12:01+0100 \ No newline at end of file diff --git a/master/examples/examples.css b/master/examples/examples.css new file mode 100644 index 0000000000..23514a529a --- /dev/null +++ b/master/examples/examples.css @@ -0,0 +1,15 @@ +@import url(font-awesome/css/font-awesome.min.css); + +body { + padding-top: 60px; +} +.map { + height: 400px; + width: 100%; +} +.ol-attribution { + max-width: 50%; +} +#tags { + display: none; +} diff --git a/master/examples/font-awesome/README.md b/master/examples/font-awesome/README.md new file mode 100644 index 0000000000..cd1de275bc --- /dev/null +++ b/master/examples/font-awesome/README.md @@ -0,0 +1,22 @@ +#Font Awesome 3.0.2 +##the iconic font designed for use with Twitter Bootstrap + +The full suite of pictographic icons, examples, and documentation can be found at: +http://fortawesome.github.com/Font-Awesome/ + + +##License +- The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL +- Font Awesome CSS, LESS, and SASS files are licensed under the MIT License - http://opensource.org/licenses/mit-license.html +- The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/ +- Attribution is no longer required in Font Awesome 3.0, but much appreciated: "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome" + +##Contact +- Email: dave@davegandy.com +- Twitter: http://twitter.com/fortaweso_me +- Work: Lead Product Designer @ http://kyru.us + +##Changelog +- v3.0.0 - all icons redesigned from scratch, optimized for Bootstrap's 14px default +- v3.0.1 - much improved rendering in webkit, various bugfixes +- v3.0.2 - much improved rendering and alignment in IE7 diff --git a/master/examples/font-awesome/css/font-awesome-ie7.min.css b/master/examples/font-awesome/css/font-awesome-ie7.min.css new file mode 100644 index 0000000000..ae301609e0 --- /dev/null +++ b/master/examples/font-awesome/css/font-awesome-ie7.min.css @@ -0,0 +1,22 @@ +/*! + * Font Awesome 3.0.2 + * the iconic font designed for use with Twitter Bootstrap + * ------------------------------------------------------- + * The full suite of pictographic icons, examples, and documentation + * can be found at: http://fortawesome.github.com/Font-Awesome/ + * + * License + * ------------------------------------------------------- + * - The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL + * - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License - + * http://opensource.org/licenses/mit-license.html + * - The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/ + * - Attribution is no longer required in Font Awesome 3.0, but much appreciated: + * "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome" + + * Contact + * ------------------------------------------------------- + * Email: dave@davegandy.com + * Twitter: http://twitter.com/fortaweso_me + * Work: Lead Product Designer @ http://kyruus.com + */.icon-large{font-size:1.3333333333333333em;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px;vertical-align:middle}.nav [class^="icon-"],.nav [class*=" icon-"]{vertical-align:inherit;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px}.nav [class^="icon-"].icon-large,.nav [class*=" icon-"].icon-large{vertical-align:-25%}.nav-pills [class^="icon-"].icon-large,.nav-tabs [class^="icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large{line-height:.75em;margin-top:-7px;padding-top:5px;margin-bottom:-5px;padding-bottom:4px}.btn [class^="icon-"].pull-left,.btn [class*=" icon-"].pull-left,.btn [class^="icon-"].pull-right,.btn [class*=" icon-"].pull-right{vertical-align:inherit}.btn [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large{margin-top:-0.5em}a [class^="icon-"],a [class*=" icon-"]{cursor:pointer}ul.icons{text-indent:-1.5em;margin-left:3em}.icon-glass{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-music{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-search{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-envelope{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-heart{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-star{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-star-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-user{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-film{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-th-large{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-th{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-th-list{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-ok{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-remove{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-zoom-in{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-zoom-out{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-off{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-signal{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cog{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-trash{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-home{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-file{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-time{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-road{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-download-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-download{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-upload{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-inbox{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-play-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-repeat{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-refresh{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-list-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-lock{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-flag{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-headphones{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-volume-off{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-volume-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-volume-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-qrcode{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-barcode{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-tag{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-tags{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-book{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bookmark{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-print{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-camera{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-font{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bold{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-italic{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-text-height{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-text-width{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-align-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-align-center{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-align-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-align-justify{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-list{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-indent-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-indent-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-facetime-video{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-picture{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-pencil{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-map-marker{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-adjust{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-tint{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-edit{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-share{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-check{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-move{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-step-backward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-fast-backward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-backward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-play{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-pause{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-stop{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-forward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-fast-forward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-step-forward{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-eject{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-chevron-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-chevron-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-plus-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-minus-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-remove-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-ok-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-question-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-info-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-screenshot{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-remove-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-ok-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-ban-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-arrow-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-arrow-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-arrow-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-arrow-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-share-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-resize-full{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-resize-small{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-plus{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-minus{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-asterisk{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-exclamation-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-gift{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-leaf{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-fire{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-eye-open{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-eye-close{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-warning-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-plane{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-calendar{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-random{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-comment{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-magnet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-chevron-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-chevron-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-retweet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-shopping-cart{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-folder-close{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-folder-open{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-resize-vertical{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-resize-horizontal{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bar-chart{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-twitter-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-facebook-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-camera-retro{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-key{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cogs{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-comments{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-thumbs-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-thumbs-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-star-half{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-heart-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-signout{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-linkedin-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-pushpin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-external-link{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-signin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-trophy{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-github-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-upload-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-lemon{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-phone{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-check-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bookmark-empty{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-phone-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-twitter{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-facebook{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-github{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-unlock{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-credit-card{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-rss{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hdd{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bullhorn{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bell{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-certificate{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hand-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hand-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hand-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hand-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle-arrow-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle-arrow-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle-arrow-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle-arrow-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-globe{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-wrench{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-tasks{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-filter{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-briefcase{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-fullscreen{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-group{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-link{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cloud{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-beaker{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cut{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-copy{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-paper-clip{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-save{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-sign-blank{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-reorder{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-list-ul{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-list-ol{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-strikethrough{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-underline{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-table{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-magic{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-truck{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-pinterest{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-pinterest-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-google-plus-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-google-plus{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-money{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-caret-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-caret-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-caret-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-caret-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-columns{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-sort{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-sort-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-sort-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-envelope-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-linkedin{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-undo{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-legal{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-dashboard{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-comment-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-comments-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bolt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-sitemap{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-umbrella{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-paste{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-lightbulb{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-exchange{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cloud-download{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-cloud-upload{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-user-md{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-stethoscope{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-suitcase{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-bell-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-coffee{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-food{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-file-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-building{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-hospital{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-ambulance{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-medkit{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-fighter-jet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-beer{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-h-sign{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-plus-sign-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-double-angle-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-double-angle-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-double-angle-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-double-angle-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-angle-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-angle-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-angle-up{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-angle-down{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-desktop{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-laptop{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-tablet{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-mobile-phone{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle-blank{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-quote-left{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-quote-right{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-spinner{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-circle{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-reply{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-github-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-folder-close-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')}.icon-folder-open-alt{*zoom:expression(this.runtimeStyle['zoom'] = '1',this.innerHTML = '')} \ No newline at end of file diff --git a/master/examples/font-awesome/css/font-awesome.css b/master/examples/font-awesome/css/font-awesome.css new file mode 100644 index 0000000000..887509896f --- /dev/null +++ b/master/examples/font-awesome/css/font-awesome.css @@ -0,0 +1,540 @@ +/*! + * Font Awesome 3.0.2 + * the iconic font designed for use with Twitter Bootstrap + * ------------------------------------------------------- + * The full suite of pictographic icons, examples, and documentation + * can be found at: http://fortawesome.github.com/Font-Awesome/ + * + * License + * ------------------------------------------------------- + * - The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL + * - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License - + * http://opensource.org/licenses/mit-license.html + * - The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/ + * - Attribution is no longer required in Font Awesome 3.0, but much appreciated: + * "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome" + + * Contact + * ------------------------------------------------------- + * Email: dave@davegandy.com + * Twitter: http://twitter.com/fortaweso_me + * Work: Lead Product Designer @ http://kyruus.com + */ +@font-face { + font-family: 'FontAwesome'; + src: url('../font/fontawesome-webfont.eot?v=3.0.1'); + src: url('../font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'), + url('../font/fontawesome-webfont.woff?v=3.0.1') format('woff'), + url('../font/fontawesome-webfont.ttf?v=3.0.1') format('truetype'); + font-weight: normal; + font-style: normal; +} +/* Font Awesome styles + ------------------------------------------------------- */ +[class^="icon-"], +[class*=" icon-"] { + font-family: FontAwesome; + font-weight: normal; + font-style: normal; + text-decoration: inherit; + -webkit-font-smoothing: antialiased; + + /* sprites.less reset */ + display: inline; + width: auto; + height: auto; + line-height: normal; + vertical-align: baseline; + background-image: none; + background-position: 0% 0%; + background-repeat: repeat; + margin-top: 0; +} +/* more sprites.less reset */ +.icon-white, +.nav-pills > .active > a > [class^="icon-"], +.nav-pills > .active > a > [class*=" icon-"], +.nav-list > .active > a > [class^="icon-"], +.nav-list > .active > a > [class*=" icon-"], +.navbar-inverse .nav > .active > a > [class^="icon-"], +.navbar-inverse .nav > .active > a > [class*=" icon-"], +.dropdown-menu > li > a:hover > [class^="icon-"], +.dropdown-menu > li > a:hover > [class*=" icon-"], +.dropdown-menu > .active > a > [class^="icon-"], +.dropdown-menu > .active > a > [class*=" icon-"], +.dropdown-submenu:hover > a > [class^="icon-"], +.dropdown-submenu:hover > a > [class*=" icon-"] { + background-image: none; +} +[class^="icon-"]:before, +[class*=" icon-"]:before { + text-decoration: inherit; + display: inline-block; + speak: none; +} +/* makes sure icons active on rollover in links */ +a [class^="icon-"], +a [class*=" icon-"] { + display: inline-block; +} +/* makes the font 33% larger relative to the icon container */ +.icon-large:before { + vertical-align: -10%; + font-size: 1.3333333333333333em; +} +.btn [class^="icon-"], +.nav [class^="icon-"], +.btn [class*=" icon-"], +.nav [class*=" icon-"] { + display: inline; + /* keeps button heights with and without icons the same */ + +} +.btn [class^="icon-"].icon-large, +.nav [class^="icon-"].icon-large, +.btn [class*=" icon-"].icon-large, +.nav [class*=" icon-"].icon-large { + line-height: .9em; +} +.btn [class^="icon-"].icon-spin, +.nav [class^="icon-"].icon-spin, +.btn [class*=" icon-"].icon-spin, +.nav [class*=" icon-"].icon-spin { + display: inline-block; +} +.nav-tabs [class^="icon-"], +.nav-pills [class^="icon-"], +.nav-tabs [class*=" icon-"], +.nav-pills [class*=" icon-"] { + /* keeps button heights with and without icons the same */ + +} +.nav-tabs [class^="icon-"], +.nav-pills [class^="icon-"], +.nav-tabs [class*=" icon-"], +.nav-pills [class*=" icon-"], +.nav-tabs [class^="icon-"].icon-large, +.nav-pills [class^="icon-"].icon-large, +.nav-tabs [class*=" icon-"].icon-large, +.nav-pills [class*=" icon-"].icon-large { + line-height: .9em; +} +li [class^="icon-"], +.nav li [class^="icon-"], +li [class*=" icon-"], +.nav li [class*=" icon-"] { + display: inline-block; + width: 1.25em; + text-align: center; +} +li [class^="icon-"].icon-large, +.nav li [class^="icon-"].icon-large, +li [class*=" icon-"].icon-large, +.nav li [class*=" icon-"].icon-large { + /* increased font size for icon-large */ + + width: 1.5625em; +} +ul.icons { + list-style-type: none; + text-indent: -0.75em; +} +ul.icons li [class^="icon-"], +ul.icons li [class*=" icon-"] { + width: .75em; +} +.icon-muted { + color: #eeeeee; +} +.icon-border { + border: solid 1px #eeeeee; + padding: .2em .25em .15em; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +.icon-2x { + font-size: 2em; +} +.icon-2x.icon-border { + border-width: 2px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +.icon-3x { + font-size: 3em; +} +.icon-3x.icon-border { + border-width: 3px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; +} +.icon-4x { + font-size: 4em; +} +.icon-4x.icon-border { + border-width: 4px; + -webkit-border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; +} +.pull-right { + float: right; +} +.pull-left { + float: left; +} +[class^="icon-"].pull-left, +[class*=" icon-"].pull-left { + margin-right: .3em; +} +[class^="icon-"].pull-right, +[class*=" icon-"].pull-right { + margin-left: .3em; +} +.btn [class^="icon-"].pull-left.icon-2x, +.btn [class*=" icon-"].pull-left.icon-2x, +.btn [class^="icon-"].pull-right.icon-2x, +.btn [class*=" icon-"].pull-right.icon-2x { + margin-top: .18em; +} +.btn [class^="icon-"].icon-spin.icon-large, +.btn [class*=" icon-"].icon-spin.icon-large { + line-height: .8em; +} +.btn.btn-small [class^="icon-"].pull-left.icon-2x, +.btn.btn-small [class*=" icon-"].pull-left.icon-2x, +.btn.btn-small [class^="icon-"].pull-right.icon-2x, +.btn.btn-small [class*=" icon-"].pull-right.icon-2x { + margin-top: .25em; +} +.btn.btn-large [class^="icon-"], +.btn.btn-large [class*=" icon-"] { + margin-top: 0; +} +.btn.btn-large [class^="icon-"].pull-left.icon-2x, +.btn.btn-large [class*=" icon-"].pull-left.icon-2x, +.btn.btn-large [class^="icon-"].pull-right.icon-2x, +.btn.btn-large [class*=" icon-"].pull-right.icon-2x { + margin-top: .05em; +} +.btn.btn-large [class^="icon-"].pull-left.icon-2x, +.btn.btn-large [class*=" icon-"].pull-left.icon-2x { + margin-right: .2em; +} +.btn.btn-large [class^="icon-"].pull-right.icon-2x, +.btn.btn-large [class*=" icon-"].pull-right.icon-2x { + margin-left: .2em; +} +.icon-spin { + display: inline-block; + -moz-animation: spin 2s infinite linear; + -o-animation: spin 2s infinite linear; + -webkit-animation: spin 2s infinite linear; + animation: spin 2s infinite linear; +} +@-moz-keyframes spin { + 0% { -moz-transform: rotate(0deg); } + 100% { -moz-transform: rotate(359deg); } +} +@-webkit-keyframes spin { + 0% { -webkit-transform: rotate(0deg); } + 100% { -webkit-transform: rotate(359deg); } +} +@-o-keyframes spin { + 0% { -o-transform: rotate(0deg); } + 100% { -o-transform: rotate(359deg); } +} +@-ms-keyframes spin { + 0% { -ms-transform: rotate(0deg); } + 100% { -ms-transform: rotate(359deg); } +} +@keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(359deg); } +} +@-moz-document url-prefix() { + .icon-spin { + height: .9em; + } + .btn .icon-spin { + height: auto; + } + .icon-spin.icon-large { + height: 1.25em; + } + .btn .icon-spin.icon-large { + height: .75em; + } +} +/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen + readers do not read off random characters that represent icons */ +.icon-glass:before { content: "\f000"; } +.icon-music:before { content: "\f001"; } +.icon-search:before { content: "\f002"; } +.icon-envelope:before { content: "\f003"; } +.icon-heart:before { content: "\f004"; } +.icon-star:before { content: "\f005"; } +.icon-star-empty:before { content: "\f006"; } +.icon-user:before { content: "\f007"; } +.icon-film:before { content: "\f008"; } +.icon-th-large:before { content: "\f009"; } +.icon-th:before { content: "\f00a"; } +.icon-th-list:before { content: "\f00b"; } +.icon-ok:before { content: "\f00c"; } +.icon-remove:before { content: "\f00d"; } +.icon-zoom-in:before { content: "\f00e"; } + +.icon-zoom-out:before { content: "\f010"; } +.icon-off:before { content: "\f011"; } +.icon-signal:before { content: "\f012"; } +.icon-cog:before { content: "\f013"; } +.icon-trash:before { content: "\f014"; } +.icon-home:before { content: "\f015"; } +.icon-file:before { content: "\f016"; } +.icon-time:before { content: "\f017"; } +.icon-road:before { content: "\f018"; } +.icon-download-alt:before { content: "\f019"; } +.icon-download:before { content: "\f01a"; } +.icon-upload:before { content: "\f01b"; } +.icon-inbox:before { content: "\f01c"; } +.icon-play-circle:before { content: "\f01d"; } +.icon-repeat:before { content: "\f01e"; } + +/* \f020 doesn't work in Safari. all shifted one down */ +.icon-refresh:before { content: "\f021"; } +.icon-list-alt:before { content: "\f022"; } +.icon-lock:before { content: "\f023"; } +.icon-flag:before { content: "\f024"; } +.icon-headphones:before { content: "\f025"; } +.icon-volume-off:before { content: "\f026"; } +.icon-volume-down:before { content: "\f027"; } +.icon-volume-up:before { content: "\f028"; } +.icon-qrcode:before { content: "\f029"; } +.icon-barcode:before { content: "\f02a"; } +.icon-tag:before { content: "\f02b"; } +.icon-tags:before { content: "\f02c"; } +.icon-book:before { content: "\f02d"; } +.icon-bookmark:before { content: "\f02e"; } +.icon-print:before { content: "\f02f"; } + +.icon-camera:before { content: "\f030"; } +.icon-font:before { content: "\f031"; } +.icon-bold:before { content: "\f032"; } +.icon-italic:before { content: "\f033"; } +.icon-text-height:before { content: "\f034"; } +.icon-text-width:before { content: "\f035"; } +.icon-align-left:before { content: "\f036"; } +.icon-align-center:before { content: "\f037"; } +.icon-align-right:before { content: "\f038"; } +.icon-align-justify:before { content: "\f039"; } +.icon-list:before { content: "\f03a"; } +.icon-indent-left:before { content: "\f03b"; } +.icon-indent-right:before { content: "\f03c"; } +.icon-facetime-video:before { content: "\f03d"; } +.icon-picture:before { content: "\f03e"; } + +.icon-pencil:before { content: "\f040"; } +.icon-map-marker:before { content: "\f041"; } +.icon-adjust:before { content: "\f042"; } +.icon-tint:before { content: "\f043"; } +.icon-edit:before { content: "\f044"; } +.icon-share:before { content: "\f045"; } +.icon-check:before { content: "\f046"; } +.icon-move:before { content: "\f047"; } +.icon-step-backward:before { content: "\f048"; } +.icon-fast-backward:before { content: "\f049"; } +.icon-backward:before { content: "\f04a"; } +.icon-play:before { content: "\f04b"; } +.icon-pause:before { content: "\f04c"; } +.icon-stop:before { content: "\f04d"; } +.icon-forward:before { content: "\f04e"; } + +.icon-fast-forward:before { content: "\f050"; } +.icon-step-forward:before { content: "\f051"; } +.icon-eject:before { content: "\f052"; } +.icon-chevron-left:before { content: "\f053"; } +.icon-chevron-right:before { content: "\f054"; } +.icon-plus-sign:before { content: "\f055"; } +.icon-minus-sign:before { content: "\f056"; } +.icon-remove-sign:before { content: "\f057"; } +.icon-ok-sign:before { content: "\f058"; } +.icon-question-sign:before { content: "\f059"; } +.icon-info-sign:before { content: "\f05a"; } +.icon-screenshot:before { content: "\f05b"; } +.icon-remove-circle:before { content: "\f05c"; } +.icon-ok-circle:before { content: "\f05d"; } +.icon-ban-circle:before { content: "\f05e"; } + +.icon-arrow-left:before { content: "\f060"; } +.icon-arrow-right:before { content: "\f061"; } +.icon-arrow-up:before { content: "\f062"; } +.icon-arrow-down:before { content: "\f063"; } +.icon-share-alt:before { content: "\f064"; } +.icon-resize-full:before { content: "\f065"; } +.icon-resize-small:before { content: "\f066"; } +.icon-plus:before { content: "\f067"; } +.icon-minus:before { content: "\f068"; } +.icon-asterisk:before { content: "\f069"; } +.icon-exclamation-sign:before { content: "\f06a"; } +.icon-gift:before { content: "\f06b"; } +.icon-leaf:before { content: "\f06c"; } +.icon-fire:before { content: "\f06d"; } +.icon-eye-open:before { content: "\f06e"; } + +.icon-eye-close:before { content: "\f070"; } +.icon-warning-sign:before { content: "\f071"; } +.icon-plane:before { content: "\f072"; } +.icon-calendar:before { content: "\f073"; } +.icon-random:before { content: "\f074"; } +.icon-comment:before { content: "\f075"; } +.icon-magnet:before { content: "\f076"; } +.icon-chevron-up:before { content: "\f077"; } +.icon-chevron-down:before { content: "\f078"; } +.icon-retweet:before { content: "\f079"; } +.icon-shopping-cart:before { content: "\f07a"; } +.icon-folder-close:before { content: "\f07b"; } +.icon-folder-open:before { content: "\f07c"; } +.icon-resize-vertical:before { content: "\f07d"; } +.icon-resize-horizontal:before { content: "\f07e"; } + +.icon-bar-chart:before { content: "\f080"; } +.icon-twitter-sign:before { content: "\f081"; } +.icon-facebook-sign:before { content: "\f082"; } +.icon-camera-retro:before { content: "\f083"; } +.icon-key:before { content: "\f084"; } +.icon-cogs:before { content: "\f085"; } +.icon-comments:before { content: "\f086"; } +.icon-thumbs-up:before { content: "\f087"; } +.icon-thumbs-down:before { content: "\f088"; } +.icon-star-half:before { content: "\f089"; } +.icon-heart-empty:before { content: "\f08a"; } +.icon-signout:before { content: "\f08b"; } +.icon-linkedin-sign:before { content: "\f08c"; } +.icon-pushpin:before { content: "\f08d"; } +.icon-external-link:before { content: "\f08e"; } + +.icon-signin:before { content: "\f090"; } +.icon-trophy:before { content: "\f091"; } +.icon-github-sign:before { content: "\f092"; } +.icon-upload-alt:before { content: "\f093"; } +.icon-lemon:before { content: "\f094"; } +.icon-phone:before { content: "\f095"; } +.icon-check-empty:before { content: "\f096"; } +.icon-bookmark-empty:before { content: "\f097"; } +.icon-phone-sign:before { content: "\f098"; } +.icon-twitter:before { content: "\f099"; } +.icon-facebook:before { content: "\f09a"; } +.icon-github:before { content: "\f09b"; } +.icon-unlock:before { content: "\f09c"; } +.icon-credit-card:before { content: "\f09d"; } +.icon-rss:before { content: "\f09e"; } + +.icon-hdd:before { content: "\f0a0"; } +.icon-bullhorn:before { content: "\f0a1"; } +.icon-bell:before { content: "\f0a2"; } +.icon-certificate:before { content: "\f0a3"; } +.icon-hand-right:before { content: "\f0a4"; } +.icon-hand-left:before { content: "\f0a5"; } +.icon-hand-up:before { content: "\f0a6"; } +.icon-hand-down:before { content: "\f0a7"; } +.icon-circle-arrow-left:before { content: "\f0a8"; } +.icon-circle-arrow-right:before { content: "\f0a9"; } +.icon-circle-arrow-up:before { content: "\f0aa"; } +.icon-circle-arrow-down:before { content: "\f0ab"; } +.icon-globe:before { content: "\f0ac"; } +.icon-wrench:before { content: "\f0ad"; } +.icon-tasks:before { content: "\f0ae"; } + +.icon-filter:before { content: "\f0b0"; } +.icon-briefcase:before { content: "\f0b1"; } +.icon-fullscreen:before { content: "\f0b2"; } + +.icon-group:before { content: "\f0c0"; } +.icon-link:before { content: "\f0c1"; } +.icon-cloud:before { content: "\f0c2"; } +.icon-beaker:before { content: "\f0c3"; } +.icon-cut:before { content: "\f0c4"; } +.icon-copy:before { content: "\f0c5"; } +.icon-paper-clip:before { content: "\f0c6"; } +.icon-save:before { content: "\f0c7"; } +.icon-sign-blank:before { content: "\f0c8"; } +.icon-reorder:before { content: "\f0c9"; } +.icon-list-ul:before { content: "\f0ca"; } +.icon-list-ol:before { content: "\f0cb"; } +.icon-strikethrough:before { content: "\f0cc"; } +.icon-underline:before { content: "\f0cd"; } +.icon-table:before { content: "\f0ce"; } + +.icon-magic:before { content: "\f0d0"; } +.icon-truck:before { content: "\f0d1"; } +.icon-pinterest:before { content: "\f0d2"; } +.icon-pinterest-sign:before { content: "\f0d3"; } +.icon-google-plus-sign:before { content: "\f0d4"; } +.icon-google-plus:before { content: "\f0d5"; } +.icon-money:before { content: "\f0d6"; } +.icon-caret-down:before { content: "\f0d7"; } +.icon-caret-up:before { content: "\f0d8"; } +.icon-caret-left:before { content: "\f0d9"; } +.icon-caret-right:before { content: "\f0da"; } +.icon-columns:before { content: "\f0db"; } +.icon-sort:before { content: "\f0dc"; } +.icon-sort-down:before { content: "\f0dd"; } +.icon-sort-up:before { content: "\f0de"; } + +.icon-envelope-alt:before { content: "\f0e0"; } +.icon-linkedin:before { content: "\f0e1"; } +.icon-undo:before { content: "\f0e2"; } +.icon-legal:before { content: "\f0e3"; } +.icon-dashboard:before { content: "\f0e4"; } +.icon-comment-alt:before { content: "\f0e5"; } +.icon-comments-alt:before { content: "\f0e6"; } +.icon-bolt:before { content: "\f0e7"; } +.icon-sitemap:before { content: "\f0e8"; } +.icon-umbrella:before { content: "\f0e9"; } +.icon-paste:before { content: "\f0ea"; } +.icon-lightbulb:before { content: "\f0eb"; } +.icon-exchange:before { content: "\f0ec"; } +.icon-cloud-download:before { content: "\f0ed"; } +.icon-cloud-upload:before { content: "\f0ee"; } + +.icon-user-md:before { content: "\f0f0"; } +.icon-stethoscope:before { content: "\f0f1"; } +.icon-suitcase:before { content: "\f0f2"; } +.icon-bell-alt:before { content: "\f0f3"; } +.icon-coffee:before { content: "\f0f4"; } +.icon-food:before { content: "\f0f5"; } +.icon-file-alt:before { content: "\f0f6"; } +.icon-building:before { content: "\f0f7"; } +.icon-hospital:before { content: "\f0f8"; } +.icon-ambulance:before { content: "\f0f9"; } +.icon-medkit:before { content: "\f0fa"; } +.icon-fighter-jet:before { content: "\f0fb"; } +.icon-beer:before { content: "\f0fc"; } +.icon-h-sign:before { content: "\f0fd"; } +.icon-plus-sign-alt:before { content: "\f0fe"; } + +.icon-double-angle-left:before { content: "\f100"; } +.icon-double-angle-right:before { content: "\f101"; } +.icon-double-angle-up:before { content: "\f102"; } +.icon-double-angle-down:before { content: "\f103"; } +.icon-angle-left:before { content: "\f104"; } +.icon-angle-right:before { content: "\f105"; } +.icon-angle-up:before { content: "\f106"; } +.icon-angle-down:before { content: "\f107"; } +.icon-desktop:before { content: "\f108"; } +.icon-laptop:before { content: "\f109"; } +.icon-tablet:before { content: "\f10a"; } +.icon-mobile-phone:before { content: "\f10b"; } +.icon-circle-blank:before { content: "\f10c"; } +.icon-quote-left:before { content: "\f10d"; } +.icon-quote-right:before { content: "\f10e"; } + +.icon-spinner:before { content: "\f110"; } +.icon-circle:before { content: "\f111"; } +.icon-reply:before { content: "\f112"; } +.icon-github-alt:before { content: "\f113"; } +.icon-folder-close-alt:before { content: "\f114"; } +.icon-folder-open-alt:before { content: "\f115"; } diff --git a/master/examples/font-awesome/css/font-awesome.min.css b/master/examples/font-awesome/css/font-awesome.min.css new file mode 100644 index 0000000000..d4e45b3c91 --- /dev/null +++ b/master/examples/font-awesome/css/font-awesome.min.css @@ -0,0 +1,33 @@ +/*! + * Font Awesome 3.0.2 + * the iconic font designed for use with Twitter Bootstrap + * ------------------------------------------------------- + * The full suite of pictographic icons, examples, and documentation + * can be found at: http://fortawesome.github.com/Font-Awesome/ + * + * License + * ------------------------------------------------------- + * - The Font Awesome font is licensed under the SIL Open Font License - http://scripts.sil.org/OFL + * - Font Awesome CSS, LESS, and SASS files are licensed under the MIT License - + * http://opensource.org/licenses/mit-license.html + * - The Font Awesome pictograms are licensed under the CC BY 3.0 License - http://creativecommons.org/licenses/by/3.0/ + * - Attribution is no longer required in Font Awesome 3.0, but much appreciated: + * "Font Awesome by Dave Gandy - http://fortawesome.github.com/Font-Awesome" + + * Contact + * ------------------------------------------------------- + * Email: dave@davegandy.com + * Twitter: http://twitter.com/fortaweso_me + * Work: Lead Product Designer @ http://kyruus.com + */ + +@font-face{ + font-family:'FontAwesome'; + src:url('../font/fontawesome-webfont.eot?v=3.0.1'); + src:url('../font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'), + url('../font/fontawesome-webfont.woff?v=3.0.1') format('woff'), + url('../font/fontawesome-webfont.ttf?v=3.0.1') format('truetype'); + font-weight:normal; + font-style:normal } + +[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0 0;background-repeat:repeat;margin-top:0}.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:none}[class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none}a [class^="icon-"],a [class*=" icon-"]{display:inline-block}.icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em}.btn [class^="icon-"],.nav [class^="icon-"],.btn [class*=" icon-"],.nav [class*=" icon-"]{display:inline}.btn [class^="icon-"].icon-large,.nav [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large,.nav [class*=" icon-"].icon-large{line-height:.9em}.btn [class^="icon-"].icon-spin,.nav [class^="icon-"].icon-spin,.btn [class*=" icon-"].icon-spin,.nav [class*=" icon-"].icon-spin{display:inline-block}.nav-tabs [class^="icon-"],.nav-pills [class^="icon-"],.nav-tabs [class*=" icon-"],.nav-pills [class*=" icon-"],.nav-tabs [class^="icon-"].icon-large,.nav-pills [class^="icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large{line-height:.9em}li [class^="icon-"],.nav li [class^="icon-"],li [class*=" icon-"],.nav li [class*=" icon-"]{display:inline-block;width:1.25em;text-align:center}li [class^="icon-"].icon-large,.nav li [class^="icon-"].icon-large,li [class*=" icon-"].icon-large,.nav li [class*=" icon-"].icon-large{width:1.5625em}ul.icons{list-style-type:none;text-indent:-0.75em}ul.icons li [class^="icon-"],ul.icons li [class*=" icon-"]{width:.75em}.icon-muted{color:#eee}.icon-border{border:solid 1px #eee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.icon-2x{font-size:2em}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.icon-3x{font-size:3em}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.icon-4x{font-size:4em}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.pull-right{float:right}.pull-left{float:left}[class^="icon-"].pull-left,[class*=" icon-"].pull-left{margin-right:.3em}[class^="icon-"].pull-right,[class*=" icon-"].pull-right{margin-left:.3em}.btn [class^="icon-"].pull-left.icon-2x,.btn [class*=" icon-"].pull-left.icon-2x,.btn [class^="icon-"].pull-right.icon-2x,.btn [class*=" icon-"].pull-right.icon-2x{margin-top:.18em}.btn [class^="icon-"].icon-spin.icon-large,.btn [class*=" icon-"].icon-spin.icon-large{line-height:.8em}.btn.btn-small [class^="icon-"].pull-left.icon-2x,.btn.btn-small [class*=" icon-"].pull-left.icon-2x,.btn.btn-small [class^="icon-"].pull-right.icon-2x,.btn.btn-small [class*=" icon-"].pull-right.icon-2x{margin-top:.25em}.btn.btn-large [class^="icon-"],.btn.btn-large [class*=" icon-"]{margin-top:0}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-top:.05em}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x{margin-right:.2em}.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-left:.2em}.icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg)}100%{-ms-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}@-moz-document url-prefix(){.icon-spin{height:.9em}.btn .icon-spin{height:auto}.icon-spin.icon-large{height:1.25em}.btn .icon-spin.icon-large{height:.75em}}.icon-glass:before{content:"\f000"}.icon-music:before{content:"\f001"}.icon-search:before{content:"\f002"}.icon-envelope:before{content:"\f003"}.icon-heart:before{content:"\f004"}.icon-star:before{content:"\f005"}.icon-star-empty:before{content:"\f006"}.icon-user:before{content:"\f007"}.icon-film:before{content:"\f008"}.icon-th-large:before{content:"\f009"}.icon-th:before{content:"\f00a"}.icon-th-list:before{content:"\f00b"}.icon-ok:before{content:"\f00c"}.icon-remove:before{content:"\f00d"}.icon-zoom-in:before{content:"\f00e"}.icon-zoom-out:before{content:"\f010"}.icon-off:before{content:"\f011"}.icon-signal:before{content:"\f012"}.icon-cog:before{content:"\f013"}.icon-trash:before{content:"\f014"}.icon-home:before{content:"\f015"}.icon-file:before{content:"\f016"}.icon-time:before{content:"\f017"}.icon-road:before{content:"\f018"}.icon-download-alt:before{content:"\f019"}.icon-download:before{content:"\f01a"}.icon-upload:before{content:"\f01b"}.icon-inbox:before{content:"\f01c"}.icon-play-circle:before{content:"\f01d"}.icon-repeat:before{content:"\f01e"}.icon-refresh:before{content:"\f021"}.icon-list-alt:before{content:"\f022"}.icon-lock:before{content:"\f023"}.icon-flag:before{content:"\f024"}.icon-headphones:before{content:"\f025"}.icon-volume-off:before{content:"\f026"}.icon-volume-down:before{content:"\f027"}.icon-volume-up:before{content:"\f028"}.icon-qrcode:before{content:"\f029"}.icon-barcode:before{content:"\f02a"}.icon-tag:before{content:"\f02b"}.icon-tags:before{content:"\f02c"}.icon-book:before{content:"\f02d"}.icon-bookmark:before{content:"\f02e"}.icon-print:before{content:"\f02f"}.icon-camera:before{content:"\f030"}.icon-font:before{content:"\f031"}.icon-bold:before{content:"\f032"}.icon-italic:before{content:"\f033"}.icon-text-height:before{content:"\f034"}.icon-text-width:before{content:"\f035"}.icon-align-left:before{content:"\f036"}.icon-align-center:before{content:"\f037"}.icon-align-right:before{content:"\f038"}.icon-align-justify:before{content:"\f039"}.icon-list:before{content:"\f03a"}.icon-indent-left:before{content:"\f03b"}.icon-indent-right:before{content:"\f03c"}.icon-facetime-video:before{content:"\f03d"}.icon-picture:before{content:"\f03e"}.icon-pencil:before{content:"\f040"}.icon-map-marker:before{content:"\f041"}.icon-adjust:before{content:"\f042"}.icon-tint:before{content:"\f043"}.icon-edit:before{content:"\f044"}.icon-share:before{content:"\f045"}.icon-check:before{content:"\f046"}.icon-move:before{content:"\f047"}.icon-step-backward:before{content:"\f048"}.icon-fast-backward:before{content:"\f049"}.icon-backward:before{content:"\f04a"}.icon-play:before{content:"\f04b"}.icon-pause:before{content:"\f04c"}.icon-stop:before{content:"\f04d"}.icon-forward:before{content:"\f04e"}.icon-fast-forward:before{content:"\f050"}.icon-step-forward:before{content:"\f051"}.icon-eject:before{content:"\f052"}.icon-chevron-left:before{content:"\f053"}.icon-chevron-right:before{content:"\f054"}.icon-plus-sign:before{content:"\f055"}.icon-minus-sign:before{content:"\f056"}.icon-remove-sign:before{content:"\f057"}.icon-ok-sign:before{content:"\f058"}.icon-question-sign:before{content:"\f059"}.icon-info-sign:before{content:"\f05a"}.icon-screenshot:before{content:"\f05b"}.icon-remove-circle:before{content:"\f05c"}.icon-ok-circle:before{content:"\f05d"}.icon-ban-circle:before{content:"\f05e"}.icon-arrow-left:before{content:"\f060"}.icon-arrow-right:before{content:"\f061"}.icon-arrow-up:before{content:"\f062"}.icon-arrow-down:before{content:"\f063"}.icon-share-alt:before{content:"\f064"}.icon-resize-full:before{content:"\f065"}.icon-resize-small:before{content:"\f066"}.icon-plus:before{content:"\f067"}.icon-minus:before{content:"\f068"}.icon-asterisk:before{content:"\f069"}.icon-exclamation-sign:before{content:"\f06a"}.icon-gift:before{content:"\f06b"}.icon-leaf:before{content:"\f06c"}.icon-fire:before{content:"\f06d"}.icon-eye-open:before{content:"\f06e"}.icon-eye-close:before{content:"\f070"}.icon-warning-sign:before{content:"\f071"}.icon-plane:before{content:"\f072"}.icon-calendar:before{content:"\f073"}.icon-random:before{content:"\f074"}.icon-comment:before{content:"\f075"}.icon-magnet:before{content:"\f076"}.icon-chevron-up:before{content:"\f077"}.icon-chevron-down:before{content:"\f078"}.icon-retweet:before{content:"\f079"}.icon-shopping-cart:before{content:"\f07a"}.icon-folder-close:before{content:"\f07b"}.icon-folder-open:before{content:"\f07c"}.icon-resize-vertical:before{content:"\f07d"}.icon-resize-horizontal:before{content:"\f07e"}.icon-bar-chart:before{content:"\f080"}.icon-twitter-sign:before{content:"\f081"}.icon-facebook-sign:before{content:"\f082"}.icon-camera-retro:before{content:"\f083"}.icon-key:before{content:"\f084"}.icon-cogs:before{content:"\f085"}.icon-comments:before{content:"\f086"}.icon-thumbs-up:before{content:"\f087"}.icon-thumbs-down:before{content:"\f088"}.icon-star-half:before{content:"\f089"}.icon-heart-empty:before{content:"\f08a"}.icon-signout:before{content:"\f08b"}.icon-linkedin-sign:before{content:"\f08c"}.icon-pushpin:before{content:"\f08d"}.icon-external-link:before{content:"\f08e"}.icon-signin:before{content:"\f090"}.icon-trophy:before{content:"\f091"}.icon-github-sign:before{content:"\f092"}.icon-upload-alt:before{content:"\f093"}.icon-lemon:before{content:"\f094"}.icon-phone:before{content:"\f095"}.icon-check-empty:before{content:"\f096"}.icon-bookmark-empty:before{content:"\f097"}.icon-phone-sign:before{content:"\f098"}.icon-twitter:before{content:"\f099"}.icon-facebook:before{content:"\f09a"}.icon-github:before{content:"\f09b"}.icon-unlock:before{content:"\f09c"}.icon-credit-card:before{content:"\f09d"}.icon-rss:before{content:"\f09e"}.icon-hdd:before{content:"\f0a0"}.icon-bullhorn:before{content:"\f0a1"}.icon-bell:before{content:"\f0a2"}.icon-certificate:before{content:"\f0a3"}.icon-hand-right:before{content:"\f0a4"}.icon-hand-left:before{content:"\f0a5"}.icon-hand-up:before{content:"\f0a6"}.icon-hand-down:before{content:"\f0a7"}.icon-circle-arrow-left:before{content:"\f0a8"}.icon-circle-arrow-right:before{content:"\f0a9"}.icon-circle-arrow-up:before{content:"\f0aa"}.icon-circle-arrow-down:before{content:"\f0ab"}.icon-globe:before{content:"\f0ac"}.icon-wrench:before{content:"\f0ad"}.icon-tasks:before{content:"\f0ae"}.icon-filter:before{content:"\f0b0"}.icon-briefcase:before{content:"\f0b1"}.icon-fullscreen:before{content:"\f0b2"}.icon-group:before{content:"\f0c0"}.icon-link:before{content:"\f0c1"}.icon-cloud:before{content:"\f0c2"}.icon-beaker:before{content:"\f0c3"}.icon-cut:before{content:"\f0c4"}.icon-copy:before{content:"\f0c5"}.icon-paper-clip:before{content:"\f0c6"}.icon-save:before{content:"\f0c7"}.icon-sign-blank:before{content:"\f0c8"}.icon-reorder:before{content:"\f0c9"}.icon-list-ul:before{content:"\f0ca"}.icon-list-ol:before{content:"\f0cb"}.icon-strikethrough:before{content:"\f0cc"}.icon-underline:before{content:"\f0cd"}.icon-table:before{content:"\f0ce"}.icon-magic:before{content:"\f0d0"}.icon-truck:before{content:"\f0d1"}.icon-pinterest:before{content:"\f0d2"}.icon-pinterest-sign:before{content:"\f0d3"}.icon-google-plus-sign:before{content:"\f0d4"}.icon-google-plus:before{content:"\f0d5"}.icon-money:before{content:"\f0d6"}.icon-caret-down:before{content:"\f0d7"}.icon-caret-up:before{content:"\f0d8"}.icon-caret-left:before{content:"\f0d9"}.icon-caret-right:before{content:"\f0da"}.icon-columns:before{content:"\f0db"}.icon-sort:before{content:"\f0dc"}.icon-sort-down:before{content:"\f0dd"}.icon-sort-up:before{content:"\f0de"}.icon-envelope-alt:before{content:"\f0e0"}.icon-linkedin:before{content:"\f0e1"}.icon-undo:before{content:"\f0e2"}.icon-legal:before{content:"\f0e3"}.icon-dashboard:before{content:"\f0e4"}.icon-comment-alt:before{content:"\f0e5"}.icon-comments-alt:before{content:"\f0e6"}.icon-bolt:before{content:"\f0e7"}.icon-sitemap:before{content:"\f0e8"}.icon-umbrella:before{content:"\f0e9"}.icon-paste:before{content:"\f0ea"}.icon-lightbulb:before{content:"\f0eb"}.icon-exchange:before{content:"\f0ec"}.icon-cloud-download:before{content:"\f0ed"}.icon-cloud-upload:before{content:"\f0ee"}.icon-user-md:before{content:"\f0f0"}.icon-stethoscope:before{content:"\f0f1"}.icon-suitcase:before{content:"\f0f2"}.icon-bell-alt:before{content:"\f0f3"}.icon-coffee:before{content:"\f0f4"}.icon-food:before{content:"\f0f5"}.icon-file-alt:before{content:"\f0f6"}.icon-building:before{content:"\f0f7"}.icon-hospital:before{content:"\f0f8"}.icon-ambulance:before{content:"\f0f9"}.icon-medkit:before{content:"\f0fa"}.icon-fighter-jet:before{content:"\f0fb"}.icon-beer:before{content:"\f0fc"}.icon-h-sign:before{content:"\f0fd"}.icon-plus-sign-alt:before{content:"\f0fe"}.icon-double-angle-left:before{content:"\f100"}.icon-double-angle-right:before{content:"\f101"}.icon-double-angle-up:before{content:"\f102"}.icon-double-angle-down:before{content:"\f103"}.icon-angle-left:before{content:"\f104"}.icon-angle-right:before{content:"\f105"}.icon-angle-up:before{content:"\f106"}.icon-angle-down:before{content:"\f107"}.icon-desktop:before{content:"\f108"}.icon-laptop:before{content:"\f109"}.icon-tablet:before{content:"\f10a"}.icon-mobile-phone:before{content:"\f10b"}.icon-circle-blank:before{content:"\f10c"}.icon-quote-left:before{content:"\f10d"}.icon-quote-right:before{content:"\f10e"}.icon-spinner:before{content:"\f110"}.icon-circle:before{content:"\f111"}.icon-reply:before{content:"\f112"}.icon-github-alt:before{content:"\f113"}.icon-folder-close-alt:before{content:"\f114"}.icon-folder-open-alt:before{content:"\f115"} \ No newline at end of file diff --git a/master/examples/font-awesome/font/FontAwesome.otf b/master/examples/font-awesome/font/FontAwesome.otf new file mode 100644 index 0000000000..64049bf2e7 Binary files /dev/null and b/master/examples/font-awesome/font/FontAwesome.otf differ diff --git a/master/examples/font-awesome/font/fontawesome-webfont.eot b/master/examples/font-awesome/font/fontawesome-webfont.eot new file mode 100755 index 0000000000..7d81019e4f Binary files /dev/null and b/master/examples/font-awesome/font/fontawesome-webfont.eot differ diff --git a/master/examples/font-awesome/font/fontawesome-webfont.svg b/master/examples/font-awesome/font/fontawesome-webfont.svg new file mode 100755 index 0000000000..ba0afe5ef6 --- /dev/null +++ b/master/examples/font-awesome/font/fontawesome-webfont.svg @@ -0,0 +1,284 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/master/examples/font-awesome/font/fontawesome-webfont.ttf b/master/examples/font-awesome/font/fontawesome-webfont.ttf new file mode 100755 index 0000000000..d46172476a Binary files /dev/null and b/master/examples/font-awesome/font/fontawesome-webfont.ttf differ diff --git a/master/examples/font-awesome/font/fontawesome-webfont.woff b/master/examples/font-awesome/font/fontawesome-webfont.woff new file mode 100755 index 0000000000..3c89ae09b8 Binary files /dev/null and b/master/examples/font-awesome/font/fontawesome-webfont.woff differ diff --git a/master/examples/full-screen.html b/master/examples/full-screen.html index 11a3d5d560..6526bc2d6b 100644 --- a/master/examples/full-screen.html +++ b/master/examples/full-screen.html @@ -1,54 +1,27 @@ - - + + - + - + Full-Screen example - 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
+
+ +
+
Full-screen example
+
Example of a full-screen map.
+
fullscreen, mapquest, openaerial, tile, tilelayer
+
diff --git a/master/examples/full-screen.js b/master/examples/full-screen.js index 8ab4ca96ea..df668a44e4 100644 --- a/master/examples/full-screen.js +++ b/master/examples/full-screen.js @@ -1,10 +1,9 @@ -goog.require('ol.AnchoredElement'); goog.require('ol.Collection'); goog.require('ol.Coordinate'); -goog.require('ol.Geolocation'); goog.require('ol.Map'); goog.require('ol.RendererHints'); goog.require('ol.View2D'); +goog.require('ol.control.defaults'); goog.require('ol.layer.TileLayer'); goog.require('ol.source.MapQuestOpenAerial'); @@ -13,28 +12,16 @@ var layer = new ol.layer.TileLayer({ source: new ol.source.MapQuestOpenAerial() }); var map = new ol.Map({ + controls: ol.control.defaults({ + scaleLine: true + }), layers: new ol.Collection([layer]), renderers: ol.RendererHints.createFromQueryData(), - scaleLineControl: true, target: 'map', view: new ol.View2D({ center: new ol.Coordinate(0, 0), zoom: 0 }) }); - -var geolocation = new ol.Geolocation(); -geolocation.bindTo('projection', map.getView()); - -var element = document.getElementById('geolocation'); -var marker = new ol.AnchoredElement({ - map: map, - element: element -}); -marker.bindTo('position', geolocation); - -// This is silly: gjslint generates a "No docs found for member -// 'element.style.display'" without the auto-executing function. -(function() { - element.style.display = 'block'; -})(); +var view2d = map.getView().getView2D(); +view2d.fitExtent(view2d.getProjection().getExtent(), map.getSize()); diff --git a/master/examples/index.html b/master/examples/index.html index f914d16616..a466bec866 100644 --- a/master/examples/index.html +++ b/master/examples/index.html @@ -1,299 +1,211 @@ - - - - - - - - OpenLayers Examples - - - - - - + + - - -
-
- - - - show all -
-
+ if (dict) { + updateScores(); + } else { + var r; + for (idx in info.index) { + r = new RegExp(word); + if (r.test(idx)) { + dict = info.index[idx]; + updateScores(); + } + } + } + } + examples = []; + for (var j in scores) { + var ex = info.examples[j]; + ex.score = scores[j]; + examples.push(ex); + } + // sort examples by first by number of words matched, then + // by word frequency + examples.sort(function(a, b) { + var cmp; + var aWords = 0, bWords = 0; + var aScore = 0, bScore = 0; + for (var i in a.score) { + aScore += a.score[i]; + aWords += 1; + } + for (var j in b.score) { + bScore += b.score[j]; + bWords += 1; + } + if (aWords == bWords) { + cmp = bScore - aScore; + } else { + cmp = bWords - aWords; + } + return cmp; + }); + } + listExamples(examples); + } + + function parseQuery() { + var params = {}; + var list = window.location.search.substring(1).split("&"); + for (var i = 0; i < list.length; ++i) { + var pair = list[i].split("="); + if (pair.length == 2) { + params[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]); + } + } + if (params["q"]) { + var input = document.getElementById("keywords"); + input.value = params["q"]; + inputChange.call(input); + } + } + + window.onload = function() { + for (var i = 0; i < info.examples.length; ++i) { + info.examples[i].link += window.location.search; + } + // document.getElementById('keywords').focus(); + template = new jugl.Template("template"); + target = document.getElementById("examples"); + listExamples(info.examples); + document.getElementById("keywords").onkeyup = inputChange; + parseQuery(); + }; + + + Simple example + + + +