Exemplo n.º 1
0
        private void Baddposittion_Click(object sender, EventArgs e)
        {
            GMarkerGoogle aux = new GMarkerGoogle(new PointLatLng(Map1.Position.Lat, Map1.Position.Lng),
                                                  GMarkerGoogleType.red_dot);

            aux.ToolTipText = "Index =" + (Map1.Overlays[0].Markers.Count + 1) + "\n" + "Lat = " + Math.Round(aux.Position.Lat, 5) + "\n Long = " + Math.Round(aux.Position.Lng, 5);
            Map1.Overlays[0].Markers.Add(aux);
            Map1.Update();
        }
Exemplo n.º 2
0
        public void Update(GameTime gameTime)
        {
            CameraDraw();
            sound.PlayBGM("StageBGM");
            characterManager.Update(gameTime);
            Next();


            //マップ更新
            map1.Update();
        }