Created
November 23, 2017 14:57
-
-
Save pictos/c2d8384c395ab0e4726063c4cfbc51d8 to your computer and use it in GitHub Desktop.
View do Mapa
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:maps="clr-namespace:Xamarin.Forms.Maps;assembly=Xamarin.Forms.Maps" | |
xmlns:CustomMap="clr-namespace:RouteMap.CustomRender;assembly=RouteMap" | |
x:Class="RouteMap.Views.MapaPage"> | |
<ContentPage.Content> | |
<StackLayout Padding="30"> | |
<Entry Placeholder="Origem" Text="{Binding Origem}"/> | |
<Entry Placeholder="Destino" Text="{Binding Destino}"/> | |
<Button Text="Pesquisar Rota" Command="{Binding PesquisarCommand}"/> | |
<CustomMap:MapCustomRender x:Name="MyMap" | |
WidthRequest="320" | |
HeightRequest="300" | |
IsShowingUser="True" /> | |
</StackLayout> | |
</ContentPage.Content> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment