Ejemplo n.º 1
0
        private void yandex_btn_Click(object sender, EventArgs e)
        {
            string url = "https://yandex.ru/maps/2/saint-petersburg/?mode=routes&rtt=auto&rtext=";

            for (int i = 0; i < numb; i++)
            {
                url += full_route[i].Latitude + " " + full_route[i].Longitude + "~";
            }
            MapsForm maps_form = new MapsForm(url);

            maps_form.Show();
        }
Ejemplo n.º 2
0
        private void google_btn_Click(object sender, EventArgs e)
        {
            string url = "https://www.google.com/maps/dir/";

            for (int i = 0; i < numb; i++)
            {
                url += full_route[i].Name + "/";
            }
            MapsForm maps_form = new MapsForm(url);

            maps_form.Show();
        }