Help us translate this website and improve this translation and earn free licenses!
Anonymous user  |  Log in  |  Create Account

How to...

Custom Overlays

Similar to the extra controls, we have GCustomOverlays that enable us to add layers to the google map in a single line of code. This is going away in future versions.

Until then, we have:
  • Rectangle: it defines a rectangle in the central part of the map .




Code.aspx
<cc1:GMap ID="GMap1" runat="server" />
Code.aspx.cs
GMap1.Add(new GCustomOverlay(GCustomOverlay.Overlay.Rectangle));
Powered by Subgurim.NET