reset the map DEFAULT_CONTROLS array

This commit is contained in:
Éric Lemoine
2012-07-09 09:33:32 +02:00
parent 406a2da466
commit 1679a59835

View File

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