In this Wpf project, we explore more capabilities of the PopupOverlay and its collection of Popups. With the Content property, we can add a TextBox or any other control to a Popup. For example, here we show how to have the column value of a selected feature appear in a Popup on the user MapClick event. Notice how that column value can be easily …
Branch: master
Clone or download
Latest commit d25b41d Jan 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
PopupOverlay
.gitignore
PopupOverlay.sln Upload code. Nov 25, 2016
README.md
ScreenShot.png Update and test with the latest NuGet packages Dec 21, 2018

README.md

Popup Overlay Sample for Wpf

Description

In this Wpf project, we explore more capabilities of the PopupOverlay and its collection of Popups. With the Content property, we can add a TextBox or any other control to a Popup. For example, here we show how to have the column value of a selected feature appear in a Popup on the user MapClick event. Notice how that column value can be easily changed by typing in the TextBox of the Popup and committing the edit.

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

WorldStreetsAndImageryOverlay worldMapKitOverlay = new WorldStreetsAndImageryOverlay();
worldMapKitOverlay.Projection = WorldStreetsAndImageryProjection.DecimalDegrees;
wpfMap1.Overlays.Add("WorldOverlay", worldMapKitOverlay);

//Adds the PopupOverlay to the overlay collection of the wpf map.
ThinkGeo.MapSuite.Wpf.PopupOverlay popupOverlay = new ThinkGeo.MapSuite.Wpf.PopupOverlay();
wpfMap1.Overlays.Add("PopupOverlay", popupOverlay);

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:

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.