reset the map DEFAULT_CONTROLS array
This commit is contained in:
+1
-1
@@ -148,7 +148,7 @@ ol.Map.DEFAULT_TILE_SIZE = 256;
|
|||||||
@const
|
@const
|
||||||
@type {Array.<string>}
|
@type {Array.<string>}
|
||||||
*/
|
*/
|
||||||
ol.Map.DEFAULT_CONTROLS = ["navigation"];
|
ol.Map.DEFAULT_CONTROLS = ["attribution", "navigation", "zoom"];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {ol.Loc} Map center in map projection.
|
* @return {ol.Loc} Map center in map projection.
|
||||||
|
|||||||
Reference in New Issue
Block a user