Solved

Google Maps in ASP.net

Posted on 2010-08-22
4
731 Views
Last Modified: 2013-11-10
Hi!

I have a website in ASP.net C# and a database with a table 'Users' with username and country.

I want to show a worldwide map with a 'pin' on each country listed in 'Users' table. Just to give a overview about the users distribution in world.

Which the best/easiest way to do that?

Thanks in advance!
0
Comment
Question by:calypsoworld
[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
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
PlatoConsultant earned 250 total points
ID: 33495583
google maps api is available
0
 
LVL 11

Assisted Solution

by:PlatoConsultant
PlatoConsultant earned 250 total points
ID: 33495590
http://en.googlemaps.subgurim.net

ASP.NET GoogleMaps User Control
0
 
LVL 14

Assisted Solution

by:Daniel Junges
Daniel Junges earned 125 total points
ID: 33500180
0
 
LVL 4

Assisted Solution

by:ultrawebsites
ultrawebsites earned 125 total points
ID: 33507369
Hi there

Perhaps one of the easiest ways would be to output your database values in KML.

Depending on what you need for your webpage, you can even just past a publicly available URL to a KML file in to Google Maps search box and it will load it on a map. Great way to test the KML anyway to start with. The benefits of KML is that it is a standard for geographic information, although primarily used by Google (last I heard), and will be able to be used on Google Earth. The main alternative to KML is GeoRSS. Google Maps basically natively supports plotting data from both.
See:
- KML: http://code.google.com/apis/kml/documentation/whatiskml.html, http://googlemapsapi.blogspot.com/2007/03/kml-and-georss-support-added-to-google.html
- GeoRSS: http://code.google.com/apis/maps/documentation/javascript/v2/examples/geoxml-rss.html

Using a standard gives you a number of benefits, in that you can relatively easily use it for other purposes too.

Further to this, if you want to customise the display on a webpage, you'll need to build one and load Google Maps on to it.
See here for an example of this: http://code.google.com/apis/maps/documentation/javascript/v2/services.html#XML_Overlays

HTH
Matt
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
Suggested Courses

630 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