Go WinForm Map Development control (gmap.net) Usage tips

Source: Internet
Author: User

The most into the project to involve the knowledge of map development, saw a very good blog post, and share with you.

Let's first look at the definition of gmap.net:

Gmap.net is a powerful, free, cross-platform, open source. NET control, which is able to find paths, geocoding, and map display capabilities through Google, Yahoo!, Bing, OpenStreetMap, ArcGIS, Pergo, Sigpac, and more in Windows Forms and WPF environments, and supports caching and running in the mobile environment.

Gmap.net is an open source Geo map location and tracking program. Just like Google Maps, Yahoo maps, can automatically calculate the distance between the two places, positioning latitude and longitude, unlike Google Maps, the project is based on the C # language WinForm. You can zoom in and out of the map, mark the city, etc.

Gmap.net's project address is http://greatmaps.codeplex.com/, we can download relevant examples and source code for learning and research. I searched the relevant projects on Google, as if the article is not many, but does not affect the control of the powerful and easy to use. Let's look at its interface first:

Gmap.net claims to be able to support a variety of map sources, but I tried, as if there are some problems, the best effect is Googlemapchina, as shown.

I use Googlemapchina to zoom into a very detailed street map, making an example of an address query as follows:

The control can be plotted out of the two places of the road or walking line, and can calculate the distance between the two places, but the resolution of the geocoding is not very accurate, but also access to bus lines and other information, but to deal with the general application, it should be pretty good.

This control is used by default right-click and hold as drag, and GoogleMap with the left mouse button as a drag a little bit different (but can be This.gMapControl1.DragButton = mousebuttons.left; To achieve left-click drag), Both can support the operation of zooming in and out of the wheel. The control also supports the precise positioning of latitude and longitude, draws icons (green, red icons, cross symbols, etc.), supports center point movement, and exports map images and other functions. Because the map control supports the drawing of the route, it should be supported in the general GIS application of the track playback function. Because the map control supports the conversion of mouse position and latitude and longitude coordinates, it is possible to obtain relevant latitude and longitude information at will.

This WinForm map control, although compared to the Web GoogleMap, a lot of features are not available, but more common mapx and mapxtreme or ArcGIS and other traditional GIS, do not have to pay too much (even do not pay the cost), Can use the fine map, it is good news.

Key research techniques: Code generation tools, Visio two development, CRM software, water delivery management software, and other shared software development
Focus on the research and application of WinForm development Framework, Web development Framework, and WCF development framework.
Reprint please specify the source:
Written by: Wu Huacong http://www.iqidi.com

Original link: http://www.cnblogs.com/wuhuacong/archive/2010/03/10/1681382.html

Go WinForm Map Development control (gmap.net) Usage tips

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.