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: Light Dark Aerial …
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ThinkGeoCloudMaps
.gitignore
README.md
Screenshot.gif
Screenshot.png
ThinkGeoCloudMaps.sln Upload source code. Dec 29, 2018

README.md

ThinkGeo Cloud Maps Sample for Wpf

Description

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:

  • Light
  • Dark
  • Aerial
  • Hybrid
  • TransparentBackground

ThinkGeo Cloud Maps support would work in all of the Map Suite controls such as Wpf, Web, MVC, WebApi, Android and iOS.

Please refer to Wiki for the details.

Screenshot

Requirements

This sample makes use of the following NuGet Packages

MapSuite 10.0.0

About the Code

map.MapUnit = GeographyUnit.Meter;
map.ZoomLevelSet = ThinkGeoCloudMapsOverlay.GetZoomLevelSet();

thinkGeoCloudMapsOverlay = new ThinkGeoCloudMapsOverlay();
thinkGeoCloudMapsOverlay.WrappingMode = WrappingMode.WrapDateline;
// Tiles will be cached in the TEMP folder (%USERPROFILE%\AppData\Local\Temp\MapSuite\PersistentCaches) by default if the TileCache property is not set.
thinkGeoCloudMapsOverlay.TileCache = new XyzFileBitmapTileCache("ThinkGeoCloudMapsTileCache");
map.Overlays.Add(thinkGeoCloudMapsOverlay);

map.CurrentExtent = new ThinkGeo.MapSuite.Shapes.RectangleShape(-20037508.2314698, 20037508.2314698, 20037508.2314698, -20037508.2314698);
map.Refresh();

Getting Help

Map Suite Desktop for Wpf Wiki Resources

Map Suite Desktop for Wpf Product Description

ThinkGeo Community Site

ThinkGeo Web Site

Key APIs

This example makes use of the following APIs:

Working...

About Map Suite

Map Suite is a set of powerful development components and services for the .Net Framework.

About ThinkGeo

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.