Solved

Google Maps in ASP.net

Posted on 2010-08-22
4
728 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
  • 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

813 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