mirador
mirador copied to clipboard
Displaying Annotations with SVG selectors
Currently, can only get rectangles and SVG path displayed correctly. However, other SVG shapes are not showing outlines in Mirador.
Example selector values:
Circles
"selector": {
"type": "SvgSelector",
"value": "<svg><circle cx=\"711.9518432617188\" cy=\"1822.427490234375\" r=\"248.37626687954497\"></circle></svg>"
}
Ellipses
"selector": {
"type": "SvgSelector",
"value": "<svg><ellipse cx=\"3476.093994140625\" cy=\"1242.9108276367188\" rx=\"400.323974609375\" ry=\"175.38006591796875\"></ellipse></svg>"
}
Polygons
"selector": {
"type": "SvgSelector",
"value": "<svg><polygon points=\"2611.90234375,2079.505615234375 3570.349853515625,2211.8876953125 3501.51123046875,2370.74658203125 3294.994873046875,2524.31005859375 2770.760986328125,2450.17578125 2596.016357421875,2254.25\"></polygon></svg>"
}
Are these shapes supported in Mirador 3?