public GMapMarker CrearMarcador(string direccion) { GMapMarker marcador = null;; GeoCoderStatusCode status; var point = GoogleMapGeocoder.ObtenerCordenadasPorDireccion(direccion, out status); if (status == GeoCoderStatusCode.G_GEO_SUCCESS) { marcador = new GMapMarker(point); } return(marcador); }
public VisualizadorDeZonas() { InitializeComponent(); GeoCoderStatusCode status; this.map.Position = GoogleMapGeocoder.ObtenerCordenadasPorDireccion("Mar del Plata, Buenos Aires", out status); this.ControladorDeZonas = new ControladorZona(this.map); this.Zonas = new ObservableCollection <ZonaMapa>(); this.CargarZonas(); this.DataContext = this; this.listaDeZonas.SelectionChanged += listaDeZonas_SelectionChanged; //this.CargarColores(); }
public Historial() { InitializeComponent(); this.Vendedores = new ObservableCollection <Elemento>(); this.servicioPreventista = FabricaClienteServicio.Instancia.CrearCliente <IServicioABM <Inteldev.Fixius.Servicios.DTO.Preventa.Preventista> >(); GeoCoderStatusCode status; this.map.Position = GoogleMapGeocoder.ObtenerCordenadasPorDireccion("Mar del Plata, Buenos Aires", out status); this.listaDeElementos.SelectionChanged += listaDeElementos_SelectionChanged; this.DataContext = this; //this.VentanaReporte = new Reporte(); this.CreadorDeReportes = new ReportMaker(); this.reportes.dgPosiciones.SelectionChanged += dgPosiciones_SelectionChanged; //this.codigosVendedoresAlta = this.ObtenerVendedoresPorEmpresa("10"); //this.codigosVendedoresHiller = this.ObtenerVendedoresPorEmpresa("01"); }