-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathEbMap.cs
More file actions
31 lines (24 loc) · 775 Bytes
/
EbMap.cs
File metadata and controls
31 lines (24 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using ExpressBase.Common.Connections;
using System;
using System.Collections.Generic;
using System.Text;
namespace ExpressBase.Common.Data
{
public class EbMaps
{
public int ConId { get; set; }
public string Apikey { get; set; }
public virtual MapVendors Vendor { get; set; }
public virtual MapType Type { get; set; }
}
public class EbGoogleMap : EbMaps
{
public override MapType Type { get { return MapType.COMMON; } }
public override MapVendors Vendor { get { return MapVendors.GOOGLEMAP; } }
public EbGoogleMap(EbIntegrationConf conf)
{
this.Apikey = (conf as EbGoogleMapConfig).ApiKey;
this.ConId = (conf as EbGoogleMapConfig).Id;
}
}
}