Esempio n. 1
0
 private void minus_btn_Click(object sender, EventArgs e)
 {
     if (level >= 5)
     {
         level = level - 1;
         Image img = NaverMapApi.MapDownload(nowGv, level);
         this.pictureBox1.Image = img;
     }
 }
Esempio n. 2
0
        private void pictureBox1_Paint(object sender, PaintEventArgs e)
        {
            Image img = NaverMapApi.MapDownload(nowGv, level);

            if (img != null)
            {
                e.Graphics.DrawImage(img, new Point(0, 0));
            }
            e.Graphics.FillEllipse(Brushes.Red, 170, 195, 10, 10);
        }
Esempio n. 3
0
        private void changeParking()
        {
            Parking p = sortedResult[init];

            p_name_text.Text     = p.p_name;
            p_address_text.Text  = p.p_address;
            p_pri_cost.Text      = p.p_pri_cost.ToString() + "원";
            p_10m_cost.Text      = p.p_cost_10m.ToString() + "원";
            now_max.Text         = p.p_now_num + " / " + p.p_max_num;
            open_time.Text       = p.p_open_time;
            close_time.Text      = p.p_close_time;
            p_distance_text.Text = p.distanceFromNow + "m";
            nowGv.latitude       = p.p_latitude;
            nowGv.longitude      = p.p_longitude;
            //MessageBox.Show(p.p_latitude + ", " + p.p_longitude);
            Image img = NaverMapApi.MapDownload(nowGv, level);

            this.pictureBox1.Image = img;
        }