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

GLayer

With the new GLayer object we can add, for example, Panoramio photos, public webcams or Wikipedia articles in a very easy way.

The GLayerID contains all the Layer types that can be added. However Google has an updated list of available GLayers on http://spreadsheets.google.com/pub?key=p9pdwsai2hDN-cAocTLhnag




Code.aspx
<cc1:GMap ID="GMap1" runat="server" />
Code.aspx.cs
GLayer layerPanoramio = new GLayer(GLayerID.All_photos_from_panoramio_com);
GMap1.addGLayer(layerPanoramio);

GLayer layerWikipedia = new GLayer(GLayerID.Geotagged_Wikipedia_articles_Spanish);
GMap1.Add(layerWikipedia);
Powered by Subgurim.NET