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 }
public MapListener(MapContainer map) { MapView = map; }