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

feat: drawing tools example #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

psrednicki
Copy link
Contributor

Drawing tools example

import {
AzureMap,
AzureMapDataSourceProvider,
AzureMapDrawingManagerProvider,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are also trying to implement the same functionality but we couldn't find this component 'AzureMapDrawingManagerProvider' could you please help us and share some infomation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is compatible only with Azure/react-azure-maps#75 so you need to check out from drawing-manager branch and build it locally then inject to playground to have AzureMapDrawingManagerProvider

<div style={{ height: '300px' }}>
<AzureMap options={option}>
<AzureMapDrawingManagerProvider options={options}>
<AzureMapDataSourceProvider
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@psrednicki: do you want this datasource to wrap the datasource that drawing manager creates right?
Since this datasource has no association with drawing manager and thus the feature defined in it won't be editable as Azure/react-azure-maps#70 (comment) mentioned here?

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

Successfully merging this pull request may close these issues.

None yet

4 participants