ffnord / ffmap-backend

THIS PROJECT DOESN'T HAVE A MAINTAINER!
Other
20 stars 56 forks source link

make ids svg friendly #2

Closed johnyb closed 12 years ago

johnyb commented 12 years ago

The id attribute is used as an id for an svg element. W3C states, these ids must not start with a number (hence a prefix is added) and must not contain colons.

The advantage of this is, that nodes in a document containing elements with these ids can be selected using their id with CSS selectors. This is not possible within the current map.

johnyb commented 12 years ago

also obsolete since https://github.com/tcatm/ffmap-d3/commit/153b94bb02d827f916d89378dd1b1bf704b7439c