How to set a Binding to a Map Position's Latitude and Longitude, which are type <x:Double>?

126 Views Asked by At

I am trying to call a binding element to set the position on map. I read somewhere that the double doesn't accept bindings. What can I do to pass that values? thank you in advance

  <map:Map x:Name="amap">
                <x:Arguments>
                    <map:MapSpan>
                        <x:Arguments>
                            <map:Position>
                                <x:Arguments>
                                    <x:Double>
                                         Binding Country.Longitude
                                    </x:Double>
                                    <x:Double>
                                        Binding Country.Latitude
                                    </x:Double>
                                </x:Arguments>
                            </map:Position>
                            <x:Double>0.01</x:Double>
                            <x:Double>0.01</x:Double>
                        </x:Arguments>
                    </map:MapSpan>
                </x:Arguments>
            </map:Map>

0

There are 0 best solutions below