Click here to Skip to main content
Click here to Skip to main content

ASP.NET GoogleMap Control

By , 24 Jan 2008
Rate this:
Please Sign up or sign in to vote.

Introduction

This article discusses how to wrap Google Maps API as an ASP.NET custom control.
It offers an extremely easy and fast way of adding Google Maps API support on your ASP.NET pages.

Project Home Page

Features

  • Setting the Size
  • Easy way to setup an issued Google Map API key
  • Geocoding or Latitude/Longitude center point of the map
  • Zoom factor of the map
  • Google Map Marker(s), with formatted text, using Geocoding or Latitude/Longitude
  • Traffic Overlays
  • Driving Directions (look at the sample page for the issue with localhost usage)
  • Works with ASP.NET AJAX (under UpdatePanel)
  • Capture map click point position
  • GoogleBar for address search on the maps

Known Issues

  • When using Google Maps on localhost, they can work without properly obtained keys (even that given in the samples here), but in order to work without problems, you have to obtain a key for the desired domain.
  • Driving direction will not appear on localhost, but on the public site/domain for which you have obtained the key, they will be shown properly. (That is probably protection or security issue of Google Maps API.)

Using the Code

Points of Interest

Homepage

Downloads

History

  • 24.Jan.2008 - Releases 2.5 and 3.0 are in the queue now, check out the features coming up
  • 3.Jan.2008 - Release 2.0 has been published
  • 19.Dec.2007 - Source code is on Codeplex now

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

About the Author

Velio Ivanov
Web Developer
Bulgaria Bulgaria
No Biography provided

Comments and Discussions

 
QuestionSee it Online link gives 404 error.. PinmemberNitesh Luharuka29-Nov-11 0:12 
GeneralAmazing Pinmembermbaocha6-May-09 12:03 
GeneralExcellent Control Pinmembermyker24-Jan-08 23:25 
Generalnot an article... PinmemberSeishin#24-Jan-08 22:39 
GeneralRe: not an article... Pinmemberscallion4-Jul-09 0:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 25 Jan 2008
Article Copyright 2008 by Velio Ivanov
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid