ElevationProfileLineInput | ArcGIS API for JavaScript 4.24

文章推薦指數: 80 %
投票人數:10人

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.



請為這篇文章評分?