Solved

How to parametrize bing map on webbrowser control

Posted on 2016-10-08
6
56 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:jirdeaid
6 Comments
 
LVL 17

Expert Comment

by:Pawan Kumar Khowal
Comment Utility
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:jirdeaid
Comment Utility
Hi Pawan -

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

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

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
Comment Utility
<<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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

Author Comment

by:jirdeaid
Comment Utility
I'm switching to google maps... Thanks all
0
 
LVL 18
Comment Utility
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 57

Expert Comment

by:Jim Dettman (Microsoft MVP/ EE MVE)
Comment Utility
<<I'm switching to google maps... Thanks all>>

 That's what I did too<g>

Jim.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now