How to export points coordinates in illustrator?


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?

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.


enter image description here

Exported svg:

enter image description here

8/20/2016 9:03:00 AM