?
Solved

How to parametrize bing map on webbrowser control

Posted on 2016-10-08
6
Medium Priority
?
239 Views
Last Modified: 2016-10-10
Im am developing a small ms/access application. I have a ms/access 2016 database with Lat/Lon coordinates for several types of points and, for them, I want to show, on the web browser, where they are and what they are, using colours and pushpin types.
 
I am already able to center the map where it needs, provide appropriate zoom levels, etc. setting the control source of the webbrowser to:
"http://bing.com" & "/maps/embed/viewer.aspx?cp=" & [textGPS] & "&lvl=12&dir=90&sty=r&w=600&h=600"

I also learned the there is a Bing Maps V8 Web Control that provides the needed functionality as long as I am able to somehow develop programs in JavaScript/HTML/TypeScript for which Microsoft already proves samples that are good enough to me as they contain the today's required functionality (e.g. http://www.bing.com/api/maps/sdk/mapcontrol/isdk#createPushpinFromCanvas+JS) .

The problem now is, how do I, in the webbrowser control, set up the javascript or html to run?

can anyone help?
0
Comment
Question by:João serras-pereira
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 29

Expert Comment

by:Pawan Kumar
ID: 41835457
Have you checked out Ricky's blog. He has done lot of research on this topic.  Check out this URL - Here he has given all the steps for parameters in Bing Maps.

https://rbrundritt.wordpress.com/2012/01/06/bing-maps-rest-service-net-libraries/.

Hope it helps.
0
 

Author Comment

by:João serras-pereira
ID: 41835584
Hi Pawan -

nope... at the most it links to unavailable pages :(

the question is related to the webbrowser not to bing maps
0
 
LVL 58

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 2000 total points
ID: 41836810
<<I also learned the there is a Bing Maps V8 Web Control that provides the needed functionality as >>

 This is meant for phones and mobile devices.   You won't be able to use this with Access.

 I do know however that one MVP (Jack Leach) gave a demo at the MVP conference two years ago showing how you could take an instance of IE and via automation, process Java Script.

 While it worked, it's not really what your looking for.

 From Access/VBA, your left working with whatever API Bing provides through the URL.   You really can't do anything beyond that.

Jim.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

by:João serras-pereira
ID: 41836925
I'm switching to google maps... Thanks all
0
 
LVL 22
ID: 41836931
Good idea. Google does have better documentation -- and renders better (more often!) too.  I tried them both. I wanted Bing to work but it just isn't there yet.
0
 
LVL 58
ID: 41836973
<<I'm switching to google maps... Thanks all>>

 That's what I did too<g>

Jim.
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question