ironfelix717
Registered User.
- Local time
- Today, 16:03
- Joined
- Sep 20, 2019
- Messages
- 193
Hi,
Last week i delved into trying to work with Google Maps in an Access form, where i discussed here: HERE
To summarize that endeavor: all i really require is being able A) use Maps in the form B) Point Maps to a specific coordinate. Item B can be done simply passing the cords to the source URL, in addition to a Maps API Key. The object that displays this data is a Active X control 'Microsoft Web Browser'.
This was working well, until i played around a bit more and find that control so hideously slow that its pointless -- which is why i return here.
The format for the URL is:
Which i reckon I don't even need the API key here, as i'm really just browsing Maps online - but regardless it loads.
The resultant url would be something such as
Note: fake API key above
The Active X control loads this fine, but its slow and terrible to navigate and really doesn't work. I then considered using the "modern" 'Web Browser Control' that is offered in the Design pane.
Pointing both ControlSource and Navigate properties/methods to this URL result in the control displaying the classic "Cannot load page."
So, at this point, I am out of ideas. As i said, my goals are pretty straightforward: I just want to be able to use Maps inside Access with good performance, as well as point the Maps browser to a specific coordinate via VBA (through the URL - most likely).
Any ideas?
Thanks
Last week i delved into trying to work with Google Maps in an Access form, where i discussed here: HERE
To summarize that endeavor: all i really require is being able A) use Maps in the form B) Point Maps to a specific coordinate. Item B can be done simply passing the cords to the source URL, in addition to a Maps API Key. The object that displays this data is a Active X control 'Microsoft Web Browser'.
This was working well, until i played around a bit more and find that control so hideously slow that its pointless -- which is why i return here.
The format for the URL is:
Code:
strURl = "https://maps.google.com/?q=" & _
Lat & "+" & _
Lng & "+" & _
"+&t=h&output=embed" & _
APIKEY
Which i reckon I don't even need the API key here, as i'm really just browsing Maps online - but regardless it loads.
The resultant url would be something such as
Code:
https://maps.google.com/?q=31+-55++&t=h&output=embedAIzaSyDHaNIV_d0d9jd4x2NfpI2zOag_Xwuk
The Active X control loads this fine, but its slow and terrible to navigate and really doesn't work. I then considered using the "modern" 'Web Browser Control' that is offered in the Design pane.
Pointing both ControlSource and Navigate properties/methods to this URL result in the control displaying the classic "Cannot load page."
So, at this point, I am out of ideas. As i said, my goals are pretty straightforward: I just want to be able to use Maps inside Access with good performance, as well as point the Maps browser to a specific coordinate via VBA (through the URL - most likely).
Any ideas?
Thanks