Exemplo n.º 1
0
        public StyleListItem()
        {
            BorderWidth     = 1;
            BorderColor     = Colors.CartoNavyLight;
            Elevated        = true;
            BackgroundColor = StyleListView.Background;

            label = new Label();
            label.VerticalTextAlignment = TextAlignment.Center;
            label.TextColor             = Colors.CartoNavy;

            label.FontSize       = 13;
            label.FontAttributes = FontAttributes.None;

            MapView = new MapContainer();

#if __IOS__
            MapView.UserInteractionEnabled = false;
#else
            overlay        = new ClickView();
            overlay.Click += delegate
            {
                Click(this, EventArgs.Empty);
            };
#endif
        }
        public MainView(bool isTemplateFolder)
        {
            IsNavigationBarVisible = true;

            Toolbar = new Toolbar(isTemplateFolder);

            MapView = new MapContainer();
            MapView.IsZoomVisible           = true;
            MapView.IsSourceLabelVisible    = true;
            MapView.IsRefreshButtonVisibile = true;

            Editor = new CSSEditorView();

            GithubUpload = new GithubUploadPopup();

            FileTabs = new FileTabPopup();
            FileTabs.Hide();
#if __UWP__
            Zoom = new ZoomControl();
#endif
        }
Exemplo n.º 3
0
 public MapListener(MapContainer map)
 {
     MapView = map;
 }