-
Notifications
You must be signed in to change notification settings - Fork 23
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
base: master
Are you sure you want to change the base?
Conversation
import { | ||
AzureMap, | ||
AzureMapDataSourceProvider, | ||
AzureMapDrawingManagerProvider, |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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?
Drawing tools example