Wednesday, 14 August 2013

Glowing my pushpin image in windows store app

Glowing my pushpin image in windows store app

I am developing a windows store app for pushpins that have to be placed in
bing maps. It is palced correctly. But i need a glowing effect on my
image. Please help
<Page.Resources>
<Style x:Key="MyPushPin" TargetType="bm:Pushpin">
<Setter Property="Width" Value="25"></Setter>
<Setter Property="Height" Value="39"></Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<Image Source="Assets/Accept.png" Stretch="Uniform"
HorizontalAlignment="Left"/>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
<bm:Map ZoomLevel="7.5" Credentials="Bing map key here"
HomeRegion="US" Culture="en-US" >
<bm:Map.Center>
<bm:Location Latitude="48" Longitude="-122.580489" />
</bm:Map.Center>
<bm:Map.Children>
<bm:Pushpin Tapped="pushpinTapped" x:Name="MyPushpin"
Background="Crimson" Style="{StaticResource MyPushPin}" >
<bm:MapLayer.Position>
<bm:Location Latitude="47.610039"
Longitude="-122.342207" />
</bm:MapLayer.Position>
</bm:Pushpin>
<bm:Pushpin Tapped="pushpinTapped2" Style="{StaticResource
MyPushPin}">
<bm:MapLayer.Position>
<bm:Location Latitude="38.8951" Longitude="77.0367" />
</bm:MapLayer.Position>
</bm:Pushpin>
</bm:Map.Children>
</bm:Map>
</Grid>

No comments:

Post a Comment