Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Grid Grid.Column="1" HorizontalAlignment="Left" Height="378" Margin="10,41,0,0" Grid.Row="2" VerticalAlignment="Top" Width="600">
- <maps:Map x:Name="myMap"
- ZoomLevel="7.5" Credentials="xxxxx"
- Margin="-73,-154,0,0">
- <maps:Map.Center>
- <maps:Location Latitude="xxx" Longitude="xxx" />
- </maps:Map.Center>
- </maps:Map>
- </Grid>
- private Place _selectedPlace;
- public Place SelectedPlace
- {
- get { return _selectedPlace; }
- set
- {
- _selectedPlace = value;
- ShowPushPin(_selectedPlace);
- RaisePropertyChanged("SelectedPlace");
- }
- }
- public async void ShowPushPin(Place place)
- {
- //Here i would like code that places the pushpin.
- // Place has properties for long/lat
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement