Hello Access-Programmers,
I am using the Access 2010 Web Browser Control in an attempt to display driving directions.
I am working with both Bing and Google maps to see which works best. Also, the licensing terms are very different, if I understand the terms correctly, Bing appears more open to free use,
within monthly and annual limits. Google appears to prohibit the free user from printing a map, even with a copyright notice. But I digress.
In the attached database I have a few map issues.
1. When maps display they display the entire web page within the Web Browser Control, not just the map?
2. Bing recognizes that directions are sought but does not pick up the destination address?
3. Google generates a sensor parameter missing error, although the parameter seems to be there?
I tried to follow the instructions for developing map URL's from Bing and Google at:
http://msdn.microsoft.com/en-us/library/dn217138.aspx
https://developers.google.com/maps/documentation/webservices/
The Web Browser Control, Control Source property for Bing is set as:
The Web Browser Control, Control Source property for Google is set as:
I am at a loss as to why these issues are cropping up.
Any thoughts, even on one of the above issues would be appreciated?
Thank you in advance for looking into this.
I am using the Access 2010 Web Browser Control in an attempt to display driving directions.
I am working with both Bing and Google maps to see which works best. Also, the licensing terms are very different, if I understand the terms correctly, Bing appears more open to free use,
within monthly and annual limits. Google appears to prohibit the free user from printing a map, even with a copyright notice. But I digress.
In the attached database I have a few map issues.
1. When maps display they display the entire web page within the Web Browser Control, not just the map?
2. Bing recognizes that directions are sought but does not pick up the destination address?
3. Google generates a sensor parameter missing error, although the parameter seems to be there?
I tried to follow the instructions for developing map URL's from Bing and Google at:
http://msdn.microsoft.com/en-us/library/dn217138.aspx
https://developers.google.com/maps/documentation/webservices/
The Web Browser Control, Control Source property for Bing is set as:
Code:
="http://bing.com/maps/default.aspx?rtp=adr." & [txtBingAddress]
Code:
="https://maps.googleapis.com/maps/api/directions/xml?origin=" & [txtHome] & "destination=" & [StoreAddress] & "+" & [StoreCity] & "+" &
[StoreState] & "sensor=false"
Any thoughts, even on one of the above issues would be appreciated?
Thank you in advance for looking into this.