Ejemplo n.º 1
0
 public TestsPage()
 {
     this.firstLat  = 50.24;
     this.secondLat = 50.30;
     this.firstLng  = 18.62;
     this.secondLng = 18.75;
     this.matTheme  = new MatTheme()
     {
         Primary = "#CBE54E"
     };
     this.mapOptions = new MapOptions()
     {
         DivId        = "mapId",
         Center       = new LatLng(50.279133, 18.685578),
         Zoom         = 13,
         UrlTileLayer = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
         SubOptions   = new MapSubOptions()
         {
             Attribution = "&copy; <a lhref='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>",
             MaxZoom     = 18,
             TileSize    = 512,
             ZoomOffset  = -1,
         }
     };
 }
 public MainViewModel()
 {
     Theme = new MatTheme()
     {
         Primary   = MatThemeColors.Blue._700.Value,
         Secondary = MatThemeColors.BlueGrey._500.Value
     };
 }
Ejemplo n.º 3
0
 public AppConfiguratorService()
 {
     AppName = "Tusa";
     Theme   = new MatTheme()
     {
         Primary   = MatThemeColors.Blue._700.Value,
         Secondary = MatThemeColors.Amber._700.Value
     };
 }