Advertisement


How to export points coordinates in illustrator?


Question

I drew a map of a floor with illustrator. I plan to export this map as .svg and use it in a website, no issue with that. However I would like to place points inside the map that do not represent anything but act as markers that can be used easily while manipulating the svg afterward (for example something that can add a special attribute to the svg path element). Do you have any idea to do it?

2016/08/19
1
0
8/19/2016 3:48:00 PM

Accepted Answer

I have finally found a solution: just name the layers and groups as you like and while exporting illustrator will set the id attribute of the elements to the names you provided.

Illustrator:

enter image description here

Exported svg:

enter image description here

2016/08/20
1
8/20/2016 9:03:00 AM