Esri Maps에서 이미지를 표시하는 Blazor
IgbArcGISOnlineMapImagery
는 Esri 회사에서 만든 무료 지리 이미지 매핑 서비스입니다. 40개 이상의 세계 지리 이미지 타일과 미국의 일부 주제별 타일을 제공합니다. 이 지리 이미지 서비스는 www.arcgisonline.com 웹사이트에서 직접 접속할 수 있습니다.
Blazor Displaying Imagery from Esri Maps Example
Code Snippet
다음 코드 조각은 IgbArcGISOnlineMapImagery
클래스를 사용하여 Esri 이미지 서버의 Blazor 지리적 이미지 타일을 IgbGeographicMap
에 표시하는 방법을 보여줍니다.
@using IgniteUI.Blazor.Controls
<IgbGeographicMap Height="100%" Width="100%"
Zoomable="true"
BackgroundContent="EsriImagery" />
protected override void OnInitialized()
{
IgbArcGISOnlineMapImagery imagery = new IgbArcGISOnlineMapImagery()
{
MapServerUri = "https://services.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer"
};
this.EsriImagery = imagery;
}
에스리 유틸리티
또는 Esri 이미지 서버에서 제공하는 모든 스타일을 정의하는 EsriUtility를 사용할 수 있습니다.
@using IgniteUI.Blazor.Controls
<IgbGeographicMap Height="100%" Width="100%"
Zoomable="true"
BackgroundContent="EsriImagery" />
protected override void OnInitialized()
{
IgbArcGISOnlineMapImagery imagery = new IgbArcGISOnlineMapImagery()
{
MapServerUri = EsriStyle.WorldOceansMap
};
this.EsriImagery = imagery;
}