#Marker
The diag.addMarker method can be used to add extra information to a given location within the floor plan.
It requires the following parameters:
let point = new m2Diag.Point(-2387.84, -1360.16);
let marker = diag.addMarker(point, '/content/marker.png', 60, 60);
diag.refresh();
This assumes that
posis the position on the floor plan where the marker pointsimgUrlis a custom marker image URL which will be displayed in the diagramwidthandheightspecifies the size of the image
Returns Marker instance
