Exemplo n.º 1
0
 protected BingMapDataProvider CreateBingDataProvider(BingMapKind kind)
 {
     return(new BingMapDataProvider()
     {
         BingKey = key, Kind = kind
     });
 }
Exemplo n.º 2
0
 public static BingMapDataProvider CreateBingDataProvider(BingMapKind kind)
 {
     return(new BingMapDataProvider()
     {
         BingKey = DevExpressBingKey, Kind = kind
     });
 }
        public SCMap AddBingImageLayer(BingMapKind kind, BingImageLayerOptions options = null)
        {
            options ??= new BingImageLayerOptions();

            var provider = new BingMapDataProvider()
            {
                BingKey            = Parameters.BingMapKey,
                ConnectionProtocol = ConnectionProtocol.Https,
                Kind        = (DevExpress.XtraMap.BingMapKind)kind,
                CultureName = Utils.NonNullString(options.CultureName)
            };

            options.UpdateLayerImage(this, provider);

            return(this);
        }
Exemplo n.º 4
0
 public static BingMapDataProvider CreateBingDataProvider(BingMapKind kind) {
     return new BingMapDataProvider() { BingKey = DevexpressBingKey, Kind = kind };
 }