GoogleMap Control 5.0 | Google Geocoder | GoogleMap Control Extenders

Project Description

Wraps Google Maps API as ASP.NET custom control.
Offers extremely easy and fast way of adding Google Maps API support on your ASP.NET pages.

Features
  • ASP.NET AJAX (under UpdatePanel) enabled;
  • Loading by Geocoding or Latitude/Longitude;
  • Google Map Marker(s);
    • set by Geocoding or Latitude/Longitude;
    • simple text for the info window;
    • InfoWindowContent template for adding any html and asp.net controls to markers' info window;
    • Dragable;
    • Custom Icons;
    • OpenInfoBehaviour - to change the default behaviour of opening info window on marker click (available: Click, DoubleClick, MouseDown, MouseOut, MouseOver, MouseUp);
  • Polylines;
  • Polygons;
  • Traffic Overlays;
  • Driving Directions (look at the sample page for the issue with localhost usage);
  • Capture map click point position;
  • GoogleBar for address search on the maps;
  • Marker Manager for maps with a lot of markers;
  • Goecoding locations caching and persistence on postback for map and markers;
  • DefaultView control property to manage the map initial view with support to all google map types since Google API 2.9 (Normal, Satellite, Hybrid, Physical, MoonElevation, MoonVisible, MarsElevation, MarsVisible, MarsInfrared, SkyVisible);
  • GoogleMap Events client-side/server-side handling;
  • GoogleMarker Events client-side/server-side handling;
  • Static Map as image that can be saved;
  • Circle Polygon - you can easy add circle polygons to the GoogleMap control;
  • Data Binding - you can set any supported DataSource to GoogleMap control for binding markers to data;
  • Actions - server-side methods fire client-side code invokation, for example you can call GoogleMap1.OpenInfoWindowHtml method of GoogleMap which will open an info window on client-side when map is loaded;
  • AddressNotFound features;
  • Reverse Geocoding
  • StreetView support

Downloads

Help Topics

How-To Videos

Known Issues

  • When using Google Maps on localhost they can work with not 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). Check out next discussion: Getting around the Google API Key Issue on localhost
  • Wrong latlng value in click handler with IE8. To solve the issue check out next discussion topic
  • When using GoogleMap control inside ASP.NET AJAX TabPanel you have to set size of the control in pixels (not in percents) in order to get control working properly. In order to solve the not properly rendered map inside tab panel checkResize() have to be invoked manually when switching to the map tab. Check out this discusstion and this online sample;
  • Static map will not work on localhost. Check out Getting around the Google API Key Issue on localhost;
  • The max size of the static map is 512x512. Code cuts it if is greater, otherwise static map will not work;
  • Only markers are supported for static map - no traffic, no overlays, no directions etc. This is like it is - that's just provided by Google Maps API. There is no as I can see so far support for custom makers icons as well. So, the standard markers' icons are used only on the static map;
  • If you want to show polylines on your map (like the lines used by Google Maps to show driving directions), you need to include the VML namespace in your XHTML document to make everything work properly in Internet Explorer. The beginning of your XHTML document should look like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">

News

Last edited Oct 23, 2010 at 11:54 AM by velio, version 7

Comments

rald May 24, 2012 at 4:31 PM 
Hello, this control is great good idea.... I am new with this control and I am using VB 2008, I cannot find information about how to use this control with desktop application and the videos talk about ASP which is a server application, is this control available for dekstop app? and could you provide me with information about how to use it?...