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