ThinkGeo Cloud Maps Sample for iOS
This sample demonstrates how you can display ThinkGeo Cloud Maps in your Map Suite GIS applications. It will show you how to use the XYZFileBitmapTileCache to improve the performance of map rendering. ThinkGeoCloudMapsOverlay uses the ThinkGeo Cloud XYZ Tile Server as raster map tile server. It supports 5 different map styles:
ThinkGeo Cloud Maps support would work in all of the Map Suite controls such as Wpf, WinForms, Web, MVC, WebApi and Android.
Please refer to Wiki for the details.
This sample makes use of the following NuGet Packages
About the Code
MapView = new MapView(View.Frame); MapView.MapUnit = GeographyUnit.Meter; MapView.CurrentExtent = new RectangleShape(-20037508.2314698, 20037508.2314698, 20037508.2314698, -20037508.2314698); MapView.ZoomLevelSet = ThinkGeoCloudMapsOverlay.GetZoomLevelSet(); View.AddSubview(MapView); worldOverlay = new ThinkGeoCloudMapsOverlay(); // Tiles will be cached in the MyDocuments folder (Such as %APPPATH%/Documents/) by default if the TileCache property is not set. worldOverlay.TileCache = new XyzFileBitmapTileCache(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "ThinkGeoCloudMapsTileCache")); MapView.Overlays.Add(worldOverlay); MapView.Refresh();
This example makes use of the following APIs:
About Map Suite
Map Suite is a set of powerful development components and services for the .Net Framework.
ThinkGeo is a GIS (Geographic Information Systems) company founded in 2004 and located in Frisco, TX. Our clients are in more than 40 industries including agriculture, energy, transportation, government, engineering, software development, and defense.