Solved

Google Maps in ASP.net

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET Built-In Report Creator / Viewer 5 41
Visual Studio 2015 auto inserted code 12 88
c#  FTP ftpwebrequest URI invalid 6 47
Pdf not loading 2 40
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
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 automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…

751 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