Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BingMapsPlot - GetParentMap #42

Open
hippe013 opened this issue Dec 12, 2020 · 0 comments
Open

BingMapsPlot - GetParentMap #42

hippe013 opened this issue Dec 12, 2020 · 0 comments

Comments

@hippe013
Copy link

hippe013 commented Dec 12, 2020

In the sample the xaml is setup as such:

<m:Map Mode="Road" Name="bingmap"> <d3:BingMapsPlot Name="plot"> <d3:CircleMarkerGraph Name="markers" ColorDescription="Crop density" Size="6" YDataTransform="{Binding YDataTransform, ElementName=plot}" ClipToBounds="False" /> </d3:BingMapsPlot> </m:Map>

However I couldn’t get the plot to look right on the map and the GetParentMap function returned null until I added:

<m:Map Mode="Road" Name="bingmap"> <d3:BingMapsPlot Name="plot" Tag="{Binding ElementName=bingmap}" > <d3:CircleMarkerGraph Name="markers" ColorDescription="Crop density" Size="6" YDataTransform="{Binding YDataTransform, ElementName=plot}" ClipToBounds="False" /> </d3:BingMapsPlot> </m:Map>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant