Adding attribution control and attribution.

This commit is contained in:
ahocevar
2012-06-24 22:22:18 +02:00
parent dfc21754c9
commit 9c46aadd22
6 changed files with 131 additions and 10 deletions

View File

@@ -140,7 +140,7 @@ ol.Map.DEFAULT_TILE_SIZE = 256;
@const
@type {Array.<string>}
*/
ol.Map.DEFAULT_CONTROLS = ["navigation", "zoom"];
ol.Map.DEFAULT_CONTROLS = ["attribution", "navigation", "zoom"];
/**
* @return {ol.Loc} Map center in map projection.