Edit KML ground overlay | ArcGIS Runtime API for .NET
文章推薦指數: 80 %
KML ground overlays are used for showing aerial imagery, symbology, or other images draped over a scene. Changing the geometry, rotation, ...
ArcGISRuntimeAPIfor.NETXamarin.AndroidsamplesHomeSampleCodeWPFsamplesWinUIsamplesUWPsamplesXamarin.FormssamplesXamarin.iOSsamplesXamarin.AndroidsamplesAPIReferenceMenuAnalysisDistancemeasurementanalysisViewshedforcameraLineofsight(geoelement)QueryfeaturecountandextentViewshed(location)Lineofsight(location)ViewshedforGeoElementAugmentedrealityNavigateinARViewhiddeninfrastructureinARExplorescenesinflyoverARDisplayscenesintabletopARCollectdatainARDataDeletefeatures(featureservice)EditwithbranchversioningEditandsyncfeaturesEditfeatureswithfeature-linkedannotationEditfeatureattachmentsFeaturelayer(GeoPackage)FeaturelayerqueryFeaturelayer(geodatabase)GenerategeodatabaseFeaturelayer(shapefile)ListrelatedfeaturesRasterlayer(GeoPackage)ReadGeoPackageServicefeaturetable(oninteractioncache)AddfeaturesServicefeaturetable(manualcache)Servicefeaturetable(nocache)StatisticalquerygroupandsortViewpointclouddataofflineReadshapefilemetadataStatisticalqueryUpdategeometries(featureservice)SymbolizeshapefileUpdateattributes(featureservice)GeodatabasetransactionsGeometryCreategeometriesConvexhullClipgeometryConvexhulllistDensifyandgeneralizeCutgeometryBufferListtransformationsbysuitabilityNearestvertexProjectwithspecifictransformationPerformspatialoperationsSpatialrelationshipsProjectGeodesicoperationsBufferlistFormatcoordinatesGeoprocessingAnalyzehotspotsAnalyzeviewshed(geoprocessing)ListgeodatabaseversionsGraphicsOverlayAddgraphicswithrendererAnimate3DgraphicAddgraphicswithsymbolsGraphicsoverlay(dictionaryrenderer)ScenepropertiesexpressionsSketchonmapIdentifygraphicsSurfaceplacementHydrographyAddENCexchangesetChangeENCdisplaysettingsSelectENCfeaturesLayersAddanintegratedmeshlayerArcGISmapimagelayerAddapointscenelayerApplymosaicruletorastersArcGISvectortiledlayerURLBrowseOGCAPIfeatureserviceBlendrendererChangefeaturelayerrendererBrowseWFSlayersArcGIStiledlayerStretchrendererChangesublayerrendererMapimagelayersublayervisibilityControlannotationsublayervisibilityFeaturecollectionlayerCreateandsaveKMLfileDisplayannotationDisplayOGCAPIcollectionDisplayKMLDisplayKMLnetworklinksDisplaysubtypefeaturelayerDisplayWFSlayerDisplayasceneExporttilesEditKMLgroundoverlayFeaturecollectionlayer(query)Createfeaturecollectionlayer(Portalitem)FeaturelayerdefinitionexpressionFeaturelayerrenderingmode(scene)FeaturelayerselectionDictionaryrendererwithfeaturelayerFeaturelayer(featureservice)GrouplayersIdentifyKMLfeaturesIdentifyrastercellWebtiledlayerMapimagelayertablesQuerymapimagesublayerListKMLcontentsPlayKMLTourQuerywithCQLfiltersColormaprendererRasterhillshaderendererRasterlayer(service)ApplyrasterfunctiontorasterfromserviceRasterrenderingruleRGBrendererRasterlayer(file)Featurelayerrenderingmode(map)ScenelayerselectionShowlabelsonlayersScenelayer(URL)ShowpopupTime-basedqueryWMSlayer(URL)LoadWFSwithXMLqueryWMTSlayerIdentifyWMSfeaturesStyleWMSlayersWMSservicecatalogOpenStreetMaplayerLocationDisplaydevicelocationwithautopanmodesShowlocationhistorySetuplocation-drivenGeotriggersMapCreateandsavemapAccessloadstatusChangebasemapApplyscheduledupdatestopreplannedmapareaDownloadpreplannedmapareaDisplaymapGenerateofflinemapGenerateofflinemap(overrides)HonormobilemappackageexpirationdateManagebookmarksMapreferencescaleManageoperationallayersMobilemap(searchandroute)SearchforwebmapOpenmobilemappackageMapinitialextentSetinitialmaplocationMapspatialreferenceSetmin&maxscaleGenerateofflinemapwithlocalbasemapOpenmapURLMapViewDisplaydrawstatusChangeviewpointDisplaygridDisplaylayerviewstateIdentifylayersFeaturelayertimeoffsetMaprotationShowcalloutShowmagnifierTakescreenshotChangetimeextentNetworkanalysisFindclosestfacilitytoanincident(interactive)FindserviceareaFindserviceareasformultiplefacilitiesNavigaterouteOfflineroutingRoutearoundbarriersFindclosestfacilitytomultipleincidents(service)NavigateroutewithreroutingFindrouteSceneChangeatmosphereeffectGetelevationatapointCreateterrainsurfacefromalocalrasterOpenmobilescenepackageOpenscene(portalitem)CreateterrainfromlocaltilepackageTerrainexaggerationViewcontentbeneathterrainsurfaceSceneViewGeoViewviewpointsynchronizationChoosecameracontrollerAnimateimageswithimageoverlaySearchFindaddressFindplaceOfflinegeocodeReversegeocodeSecurityArcGIStokenchallengeAuthenticatewithOAuthSymbologyCustomdictionarystyleFeaturelayerextrusionPicturemarkersymbolUniquevaluerendererScenesymbolsSimplemarkersymbolReadsymbolsfrommobilestyleSimplerendererDistancecompositescenesymbolUtilitynetworkTraceutilitynetworkPerformvalveisolationtraceDisplayutilityassociationsConfiguresubnetworktraceNavigationMenuEditKMLgroundoverlayViewinWPFWinUIUWPFormsiOSAndroidViewonGitHubEditthevaluesofaKMLgroundoverlay.
Usecase
KMLgroundoverlaysareusedforshowingaerialimagery,symbology,orotherimagesdrapedoverascene.Changingthegeometry,rotation,andotherattributesofagroundoverlayafterithasbeenloadedallowsforliveediting.Forexample,editingthegeometryandopacityofahistoricalimagedrapedoverpresentdaysatelliteimagerymakesitpossibletoviewchangeovertime.
Howtousethesample
Usetheslidertoadjusttheopacityofthegroundoverlay.
Howitworks
CreateanEnvelopedefiningthegeometryoftheoverlay.
CreateaKmlIconusingaUrilinkingtoanimage.
CreateaKmlGroundOverlayusingtheenvelopeandicon.
SetthevalueofKmlGroundOverlay.Rotation.
CreateaKmlDatasetusingthegroundoverlay.
CreateaKmlLayerusingthedataset.
AddtheKMLlayertothescene.
ListenforchangestotheopacitysliderandchangetheKmlGroundOverlay.Colorvalueappropriately.
RelevantAPI
KmlDataset
KmlGroundOverlay
KmlIcon
KmlLayer
Offlinedata
Thissampleusesan.jpgimagedownloadedfromArcGISOnline.
Aboutthedata
TheimageusedinthissampleisanaerialviewofthecampusoftheUniversityofOregon.Thisimagerywastakenin1944bytheU.S.ArmyCorpsofEngineers.ItispubliclyavailableasOnlineAerialImageryhostedbyOregonUniversityLibrary.ItisalsoavailableasaPortalitemonArcGISOnlineasUniversityofOregonCampusAerialImagery-1944.
Tags
imagery,Keyhole,KML,KMZ,OGCSampleCodeEditKmlGroundOverlay.axmlEditKmlGroundOverlay.axmlEditKmlGroundOverlay.csUsedarkcolorsforcodeblocksCopy 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
延伸文章資訊
- 1Ground Overlays | Maps JavaScript API - Google Developers
Ground Overlays. On this page; Try Sample; Clone Sample. This example creates a ground overlay on...
- 2Edit KML ground overlay | ArcGIS Runtime API for .NET
KML ground overlays are used for showing aerial imagery, symbology, or other images draped over a...
- 3Ground Overlay-Drawing on a Map-Android-Map Kit
A ground overlay is an image fixed on a map. Adding a Ground Overlay. Use BitmapDescriptorFactory...
- 4GroundOverlay — React Google Maps Style Guide
Returns the opacity of this ground overlay. getUrl(). Gets the url of the projected image.
- 5GroundOverlay | Android Developers - MIT
Class Overview. A ground overlay is an image that is fixed to a map. A ground overlay has the fol...