Offline Google Maps Development notes

Source: Internet
Author: User

Recently made a project to use offline Google Maps development, and now Google Maps in China's development is not very perfect, resulting in the project is not decided.

Later, a map plugin Mymapw.ocx was used to perfectly solve the drawbacks of WinForm form in which webbrowse write JScript is not to be loaded.

At present, the project has been implemented, will be included in the map development part of the summary excerpt, for your reference:

1.1 Loading the Mymap.ocx map control onto a C # form

Second, the first to increase the basic operation of the map: Zoom in, zoom out, move, measure distance, measuring area

Add code to zoom in, zoom out, and move the map

private void Tsbmax_click (object sender, EventArgs e) {mymap1.setmapoperatemode (30);//Amplified}private void Tsbmin_click ( Object sender, EventArgs e) {Mymap1.setmapoperatemode (20);//Narrowing}private void Tsbmove_click (object sender, EventArgs e) {M  Ymap1.setmapoperatemode (40);//move} 1.3 increase the measurement distance code private void Tsbdistance_click (object sender, EventArgs e) { Mymap1.setmapoperatemode (50);//Measurement Distance}

Offline Google Maps Development notes

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.