Google Maps

  • Thread starter Thread starter Gumbatman
  • Start date Start date
G

Gumbatman

Is there a way to use the Google Maps API in C-Sharp?

I've found very little when seaching the web. I don't know JavaScript very
well and I thought doing it in C-Sharp would be easier.

Thank you for the help.
 
Hi,

You will have to code in javacript anyways.

Even if you use MS's version you need to know javascript.
 
Gumbatman,

You should be able to embed a WebBrowser control in your app and then
access the javascript model through the control (it will take some work
however) to get the information you need, or show the map the way you wish.
You will need knowledge of the Google Maps API, obviously:

http://www.google.com/apis/maps/
 
It should be easier since the syntax for C# and JavaScript is exactly the
same. Just get some documentation and don't let the DOM (Document Object
Model) get you goofy, its no different that referencing a control or the
properties of an object in C#; just different names and the grammar is a bit
different every now and then so what's giving you a hard time?.

<%= Clinton
 
Thank you all for the information.

I guess I should have been a little more specific.

I figured out how to do some of the basic JavaScript stuff with Google's
API. But I am trying to see what is the best way if I am going to pass in a
bunch (50 - 100) locations from a database. I've done a few manually, but
using a database makes much more sense to me. Is making a UserControl the
best way to go?
 
Hi,

Gummy said:
Thank you all for the information.

I guess I should have been a little more specific.

I figured out how to do some of the basic JavaScript stuff with Google's
API. But I am trying to see what is the best way if I am going to pass in
a bunch (50 - 100) locations from a database. I've done a few manually,
but using a database makes much more sense to me. Is making a UserControl
the best way to go?

I have not used Google's but MS's virtual Earth and the easiest way is to
construct an array and pass it to the page, later you can call a function in
Javascript and it will display the array in the map.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top