juddymar58
Programmer
Hi, I have created some code in an access form which allows users to select a vehicle from a dropdown list click a button which opens internet explorer with the current position of a vehicle shown as a marker on a google map. To do this I use the following code
DoCmd.Hourglass (True)
Dim strMyGoogleMapUrl As String
strMyGoogleMapUrl = " & strLatitude & "+" & strLongitude
Call Shell("C:\Program Files\Internet Explorer\Iexplore.exe " & strMyGoogleMapUrl, 1)
This is working fine however in the table where I get the latitude and longitude from there is also a bearing field stores a numeric value which identifies what direction the vehicle is pointing. From searching online I think this value is the Azimuth?? What I want to do is open the map like I currently do but instead of showing the marker show the direction the vehicle is pointing (an arrow) based on this value.
I'm wondering if its possible to pass something in via the url I have created to do this?
I have been searching online and found the following url which I can change to make the marker a different colour/label etc but I'm not sure if there is any syntax to make it an arrow
Any help greatly appreciated,
Thanks
Justin
DoCmd.Hourglass (True)
Dim strMyGoogleMapUrl As String
strMyGoogleMapUrl = " & strLatitude & "+" & strLongitude
Call Shell("C:\Program Files\Internet Explorer\Iexplore.exe " & strMyGoogleMapUrl, 1)
This is working fine however in the table where I get the latitude and longitude from there is also a bearing field stores a numeric value which identifies what direction the vehicle is pointing. From searching online I think this value is the Azimuth?? What I want to do is open the map like I currently do but instead of showing the marker show the direction the vehicle is pointing (an arrow) based on this value.
I'm wondering if its possible to pass something in via the url I have created to do this?
I have been searching online and found the following url which I can change to make the marker a different colour/label etc but I'm not sure if there is any syntax to make it an arrow
Any help greatly appreciated,
Thanks
Justin