ElevationProfileLineInput | ArcGIS API for JavaScript 4.24
文章推薦指數: 80 %
Class: esri/widgets/ElevationProfile/ElevationProfileLineInput ... Profile line which samples elevation from the geometry of the input Graphic itself, ... ArcGISAPIforJavaScriptAPIReferenceOverviewSampleCodeAPIReferenceShowcaseBlogMenuesriesri/analysisesri/coreesri/formesri/geometryesri/identityesri/layersesri/networksesri/popupesri/portalesri/renderersesri/restesri/smartMappingesri/supportesri/symbolsesri/viewsesri/webdocesri/webmapesri/websceneesri/widgetsReferenceNavigationMenuElevationProfileLineInput ProfilelinewhichsampleselevationfromthegeometryoftheinputGraphic itself,typicallyusedoninputlineswithzvalues.Iftheinputgraphicisdraped (elevationmodeis"on-the-ground"),theelevationissampled fromtheGround,incasethescenehasgroundlayers. In2Dzvaluesarenotfetchedfromfeaturebasedlayers.Therefore,aprofileisgeneratedfor ElevationProfileLineInputonlywhentheinputfeatureisaclient-sidegraphicwithzvalues inaMapView. Profilegeneratedfromalinefeaturewithz-values.Theorangeprofileiscreatedwithaprofilelineoftypeinput. Seealso: ElevationProfile ElevationProfileViewModel ElevationProfileLineGround ElevationProfileLineQuery ElevationProfileLineView Example: constelevationProfile=newElevationProfile({ view:view, profiles:[{ type:"input", color:"orange" },{ type:"ground", color:"lime" }] }); PropertyOverview Anypropertiescanbeset,retrievedorlistenedto.SeetheWorkingwithPropertiestopic. Showinheritedproperties Hideinheritedproperties Name Type Summary Class colorColormoredetailsColorofthelineonthechartandintheview.moredetailsElevationProfileLineInput declaredClassStringmoredetailsThenameoftheclass.moredetailsAccessor hoveredPointPointmoredetailsPointbeinghoveredinthechart,intheview'sspatialreference.moredetailsElevationProfileLine idStringmoredetailsUniqueidentifierfortheprofileline.moredetailsElevationProfileLine progressNumbermoredetailsHowfaralongthegenerationofthisprofileis.moredetailsElevationProfileLine samplesElevationProfileSample[]moredetailsListofsamplesthatmakeuptheelevationprofile.moredetailsElevationProfileLine statisticsElevationProfileStatisticsmoredetailsStatisticsaboutthegeneratedelevationprofile,ifavailable.moredetailsElevationProfileLine titleStringmoredetailsTitleoftheline,tobedisplayedinthecharttooltipandinthechartlegend.moredetailsElevationProfileLine typeStringmoredetailsThelinetype.moredetailsElevationProfileLineInput viewVisualizationEnabledBooleanmoredetailsWhetheralinevisualizationrepresentingelevationSamplesshouldbeaddedtotheSceneView.moredetailsElevationProfileLineInput visibleBooleanmoredetailsWhetherthelineshouldbecomputedandshowninthechart.moredetailsElevationProfileLine PropertyDetails colorColorautocast Autocastsfrom Object|Number[]|String Colorofthelineonthechartandintheview. DefaultValue:#00c8c8 declaredClassStringreadonly inherited Thenameoftheclass.Thedeclaredclassnameisformattedasesri.folder.className. hoveredPointPointreadonly inherited Pointbeinghoveredinthechart,intheview'sspatialreference. idString inherited Uniqueidentifierfortheprofileline. progressNumberreadonly inherited Howfaralongthegenerationofthisprofileis.0meansnothingwasloaded and1meansloadingiscomplete. samplesElevationProfileSample[]readonly inherited Listofsamplesthatmakeuptheelevationprofile.Itcanbepassedtoagraphinglibraryin ordertodisplaytheprofilein2D. statisticsElevationProfileStatisticsreadonly inherited Statisticsaboutthegeneratedelevationprofile,ifavailable. Forslopecomputationsprofilesaresampledataminimumsamplingdistanceof10m(32.8ft).Higherresolution profilesaredownsampledtoa10m(32.8ft)samplingdistancebeforetheslopeiscalculated. titleString inherited Titleoftheline,tobedisplayedinthecharttooltipandinthechartlegend. typeStringreadonly Thelinetype. ForElevationProfileLineInputthetypeisalways"input". viewVisualizationEnabledBoolean Since:ArcGISAPIforJavaScript4.20 WhetheralinevisualizationrepresentingelevationSamples shouldbeaddedtotheSceneView.Thispropertydoesn'tapplytoMapView. DefaultValue:false visibleBoolean inherited Whetherthelineshouldbecomputedandshowninthechart. DefaultValue:true PropertiesShowtableofcontentsPropertiesWasthispagehelpful?YesNoWasthispagehelpful?YesNoYourbrowserisnolongersupported.Pleaseupgradeyourbrowserforthebestexperience.Seeourbrowserdeprecationpostformoredetails.
延伸文章資訊
- 1user-specified input geometry | ArcGIS API for JavaScript 3.41
Description. This sample allows input of either a polyline or freehand polyline geometry. The ele...
- 2Profile—ArcGIS REST APIs
The Profile request is used to sample elevation values along input lines. The output polyline fea...
- 3ElevationProfileLineGround | ArcGIS API for JavaScript 4.24
Profile line which samples elevation from the Ground of the Map currently set in the View. Whenev...
- 4ElevationProfile | API Reference | ArcGIS API for JavaScript 4.24
The ElevationProfile widget is used to generate and display an elevation profile from an input li...
- 5ElevationProfile Widget | ArcGIS API for JavaScript 4.24
Explore in the sandbox. Open in CodePen. View live. The ElevationProfile widget is used to genera...