注册 登录
编程论坛 C# 论坛

c# GMap

guo21yun 发布于 2016-06-27 14:31, 2808 次点击
using System;
using System.Collections.Generic;
using
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace gmap1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void gMapControl1_Load(object sender, EventArgs e)
        {
            gmap.MapProvider =
             =
            gmap.SetCurrentPositionByKeywords("Maputo, Mozambique");
        }
    }
}
上面代码提示错误
错误    1    “”不包含“SetCurrentPositionByKeywords”的定义,并且找不到可接受类型为“”的第一个参数的扩展方法“SetCurrentPositionByKeywords”(是否缺少 using 指令或程序集引用?)
1 回复
#2
guo21yun2016-06-27 14:32
有没有大神帮看看  小弟新手  不知道哪里问题
1