GoogleMap Control 6.0
GoogleMap Control 5.0
GoogleMap Control Extenders
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.
- 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">