GMap1.MapProvider = GMapProviders.GoogleMap

Topics: Help
Apr 8, 2013 at 3:57 PM
How Can I set GoogleMap as default map on startup in form load ?



GMaps.Instance.UseRouteCache = True
    GMaps.Instance.UseGeocoderCache = True
    GMaps.Instance.UsePlacemarkCache = True
    GMaps.Instance.Mode = AccessMode.ServerAndCache
    GMap1.MapProvider = GMapProviders.GoogleMap

    'Lägg till ett layer

    GPSOVERLAY = New GMapOverlay(GMap1, " GPSOVERLAY")
    Layer_layers = New GMapOverlay(GMap1, "Layer_layers")
    GMap1.MinZoom = 1
    GMap1.MaxZoom = 17
    GMap1.Zoom = 9
    GMap1.SetCurrentPositionByKeywords("Stockholm, Sweden")
    GMap1.Dock = System.Windows.Forms.DockStyle.Fill
    GMap1.DragButton = Windows.Forms.MouseButtons.Left
    GMap1.CanDragMap = True
    GMap1.Update()
Coordinator
Apr 8, 2013 at 4:19 PM
just like you did ;}