Samples for ThinkGeo's map controls on the Windows desktop. ThinkGeo.UI.Wpf and
ThinkGeo.UI.WinForms put a ThinkGeo map in a WPF or WinForms app; the samples here show what
that map can do and how little code each thing takes.
A ThinkGeo 15 map is described by one style document, a MapStyle, and handed to the map view as
a GpuBasemap:
var style = new MapStyle(ThinkGeoVectorStyles.Light,
new ThinkGeoVectorTileSource("your ThinkGeo Cloud API key"));
mapView.MapUnit = GeographyUnit.Meter;
mapView.Basemap = new GpuBasemap(style);
await mapView.RefreshAsync();A map drawn this way can be tilted and rotated, and it is what 3D terrain, the globe, heatmaps,
isolines and animated weather are built on - each of them is a sample in the WPF gallery below.
The classic overlays of ThinkGeo 14 - LayerOverlay, FeatureLayer, ZoomLevelSet and the
Style classes - are still there, so ThinkGeo 14 code keeps running, and they are how a map is
drawn on .NET Framework.
| Packages | ThinkGeo.UI.Wpf or ThinkGeo.UI.WinForms, on nuget.org. Everything in this repository is built against 15.1.0. |
| Requires | Windows. The GPU map needs .NET 8 or later; the classic overlays also run on .NET Framework 4.6.2 or later. The galleries here target .NET 10, and the classic ones .NET Framework 4.8 as well. |
| Folder | |
|---|---|
quick-start-guide |
The place to start: the finished projects of the quick start guide, a map and a shapefile in a window, for WPF and WinForms. |
samples/wpf/HowDoISample |
The How Do I gallery for WPF: 66 samples, every one drawn on the GPU. Start here. |
samples/wpf/HowDoISample.Classic |
The How Do I gallery for the classic overlays, for .NET 10 and .NET Framework 4.8. |
samples/winforms/HowDoISample |
The How Do I gallery for WinForms, on the classic overlays, for .NET 10 and .NET Framework 4.8. |
samples/wpf/NauticalChartsViewer |
A viewer for S-57 nautical charts drawn with their S-52 styling. |
tools |
ThinkGeo.Serialization, which saves and restores a MapView as JSON, and the MbTiles Extractor (no longer maintained). |
samples/wpf/HowDoISample/HowDoI.v15.sln is one WPF app with a menu of 66 samples, with each
sample's source beside its map.
| Buildings in 3D | Weather Grids | Globe and Projections | Live Flights |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
More animations, and every sample with a link to its source, are in the gallery's README.
Open HowDoI.v15.sln in Visual Studio and press F5. It needs Windows and the .NET 10 SDK, builds
against the published NuGet packages and builds for x64. The samples carry a ThinkGeo Cloud key
for evaluation; sign up at https://cloud.thinkgeo.com for a key of
your own.
- Documentation: https://docs.thinkgeo.com. The desktop
quick start there builds the
projects in
quick-start-guidestep by step. - Questions: https://community.thinkgeo.com
- ThinkGeo 10 samples: the
support/v10branch.




