cutting edge features and bug-fixes
build log: https://ci.appveyor.com/project/radioman/greatmaps-byuu0
build log: https://ci.appveyor.com/project/radioman/greatmaps-byuu0
myMap.Overlays.Add(storesOverlay)
storesOverlay.IsVisibile = True
myMap.Overlays.Add(trucksOverlay)
trucksOverlay.IsVisibile = True
'this is how trucks are loaded when they first update - after that I simply change PointLatLngDim truckMarker As GMarkerGoogle = Nothing
Dim oPointLatLong = New PointLatLng(truck.Latitude, truck.Longitude)
Dim myImage As Image = Image.FromFile(myConfig.appFolder & "images\" & truck.MobileImage, False)
truckMarker = New GMarkerGoogle(oPointLatLong, myImage)
truckMarker.ToolTipText = truck.truckName
truckMarker.ToolTipMode = MarkerTooltipMode.Always
truckMarker.ToolTip.Stroke.Color = Color.Blue
truckMarker.ToolTip.Fill = Brushes.LightYellow
trucksOverlay.Markers.Add(truckMarker)
'this is a Sub called LoadStoreLocations (completely separate from where truck markers are added/updated) .Dim storeMarker As GMarkerGoogle = Nothing
Dim oPointLatLong = New PointLatLng(store.Latitude, store.Longitude)
Dim myImage As Image = Image.FromFile(myConfig.appFolder & "storePic.png", False)
storeMarker = New GMarkerGoogle(oPointLatLong, myImage)
storeMarker.ToolTipText = store.storeNumber
storeMarker.ToolTipMode = MarkerTooltipMode.OnMouseOver
storeMarker.ToolTip.Stroke.Color = Color.Orange
storeMarker.ToolTip.Fill = Brushes.FloralWhite
storesOverlay.Markers.Add(storeMarker)