We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
I did the following
"styles": [ "node_modules/azure-maps-control/dist/atlas.min.css", "src/styles.scss" ], "scripts": [ "node_modules/azure-maps-control/dist/atlas.min.js", "src/assets/azure-maps-image-exporter.js" ]
But this is still throwing with _Cannot read properties of undefined (reading 'getImage')_
_Cannot read properties of undefined (reading 'getImage')_
exportMapImage(): void { (atlas as any).MapImageExporter.getImage(this.map).then((mapImg: HTMLImageElement) => { console.log('Map image exported successfully:', mapImg); document.body.appendChild(mapImg); }).catch((error: any) => { console.error('Error exporting map image:', error); }); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I did the following
"styles": [ "node_modules/azure-maps-control/dist/atlas.min.css", "src/styles.scss" ], "scripts": [ "node_modules/azure-maps-control/dist/atlas.min.js", "src/assets/azure-maps-image-exporter.js" ]
But this is still throwing with
_Cannot read properties of undefined (reading 'getImage')_
The text was updated successfully, but these errors were encountered: