¡Ayúdanos a traducir esta Web y consigue licencias gratis!
Usuario anónimo  |  Ingresar  |  Regístrate

ExtStreetviewControl

El ExtStreetviewControl forma parte del GMaps Utility Library.

Usando este control le sacaremos el máximo partido al Streetview.




Code.aspx
<cc1:GMap ID="GMap1" runat="server" />
Code.aspx.cs
GMap1.setCenter(new GLatLng(35.014975, 135.782479), 17);

ExtStreetViewControl extStreetViewControl = new ExtStreetViewControl();
//extStreetViewControl.controlStatus = ExtStreetViewControl.ControlStatusEnum.MINI;
//extStreetViewControl.hidden = true;
//extStreetViewControl.latlng = new GLatLng(35, 135.7);
extStreetViewControl.mainContent = ExtStreetViewControl.MainContentEnum.STREETVIEW;
//extStreetViewControl.pov = new GPov(1, 1, 1);
extStreetViewControl.size = new GSize(200,150);

GMarker marker = new GMarker(new GLatLng(35.014975, 135.782479));
extStreetViewControl.marker = marker;

GMap1.addControl(new GControl(extStreetViewControl));
Powered by Subgurim.NET