-
viewpoint
Viewpoint
Viewpoint 或觀點,回家時縮放到。初始值是通過幾種不同的方式確定的:
例子:
// Creates a viewpoint centered on the extent of a polygon geometry let vp = new Viewpoint({ targetGeometry: geom.extent }); // Sets the model's viewpoint to the Viewpoint based on a polygon geometry home.viewpoint = vp;
基本信息
以下是所在類或對象的基本信息。
AMD:
require(["esri/widgets/Home"], (Home) => { /* code goes here */ });
ESM:
import Home from "@arcgis/core/widgets/Home";
類:
esri/widgets/Home
自從:用於 JavaScript 4.0 的 ArcGIS API
用法說明
Home.viewpoint
函數(或屬性)的定義如下:
相關用法
- JavaScript ArcGIS Home.visible用法及代碼示例
- JavaScript ArcGIS Home.classes用法及代碼示例
- JavaScript ArcGIS Home.on用法及代碼示例
- JavaScript ArcGIS Home.container用法及代碼示例
- JavaScript ArcGIS Home.goToOverride用法及代碼示例
- JavaScript ArcGIS Home.when用法及代碼示例
- JavaScript ArcGIS Home用法及代碼示例
- JavaScript ArcGIS Home go事件用法及代碼示例
- JavaScript ArcGIS Handles.add用法及代碼示例
- JavaScript ArcGIS Histogram.layout用法及代碼示例
- JavaScript ArcGIS HeatmapSlider.fromHeatmapRendererResult用法及代碼示例
- JavaScript ArcGIS HistogramRangeSlider.rangeType用法及代碼示例
- JavaScript ArcGIS HistogramRangeSlider.labelFormatFunction用法及代碼示例
- JavaScript ArcGIS Histogram.on用法及代碼示例
- JavaScript ArcGIS HeatmapSlider.classes用法及代碼示例
- JavaScript ArcGIS HeatmapSlider thumb-drag事件用法及代碼示例
- JavaScript ArcGIS Histogram.container用法及代碼示例
- JavaScript ArcGIS HistogramRangeSlider.container用法及代碼示例
- JavaScript ArcGIS HeatmapRenderer.minPixelIntensity用法及代碼示例
- JavaScript ArcGIS HistogramRangeSlider.bins用法及代碼示例
- JavaScript ArcGIS HistogramRangeSlider.excludedBarColor用法及代碼示例
- JavaScript ArcGIS HeatmapSlider.stops用法及代碼示例
- JavaScript ArcGIS HistogramRangeSlider.min用法及代碼示例
- JavaScript ArcGIS Histogram.average用法及代碼示例
- JavaScript ArcGIS Histogram.labelFormatFunction用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 Home.viewpoint。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。