Feature Layer (basic) | ArcGIS API for JavaScript 3.41

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

This sample demonstrates how to add a basic feature layer to a map. ... ArcGISDevelopers Features Pricing Documentation YourName SignOut Home Guide APIReference SampleCode Community HideTableofContents SamplesOverview Analysis Analysis-Calculatetraveltimeanddistance Analysis-Createviewshed Analysis-Createwatersheds Analysis-Findhotspots Analysis-Summarizenearby ElevationProfilewidget-user-specifiedinputgeometry Geoenrichment-Infographic Geoenrichment-InfographicsCarousel Geoenrichment-StandardGeographyQueryTask GeometryEngine-Geodesicbuffers GeometryService-Buffer GeometryService-Calculategeometry GeometryService-Pointsforlabeling Geoprocessing-Exportresultasmapservice Geoprocessing-Pointinpolygonsearch Geoprocessing-Populationzonalstatistics Geoprocessing-Serviceareatask Geoprocessing-Viewshed DataReviewer DataReviewer-DashboardResults DataReviewer-DashboardResultswithFilter DataReviewer-ExecuteAdHocBatchValidation DataReviewer-ReviewerResults DataReviewer-ScheduledBatchValidation DataReviewer-UpdateResultLifecycleStatus DataReviewer-WriteReviewerResults DirectionsandRouting Basicservicearea Directions Findclosestfacilities Worldtraffic DynamicLayers Addtwodynamicmaps Changeattributeusedforarenderer Classbreaksrendererwithdynamiclayer Dynamicmapservice Layerdefinitionsonadynamicmapservice Reorderlayersinmapservice WMS-resourceinfo Editing Attachmenteditor Drawingtools Editwithouteditorwidget Editingtools Editorwidgetwithsimpletoolbar Moveandeditvertices Queryandeditrelatedrecords Templatepickerwidget Usingtheattributeinspector FeatureLayers Anyprojection Client-sideprojection CSV DisplaymoredatawithFeatureLayer Featurecollection FeatureLayer(basic) GeoRSS KML KMLwithbuffer Labelingfeaturesontheclient Nobasemap Ondemandmode Requestlayerinfo StreamLayer TablesourcefromArcGISServer WCSLayerwithPixelFilter WFSLayer FeatureTable FeatureTable-CustomMenuItems FeatureTable-Formatting FeatureTable-relatedrecords UsingFeatureTable UsingFeatureTable(nomap) Graphics Addgraphicstoamap Createcircles Displaycontextmenu Graphicswithundoredo Pointclustering SVGandCSStostylepolygons SVGandCSSusingD3 SVGpathtocreateaSimpleMarkerSymbol HTML5 HistoryAPItotrackselectedfeature ImageLayers Imageservice ImageServiceVectorLayer Rasterlayerslider Map Basemapgallery BasemapToggle Createamap Customizenavigationanimation Editbookmarks HomeButton LayerListwidget LayerSwipewidget Legend LocateButton MeasurementWidget OpenStreetMaplayer Overviewmap Scalebar Mobile Attributeediting-mobile Compass Educationalattainmentpredominancemap Geolocationwithatemporalrenderer Shakegesturerecognition Soildetails-mobile OnlineandPortal Addshapefile EditinglayoutusingmapdatafromArcGIS.com Embeddingwebmapsintoexistingpages FadeeffectusingArcGIS.comwebmaps FindgroupID OAuthBasic OAuthPopup WebmapbyID WebmapusingJSON PopupsandInfoWindows Custominfowindow FindnearestfeaturesusingArcadeexpressionsinapopup Formatinfowindowcontent Geoprocessingtoollinkinpopup InfoWindowLite Mobilepopup Popup Popupcontentinsidepanel Popupwithrelatedfields Printing Print Printtemplateswithesri.request Printwebmap QueryandSelect Featurelayerhover FeatureTable-CustomMenuItems FeatureTable-Formatting FeatureTable-relatedrecords Manageresultsfrommultiplequeries Querydatawithoutamap QueryStatisticswithSQLExpression SelectwithFeatureLayer UsingFeatureTable UsingFeatureTable(nomap) Renderers,Symbols,Visualization Basicclustering BlendRenderer-Lawrence,KSbyageandpopulationsize BlendRenderer-LosAngeleshousingstatus BlendRenderer-Minoritydemographics Classbreaksrenderer Colorrampsymbols Colorrampwithrotationandproportionalsymbols CreateaGeofencewithArcade Createpredominancerenderer CreatesymbolswithSymbolStylerwidget Dotdensityrenderer ExploreHeatMaps Filterfeatureswithclusteringenabled Generaterenderer Multivariaterendering Opacitybaseduniquevaluerenderer Proportionalsymbolsforlines Proportionalsymbolsforpoints RelationshipRenderer SmartMapping-Renderclassbreakswithcolor SmartMapping-ShowDatabyColor Symbolsizeandoutlinewidthbasedonmapscale Temporalrenderer Togglepointclustering Uniquevaluerenderer Updatelegendtextwithrenderer UseHeatMaps Search Searchbasic Searchmultiplesources Searchusingasuggestiontemplate Searchusingcustomlocator Searchwithcustomization SearchwithoutdefaultUI TiledLayers Tiledmapservice Vectortiles Webtiled WMTS-resourceinfo Time HistogramTimeSlider Timesliderwithdynamicmapservicelayer FeatureLayer(basic) Exploreinthesandbox OpeninCodePen Viewlivesample DescriptionThissampledemonstrateshowtoaddabasicfeaturelayertoamap.Ataminimum,theFeatureLayermustpointtoavalidfeatureservicehostedonArcGISServerorArcGISOnlineorbeconstructedwithaFeatureCollectionobject.Tolearnmoreaboutfeatureservices,readthisdocumentation. Code

FeatureLayer Reportanerroronthispage. Copyright©2022Esri.Allrightsreserved.|Privacy|Termsofuse ShowModal Keyboardshortcuts Sitewideshortcuts ? Bringupthishelpdialog esc Dismissthishelpdialog gh GotoHome gg GotoGuide ga GotoAPIReference gs GotoSampleCode gt Scrolltotopofpage spacebar Scrollpagedown shiftspacebar Scrollpageup gb Scrolltobottomofpage SampleCode /FocussearchesExploreintheSandboxsShareinonlinecodeeditorvlViewliveexample


請為這篇文章評分?