-
layerview-create-error
Layer layerview-create-error事件
在将图层添加到Map后创建 LayerView 期间发出错误时触发。
例子:
// This function fires when an error occurs during the creation of the layer's layerview layer.on("layerview-create-error", function(event) { console.error("LayerView failed to create for layer with the id: ", layer.id, " in this view: ", event.view); });
基本信息
以下是所在类或对象的基本信息。
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 layerview-create-error事件
的定义如下:
相关用法
- JavaScript ArcGIS OpenStreetMapLayer layerview-create事件用法及代码示例
- JavaScript ArcGIS OpenStreetMapLayer.on用法及代码示例
- JavaScript ArcGIS OpenStreetMapLayer.portalItem用法及代码示例
- JavaScript ArcGIS OpenStreetMapLayer.opacity用法及代码示例
- JavaScript ArcGIS OpenStreetMapLayer.visible用法及代码示例
- 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 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 layerview-create-error event。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。