Hello,
Can anyone help by answering on question: Why using this code MapEllipse shape didn't show on RadMap InformationLayer>?
<
telerik:RadMap
x:Name
=
"RadMap"
ZoomLevel
=
"{Binding MapZoomLevel}"
Provider
=
"{Binding MapProvider}"
Center
=
"{Binding MapCenter}"
cal:Message.Attach="[Event MapMouseClick] = [Action RadMapClicked($source,$eventArgs)];
<
telerik:InformationLayer
>
<
telerik:MapEllipse
telerik:MapLayer.Location
=
"{Binding Location}"
Width
=
"10"
Height
=
"10"
Fill
=
"Red"
Stroke
=
"OrangeRed"
StrokeThickness
=
"2"
>
</
telerik:MapEllipse
>
</
telerik:InformationLayer
>
</
telerik:RadMap
>
private Location _location;
public Location Location
{
get { return _location; }
set
{
_location = value;
NotifyOfPropertyChange(() => Location);
}
}
public void RadMapClicked(object sender, MapMouseRoutedEventArgs eventArgs)
{
Location = eventArgs.Location;
}
RadMapClicked event is triggered well and Location coordinates are correct wrote
Thank you!