Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merge main to v.next #623

Merged
merged 2 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
GeoView="{x:Reference MyMapView}">
<toolkit:BookmarksView.ItemTemplate>
<DataTemplate>
<TextCell Text="{Binding Name}" Detail="Custom bookmark template" />
<StackLayout>
<Label Text="{Binding Name}" />
<Label Text="Custom bookmark template" FontSize="Caption" TextColor="Gray" />
</StackLayout>
</DataTemplate>
</toolkit:BookmarksView.ItemTemplate>
</toolkit:BookmarksView>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:esri="clr-namespace:Esri.ArcGISRuntime.Toolkit.Maui;assembly=Esri.ArcGISRuntime.Toolkit.Maui"
xmlns:sym="clr-namespace:Esri.ArcGISRuntime.Symbology;assembly=Esri.ArcGISRuntime"
x:Class="Toolkit.SampleApp.Maui.Samples.SymbolEditorSample"
Title="SymbolDisplay - dynamic">
<ContentPage.Content>
<Grid >
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition />
Expand All @@ -18,7 +19,10 @@
<Label Text="Style" />
<Picker ItemsSource="{Binding SimpleMarkerSymbolStyles}" SelectedItem="{Binding Symbol.Style, Source={x:Reference symbolDisplay}, Mode=TwoWay}"/>
<Label Text="Angle" />
<Slider Minimum="0" Maximum="360" Value="{Binding Symbol.Angle, Source={x:Reference symbolDisplay}, Mode=TwoWay}" />
<Slider Minimum="0" Maximum="360"
BindingContext="{Binding Symbol, Source={x:Reference symbolDisplay}}"
x:DataType="sym:SimpleMarkerSymbol"
Value="{Binding Angle, Mode=TwoWay}" />

</StackLayout>

Expand Down
Loading