Skip to content
This repository was archived by the owner on Jul 4, 2024. It is now read-only.
This repository was archived by the owner on Jul 4, 2024. It is now read-only.

BingMapsPlot - GetParentMap #42

Description

@hippe013

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions