ElevationProfileLineGround | ArcGIS API for JavaScript 4.24

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

Profile line which samples elevation from the Ground of the Map currently set in the View. Whenever layers are added or removed from the Ground or their ... ArcGISAPIforJavaScriptAPIReferenceOverviewSampleCodeAPIReferenceShowcaseBlogMenuesriesri/analysisesri/coreesri/formesri/geometryesri/identityesri/layersesri/networksesri/popupesri/portalesri/renderersesri/restesri/smartMappingesri/supportesri/symbolsesri/viewsesri/webdocesri/webmapesri/websceneesri/widgetsReferenceNavigationMenuElevationProfileLineGround ProfilelinewhichsampleselevationfromtheGroundofthe MapcurrentlysetintheView. WheneverlayersareaddedorremovedfromtheGroundortheirvisibilitychanges,the profilelinewillbeupdated. Seealso: ElevationProfile ElevationProfileViewModel ElevationProfileLineInput ElevationProfileLineQuery ElevationProfileLineView Example: constelevationProfile=newElevationProfile({ view:view, profiles:[{ type:"ground",//autocastsasnewElevationProfileLineGround(), color:"red",//displaythisprofileinred title:"Worldelevation"//withacustomlabel }] }); PropertyOverview Anypropertiescanbeset,retrievedorlistenedto.SeetheWorkingwithPropertiestopic. Showinheritedproperties Hideinheritedproperties Name Type Summary Class colorColormoredetailsColorofthelineonthechartandintheview.moredetailsElevationProfileLineGround declaredClassStringmoredetailsThenameoftheclass.moredetailsAccessor hoveredPointPointmoredetailsPointbeinghoveredinthechart,intheview'sspatialreference.moredetailsElevationProfileLine idStringmoredetailsUniqueidentifierfortheprofileline.moredetailsElevationProfileLine progressNumbermoredetailsHowfaralongthegenerationofthisprofileis.moredetailsElevationProfileLine samplesElevationProfileSample[]moredetailsListofsamplesthatmakeuptheelevationprofile.moredetailsElevationProfileLine statisticsElevationProfileStatisticsmoredetailsStatisticsaboutthegeneratedelevationprofile,ifavailable.moredetailsElevationProfileLine titleStringmoredetailsTitleoftheline,tobedisplayedinthecharttooltipandinthechartlegend.moredetailsElevationProfileLine typeStringmoredetailsThelinetype.moredetailsElevationProfileLineGround viewVisualizationEnabledBooleanmoredetailsWhetheralinevisualizationrepresentingelevationSamplesshouldbeaddedtotheSceneView.moredetailsElevationProfileLineGround visibleBooleanmoredetailsWhetherthelineshouldbecomputedandshowninthechart.moredetailsElevationProfileLine PropertyDetails colorColorautocast Autocastsfrom Object|Number[]|String Colorofthelineonthechartandintheview. DefaultValue:#ff7f00 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. ForElevationProfileLineGroundthetypeisalways"ground". viewVisualizationEnabledBoolean Since:ArcGISAPIforJavaScript4.20 WhetheralinevisualizationrepresentingelevationSamples shouldbeaddedtotheSceneView.Thispropertydoesn'tapplytoMapView. DefaultValue:true visibleBoolean inherited Whetherthelineshouldbecomputedandshowninthechart. DefaultValue:true PropertiesShowtableofcontentsPropertiesWasthispagehelpful?YesNoWasthispagehelpful?YesNoYourbrowserisnolongersupported.Pleaseupgradeyourbrowserforthebestexperience.Seeourbrowserdeprecationpostformoredetails.



請為這篇文章評分?