@vertigis/arcgis-extensions 38.0.5 → 38.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AccessDeniedError.js +1 -1
- package/AppConfig.schema.json +35 -39
- package/ArgumentMissingError.js +1 -1
- package/ArgumentOutOfRangeError.js +1 -1
- package/Entity.js +1 -1
- package/FailureMode.d.ts +1 -1
- package/Hyperlink.js +1 -1
- package/LanguageResources.d.ts +1 -3
- package/LanguageResources.js +1 -1
- package/NotFoundError.js +1 -1
- package/PortalUri.js +1 -1
- package/data/ArcGISServiceTableExtension.js +1 -1
- package/data/Attachment.js +1 -1
- package/data/Feature.js +1 -1
- package/data/FeatureList.d.ts +3 -3
- package/data/FeatureList.js +1 -1
- package/data/FeatureSaveError.js +1 -1
- package/data/FeatureSet.js +1 -1
- package/data/FeatureSettings.js +1 -1
- package/data/FeatureSourceBase.js +1 -1
- package/data/FeatureStream.js +1 -1
- package/data/FieldExtension.js +1 -1
- package/data/PopupContentExtension.js +1 -1
- package/data/Relationship.js +1 -1
- package/data/RelationshipBase.js +1 -1
- package/data/Schema.js +1 -1
- package/data/Table.js +1 -1
- package/data/TableExtension.js +1 -1
- package/data/TaskSettings.js +1 -1
- package/data/_Relationship.d.ts +3 -3
- package/data/_Relationship.js +1 -1
- package/data/_TableExtension.js +1 -1
- package/data/convert.js +1 -1
- package/data/support/DefaultRelationshipFactory.js +1 -1
- package/data/support/DefaultTableExtensionFactory.js +1 -1
- package/data/support/attachments.js +1 -1
- package/docs/html/assets/main.js +56 -52
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +23 -0
- package/docs/html/classes/data_FeatureSet.FeatureSet.html +2 -2
- package/docs/html/classes/data_FeatureStream.FeatureStream.html +1 -1
- package/docs/html/classes/utilities_ObservableMap.ObservableMap.html +2 -2
- package/docs/html/classes/utilities_ObservableSet.ObservableSet.html +2 -2
- package/docs/html/classes/utilities_ObservableWeakSet.ObservableWeakSet.html +1 -1
- package/docs/html/classes/utilities_asyncIterable.AsyncQueue.html +1 -1
- package/docs/html/classes/utilities_date.DateFormatter.html +1 -1
- package/docs/html/classes/utilities_string.StringFormatter.html +6 -24
- package/docs/html/functions/utilities_string.format.html +2 -18
- package/docs/html/interfaces/LanguageResources.LanguageResourcesProperties.html +2 -7
- package/docs/html/interfaces/data_support_attachments.AttachmentEnabledLayer.html +4 -6
- package/docs/html/interfaces/mapping_BuildingSceneLayerExtension.BuildingSceneLayerProperties.html +1 -1
- package/docs/html/interfaces/mapping_FeatureLayerExtension.FeatureLayerProperties.html +1 -1
- package/docs/html/interfaces/mapping_FeatureLayerExtensionBase.FeatureLayerBaseProperties.html +1 -1
- package/docs/html/interfaces/mapping_PointCloudLayerExtension.PointCloudLayerProperties.html +1 -1
- package/docs/html/interfaces/portal_ApplicationProperties.ApplicationProperties.html +15 -12
- package/docs/html/interfaces/portal_Background.ColorBackground.html +3 -2
- package/docs/html/interfaces/portal_BaseMap.BaseMap-1.html +2 -1
- package/docs/html/interfaces/portal_BaseMapLayer.BaseMapLayerBase.html +2 -1
- package/docs/html/interfaces/portal_BingLayer.BingLayer.html +2 -1
- package/docs/html/interfaces/portal_Bookmark.Bookmark.html +2 -1
- package/docs/html/interfaces/portal_BuildingSceneLayer.BuildingSceneLayer-1.html +1 -1
- package/docs/html/interfaces/portal_CIMSymbol.CIMSymbol.html +2 -1
- package/docs/html/interfaces/portal_CSVLayer.CSVLayer-1.html +3 -2
- package/docs/html/interfaces/portal_Camera.Camera-1.html +2 -1
- package/docs/html/interfaces/portal_ClassBreaksRenderer.ClassBreakInfo.html +2 -1
- package/docs/html/interfaces/portal_ClassBreaksRenderer.ClassBreaksRenderer.html +2 -1
- package/docs/html/interfaces/portal_CodedValueDomain.CodedValue.html +1 -1
- package/docs/html/interfaces/portal_CodedValueDomain.CodedValueDomain-1.html +1 -1
- package/docs/html/interfaces/portal_ColorClassBreakInfo.ColorClassBreakInfo.html +2 -1
- package/docs/html/interfaces/portal_ColorUniqueValueInfos.ColorUniqueValueInfos.html +2 -1
- package/docs/html/interfaces/portal_DataSource.DataSourceBase.html +2 -2
- package/docs/html/interfaces/portal_DefinitionEditor.DefinitionEditor.html +2 -1
- package/docs/html/interfaces/portal_DefinitionEditor.Input.html +1 -1
- package/docs/html/interfaces/portal_DefinitionEditor.Parameter.html +1 -1
- package/docs/html/interfaces/portal_DrawingInfo.DrawingInfo-1.html +2 -1
- package/docs/html/interfaces/portal_DynamicDataLayer.DynamicDataLayer.html +2 -2
- package/docs/html/interfaces/portal_DynamicMapLayer.DynamicMapLayer.html +1 -1
- package/docs/html/interfaces/portal_ElevationInfo.ElevationInfo-1.html +1 -1
- package/docs/html/interfaces/portal_ElevationLayer.ElevationLayer-1.html +3 -2
- package/docs/html/interfaces/portal_Environment.Environment-1.html +2 -1
- package/docs/html/interfaces/portal_Extent.Extent.html +1 -1
- package/docs/html/interfaces/portal_ExtrudeSymbol3DLayer.ExtrudeSymbol3DLayer.html +2 -1
- package/docs/html/interfaces/portal_Feature.Feature-1.html +2 -1
- package/docs/html/interfaces/portal_FeatureCollection.FeatureCollection.html +2 -1
- package/docs/html/interfaces/portal_FeatureLayer.FeatureLayer-1.html +3 -2
- package/docs/html/interfaces/portal_FeatureSet.FeatureSet.html +2 -1
- package/docs/html/interfaces/portal_Field.Field-1.html +1 -1
- package/docs/html/interfaces/portal_FieldInfo.FieldInfo.html +2 -1
- package/docs/html/interfaces/portal_FillSymbol3DLayer.FillSymbol3DLayer.html +2 -1
- package/docs/html/interfaces/portal_FormInfo.FormAttachmentElement.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormBarcodeScannerInput.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormComboBoxInput.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormDateTimePickerInput.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormExpressionInfo.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormFieldElement.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormGroupElement.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormInfo-1.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormRadioButtonsInput.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormRelationshipElement.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormSwitchInput.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormTextAreaInput.html +1 -1
- package/docs/html/interfaces/portal_FormInfo.FormTextBoxInput.html +1 -1
- package/docs/html/interfaces/portal_Format.Format.html +2 -1
- package/docs/html/interfaces/portal_GeoRSSLayer.GeoRSSLayer-1.html +3 -2
- package/docs/html/interfaces/portal_GroupLayer.GroupLayer-1.html +3 -2
- package/docs/html/interfaces/portal_HeatmapRenderer.ColorStop.html +2 -1
- package/docs/html/interfaces/portal_HeatmapRenderer.HeatmapRenderer.html +2 -1
- package/docs/html/interfaces/portal_IconSymbol3DLayer.IconSymbol3DLayer.html +2 -1
- package/docs/html/interfaces/portal_ImageServiceLayer.ImageServiceLayer-1.html +3 -2
- package/docs/html/interfaces/portal_ImageServiceVectorLayer.ImageServiceVectorLayer.html +3 -2
- package/docs/html/interfaces/portal_InheritedDomain.InheritedDomain-1.html +1 -1
- package/docs/html/interfaces/portal_InitialState.InitialState-1.html +2 -1
- package/docs/html/interfaces/portal_IntegratedMeshLayer.IntegratedMeshLayer-1.html +3 -2
- package/docs/html/interfaces/portal_Item.Item-1.html +3 -2
- package/docs/html/interfaces/portal_JoinTableDataSource.JoinTableDataSource.html +2 -2
- package/docs/html/interfaces/portal_KMLLayer.KMLLayer-1.html +3 -2
- package/docs/html/interfaces/portal_LabelSymbol3D.LabelSymbol3D.html +2 -1
- package/docs/html/interfaces/portal_LabelingInfo.LabelingInfo-1.html +3 -2
- package/docs/html/interfaces/portal_Layer.Layer-1.html +1 -1
- package/docs/html/interfaces/portal_LayerDefinition.FieldOverride.html +1 -1
- package/docs/html/interfaces/portal_LayerDefinition.LayerDefinition-1.html +4 -3
- package/docs/html/interfaces/portal_LayerDefinition.LayerTimeInfo.html +2 -2
- package/docs/html/interfaces/portal_Lighting.SunLighting.html +2 -1
- package/docs/html/interfaces/portal_Lighting.VirtualLighting.html +2 -1
- package/docs/html/interfaces/portal_LineSymbol3D.LineSymbol3D.html +2 -1
- package/docs/html/interfaces/portal_LineSymbol3DLayer.LineSymbol3DLayer.html +2 -1
- package/docs/html/interfaces/portal_LocationInfo.LocationInfo.html +2 -1
- package/docs/html/interfaces/portal_MapFloorInfo.FacilityLayerInfo.html +1 -1
- package/docs/html/interfaces/portal_MapFloorInfo.LevelLayerInfo.html +1 -1
- package/docs/html/interfaces/portal_MapFloorInfo.MapFloorInfo-1.html +1 -1
- package/docs/html/interfaces/portal_MapFloorInfo.SiteLayerInfo.html +1 -1
- package/docs/html/interfaces/portal_MapRangeInfo.MapRangeInfo.html +2 -1
- package/docs/html/interfaces/portal_MapServiceLayer.MapServiceLayer-1.html +3 -2
- package/docs/html/interfaces/portal_MeshSymbol3D.MeshSymbol3D.html +2 -1
- package/docs/html/interfaces/portal_MosaicRule.MosaicRule-1.html +2 -1
- package/docs/html/interfaces/portal_Multipoint.Multipoint.html +1 -1
- package/docs/html/interfaces/portal_ObjectSymbol3DLayer.ObjectSymbol3DLayer.html +2 -1
- package/docs/html/interfaces/portal_OpenStreetMapLayer.OpenStreetMapLayer-1.html +2 -1
- package/docs/html/interfaces/portal_OperationalLayer.OperationalLayerBase.html +1 -1
- package/docs/html/interfaces/portal_PathSymbol3DLayer.PathSymbol3DLayer.html +2 -1
- package/docs/html/interfaces/portal_PictureFillSymbol.PictureFillSymbol.html +2 -1
- package/docs/html/interfaces/portal_PictureMarkerSymbol.PictureMarkerSymbol.html +2 -1
- package/docs/html/interfaces/portal_Point.Point.html +2 -1
- package/docs/html/interfaces/portal_PointCloudBitfieldFilter.PointCloudBitfieldFilter.html +2 -1
- package/docs/html/interfaces/portal_PointCloudClassBreaksRenderer.PointCloudClassBreaksRenderer.html +4 -2
- package/docs/html/interfaces/portal_PointCloudFixedSizeAlgorithm.PointCloudFixedSizeAlgorithm.html +2 -1
- package/docs/html/interfaces/portal_PointCloudLayer.PointCloudLayer-1.html +3 -2
- package/docs/html/interfaces/portal_PointCloudRGBRenderer.PointCloudRGBRenderer.html +4 -2
- package/docs/html/interfaces/portal_PointCloudRenderer.PointCloudRendererBase.html +4 -2
- package/docs/html/interfaces/portal_PointCloudReturnFilter.PointCloudReturnFilter.html +2 -1
- package/docs/html/interfaces/portal_PointCloudSplatAlgorithm.PointCloudSplatAlgorithm.html +2 -1
- package/docs/html/interfaces/portal_PointCloudStretchRenderer.PointCloudStretchRenderer.html +4 -2
- package/docs/html/interfaces/portal_PointCloudUniqueValueRenderer.PointCloudUniqueValueRenderer.html +4 -2
- package/docs/html/interfaces/portal_PointCloudValueFilter.PointCloudValueFilter.html +2 -1
- package/docs/html/interfaces/portal_PointSymbol3D.PointSymbol3D.html +3 -2
- package/docs/html/interfaces/portal_Polygon.Polygon.html +1 -1
- package/docs/html/interfaces/portal_PolygonSymbol3D.PolygonSymbol3D.html +2 -1
- package/docs/html/interfaces/portal_Polyline.Polyline.html +1 -1
- package/docs/html/interfaces/portal_PopupExpressionInfo.PopupExpressionInfo.html +2 -1
- package/docs/html/interfaces/portal_PopupInfo.OrderByFields.html +2 -1
- package/docs/html/interfaces/portal_PopupInfo.RelatedRecordsInfo.html +2 -1
- package/docs/html/interfaces/portal_PredominanceRenderer.PredominanceRenderer.html +2 -1
- package/docs/html/interfaces/portal_Presentation.Presentation-1.html +2 -1
- package/docs/html/interfaces/portal_QueryTableDataSource.QueryTableDataSource.html +2 -2
- package/docs/html/interfaces/portal_RangeDomain.RangeDomain-1.html +1 -1
- package/docs/html/interfaces/portal_RangeInfo.RangeInfo.html +2 -1
- package/docs/html/interfaces/portal_RasterDataSource.RasterDataSource.html +2 -2
- package/docs/html/interfaces/portal_Renderer.AuthoringInfo.html +2 -1
- package/docs/html/interfaces/portal_Renderer.ColorRamp.html +1 -1
- package/docs/html/interfaces/portal_Renderer.RendererBase.html +2 -1
- package/docs/html/interfaces/portal_RenderingRule.RenderingRule-1.html +3 -2
- package/docs/html/interfaces/portal_SceneLayer.SceneLayer-1.html +3 -2
- package/docs/html/interfaces/portal_SimpleFillSymbol.SimpleFillSymbol.html +2 -1
- package/docs/html/interfaces/portal_SimpleLineSymbol.SimpleLineSymbol.html +2 -1
- package/docs/html/interfaces/portal_SimpleMarkerSymbol.SimpleMarkerSymbol.html +2 -1
- package/docs/html/interfaces/portal_SimpleRenderer.SimpleRenderer.html +2 -1
- package/docs/html/interfaces/portal_Slide.Slide-1.html +4 -4
- package/docs/html/interfaces/portal_SpatialReference.SpatialReference-1.html +2 -1
- package/docs/html/interfaces/portal_StreamLayer.StreamLayer-1.html +2 -2
- package/docs/html/interfaces/portal_StyleSymbolReference.StyleSymbolReference.html +2 -1
- package/docs/html/interfaces/portal_SubtypeGroupLayer.SubtypeGroupLayer-1.html +3 -2
- package/docs/html/interfaces/portal_SubtypeGroupLayer.SubtypeSubtypeGroupLayer.html +2 -2
- package/docs/html/interfaces/portal_SubtypeSublayer.SubtypeSublayer-1.html +3 -2
- package/docs/html/interfaces/portal_Symbol.Font.html +1 -1
- package/docs/html/interfaces/portal_Symbol3D.Material.html +2 -1
- package/docs/html/interfaces/portal_Symbol3D.Outline.html +2 -1
- package/docs/html/interfaces/portal_Symbol3D.ResourceIconSymbol.html +2 -1
- package/docs/html/interfaces/portal_Symbol3D.ResourceObjectSymbol.html +2 -1
- package/docs/html/interfaces/portal_Table.Table.html +1 -1
- package/docs/html/interfaces/portal_TableDataSource.TableDataSource.html +2 -2
- package/docs/html/interfaces/portal_Template.Template-1.html +2 -1
- package/docs/html/interfaces/portal_TemporalRenderer.TemporalRenderer.html +2 -1
- package/docs/html/interfaces/portal_TextSymbol.TextSymbol.html +2 -1
- package/docs/html/interfaces/portal_TextSymbol3DLayer.TextSymbol3DLayer.html +2 -1
- package/docs/html/interfaces/portal_TileInfo.TileInfo-1.html +3 -2
- package/docs/html/interfaces/portal_TiledImageServiceLayer.TiledImageServiceLayer-1.html +3 -2
- package/docs/html/interfaces/portal_TiledMapServiceLayer.TiledMapServiceLayer-1.html +4 -3
- package/docs/html/interfaces/portal_Type.Type-1.html +3 -8
- package/docs/html/interfaces/portal_UniqueValueFromStyle.UniqueValueFromStyle.html +2 -1
- package/docs/html/interfaces/portal_UniqueValueRenderer.UniqueValueInfo.html +2 -1
- package/docs/html/interfaces/portal_UniqueValueRenderer.UniqueValueRenderer.html +2 -1
- package/docs/html/interfaces/portal_UtilityNetwork.TraceConfiguration.html +1 -1
- package/docs/html/interfaces/portal_UtilityNetwork.UtilityNetwork-1.html +1 -1
- package/docs/html/interfaces/portal_Value.Value.html +1 -1
- package/docs/html/interfaces/portal_VectorTileLayer.VectorTileLayer-1.html +3 -2
- package/docs/html/interfaces/portal_VerticalOffset.VerticalOffset.html +1 -1
- package/docs/html/interfaces/portal_Viewpoint.Viewpoint-1.html +2 -1
- package/docs/html/interfaces/portal_VisualVariable.ColorInfo.html +3 -2
- package/docs/html/interfaces/portal_VisualVariable.RotationInfo.html +3 -2
- package/docs/html/interfaces/portal_VisualVariable.Size.html +2 -1
- package/docs/html/interfaces/portal_VisualVariable.SizeInfo.html +3 -2
- package/docs/html/interfaces/portal_VisualVariable.TransparencyInfo.html +2 -1
- package/docs/html/interfaces/portal_VisualVariable.VisualVariableBase.html +1 -1
- package/docs/html/interfaces/portal_WMSLayer.WMSLayer-1.html +3 -2
- package/docs/html/interfaces/portal_WMSSublayer.WMSSublayer-1.html +2 -1
- package/docs/html/interfaces/portal_WMTSInfo.WMTSInfo-1.html +1 -1
- package/docs/html/interfaces/portal_Weather.CloudyWeather.html +2 -1
- package/docs/html/interfaces/portal_Weather.FoggyWeather.html +2 -1
- package/docs/html/interfaces/portal_Weather.RainyWeather.html +2 -1
- package/docs/html/interfaces/portal_Weather.SnowyWeather.html +2 -1
- package/docs/html/interfaces/portal_Weather.SunnyWeather.html +2 -1
- package/docs/html/interfaces/portal_WebMap.WebMap-1.html +3 -3
- package/docs/html/interfaces/portal_WebScene.WebScene-1.html +5 -3
- package/docs/html/interfaces/portal_WebSceneBaseMap.WebSceneBaseMap-1.html +2 -1
- package/docs/html/interfaces/portal_WebTileLayer.WebTileLayer-1.html +3 -2
- package/docs/html/interfaces/portal_Widgets.FloorFilter.html +1 -1
- package/docs/html/interfaces/portal_Widgets.Range.html +1 -1
- package/docs/html/interfaces/portal_Widgets.TimeSlider.html +3 -2
- package/docs/html/interfaces/portal_Widgets.Widgets.html +2 -1
- package/docs/html/interfaces/support_Serializable.PropertyDef.html +2 -2
- package/docs/html/interfaces/tasks_identify_IdentifyOptions.IdentifyOptions-1.html +2 -2
- package/docs/html/interfaces/tasks_search_SearchOptions.SearchOptions-1.html +2 -2
- package/docs/html/interfaces/utilities_array.CompareOptions.html +8 -8
- package/docs/html/interfaces/utilities_geometry.GeographicTransformationJson.html +1 -1
- package/docs/html/types/portal_DataSource.DataSource.html +1 -0
- package/docs/html/types/portal_Domain.Domain-1.html +2 -1
- package/docs/html/types/portal_Geometry.Geometry.html +1 -1
- package/docs/html/types/portal_PointCloudFilter.PointCloudFilter.html +2 -1
- package/docs/html/types/portal_Symbol.Color.html +1 -1
- package/docs/html/types/portal_Symbol.Symbol.html +1 -1
- package/docs/html/types/portal_Symbol3D.Symbol3D.html +2 -1
- package/docs/html/types/portal_VisualVariable.VisualVariable.html +2 -1
- package/docs/html/variables/mapping_BasemapExtension.defaultBasemapExtensionFactory.html +2 -2
- package/docs/html/variables/version.version.html +1 -1
- package/forked-libs/dbf/src/fields.js +1 -1
- package/forked-libs/dbf/src/structure.js +1 -1
- package/forked-libs/shp-write/src/download.js +1 -1
- package/forked-libs/shp-write/src/fields.js +1 -1
- package/forked-libs/shp-write/src/geojson.js +1 -1
- package/forked-libs/shp-write/src/multipoint.js +1 -1
- package/forked-libs/shp-write/src/points.js +1 -1
- package/forked-libs/shp-write/src/poly.js +1 -1
- package/forked-libs/shp-write/src/write.js +1 -1
- package/forked-libs/shp-write/src/zip.js +1 -1
- package/layer-preset/LayerPreset.d.ts +1 -1
- package/layer-preset/LayerPreset.js +1 -1
- package/layer-preset/LayerPresetSettings.d.ts +1 -1
- package/layer-preset/LayerPresetSettings.js +1 -1
- package/locale/_registry.js +1 -1
- package/locale/af.js +1 -1
- package/locale/ar-MA.js +1 -1
- package/locale/ar-SA.js +1 -1
- package/locale/ar-TN.js +1 -1
- package/locale/ar.js +1 -1
- package/locale/az.js +1 -1
- package/locale/be.js +1 -1
- package/locale/bg.js +1 -1
- package/locale/bn.js +1 -1
- package/locale/bs.js +1 -1
- package/locale/ca.js +1 -1
- package/locale/cs.js +1 -1
- package/locale/cv.js +1 -1
- package/locale/cy.js +1 -1
- package/locale/da.js +1 -1
- package/locale/de-AT.js +1 -1
- package/locale/de.js +1 -1
- package/locale/el.js +1 -1
- package/locale/en-AU.js +1 -1
- package/locale/en-CA.js +1 -1
- package/locale/en-GB.js +1 -1
- package/locale/en.js +1 -1
- package/locale/es.js +1 -1
- package/locale/et.js +1 -1
- package/locale/eu.js +1 -1
- package/locale/fa.js +1 -1
- package/locale/fi.js +1 -1
- package/locale/fo.js +1 -1
- package/locale/fr-CA.js +1 -1
- package/locale/fr.js +1 -1
- package/locale/gl.js +1 -1
- package/locale/he.js +1 -1
- package/locale/hi.js +1 -1
- package/locale/hr.js +1 -1
- package/locale/hu.js +1 -1
- package/locale/hy.js +1 -1
- package/locale/id.js +1 -1
- package/locale/inv.js +1 -1
- package/locale/is.js +1 -1
- package/locale/it.js +1 -1
- package/locale/ja.js +1 -1
- package/locale/ka.js +1 -1
- package/locale/km.js +1 -1
- package/locale/ko.js +1 -1
- package/locale/language.js +1 -1
- package/locale/lt.js +1 -1
- package/locale/lv.js +1 -1
- package/locale/mk.js +1 -1
- package/locale/ml.js +1 -1
- package/locale/mr.js +1 -1
- package/locale/ms-MY.js +1 -1
- package/locale/ms.js +1 -1
- package/locale/my.js +1 -1
- package/locale/nb.js +1 -1
- package/locale/ne.js +1 -1
- package/locale/nl.js +1 -1
- package/locale/nn.js +1 -1
- package/locale/no.js +1 -1
- package/locale/pl.js +1 -1
- package/locale/pt-BR.js +1 -1
- package/locale/pt.js +1 -1
- package/locale/ro.js +1 -1
- package/locale/ru.js +1 -1
- package/locale/si.js +1 -1
- package/locale/sk.js +1 -1
- package/locale/sl.js +1 -1
- package/locale/sq.js +1 -1
- package/locale/sr-Cyrl.js +1 -1
- package/locale/sr-ME.js +1 -1
- package/locale/sr.js +1 -1
- package/locale/sv.js +1 -1
- package/locale/ta.js +1 -1
- package/locale/th.js +1 -1
- package/locale/tl.js +1 -1
- package/locale/tr.js +1 -1
- package/locale/tzm-Latn.js +1 -1
- package/locale/tzm.js +1 -1
- package/locale/uk.js +1 -1
- package/locale/uz.js +1 -1
- package/locale/vi.js +1 -1
- package/locale/zh-TW.js +1 -1
- package/locale/zh.js +1 -1
- package/locale.js +1 -1
- package/mapping/ArcGISSublayerExtension.js +1 -1
- package/mapping/BasemapExtension.js +1 -1
- package/mapping/Bookmark.d.ts +1 -1
- package/mapping/Bookmark.js +1 -1
- package/mapping/BuildingComponentSublayerExtension.js +1 -1
- package/mapping/BuildingGroupSublayerExtension.js +1 -1
- package/mapping/BuildingSceneLayerExtension.js +1 -1
- package/mapping/BuildingSublayerExtension.js +1 -1
- package/mapping/CSVLayerExtension.js +1 -1
- package/mapping/ElevationLayerExtension.js +1 -1
- package/mapping/FeatureCollectionLayerExtension.js +1 -1
- package/mapping/FeatureLayerExtension.js +1 -1
- package/mapping/FeatureLayerExtensionBase.js +1 -1
- package/mapping/GeoRSSLayerExtension.js +1 -1
- package/mapping/GraphicsLayerExtension.js +1 -1
- package/mapping/GroundExtension.d.ts +1 -1
- package/mapping/GroundExtension.js +1 -1
- package/mapping/GroupLayerExtension.js +1 -1
- package/mapping/ImageryLayerExtension.js +1 -1
- package/mapping/ImageryTileLayerExtension.js +1 -1
- package/mapping/IntegratedMeshLayerExtension.js +1 -1
- package/mapping/KMLLayerExtension.js +1 -1
- package/mapping/KMLSublayerExtension.js +1 -1
- package/mapping/LayerExtension.js +1 -1
- package/mapping/MapConstraints.js +1 -1
- package/mapping/MapExtension.d.ts +5 -5
- package/mapping/MapExtension.js +1 -1
- package/mapping/MapImageLayerExtension.d.ts +1 -1
- package/mapping/MapImageLayerExtension.js +1 -1
- package/mapping/MapImageSublayerExtension.js +1 -1
- package/mapping/OpenStreetMapLayerExtension.js +1 -1
- package/mapping/PointCloudLayerExtension.js +1 -1
- package/mapping/SceneLayerExtension.js +1 -1
- package/mapping/StreamLayerExtension.js +1 -1
- package/mapping/SublayerExtension.js +1 -1
- package/mapping/SubtypeGroupLayerExtension.js +1 -1
- package/mapping/SubtypeSublayerExtension.js +1 -1
- package/mapping/TileLayerExtension.js +1 -1
- package/mapping/TileSublayerExtension.js +1 -1
- package/mapping/UnsupportedLayerExtension.js +1 -1
- package/mapping/VectorTileLayerExtension.js +1 -1
- package/mapping/WMSLayerExtension.js +1 -1
- package/mapping/WMSSublayerExtension.js +1 -1
- package/mapping/WMTSLayerExtension.js +1 -1
- package/mapping/WMTSSublayerExtension.js +1 -1
- package/mapping/WebTileLayerExtension.js +1 -1
- package/mapping/_LayerExtension.d.ts +1 -1
- package/mapping/_LayerExtension.js +1 -1
- package/mapping/_SublayerExtension.d.ts +1 -1
- package/mapping/_SublayerExtension.js +1 -1
- package/mapping/convert.js +1 -1
- package/mapping/support/ArrayWrappedCollection.js +1 -1
- package/mapping/support/DefaultLayerExtensionFactory.js +1 -1
- package/mapping/support/DefaultSublayerExtensionFactory.js +1 -1
- package/mapping/support/LayerListSettings.js +1 -1
- package/mapping/support/PopupTemplateFeatureSettings.js +1 -1
- package/mapping/support/WfsCapabilities.js +1 -1
- package/mapping/support/WfsFeatureType.js +1 -1
- package/mapping/support/_LayerExtensionCollection.js +1 -1
- package/mapping/support/_SublayerExtensionCollection.js +1 -1
- package/mapping/support/_kml.js +1 -1
- package/mapping/support/ogc.js +1 -1
- package/menus/Menu.js +1 -1
- package/menus/MenuItem.js +1 -1
- package/package.json +36 -35
- package/portal/ApplicationProperties.d.ts +16 -13
- package/portal/Background.d.ts +3 -2
- package/portal/Background.js +1 -1
- package/portal/BaseMap.d.ts +1 -0
- package/portal/BaseMap.js +1 -1
- package/portal/BaseMapLayer.d.ts +3 -2
- package/portal/BingLayer.d.ts +1 -0
- package/portal/Bookmark.d.ts +1 -0
- package/portal/BuildingSceneLayer.d.ts +1 -1
- package/portal/BuildingSceneLayer.js +1 -1
- package/portal/BuildingSceneSublayer.js +1 -1
- package/portal/CIMSymbol.d.ts +1 -0
- package/portal/CSVLayer.d.ts +1 -0
- package/portal/CSVLayer.js +1 -1
- package/portal/Camera.d.ts +1 -0
- package/portal/Camera.js +1 -1
- package/portal/ClassBreaksRenderer.d.ts +4 -2
- package/portal/CodedValueDomain.d.ts +2 -2
- package/portal/CodedValueDomain.js +1 -1
- package/portal/ColorClassBreakInfo.d.ts +1 -0
- package/portal/ColorUniqueValueInfos.d.ts +1 -0
- package/portal/DataSource.d.ts +5 -4
- package/portal/DefinitionEditor.d.ts +3 -2
- package/portal/Domain.d.ts +3 -2
- package/portal/Domain.js +1 -1
- package/portal/DrawingInfo.d.ts +1 -0
- package/portal/DrawingInfo.js +1 -1
- package/portal/DynamicDataLayer.d.ts +2 -2
- package/portal/DynamicMapLayer.d.ts +1 -1
- package/portal/Edges.d.ts +1 -1
- package/portal/Edges.js +1 -1
- package/portal/Effect.d.ts +2 -2
- package/portal/ElevationInfo.d.ts +2 -2
- package/portal/ElevationInfo.js +1 -1
- package/portal/ElevationLayer.d.ts +1 -0
- package/portal/ElevationLayer.js +1 -1
- package/portal/Environment.d.ts +1 -0
- package/portal/Environment.js +1 -1
- package/portal/Extent.d.ts +1 -1
- package/portal/ExtrudeSymbol3DLayer.d.ts +1 -0
- package/portal/Feature.d.ts +1 -0
- package/portal/Feature.js +1 -1
- package/portal/FeatureCollection.d.ts +1 -0
- package/portal/FeatureLayer.d.ts +2 -1
- package/portal/FeatureLayer.js +1 -1
- package/portal/FeatureReduction.d.ts +1 -1
- package/portal/FeatureReduction.js +1 -1
- package/portal/FeatureSet.d.ts +1 -0
- package/portal/Field.d.ts +2 -2
- package/portal/Field.js +1 -1
- package/portal/FieldInfo.d.ts +2 -1
- package/portal/FillSymbol3DLayer.d.ts +1 -0
- package/portal/FormInfo.d.ts +13 -13
- package/portal/FormInfo.js +1 -1
- package/portal/Format.d.ts +2 -1
- package/portal/GeoRSSLayer.d.ts +1 -0
- package/portal/GeoRSSLayer.js +1 -1
- package/portal/Geometry.d.ts +3 -3
- package/portal/Geometry.js +1 -1
- package/portal/Ground.d.ts +1 -1
- package/portal/Ground.js +1 -1
- package/portal/GroupLayer.d.ts +2 -1
- package/portal/GroupLayer.js +1 -1
- package/portal/HeatmapRenderer.d.ts +2 -0
- package/portal/IconSymbol3DLayer.d.ts +1 -0
- package/portal/ImageServiceLayer.d.ts +1 -0
- package/portal/ImageServiceLayer.js +1 -1
- package/portal/ImageServiceVectorLayer.d.ts +1 -0
- package/portal/InheritedDomain.d.ts +1 -1
- package/portal/InheritedDomain.js +1 -1
- package/portal/InitialState.d.ts +1 -0
- package/portal/InitialState.js +1 -1
- package/portal/IntegratedMeshLayer.d.ts +1 -0
- package/portal/IntegratedMeshLayer.js +1 -1
- package/portal/Item.d.ts +2 -1
- package/portal/Item.js +1 -1
- package/portal/JoinTableDataSource.d.ts +2 -2
- package/portal/KMLLayer.d.ts +1 -0
- package/portal/KMLLayer.js +1 -1
- package/portal/LabelSymbol3D.d.ts +1 -0
- package/portal/LabelingInfo.d.ts +3 -2
- package/portal/LabelingInfo.js +1 -1
- package/portal/Layer.d.ts +1 -1
- package/portal/Layer.js +1 -1
- package/portal/LayerBase.js +1 -1
- package/portal/LayerDefinition.d.ts +8 -7
- package/portal/LayerDefinition.js +1 -1
- package/portal/Lighting.d.ts +3 -1
- package/portal/Lighting.js +1 -1
- package/portal/LineSymbol3D.d.ts +1 -0
- package/portal/LineSymbol3DLayer.d.ts +1 -0
- package/portal/LocationInfo.d.ts +1 -0
- package/portal/MapFloorInfo.d.ts +4 -4
- package/portal/MapFloorInfo.js +1 -1
- package/portal/MapRangeInfo.d.ts +1 -0
- package/portal/MapServiceLayer.d.ts +1 -0
- package/portal/MapServiceLayer.js +1 -1
- package/portal/MediaInfo.d.ts +1 -1
- package/portal/MediaInfo.js +1 -1
- package/portal/MeshSymbol3D.d.ts +1 -0
- package/portal/MosaicRule.d.ts +3 -2
- package/portal/MosaicRule.js +1 -1
- package/portal/Multipoint.d.ts +1 -1
- package/portal/ObjectSymbol3DLayer.d.ts +1 -0
- package/portal/OpenStreetMapLayer.d.ts +1 -0
- package/portal/OpenStreetMapLayer.js +1 -1
- package/portal/OperationalLayer.d.ts +3 -3
- package/portal/PathSymbol3DLayer.d.ts +1 -0
- package/portal/PictureFillSymbol.d.ts +1 -0
- package/portal/PictureMarkerSymbol.d.ts +1 -0
- package/portal/Point.d.ts +2 -1
- package/portal/PointCloudBitfieldFilter.d.ts +1 -0
- package/portal/PointCloudClassBreaksRenderer.d.ts +1 -0
- package/portal/PointCloudFilter.d.ts +2 -1
- package/portal/PointCloudFixedSizeAlgorithm.d.ts +1 -0
- package/portal/PointCloudLayer.d.ts +1 -0
- package/portal/PointCloudLayer.js +1 -1
- package/portal/PointCloudRGBRenderer.d.ts +1 -0
- package/portal/PointCloudRenderer.d.ts +3 -1
- package/portal/PointCloudRenderer.js +1 -1
- package/portal/PointCloudReturnFilter.d.ts +1 -0
- package/portal/PointCloudSplatAlgorithm.d.ts +1 -0
- package/portal/PointCloudStretchRenderer.d.ts +1 -0
- package/portal/PointCloudUniqueValueRenderer.d.ts +1 -0
- package/portal/PointCloudValueFilter.d.ts +1 -0
- package/portal/PointSymbol3D.d.ts +2 -1
- package/portal/Polygon.d.ts +1 -1
- package/portal/PolygonSymbol3D.d.ts +1 -0
- package/portal/Polyline.d.ts +1 -1
- package/portal/PopupExpressionInfo.d.ts +2 -1
- package/portal/PopupInfo.d.ts +3 -1
- package/portal/PopupInfo.js +1 -1
- package/portal/PredominanceRenderer.d.ts +1 -0
- package/portal/Presentation.d.ts +1 -0
- package/portal/Presentation.js +1 -1
- package/portal/QueryTableDataSource.d.ts +1 -1
- package/portal/RangeDomain.d.ts +1 -1
- package/portal/RangeDomain.js +1 -1
- package/portal/RangeInfo.d.ts +1 -0
- package/portal/RasterDataSource.d.ts +1 -1
- package/portal/Renderer.d.ts +8 -6
- package/portal/Renderer.js +1 -1
- package/portal/RenderingRule.d.ts +3 -2
- package/portal/RenderingRule.js +1 -1
- package/portal/SceneLayer.d.ts +1 -0
- package/portal/SceneLayer.js +1 -1
- package/portal/SimpleFillSymbol.d.ts +2 -1
- package/portal/SimpleLineSymbol.d.ts +2 -1
- package/portal/SimpleMarkerSymbol.d.ts +2 -1
- package/portal/SimpleRenderer.d.ts +1 -0
- package/portal/Slide.d.ts +4 -4
- package/portal/Slide.js +1 -1
- package/portal/SpatialReference.d.ts +1 -0
- package/portal/SpatialReference.js +1 -1
- package/portal/StreamLayer.d.ts +1 -1
- package/portal/StreamLayer.js +1 -1
- package/portal/StyleSymbolReference.d.ts +1 -0
- package/portal/SubtypeGroupLayer.d.ts +3 -2
- package/portal/SubtypeGroupLayer.js +1 -1
- package/portal/SubtypeSublayer.d.ts +1 -0
- package/portal/SubtypeSublayer.js +1 -1
- package/portal/Symbol.d.ts +11 -11
- package/portal/Symbol.js +1 -1
- package/portal/Symbol3D.d.ts +7 -2
- package/portal/Table.d.ts +3 -3
- package/portal/Table.js +1 -1
- package/portal/TableDataSource.d.ts +1 -1
- package/portal/Template.d.ts +2 -1
- package/portal/Template.js +1 -1
- package/portal/TemporalRenderer.d.ts +1 -0
- package/portal/TextSymbol.d.ts +1 -0
- package/portal/TextSymbol3DLayer.d.ts +1 -0
- package/portal/TileInfo.d.ts +2 -1
- package/portal/TileInfo.js +1 -1
- package/portal/TiledImageServiceLayer.d.ts +1 -0
- package/portal/TiledImageServiceLayer.js +1 -1
- package/portal/TiledMapServiceLayer.d.ts +2 -1
- package/portal/TiledMapServiceLayer.js +1 -1
- package/portal/Type.d.ts +2 -4
- package/portal/Type.js +1 -1
- package/portal/UniqueValueFromStyle.d.ts +1 -0
- package/portal/UniqueValueRenderer.d.ts +2 -0
- package/portal/UtilityNetwork.d.ts +2 -2
- package/portal/UtilityNetwork.js +1 -1
- package/portal/Value.d.ts +1 -1
- package/portal/VectorFieldRenderer.d.ts +1 -1
- package/portal/VectorTileLayer.d.ts +1 -0
- package/portal/VectorTileLayer.js +1 -1
- package/portal/VerticalOffset.d.ts +1 -1
- package/portal/Viewpoint.d.ts +1 -0
- package/portal/Viewpoint.js +1 -1
- package/portal/VisualVariable.d.ts +10 -4
- package/portal/WMSLayer.d.ts +1 -0
- package/portal/WMSLayer.js +1 -1
- package/portal/WMSSublayer.d.ts +1 -0
- package/portal/WMSSublayer.js +1 -1
- package/portal/WMTSInfo.d.ts +1 -1
- package/portal/WMTSInfo.js +1 -1
- package/portal/Weather.d.ts +6 -1
- package/portal/Weather.js +1 -1
- package/portal/WebMap.d.ts +3 -3
- package/portal/WebMap.js +1 -1
- package/portal/WebScene.d.ts +3 -1
- package/portal/WebScene.js +1 -1
- package/portal/WebSceneBaseMap.d.ts +1 -0
- package/portal/WebSceneBaseMap.js +1 -1
- package/portal/WebTileLayer.d.ts +1 -0
- package/portal/WebTileLayer.js +1 -1
- package/portal/Widgets.d.ts +6 -4
- package/portal/Widgets.js +1 -1
- package/portal/_LayerBase.d.ts +2 -2
- package/portal/_layerHelper.js +1 -1
- package/portal/_utils.js +1 -1
- package/support/Action.d.ts +4 -4
- package/support/ArcGISRequestHelper.js +1 -1
- package/support/Cancellable.d.ts +1 -1
- package/support/Cancellable.js +1 -1
- package/support/FormatSettings.js +1 -1
- package/support/InitializableBase.d.ts +1 -1
- package/support/InitializableBase.js +1 -1
- package/support/InitializableCollectionProxy.js +1 -1
- package/support/InitializeError.js +1 -1
- package/support/Observable.js +1 -1
- package/support/ReadOnlyInitializableCollection.js +1 -1
- package/support/Serializable.d.ts +4 -4
- package/support/Serializable.js +1 -1
- package/support/Settings.js +1 -1
- package/support/_ArcGISRelationshipCollection.js +1 -1
- package/support/_esriInternal.js +1 -1
- package/support/_graphicsQuery.js +1 -1
- package/support/_query.js +1 -1
- package/support/_requestCache.js +1 -1
- package/support/_restApiJson.d.ts +1 -1
- package/support/esri.d.ts +76 -76
- package/support/esri.js +1 -1
- package/tasks/geocoding/ArcGISGeocoder.js +1 -1
- package/tasks/geocoding/Geocoder.d.ts +1 -1
- package/tasks/geocoding/Geocoder.js +1 -1
- package/tasks/geocoding/utilities.js +1 -1
- package/tasks/identify/ArcGISSublayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/BuildingComponentSublayerClientSideIdentifyProvider.js +1 -1
- package/tasks/identify/BuildingComponentSublayerHitTestIdentifyProvider.js +1 -1
- package/tasks/identify/CSVLayer3DHitTestIdentifyProvider.js +1 -1
- package/tasks/identify/CSVLayerClientSideQueryIdentifyProvider.js +1 -1
- package/tasks/identify/ClientSideIdentifyProvider.d.ts +2 -2
- package/tasks/identify/ClientSideIdentifyProvider.js +1 -1
- package/tasks/identify/FeatureLayer3DHitTestIdentifyProvider.js +1 -1
- package/tasks/identify/FeatureLayerClientSideIdentifyProvider.js +1 -1
- package/tasks/identify/FeatureLayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/GeoRSSLayerIdentifyProvider.js +1 -1
- package/tasks/identify/GraphicsLayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/HitTestIdentifyProvider.d.ts +2 -2
- package/tasks/identify/HitTestIdentifyProvider.js +1 -1
- package/tasks/identify/IdentifyError.js +1 -1
- package/tasks/identify/IdentifyProviderBase.js +1 -1
- package/tasks/identify/IdentifyService.js +1 -1
- package/tasks/identify/ImageryLayerIdentifyProvider.js +1 -1
- package/tasks/identify/KMLLayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/PointCloudLayerHitTestIdentifyProvider.js +1 -1
- package/tasks/identify/SceneLayerClientSideIdentifyProvider.js +1 -1
- package/tasks/identify/SceneLayerHitTestIdentifyProvider.js +1 -1
- package/tasks/identify/SceneLayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/StreamLayerClientSideQueryIdentifyProvider.js +1 -1
- package/tasks/identify/StreamLayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/SubtypeSublayerClientSideIdentifyProvider.js +1 -1
- package/tasks/identify/SubtypeSublayerQueryIdentifyProvider.js +1 -1
- package/tasks/identify/WMSSublayerIdentifyProvider.js +1 -1
- package/tasks/query/ArcGISRelationship.js +1 -1
- package/tasks/query/ArcGISServiceTableQueryProvider.js +1 -1
- package/tasks/query/ArcGISSublayerQueryProvider.js +1 -1
- package/tasks/query/BuildingComponentSublayerClientSideQueryProvider.js +1 -1
- package/tasks/query/CSVLayerClientSideQueryProvider.js +1 -1
- package/tasks/query/CSVLayerQueryProvider.js +1 -1
- package/tasks/query/ClientSideQueryProvider.d.ts +2 -2
- package/tasks/query/ClientSideQueryProvider.js +1 -1
- package/tasks/query/FeatureLayerQueryProvider.js +1 -1
- package/tasks/query/GeoRSSLayerQueryProvider.js +1 -1
- package/tasks/query/GraphicsLayerQueryProvider.js +1 -1
- package/tasks/query/ImageryLayerQueryProvider.js +1 -1
- package/tasks/query/KMLLayerQueryProvider.js +1 -1
- package/tasks/query/QueryBasedRelationship.js +1 -1
- package/tasks/query/QueryError.js +1 -1
- package/tasks/query/QueryProviderBase.js +1 -1
- package/tasks/query/QueryService.js +1 -1
- package/tasks/query/SceneLayerClientSideQueryProvider.js +1 -1
- package/tasks/query/SceneLayerQueryProvider.js +1 -1
- package/tasks/query/StreamLayerClientSideQueryProvider.js +1 -1
- package/tasks/query/StreamLayerQueryProvider.js +1 -1
- package/tasks/query/SubtypeSublayerQueryProvider.js +1 -1
- package/tasks/search/ArcGISGeocoderSearchProvider.js +1 -1
- package/tasks/search/GeocoderSearchProvider.js +1 -1
- package/tasks/search/QuerySearchProvider.js +1 -1
- package/tasks/search/SearchError.js +1 -1
- package/tasks/search/SearchProviderBase.js +1 -1
- package/tasks/search/SearchService.js +1 -1
- package/tasks/search/_utilities.js +1 -1
- package/utilities/CollectionProxy.js +1 -1
- package/utilities/CopyOnWriteCollection.js +1 -1
- package/utilities/GeometryServiceError.js +1 -1
- package/utilities/MapTransformCollection.js +1 -1
- package/utilities/ObservableMap.js +1 -1
- package/utilities/ObservableSet.js +1 -1
- package/utilities/ObservableWeakSet.js +1 -1
- package/utilities/ReadOnlyCollection.js +1 -1
- package/utilities/ReadOnlyMap.js +1 -1
- package/utilities/_layers.js +1 -1
- package/utilities/_ogc.js +1 -1
- package/utilities/arcade.js +1 -1
- package/utilities/array.js +1 -1
- package/utilities/asyncIterable.d.ts +1 -1
- package/utilities/asyncIterable.js +1 -1
- package/utilities/basemaps.js +1 -1
- package/utilities/checkArg.js +1 -1
- package/utilities/collection.js +1 -1
- package/utilities/date.js +1 -1
- package/utilities/esri.js +1 -1
- package/utilities/extensions.js +1 -1
- package/utilities/geometry.d.ts +2 -2
- package/utilities/geometry.js +1 -1
- package/utilities/iterable.js +1 -1
- package/utilities/log.d.ts +1 -1
- package/utilities/log.js +1 -1
- package/utilities/mapping.js +1 -1
- package/utilities/math.js +1 -1
- package/utilities/number.js +1 -1
- package/utilities/object.js +1 -1
- package/utilities/portal.d.ts +3 -3
- package/utilities/portal.js +1 -1
- package/utilities/promise.d.ts +1 -1
- package/utilities/promise.js +1 -1
- package/utilities/query.js +1 -1
- package/utilities/relationships.js +1 -1
- package/utilities/scaleRanges.d.ts +1 -1
- package/utilities/set.js +1 -1
- package/utilities/string.d.ts +6 -21
- package/utilities/string.js +1 -1
- package/utilities/symbol.js +1 -1
- package/utilities/uri.js +1 -1
- package/utilities/watch.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/portal/TileInfo.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export declare namespace TileInfo {
|
|
|
24
24
|
* contain a levelValue on the lod objects that should be used instead of the
|
|
25
25
|
* level in the templateUrl.
|
|
26
26
|
*
|
|
27
|
+
* See
|
|
27
28
|
* {@link https://developers.arcgis.com/web-map-specification/objects/tileInfo/}
|
|
28
29
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/tileInfo/}.
|
|
29
30
|
*/
|
|
@@ -45,7 +46,7 @@ export interface TileInfo {
|
|
|
45
46
|
*/
|
|
46
47
|
format?: string;
|
|
47
48
|
/**
|
|
48
|
-
* An array of levels of detail that define the tiling scheme.
|
|
49
|
+
* An array of levels of detail that define the tiling scheme. See
|
|
49
50
|
* {@link https://developers.arcgis.com/web-map-specification/objects/lod/}
|
|
50
51
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/lod/}.
|
|
51
52
|
*/
|
package/portal/TileInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from"@arcgis/core/layers/support/TileInfo";import{checkArg as i}from"../utilities/checkArg.js";export var TileInfo;!function(r){r.toEsriApiTileInfo=function(r){return i("json",r).isNotMissing(),o.fromJSON(r)},r.fromEsriApiTileInfo=function(o){i("tileInfo",o).isNotMissing();const r=o.toJSON();return o.format&&(r.format=o.format.toLowerCase()),r}}(TileInfo||(TileInfo={}));
|
|
@@ -40,6 +40,7 @@ export declare namespace TiledImageServiceLayer {
|
|
|
40
40
|
* An ArcGIS Tiled Image Service layer displays map content from an ArcGIS
|
|
41
41
|
* Server Image service that has been cached (tiled).
|
|
42
42
|
*
|
|
43
|
+
* See
|
|
43
44
|
* {@link https://developers.arcgis.com/web-map-specification/objects/tiledImageServiceLayer/}
|
|
44
45
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/tiledImageServiceLayer/}.
|
|
45
46
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isImageryTileLayer}from"../utilities/_layers.js";import{checkArg}from"../utilities/checkArg.js";import{LayerDefinition}from"./LayerDefinition.js";import{ERR_LAYER_TYPE_MISMATCH,applyLayerBaseToEsriApiLayer,applyBasemapLayerToEsriApiLayer,applyOperationalLayerToEsriApiLayer,fromEsriApiLayerToLayerBase,fromEsriApiLayerToOperationalLayer}from"./_layerHelper.js";export var TiledImageServiceLayer;!function(
|
|
1
|
+
import{isImageryTileLayer as e}from"../utilities/_layers.js";import{checkArg as r}from"../utilities/checkArg.js";import{LayerDefinition as i}from"./LayerDefinition.js";import{ERR_LAYER_TYPE_MISMATCH as a,applyLayerBaseToEsriApiLayer as s,applyBasemapLayerToEsriApiLayer as l,applyOperationalLayerToEsriApiLayer as y,fromEsriApiLayerToLayerBase as t,fromEsriApiLayerToOperationalLayer as o}from"./_layerHelper.js";export var TiledImageServiceLayer;!function(n){async function c(t,o){r("layerJson",t).isNotMissing(),r("layerJson.layerType",t.layerType).satisfies((e=>!e||"ArcGISTiledImageServiceLayer"===e),a),r("layer",o).isNotMissing().satisfies(e,a),s(t,o),l(t,o),y(t,o),t.hasOwnProperty("layerDefinition")&&await i.applyToEsriApiLayer(t.layerDefinition,o),t.hasOwnProperty("url")&&(o.url=t.url)}n.esriImageryTileLayerDefaults={legendEnabled:!0,visible:!0,opacity:1,minScale:0,maxScale:0},n.toEsriApiLayer=async function(e){r("layerJson",e).isNotMissing(),r("layerJson.layerType",e.layerType).satisfies((e=>!e||"ArcGISTiledImageServiceLayer"===e),a);const i={};e?.url&&(i.url=e.url);const s=new((await import("@arcgis/core/layers/ImageryTileLayer")).default);return await c(e,s),s},n.applyToEsriApiLayer=c,n.fromEsriApiTileLayer=function(e){return r("layer",e).isNotMissing(),{...t(e,n.esriImageryTileLayerDefaults),...o(e),layerDefinition:i.fromEsriApiLayer(e),layerType:"ArcGISTiledImageServiceLayer",url:e.url}}}(TiledImageServiceLayer||(TiledImageServiceLayer={}));
|
|
@@ -43,6 +43,7 @@ export declare namespace TiledMapServiceLayer {
|
|
|
43
43
|
* An ArcGIS Tiled Map Service layer displays map content from an ArcGIS Server
|
|
44
44
|
* Map service that has been cached (tiled).
|
|
45
45
|
*
|
|
46
|
+
* See
|
|
46
47
|
* {@link https://developers.arcgis.com/web-map-specification/objects/tiledMapServiceLayer/}
|
|
47
48
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/tiledMapServiceLayer/}.
|
|
48
49
|
*/
|
|
@@ -62,7 +63,7 @@ export interface TiledMapServiceLayer extends OperationalLayerBase, BaseMapLayer
|
|
|
62
63
|
/**
|
|
63
64
|
* Exclusion areas define extent areas where no data will be fetched for a
|
|
64
65
|
* layer. NOTE: Applicable if used as a baseMapLayer. An array of
|
|
65
|
-
* exclusionArea objects defining the layer exclusions.
|
|
66
|
+
* exclusionArea objects defining the layer exclusions. See
|
|
66
67
|
* {@link https://developers.arcgis.com/web-map-specification/objects/exclusionArea/}.
|
|
67
68
|
*/
|
|
68
69
|
exclusionAreas?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"@arcgis/core/portal/Portal";import r from"@arcgis/core/portal/PortalItem";import{isTileLayer as a}from"../utilities/_layers.js";import{checkArg as i}from"../utilities/checkArg.js";import{Layer as t}from"./Layer.js";import{ERR_LAYER_TYPE_MISMATCH as s,applyLayerBaseToEsriApiLayer as l,applyBasemapLayerToEsriApiLayer as o,applyOperationalLayerToEsriApiLayer as y,fromEsriApiLayerToLayerBase as n,fromEsriApiLayerToOperationalLayer as c}from"./_layerHelper.js";export var TiledMapServiceLayer;async function p(e,r){if(e.layers&&r.sublayers)for(const a of e.layers){if(void 0===a.id||null===a.id)continue;const e=r.allSublayers.find((e=>e.id===a.id));e&&await t.applyToEsriApiSublayer(a,e)}}!function(t){async function m(t,n,c){if(i("layerJson",t).isNotMissing(),i("layerJson.layerType",t.layerType).satisfies((e=>!e||"ArcGISTiledMapServiceLayer"===e),s),i("layer",n).isNotMissing().satisfies(a,s),l(t,n),o(t,n),y(t,n),t.hasOwnProperty("customParameters")&&(n.customParameters=t.customParameters),t.hasOwnProperty("url")&&(n.url=t.url),t.hasOwnProperty("itemId")&&(n.portalItem?n.portalItem.id=t.itemId:n.portalItem=new r({id:t.itemId,portal:c||e.getDefault()})),n.loaded)await p(t,n);else{const e=n.load;let r=!1;n.load=async()=>{await e(),r||(r=!0,await p(t,n))}}}t.esriTileLayerDefaults={legendEnabled:!0,visible:!0,opacity:1,minScale:0,maxScale:0},t.toEsriApiLayer=async function(e){i("layerJson",e).isNotMissing(),i("layerJson.layerType",e.layerType).satisfies((e=>!e||"ArcGISTiledMapServiceLayer"===e),s);const r={};e?.url&&(r.url=e.url);const a=new((await import("@arcgis/core/layers/TileLayer")).default)(r);return await m(e,a),a},t.applyToEsriApiLayer=m,t.fromEsriApiTileLayer=function(e){i("layer",e).isNotMissing();const r={...n(e,t.esriTileLayerDefaults),...c(e),customParameters:e.customParameters,layerType:"ArcGISTiledMapServiceLayer",url:e.url};return e.portalItem&&(r.itemId=e.portalItem.id),r}}(TiledMapServiceLayer||(TiledMapServiceLayer={}));
|
package/portal/Type.d.ts
CHANGED
|
@@ -22,16 +22,14 @@ export declare namespace Type {
|
|
|
22
22
|
* features in the dataset. Each feature in the dataset can have a type,
|
|
23
23
|
* indicated in its typeIdField, which is used in LayerDefinition.
|
|
24
24
|
*
|
|
25
|
-
* {@link https://developers.arcgis.com/web-map-specification/objects/type/}
|
|
25
|
+
* See {@link https://developers.arcgis.com/web-map-specification/objects/type/}
|
|
26
26
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/type/}.
|
|
27
27
|
*/
|
|
28
28
|
export interface Type {
|
|
29
29
|
/**
|
|
30
30
|
* A set of domain objects for each domain in the type.
|
|
31
31
|
*/
|
|
32
|
-
domains?:
|
|
33
|
-
[fieldName: string]: Domain;
|
|
34
|
-
};
|
|
32
|
+
domains?: Record<string, Domain>;
|
|
35
33
|
/**
|
|
36
34
|
* A unique numerical ID for the type.
|
|
37
35
|
*/
|
package/portal/Type.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import r from"@arcgis/core/layers/support/FeatureType";import{checkArg as e}from"../utilities/checkArg.js";export var Type;!function(i){i.toEsriApiFeatureType=function(i){return e("json",i).isNotMissing(),r.fromJSON(i)},i.fromEsriApiFeatureType=function(r){return e("featureType",r).isNotMissing(),r.toJSON()}}(Type||(Type={}));
|
|
@@ -4,6 +4,7 @@ import type { Symbol3D } from "./Symbol3D.js";
|
|
|
4
4
|
* This is a special version of UniqueValue Renderer, which loads uniqueValue
|
|
5
5
|
* infos from a portal style.
|
|
6
6
|
*
|
|
7
|
+
* See
|
|
7
8
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/uniqueValueFromStyleRenderer/}.
|
|
8
9
|
*/
|
|
9
10
|
export interface UniqueValueFromStyle extends RendererBase {
|
|
@@ -6,6 +6,7 @@ import type { Symbol3D } from "./Symbol3D.js";
|
|
|
6
6
|
* A unique value renderer symbolizes groups of features that have matching
|
|
7
7
|
* field values.
|
|
8
8
|
*
|
|
9
|
+
* See
|
|
9
10
|
* {@link https://developers.arcgis.com/web-map-specification/objects/uniqueValue_renderer/}
|
|
10
11
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/uniqueValueRenderer/}.
|
|
11
12
|
*/
|
|
@@ -55,6 +56,7 @@ export interface UniqueValueRenderer extends RendererBase {
|
|
|
55
56
|
* which is one of the properties on the renderer object. The uniqueValueInfo
|
|
56
57
|
* object contains the symbology for each uniquely drawn value in the renderer.
|
|
57
58
|
*
|
|
59
|
+
* See
|
|
58
60
|
* {@link https://developers.arcgis.com/web-map-specification/objects/uniqueValueInfo/}
|
|
59
61
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/uniqueValueInfo/}.
|
|
60
62
|
*/
|
|
@@ -19,7 +19,7 @@ export declare namespace UtilityNetwork {
|
|
|
19
19
|
/**
|
|
20
20
|
* Identifies the central object for utility network schema information to
|
|
21
21
|
* access utility-related functionality, such as tracing and querying
|
|
22
|
-
* associations.
|
|
22
|
+
* associations. See
|
|
23
23
|
* {@link https://developers.arcgis.com/web-map-specification/objects/utilityNetwork/}.
|
|
24
24
|
*/
|
|
25
25
|
export interface UtilityNetwork {
|
|
@@ -44,7 +44,7 @@ export interface UtilityNetwork {
|
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* An array of pre-configured trace configurations for quickly running common
|
|
47
|
-
* traces.
|
|
47
|
+
* traces. See
|
|
48
48
|
* {@link https://developers.arcgis.com/web-map-specification/objects/traceConfiguration/}.
|
|
49
49
|
*/
|
|
50
50
|
export interface TraceConfiguration {
|
package/portal/UtilityNetwork.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{checkArg}from"../utilities/checkArg.js";export var UtilityNetwork;!function(
|
|
1
|
+
import{checkArg as t}from"../utilities/checkArg.js";export var UtilityNetwork;!function(i){i.toEsriApiUtilityNetwork=async function(i){t("utilityNetworks",i).isNotMissing();const r=new(0,(await import("@arcgis/core/networks/UtilityNetwork")).default);return await r.read(i,{origin:"web-map"}),r},i.fromEsriApiUtilityNetwork=function(i){return t("utilityNetworks",i).isNotMissing(),i.toJSON()}}(UtilityNetwork||(UtilityNetwork={}));
|
package/portal/Value.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The value object contains information for pop-up windows about how images
|
|
3
3
|
* should be retrieved or charts constructed.
|
|
4
4
|
*
|
|
5
|
-
* {@link https://developers.arcgis.com/web-map-specification/objects/value/}
|
|
5
|
+
* See {@link https://developers.arcgis.com/web-map-specification/objects/value/}
|
|
6
6
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/value/}.
|
|
7
7
|
*/
|
|
8
8
|
export interface Value {
|
|
@@ -38,4 +38,4 @@ export interface VectorFieldRenderer extends RendererBase {
|
|
|
38
38
|
/**
|
|
39
39
|
* Units of magnitude.
|
|
40
40
|
*/
|
|
41
|
-
export
|
|
41
|
+
export type MagnitudeUnit = "esriFeetPerSecond" | "esriKilometersPerHour" | "esriKnots" | "esriMetersPerSecond" | "esriMilesPerHour";
|
|
@@ -41,6 +41,7 @@ export declare namespace VectorTileLayer {
|
|
|
41
41
|
* A vector tile layer references a set of web-accessible vector tiles and the
|
|
42
42
|
* corresponding style for how those tiles should be drawn.
|
|
43
43
|
*
|
|
44
|
+
* See
|
|
44
45
|
* {@link https://developers.arcgis.com/web-map-specification/objects/vectorTileLayer/}
|
|
45
46
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/vectorTileLayer/}.
|
|
46
47
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"@arcgis/core/portal/Portal";import r from"@arcgis/core/portal/PortalItem";import{isVectorTileLayer as t}from"../utilities/_layers.js";import{checkArg as i}from"../utilities/checkArg.js";import{ERR_LAYER_TYPE_MISMATCH as a,applyLayerBaseToEsriApiLayer as l,applyBasemapLayerToEsriApiLayer as o,applyOperationalLayerToEsriApiLayer as s,fromEsriApiLayerToLayerBase as y,fromEsriApiLayerToOperationalLayer as c}from"./_layerHelper.js";export var VectorTileLayer;!function(p){async function n(y,c,p){i("layerJson",y).isNotMissing(),i("layerJson.layerType",y.layerType).satisfies((e=>!e||"VectorTileLayer"===e),a),i("layer",c).isNotMissing().satisfies(t,a),l(y,c),o(y,c),s(y,c),y.hasOwnProperty("styleUrl")&&(c.loaded?await c.loadStyle(y.styleUrl):c.url=y.styleUrl),y.hasOwnProperty("itemId")&&(c.portalItem?c.portalItem.id=y.itemId:c.portalItem=new r({id:y.itemId,portal:p||e.getDefault()}))}p.esriVectorTileLayerDefaults={visible:!0,opacity:1,minScale:0,maxScale:0},p.toEsriApiLayer=async function(e,r){i("layerJson",e).isNotMissing(),i("layerJson.layerType",e.layerType).satisfies((e=>!e||"VectorTileLayer"===e),a);const t=new((await import("@arcgis/core/layers/VectorTileLayer")).default);return await n(e,t,r),t},p.applyToEsriApiLayer=n,p.fromEsriApiVectorTileLayer=function(e){i("layer",e).isNotMissing();const r={...y(e,p.esriVectorTileLayerDefaults),...c(e),layerType:"VectorTileLayer"};return delete r.showLegend,e.portalItem&&(r.itemId=e.portalItem.id),e.url&&(r.styleUrl=e.url),r}}(VectorTileLayer||(VectorTileLayer={}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shifts the symbol along the vertical world axis by a given length. The length
|
|
3
|
-
* is set in screen space units.
|
|
3
|
+
* is set in screen space units. See
|
|
4
4
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/verticalOffset/}.
|
|
5
5
|
*/
|
|
6
6
|
export interface VerticalOffset {
|
package/portal/Viewpoint.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare namespace Viewpoint {
|
|
|
23
23
|
* determined using a camera position. The Viewpoint can be bookmarked for later
|
|
24
24
|
* use, or used for navigation purposes.
|
|
25
25
|
*
|
|
26
|
+
* See
|
|
26
27
|
* {@link https://developers.arcgis.com/web-map-specification/objects/viewpoint/}
|
|
27
28
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/viewpoint/}.
|
|
28
29
|
*/
|
package/portal/Viewpoint.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import i from"@arcgis/core/Viewpoint";export var Viewpoint;!function(o){o.toEsriApiViewpoint=function(o){if(o)return i.fromJSON(o)},o.fromEsriApiViewpoint=function(i){if(i)return i.toJSON()}}(Viewpoint||(Viewpoint={}));
|
|
@@ -9,7 +9,7 @@ export interface VisualVariableBase {
|
|
|
9
9
|
*/
|
|
10
10
|
field: string;
|
|
11
11
|
/**
|
|
12
|
-
* Options available for the legend.
|
|
12
|
+
* Options available for the legend. See
|
|
13
13
|
* {@link https://developers.arcgis.com/web-map-specification/objects/legendOptions/}
|
|
14
14
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/legendOptions/}.
|
|
15
15
|
*/
|
|
@@ -32,17 +32,18 @@ export interface VisualVariableBase {
|
|
|
32
32
|
/**
|
|
33
33
|
* The type of the VisualVariable.
|
|
34
34
|
*/
|
|
35
|
-
export
|
|
35
|
+
export type VisualVariableType = "colorInfo" | "sizeInfo" | "transparencyInfo" | "rotationInfo";
|
|
36
36
|
/**
|
|
37
37
|
* A visualVariable is an object containing the type of drawing property, the
|
|
38
38
|
* axis the variable is applied to, and additional properties for the variable.
|
|
39
39
|
* There are three types of visual variables, 'colorInfo', 'sizeInfo', and
|
|
40
40
|
* 'transparencyInfo'.
|
|
41
41
|
*
|
|
42
|
+
* See
|
|
42
43
|
* {@link https://developers.arcgis.com/web-map-specification/objects/visualVariable/}
|
|
43
44
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/visualVariable/}.
|
|
44
45
|
*/
|
|
45
|
-
export
|
|
46
|
+
export type VisualVariable = ColorInfo | SizeInfo | TransparencyInfo | RotationInfo;
|
|
46
47
|
/**
|
|
47
48
|
* The colorInfo visual variable defines how a continuous color ramp is applied
|
|
48
49
|
* to features based on the values of a numeric field attribute. The minimum and
|
|
@@ -50,6 +51,7 @@ export declare type VisualVariable = ColorInfo | SizeInfo | TransparencyInfo | R
|
|
|
50
51
|
* color values. You must specify either colors or stops to construct the color
|
|
51
52
|
* ramp.
|
|
52
53
|
*
|
|
54
|
+
* See
|
|
53
55
|
* {@link https://developers.arcgis.com/web-map-specification/objects/colorInfo_visualVariable/}
|
|
54
56
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/colorInfo_visualVariable/}.
|
|
55
57
|
*/
|
|
@@ -86,6 +88,7 @@ export interface ColorInfo extends VisualVariableBase {
|
|
|
86
88
|
* symbols are rotated. The rotation value is determined by mapping the values
|
|
87
89
|
* to data in a field, or by other arithmetic means with a function.
|
|
88
90
|
*
|
|
91
|
+
* See
|
|
89
92
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/rotationInfo_visualVariable/}
|
|
90
93
|
* {@link https://developers.arcgis.com/web-map-specification/objects/rotationInfo_visualVariable/}.
|
|
91
94
|
*/
|
|
@@ -112,7 +115,7 @@ export interface RotationInfo extends VisualVariableBase {
|
|
|
112
115
|
/**
|
|
113
116
|
* The type of rotation for RotationVisualVariable.
|
|
114
117
|
*/
|
|
115
|
-
export
|
|
118
|
+
export type RotationType = "arithmetic" | "geographic";
|
|
116
119
|
/**
|
|
117
120
|
* The sizeInfo visual variable defines how a continuous color ramp is applied
|
|
118
121
|
* to features based on the values of a numeric field attribute. The minimum and
|
|
@@ -120,6 +123,7 @@ export declare type RotationType = "arithmetic" | "geographic";
|
|
|
120
123
|
* color values. You must specify either colors or stops to construct the color
|
|
121
124
|
* ramp.
|
|
122
125
|
*
|
|
126
|
+
* See
|
|
123
127
|
* {@link https://developers.arcgis.com/web-map-specification/objects/sizeInfo_visualVariable/}
|
|
124
128
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/sizeInfo_visualVariable/}.
|
|
125
129
|
*/
|
|
@@ -187,6 +191,7 @@ export interface SizeInfo extends VisualVariableBase {
|
|
|
187
191
|
* transparency (range 0 - 100, with 100 as completely transparent) instead of
|
|
188
192
|
* opacity (range 0 - 1, with 0 as completely transparent).
|
|
189
193
|
*
|
|
194
|
+
* See
|
|
190
195
|
* {@link https://developers.arcgis.com/web-map-specification/objects/transparencyInfo_visualVariable/}
|
|
191
196
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/transparencyInfo_visualVariable/}.
|
|
192
197
|
*/
|
|
@@ -213,6 +218,7 @@ export interface TransparencyInfo extends VisualVariableBase {
|
|
|
213
218
|
* Specifies the largest marker size to use at any given map scale. This is
|
|
214
219
|
* required if valueUnit is set to unknown.
|
|
215
220
|
*
|
|
221
|
+
* See
|
|
216
222
|
* {@link https://developers.arcgis.com/web-map-specification/objects/maxSize/}
|
|
217
223
|
* {@link https://developers.arcgis.com/web-map-specification/objects/minSize/}
|
|
218
224
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/maxSize/}
|
package/portal/WMSLayer.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export declare namespace WMSLayer {
|
|
|
34
34
|
* web. For additional information on publishing WMS services, please see the
|
|
35
35
|
* ArcGIS Server help.
|
|
36
36
|
*
|
|
37
|
+
* See
|
|
37
38
|
* {@link https://developers.arcgis.com/web-map-specification/objects/wmsLayer/}.
|
|
38
39
|
*/
|
|
39
40
|
export interface WMSLayer extends OperationalLayerBase, BaseMapLayerBase {
|
package/portal/WMSLayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{whenOnce}from"@arcgis/core/core/reactiveUtils.js";import
|
|
1
|
+
import{whenOnce as e}from"@arcgis/core/core/reactiveUtils.js";import r from"@arcgis/core/geometry/Extent";import a from"@arcgis/core/geometry/SpatialReference";import{geographicToWebMercator as t,webMercatorToGeographic as s}from"@arcgis/core/geometry/support/webMercatorUtils";import i from"@arcgis/core/portal/Portal";import o from"@arcgis/core/portal/PortalItem";import{isWMSLayer as n}from"../utilities/_layers.js";import{checkArg as m}from"../utilities/checkArg.js";import{parallelEach as l}from"../utilities/promise.js";import{SpatialReference as p}from"./SpatialReference.js";import{WMSSublayer as y}from"./WMSSublayer.js";import{applyLayerBaseToEsriApiLayer as c,applyBasemapLayerToEsriApiLayer as f,applyOperationalLayerToEsriApiLayer as u,fromEsriApiLayerToLayerBase as g,fromEsriApiLayerToOperationalLayer as h}from"./_layerHelper.js";export var WMSLayer;!function(x){async function P(s,g,h){if(m("layerJson",s).isNotMissing(),m("layer",g).isNotMissing().satisfies(n),m("layerJson.layerType",s.layerType).satisfies((e=>!e||"WMS"===e)),c(s,g),f(s,g),u(s,g),s.hasOwnProperty("copyright")&&(g.copyright=s.copyright),s.hasOwnProperty("customLayerParameters")&&(g.customLayerParameters={...s.customLayerParameters}),s.hasOwnProperty("customParameters")&&(g.customParameters={...s.customParameters}),s.hasOwnProperty("featureInfoFormat")&&(g.featureInfoFormat=s.featureInfoFormat),s.hasOwnProperty("featureInfoUrl")&&(g.featureInfoUrl=s.featureInfoUrl),g.imageFormat=s.hasOwnProperty("format")?s.format:"image/png",s.hasOwnProperty("itemId")&&(g.portalItem?g.portalItem.id=s.itemId:g.portalItem=new o({id:s.itemId,portal:h||i.getDefault()})),s.hasOwnProperty("layers")){const r=async()=>{await l(s.layers,(async e=>{const r=g.sublayers.find((r=>r.name===e.name));r&&await y.applyToEsriApiWMSSublayer(e,r)})),g.sublayers.removeMany(g.sublayers.filter((e=>!s.layers.some((r=>r.name===e.name)))))};g.sublayers?await r():(async()=>{await e((()=>g.sublayers)),await r()})()}if(s.hasOwnProperty("visibleLayers")){const r=()=>g.sublayers.forEach((e=>{e.visible=s.visibleLayers.includes(e.name)}));g.sublayers?r():(async()=>{await e((()=>g.sublayers)),r()})()}if(s.hasOwnProperty("mapUrl")&&(g.mapUrl=s.mapUrl),s.hasOwnProperty("maxHeight")&&(g.imageMaxHeight=s.maxHeight),s.hasOwnProperty("maxWidth")&&(g.imageMaxWidth=s.maxWidth),s.hasOwnProperty("spatialReferences")&&s.spatialReferences.length&&(g.spatialReferences=s.spatialReferences.slice(),g.spatialReference||(g.spatialReference=p.toEsriApiSpatialReference({wkid:s.spatialReferences[0]}))),s.hasOwnProperty("extent")){const e=new r({xmin:s.extent[0][0],ymin:s.extent[0][1],xmax:s.extent[1][0],ymax:s.extent[1][1],spatialReference:a.WGS84});(g.spatialReference?.isWGS84||g.spatialReference?.isWebMercator)&&(g.fullExtent=g.spatialReference.isWGS84?e:t(e))}s.hasOwnProperty("url")&&(g.url=s.url),s.hasOwnProperty("version")&&(g.version=s.version)}x.toEsriApiLayer=async function(e){m("layerJson",e).isNotMissing(),m("layerJson.layerType",e.layerType).satisfies((e=>!e||"WMS"===e));const r=new((await import("@arcgis/core/layers/WMSLayer")).default);return await P(e,r),r},x.applyToEsriApiLayer=P,x.fromEsriApiLayer=function(e){m("layer",e).isNotMissing();const r={...g(e),...h(e),layerType:"WMS",visibleLayers:[]};if(e.copyright&&(r.copyright=e.copyright),e.customLayerParameters&&(r.customLayerParameters={...e.customLayerParameters}),e.customParameters&&(r.customParameters={...e.customParameters}),e.fullExtent&&(e.spatialReference.isWGS84||e.spatialReference.isWebMercator)){const a=e.spatialReference.isWGS84?e.fullExtent:s(e.fullExtent,!1);r.extent=[[],[]],r.extent[0][0]=a.xmin,r.extent[0][1]=a.ymin,r.extent[1][0]=a.xmax,r.extent[1][1]=a.ymax}return e.featureInfoFormat&&(r.featureInfoFormat=e.featureInfoFormat),e.featureInfoUrl&&(r.featureInfoUrl=e.featureInfoUrl),e.imageFormat&&(r.format=e.imageFormat),e.portalItem&&(r.itemId=e.portalItem.id),e.sublayers&&(r.layers=[],e.sublayers.forEach((e=>{const a=y.fromEsriApiWMSSublayer(e);r.layers.push(a),e.visible&&r.visibleLayers.push(e.name)}))),e.imageMaxHeight&&(r.maxHeight=e.imageMaxHeight),e.imageMaxWidth&&(r.maxWidth=e.imageMaxWidth),e.mapUrl&&(r.mapUrl=e.mapUrl),e.spatialReferences&&(r.spatialReferences=e.spatialReferences.slice()),e.url&&(r.url=e.url),e.version&&(r.version=e.version),r}}(WMSLayer||(WMSLayer={}));
|
package/portal/WMSSublayer.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export declare namespace WMSSublayer {
|
|
|
27
27
|
* A layer object may allow overrides on popup content and drawing behavior for
|
|
28
28
|
* individual layers of a web service.
|
|
29
29
|
*
|
|
30
|
+
* See
|
|
30
31
|
* {@link https://developers.arcgis.com/web-map-specification/objects/wmsLayer_layer/}.
|
|
31
32
|
*/
|
|
32
33
|
export interface WMSSublayer {
|
package/portal/WMSSublayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{checkArg}from"../utilities/checkArg.js";export var WMSSublayer;!function(
|
|
1
|
+
import{checkArg as e}from"../utilities/checkArg.js";export var WMSSublayer;!function(i){async function t(i,t){e("layerJson",i).isNotMissing(),e("sublayer",t).isNotMissing(),i.hasOwnProperty("name")&&(t.name=i.name),i.hasOwnProperty("showPopup")&&(t.popupEnabled=i.showPopup),i.hasOwnProperty("title")&&(t.title=i.title)}i.toEsriApiWMSSublayer=async function(i){e("layerJson",i).isNotMissing();const a=new((await import("@arcgis/core/layers/support/WMSSublayer")).default);return await t(i,a),a},i.applyToEsriApiWMSSublayer=t,i.fromEsriApiWMSSublayer=function(i){e("sublayer",i).isNotMissing();const t={};return i.name&&(t.name=i.name),null!==i.popupEnabled&&void 0!==i.popupEnabled&&(t.showPopup=i.popupEnabled),i.title&&(t.title=i.title),t}}(WMSSublayer||(WMSSublayer={}));
|
package/portal/WMTSInfo.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare namespace WMTSInfo {
|
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* Object containing layerIdentifier, tileMatrixSet, and URL for WMTSLayer layer
|
|
21
|
-
* types.
|
|
21
|
+
* types. See
|
|
22
22
|
* {@link https://developers.arcgis.com/web-map-specification/objects/wmtsInfo/}.
|
|
23
23
|
*/
|
|
24
24
|
export interface WMTSInfo {
|
package/portal/WMTSInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{checkArg}from"../utilities/checkArg.js";export var WMTSInfo;!function(
|
|
1
|
+
import{checkArg as r}from"../utilities/checkArg.js";export var WMTSInfo;!function(e){e.applyToEsriApiLayer=async function(e,t){if(r("infoJson",e).isNotMissing(),r("layer",t).isNotMissing(),e.hasOwnProperty("customLayerParameters")&&(t.customLayerParameters={...e.customLayerParameters}),e.hasOwnProperty("customParameters")&&(t.customParameters={...e.customParameters}),e.hasOwnProperty("url")&&(t.url=e.url),e.hasOwnProperty("layerIdentifier")){let r;t.sublayers&&(r=t.sublayers.find((r=>r.id===e.layerIdentifier))),r||(r=new((await import("@arcgis/core/layers/support/WMTSSublayer")).default)({id:e.layerIdentifier})),e.hasOwnProperty("tileMatrixSet")&&(r.tileMatrixSetId=e.tileMatrixSet),t.activeLayer=r}},e.fromEsriApiLayer=function(e){r("layer",e).isNotMissing();const t={};return e.customLayerParameters&&(t.customLayerParameters={...e.customLayerParameters}),e.customParameters&&(t.customParameters={...e.customParameters}),e.url&&(t.url=e.url),e.activeLayer&&(t.layerIdentifier=e.activeLayer.id,e.activeLayer.tileMatrixSetId&&(t.tileMatrixSet=e.activeLayer.tileMatrixSetId)),t}}(WMTSInfo||(WMTSInfo={}));
|
package/portal/Weather.d.ts
CHANGED
|
@@ -22,11 +22,12 @@ export declare namespace Weather {
|
|
|
22
22
|
/**
|
|
23
23
|
* Indicates the type of weather visualization in the scene.
|
|
24
24
|
*/
|
|
25
|
-
export
|
|
25
|
+
export type Weather = CloudyWeather | FoggyWeather | RainyWeather | SunnyWeather | SnowyWeather;
|
|
26
26
|
/**
|
|
27
27
|
* Object containing information for changing the weather conditions in the
|
|
28
28
|
* scene to cloudy.
|
|
29
29
|
*
|
|
30
|
+
* See
|
|
30
31
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/cloudyWeather/}.
|
|
31
32
|
*/
|
|
32
33
|
export interface CloudyWeather {
|
|
@@ -43,6 +44,7 @@ export interface CloudyWeather {
|
|
|
43
44
|
* Object containing information for changing the weather conditions in the
|
|
44
45
|
* scene to foggy.
|
|
45
46
|
*
|
|
47
|
+
* See
|
|
46
48
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/foggyWeather/}.
|
|
47
49
|
*/
|
|
48
50
|
export interface FoggyWeather {
|
|
@@ -59,6 +61,7 @@ export interface FoggyWeather {
|
|
|
59
61
|
* Object containing information for changing the weather conditions in the
|
|
60
62
|
* scene to rainy.
|
|
61
63
|
*
|
|
64
|
+
* See
|
|
62
65
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/rainyWeather/}.
|
|
63
66
|
*/
|
|
64
67
|
export interface RainyWeather {
|
|
@@ -79,6 +82,7 @@ export interface RainyWeather {
|
|
|
79
82
|
* Object containing information for changing the weather conditions in the
|
|
80
83
|
* scene to snowy.
|
|
81
84
|
*
|
|
85
|
+
* See
|
|
82
86
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/sunnyWeather/}.
|
|
83
87
|
*/
|
|
84
88
|
export interface SnowyWeather {
|
|
@@ -103,6 +107,7 @@ export interface SnowyWeather {
|
|
|
103
107
|
* Object containing information for changing the weather conditions in the
|
|
104
108
|
* scene to sunny.
|
|
105
109
|
*
|
|
110
|
+
* See
|
|
106
111
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/sunnyWeather/}.
|
|
107
112
|
*/
|
|
108
113
|
export interface SunnyWeather {
|
package/portal/Weather.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"@arcgis/core/views/3d/environment/CloudyWeather";import r from"@arcgis/core/views/3d/environment/FoggyWeather";import n from"@arcgis/core/views/3d/environment/RainyWeather";import t from"@arcgis/core/views/3d/environment/SnowyWeather";import o from"@arcgis/core/views/3d/environment/SunnyWeather";import{checkArg as i}from"../utilities/checkArg.js";export var Weather;!function(s){s.toEsriApiWeather=function(s){switch(i("weatherJson",s).isNotMissing(),s.type){case"cloudy":return new e(s);case"foggy":return new r(s);case"rainy":return new n(s);case"snowy":return new t(s);default:return new o(s)}},s.fromEsriApiWeather=function(i){if(!i)return;const s={type:i.type};return(i instanceof e||i instanceof o||i instanceof n||i instanceof t)&&(s.cloudCover=i.cloudCover),(i instanceof n||i instanceof t)&&(s.precipitation=i.precipitation),i instanceof r&&(s.fogStrength=i.fogStrength),i instanceof t&&(s.snowCover=i.snowCover),s}}(Weather||(Weather={}));
|
package/portal/WebMap.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare namespace WebMap {
|
|
|
49
49
|
* you to supply the version of the web map JSON format being used.
|
|
50
50
|
*
|
|
51
51
|
* Part of the Esri web map specification. See
|
|
52
|
-
* {@link http://resources.arcgis.com/en/help/arcgis-web-map-json/}.
|
|
52
|
+
* {@link http://resources.arcgis.com/en/help/arcgis-web-map-json/}. See
|
|
53
53
|
* {@link https://developers.arcgis.com/web-map-specification/objects/webmap/}.
|
|
54
54
|
*/
|
|
55
55
|
export interface WebMap {
|
|
@@ -94,7 +94,7 @@ export interface WebMap {
|
|
|
94
94
|
/**
|
|
95
95
|
* Operational layers contain your business data. They are used to make
|
|
96
96
|
* thematic maps. Usually, a basemap sits beneath your operational layers to
|
|
97
|
-
* give them geographic context.
|
|
97
|
+
* give them geographic context. See
|
|
98
98
|
* {@link https://developers.arcgis.com/web-map-specification/objects/operationalLayers/}.
|
|
99
99
|
*/
|
|
100
100
|
operationalLayers?: OperationalLayer[];
|
|
@@ -119,7 +119,7 @@ export interface WebMap {
|
|
|
119
119
|
utilityNetworks?: UtilityNetwork[];
|
|
120
120
|
/**
|
|
121
121
|
* Root element in the web map specifying a string value indicating the web
|
|
122
|
-
* map version.
|
|
122
|
+
* map version. See
|
|
123
123
|
* {@link https://developers.arcgis.com/web-map-specification/objects/version/}.
|
|
124
124
|
*/
|
|
125
125
|
version: string;
|
package/portal/WebMap.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import i from"@arcgis/core/Viewpoint";import e from"@arcgis/core/WebMap";import r from"@arcgis/core/geometry/SpatialReference";import{geographicToWebMercator as t}from"@arcgis/core/geometry/support/webMercatorUtils";import o from"@arcgis/core/webmap/Bookmark";import a from"@arcgis/core/webmap/InitialViewProperties";import{applyToEsriTable as s,toEsriApiTable as n}from"../data/Table.js";import{WellKnownBasemap as p}from"../support/esri.js";import{basemapsAreEquivalent as l,standardBasemaps as m}from"../utilities/_layers.js";import{checkArg as w}from"../utilities/checkArg.js";import{Collection as f,compareAsync as c}from"../utilities/collection.js";import{isPortalItem as u}from"../utilities/esri.js";import{isWebMap as y}from"../utilities/mapping.js";import{BaseMap as b}from"./BaseMap.js";import{toEsriApiGeometry as g}from"./Geometry.js";import{Item as h}from"./Item.js";import{LayerBase as A}from"./LayerBase.js";import{MapFloorInfo as P}from"./MapFloorInfo.js";import{SpatialReference as V}from"./SpatialReference.js";import{UtilityNetwork as M}from"./UtilityNetwork.js";import{Viewpoint as v}from"./Viewpoint.js";import{applyToEsriApiWidgetsObject as k,fromEsriApiWidgetsObject as d}from"./Widgets.js";export var WebMap;!function(O){async function j(e,p,m){if(w("json",e).isNotMissing(),w("map",p).isNotMissing(),y(p)){const l=p;if(e.hasOwnProperty("authoringApp")&&(l.authoringApp=e.authoringApp),e.hasOwnProperty("authoringAppVersion")&&(l.authoringAppVersion=e.authoringAppVersion),e.hasOwnProperty("bookmarks")&&(l.bookmarks.removeAll(),l.bookmarks.addMany((e.bookmarks??[]).map((e=>new o({name:e.name,thumbnail:e.thumbnail,viewpoint:(e.viewpoint&&i.fromJSON(e.viewpoint))??new i({targetGeometry:g(e.extent)})}))))),e.hasOwnProperty("presentation"),p.initialViewProperties||(p.initialViewProperties=new a),e.hasOwnProperty("spatialReference")?p.initialViewProperties.spatialReference=V.toEsriApiSpatialReference(e.spatialReference):null===p.initialViewProperties.spatialReference&&(p.initialViewProperties.spatialReference=r.WebMercator),e.initialState?.viewpoint)p.initialViewProperties.viewpoint=v.toEsriApiViewpoint(e.initialState.viewpoint);else if(e.hasOwnProperty("$initialViewpoint"))console.warn("The '$initialViewpoint' property has been deprecated as of August 2020 and will be removed in a future release. Use WebMap.initialState.viewpoint"),p.initialViewProperties.viewpoint=v.toEsriApiViewpoint(e.$initialViewpoint);else{const e=function(i,e){let r;const o=i.initialViewProperties?.spatialReference,a=e?.extent||i.portalItem?.extent;o&&a&&(r=r=o.isWebMercator?t(a):a.clone());return r}(l,m);e&&(p.initialViewProperties.viewpoint=new i({targetGeometry:e}))}e.hasOwnProperty("mapFloorInfo")&&e.mapFloorInfo&&(p.floorInfo=P.toEsriApiFloorInfo(e.mapFloorInfo)),e.hasOwnProperty("tables")&&e.tables&&await c(p.tables,e.tables,{onNew:async(i,e)=>{p.tables.add(await n(i),e)},onMatch:async(i,e,r,t)=>{r!==t&&p.tables.reorder(i,t),await s(e,i)},onMissing:i=>{p.tables.remove(i)},equals:(i,e)=>i.id===e.id||i.title===e.title}),e.hasOwnProperty("version")&&l._set("sourceVersion",function(i){const e=i.split("."),r=e[1];return{major:parseInt(e[0],10),minor:parseInt(r,10)}}(e.version)),e.hasOwnProperty("widgets")&&(l.widgets=k(e.widgets,l.widgets)),e.hasOwnProperty("utilityNetworks")&&(l.utilityNetworks=l.utilityNetworks??new f,l.utilityNetworks.addMany(await Promise.all(e.utilityNetworks.map(M.toEsriApiUtilityNetwork))))}const u=m?m.portal:void 0;e.hasOwnProperty("baseMap")&&(p.basemap&&l(p.basemap,e.baseMap)?await b.applyToEsriApiBasemap(e.baseMap,p.basemap,u):p.basemap=await b.toEsriApiBasemap(e.baseMap,u)),e.hasOwnProperty("operationalLayers")&&await A.applyToEsriApiLayers(p.layers,e.operationalLayers,u)}O.toEsriApiWebMap=async function(i,r){w("json",i).isNotMissing();const t=new e,o={...i},a=[];let s;return o.version||(a.push("'version' -- assuming '2.8'"),o.version="2.8"),o.baseMap||(a.push("'baseMap' -- assuming 'topo-vector'"),o.baseMap=m[p.TOPO_VECTOR]),o.spatialReference||a.push("'spatialReference' -- assuming 'Web Mercator'"),a.length&&console.warn(`WebMap JSON is missing the following required properties: ${a.join(", ")}`),r&&(s=u(r)?r:h.toEsriApiPortalItem(r),await s.load()),await j(o,t,s),t},O.applyToEsriApiMap=j,O.fromEsriApiMap=function(i){w("map",i).isNotMissing();const e={};if(y(i)){const r=i;r.hasOwnProperty("authoringApp")&&(e.authoringApp=r.authoringApp),r.hasOwnProperty("authoringAppVersion")&&(e.authoringAppVersion=r.authoringAppVersion),f.isCollection(r.bookmarks)&&(e.bookmarks=r.bookmarks.toArray().map((i=>({name:i.name,viewpoint:i.viewpoint?.toJSON(),thumbnail:i.thumbnail})))),r.hasOwnProperty("sourceVersion")&&r.sourceVersion&&(e.version=`${r.sourceVersion.major}.${r.sourceVersion.minor}`),r.initialViewProperties?.spatialReference&&(e.spatialReference=V.fromEsriApiSpatialReference(r.initialViewProperties.spatialReference)),r.initialViewProperties?.viewpoint&&(e.initialState={viewpoint:v.fromEsriApiViewpoint(r.initialViewProperties.viewpoint)}),r.hasOwnProperty("floorInfo")&&r.floorInfo&&(e.mapFloorInfo=P.fromEsriApiFloorInfo(r.floorInfo)),r.hasOwnProperty("tables")&&r.tables&&(e.tables=r.tables.toArray().map((i=>{const e=A.fromEsriApiLayer(i);return delete e.layerType,e}))),r.hasOwnProperty("widgets")&&(e.widgets=d(r.widgets,e.widgets)),f.isCollection(r.utilityNetworks)&&(e.utilityNetworks=r.utilityNetworks.map(M.fromEsriApiUtilityNetwork).toArray()),e.version=isNaN(r.version)?"2.6":r.version}return i.hasOwnProperty("basemap")&&i.basemap&&(e.baseMap=b.fromEsriApiBasemap(i.basemap)),function(i,e){e.operationalLayers=[];for(let r=0;r<i.length;r++)e.operationalLayers.push(A.fromEsriApiLayer(i.getItemAt(r)))}(i.layers,e),e}}(WebMap||(WebMap={}));
|
package/portal/WebScene.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ export declare namespace WebScene {
|
|
|
52
52
|
* consumed by the ArcGIS API for JavaScript via the WebScene class to easily
|
|
53
53
|
* create compelling 3D applications.
|
|
54
54
|
*
|
|
55
|
+
* See
|
|
55
56
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/webscene/}.
|
|
56
57
|
*/
|
|
57
58
|
export interface WebScene {
|
|
@@ -68,7 +69,7 @@ export interface WebScene {
|
|
|
68
69
|
*/
|
|
69
70
|
baseMap: WebSceneBaseMap;
|
|
70
71
|
/**
|
|
71
|
-
* Defines are to be clipped for display.
|
|
72
|
+
* Defines are to be clipped for display. See
|
|
72
73
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/clippingArea/}.
|
|
73
74
|
*/
|
|
74
75
|
clippingArea?: {
|
|
@@ -125,6 +126,7 @@ export interface WebScene {
|
|
|
125
126
|
* Root element in the web scene specifying a string value indicating the
|
|
126
127
|
* web scene version.
|
|
127
128
|
*
|
|
129
|
+
* See
|
|
128
130
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/version/}.
|
|
129
131
|
*/
|
|
130
132
|
version: string;
|
package/portal/WebScene.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"@arcgis/core/Viewpoint";import i from"@arcgis/core/WebScene";import{geographicToWebMercator as r}from"@arcgis/core/geometry/support/webMercatorUtils";import o from"@arcgis/core/webscene/InitialViewProperties";import{applyToEsriTable as a,toEsriApiTable as t}from"../data/Table.js";import{checkArg as s}from"../utilities/checkArg.js";import{compareAsync as n}from"../utilities/collection.js";import{isPortalItem as p}from"../utilities/esri.js";import{isWebScene as l}from"../utilities/mapping.js";import{ElevationLayer as m}from"./ElevationLayer.js";import{FeatureLayerMode as w}from"./FeatureLayer.js";import{Ground as c}from"./Ground.js";import{InitialState as f}from"./InitialState.js";import{Item as y}from"./Item.js";import{LayerBase as u}from"./LayerBase.js";import{MapFloorInfo as g}from"./MapFloorInfo.js";import{Presentation as A}from"./Presentation.js";import{SpatialReference as P}from"./SpatialReference.js";import{WebSceneBaseMap as d}from"./WebSceneBaseMap.js";import{resolveRelativeHrefs as E}from"./_utils.js";export var WebScene;!function(b){async function h(i,p,l){s("json",i).isNotMissing(),s("scene",p).isNotMissing(),i.hasOwnProperty("authoringApp")&&(p.authoringApp=i.authoringApp),i.hasOwnProperty("authoringAppVersion")&&(p.authoringAppVersion=i.authoringAppVersion),i.hasOwnProperty("initialState")&&(p.initialViewProperties=f.toEsriApiInitialViewProperties(i.initialState)),i.hasOwnProperty("mapFloorInfo")&&i.mapFloorInfo&&(p.floorInfo=g.toEsriApiFloorInfo(i.mapFloorInfo)),i.hasOwnProperty("spatialReference")&&(p.initialViewProperties||(p.initialViewProperties=new o),p.initialViewProperties.spatialReference=P.toEsriApiSpatialReference(i.spatialReference)),i.hasOwnProperty("viewingMode")&&(p.initialViewProperties||(p.initialViewProperties=new o),p.initialViewProperties.viewingMode=i.viewingMode);const m=function(e,i){let o;const a=e.initialViewProperties?.spatialReference,t=i?.extent??e.portalItem?.extent;a&&t&&(o=a.isWebMercator?r(t):t.clone());return o}(p,l);m&&!p.initialViewProperties.viewpoint&&(p.initialViewProperties.viewpoint=new e({targetGeometry:m})),i.hasOwnProperty("version")&&p._set("sourceVersion",function(e){const i=e.split("."),r=i[1];return{major:parseInt(i[0],10),minor:parseInt(r,10)}}(i.version)),i.hasOwnProperty("presentation")&&(p.presentation=await A.toEsriApiPresentation(i.presentation));const y=l?l.portal:void 0;if(i.hasOwnProperty("baseMap")&&(!p.basemap||p.basemap.id!==i.baseMap.id&&p.basemap.title!==i.baseMap.title?p.basemap=await d.toEsriApiBasemap(i.baseMap,y):await d.applyToEsriApiBasemap(i.baseMap,p.basemap,y),i.baseMap.elevationLayers)){await u.applyToEsriApiLayers(p.ground.layers,i.baseMap.elevationLayers);const e=i.baseMap.elevationLayers.map((e=>({id:e.id})));p.presentation.slides.forEach((i=>{i.visibleLayers.addMany(e)}))}i.hasOwnProperty("tables")&&i.tables&&await n(p.tables,i.tables,{onNew:async(e,i)=>{p.tables.add(await t(e),i)},onMatch:async(e,i,r,o)=>{r!==o&&p.tables.reorder(e,o),await a(i,e)},onMissing:e=>{p.tables.remove(e)},equals:(e,i)=>e.id===i.id||e.title===i.title}),i.hasOwnProperty("operationalLayers")&&await u.applyToEsriApiLayers(p.layers,i.operationalLayers.filter((e=>"ArcGISTiledElevationServiceLayer"!==e.layerType)),y),i.hasOwnProperty("ground")&&await c.applyToEsriApiGround(i.ground,p.ground,y),p.allLayers.forEach((e=>{void 0!==e.mode&&(e.mode=w.MODE_SNAPSHOT),void 0!==e.returnZ&&(e.returnZ=!0)}))}b.toEsriApiWebScene=async function(e,r){s("json",e).isNotMissing();const o=new i,a={...e};let t;return r&&(t=p(r)?r:y.toEsriApiPortalItem(r),await t.load(),E(a,t)),a.hasOwnProperty("ground")&&a.ground.layers&&!a.ground.layers.some((e=>e.id===c.DEFAULT_ELEVATION_ID&&e.url===c.DEFAULT_ELEVATION_URL&&e.title===c.DEFAULT_ELEVATION_TITLE))&&(a.ground.layers=[m.fromEsriApiElevationLayer(await c.createDefaultElevationService()),...a.ground.layers]),await h(a,o,t),o},b.applyToEsriApiWebScene=h,b.fromEsriApiWebScene=function(e){s("scene",e).isNotMissing();const i={};return l(e)&&(e.hasOwnProperty("authoringApp")&&(i.authoringApp=e.authoringApp),e.hasOwnProperty("authoringAppVersion")&&(i.authoringAppVersion=e.authoringAppVersion),e.hasOwnProperty("sourceVersion")&&e.sourceVersion&&(i.version=`${e.sourceVersion.major}.${e.sourceVersion.minor}`),e.initialViewProperties&&(i.initialState=f.fromEsriApiInitialViewProperties(e.initialViewProperties),e.initialViewProperties.spatialReference&&(i.spatialReference=P.fromEsriApiSpatialReference(e.initialViewProperties.spatialReference)),e.initialViewProperties.viewingMode&&(i.viewingMode=e.initialViewProperties.viewingMode)),e.hasOwnProperty("floorInfo")&&e.floorInfo&&(i.mapFloorInfo=g.fromEsriApiFloorInfo(e.floorInfo)),e.hasOwnProperty("presentation")&&(i.presentation=A.fromEsriApiPresentation(e.presentation))),i.version=isNaN(e.version)?"1.8":e.version,e.hasOwnProperty("basemap")&&e.basemap&&(i.baseMap=d.fromEsriApiBasemap(e.basemap)),i.operationalLayers=e.layers.map(u.fromEsriApiLayer).toArray(),e.ground&&(i.ground=c.fromEsriApiGround(e.ground)),i}}(WebScene||(WebScene={}));
|
|
@@ -32,6 +32,7 @@ export declare namespace WebSceneBaseMap {
|
|
|
32
32
|
* A basemap layer is a layer that provides geographic context to the map and
|
|
33
33
|
* scene. A web scene is not required to always contain a basemap.
|
|
34
34
|
*
|
|
35
|
+
* See
|
|
35
36
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/baseMap/}.
|
|
36
37
|
*/
|
|
37
38
|
export interface WebSceneBaseMap extends BaseMap {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isStandardBasemap}from"../utilities/basemaps.js";import{checkArg}from"../utilities/checkArg.js";import{BaseMap}from"./BaseMap.js";export var WebSceneBaseMap;!function(
|
|
1
|
+
import{isStandardBasemap as i}from"../utilities/basemaps.js";import{checkArg as s}from"../utilities/checkArg.js";import{BaseMap as a}from"./BaseMap.js";export var WebSceneBaseMap;!function(e){e.toEsriApiBasemap=async function(e,p){s("json",e).isNotMissing();const o=await a.toEsriApiBasemap(e,p);return!i(o)&&e.hasOwnProperty("id")&&(o.id=e.id),o},e.applyToEsriApiBasemap=async function(e,p,o){s("json",e).isNotMissing(),s("basemap",p).isNotMissing(),await a.applyToEsriApiBasemap(e,p,o),!i(p)&&e.hasOwnProperty("id")&&(p.id=e.id)},e.fromEsriApiBasemap=function(i){return s("basemap",i).isNotMissing(),a.fromEsriApiBasemap(i)}}(WebSceneBaseMap||(WebSceneBaseMap={}));
|
package/portal/WebTileLayer.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export declare namespace WebTileLayer {
|
|
|
45
45
|
* they must be in a specific format for a web app such as the ArcGIS.com map
|
|
46
46
|
* viewer to display the layer on a map.
|
|
47
47
|
*
|
|
48
|
+
* See
|
|
48
49
|
* {@link https://developers.arcgis.com/web-map-specification/objects/tiledLayer/}
|
|
49
50
|
* {@link https://developers.arcgis.com/web-scene-specification/objects/tiledLayer/}.
|
|
50
51
|
*/
|