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

How to...

GMapUI

With GMapUI we will get the default UI of maps.google.com.

GMapUI includes GMapUIOptions with which we can modify some optional parameters of the default UI.






Code.aspx
<cc1:GMap ID="GMap1" runat="server" /> <cc1:GMap ID="GMap2" runat="server" />
Code.aspx.cs
GMap1.addGMapUI(new GMapUI());

GMapUIOptions options = new GMapUIOptions();
options.maptypes_hybrid = false;
options.keyboard = false;
options.maptypes_physical = false;
options.zoom_scrollwheel = false;
GMap2.Add(new GMapUI(options));
Powered by Subgurim.NET