默認值:true
例子:
// The layer is no longer visible in the view layer.visible = false;
基本信息
以下是所在類或對象的基本信息。
AMD:
require(["esri/layers/OpenStreetMapLayer"], (OpenStreetMapLayer) => { /* code goes here */ });
ESM:
import OpenStreetMapLayer from "@arcgis/core/layers/OpenStreetMapLayer";
類:
esri/layers/OpenStreetMapLayer
繼承: OpenStreetMapLayer > WebTileLayer > Layer > Accessor
自從:用於 JavaScript 4.0 的 ArcGIS API
用法說明
OpenStreetMapLayer.visible
函數(或屬性)的定義如下:
相關用法
- JavaScript ArcGIS OpenStreetMapLayer.on用法及代碼示例
- JavaScript ArcGIS OpenStreetMapLayer.portalItem用法及代碼示例
- JavaScript ArcGIS OpenStreetMapLayer.opacity用法及代碼示例
- JavaScript ArcGIS OpenStreetMapLayer.fullExtent用法及代碼示例
- JavaScript ArcGIS OpenStreetMapLayer.minScale用法及代碼示例
- JavaScript ArcGIS OpenStreetMapLayer.subDomains用法及代碼示例
- JavaScript ArcGIS OpenStreetMapLayer.effect用法及代碼示例
- JavaScript ArcGIS OpenStreetMapLayer.when用法及代碼示例
- JavaScript ArcGIS OpenStreetMapLayer.urlTemplate用法及代碼示例
- JavaScript ArcGIS OpenStreetMapLayer.maxScale用法及代碼示例
- JavaScript ArcGIS OpenStreetMapLayer layerview-create-error事件用法及代碼示例
- JavaScript ArcGIS OpenStreetMapLayer layerview-create事件用法及代碼示例
- JavaScript OpacitySlider.visibleElements用法及代碼示例
- JavaScript OpacitySlider.zoomOptions用法及代碼示例
- JavaScript ArcGIS OpacityVariable用法及代碼示例
- JavaScript OpacitySlider.when用法及代碼示例
- JavaScript OpacitySlider.on用法及代碼示例
- JavaScript OpacitySlider.updateFromVisualVariableResult用法及代碼示例
- JavaScript OpacitySlider.syncedSegmentsEnabled用法及代碼示例
- JavaScript OpacitySlider.min用法及代碼示例
- JavaScript OpacitySlider.precision用法及代碼示例
- JavaScript OpacitySlider用法及代碼示例
- JavaScript OpacitySlider.visible用法及代碼示例
- JavaScript OpacitySlider thumb-change事件用法及代碼示例
- JavaScript OpacitySlider segment-drag事件用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 OpenStreetMapLayer.visible。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。