Taħriġ
Modulu
Shape data in a Power Apps canvas app - Training
When you create a canvas app, do you need to show the user all the data? What if you want to show only the data that is relevant to them? This module will help you address this issue.
Dan il-brawżer m'għadux appoġġjat.
Aġġorna għal Microsoft Edge biex tieħu vantaġġ mill-aħħar karatteristiċi, aġġornamenti tas-sigurtà, u appoġġ tekniku.
This article shows you how to get data of shapes that are drawn on the map. We use the drawingManager.getSource() function inside drawing manager. There are various scenarios when you want to extract geojson data of a drawn shape and use it elsewhere.
The following function gets the drawn shape's source data and outputs it to the screen.
function getDrawnShapes() {
var source = drawingManager.getSource();
document.getElementById('CodeOutput').value = JSON.stringify(source.toJson(), null, ' ');
}
The Get drawn shapes from drawing manager code sample allows you to draw a shape on a map and then get the code used to create those drawings by using the drawing managers drawingManager.getSource()
function. For the source code for this sample, see Get drawn shapes from drawing manager sample code.
Learn how to use other features of the drawing tools module:
Learn more about the classes and methods used in this article:
Taħriġ
Modulu
Shape data in a Power Apps canvas app - Training
When you create a canvas app, do you need to show the user all the data? What if you want to show only the data that is relevant to them? This module will help you address this issue.
Dokumentazzjoni
Add drawing tools toolbar to map
How to add a drawing toolbar to a map using Azure Maps Web SDK
Drawing tools module - Microsoft Azure Maps
This article describes how to set drawing options data using the Microsoft Azure Maps Web SDK
This article demonstrates how to add a drawing toolbar to a map using Microsoft Azure Maps Web SDK