SVG-Floorplan-Editor

Created: 2012-03-20 10:53
Updated: 2018-12-20 18:55

README.markdown

== SVG Floorplan Editor ==

SVGFPE is the editor that allows users of NexGen's to create dynamic floorplans that link directly into the Site data for:

* Static Reports (current style)
* Interactive Site-Level reports

Peter Collingridge has some spot-on javascript interactions, I need to rip these off!

http://www.petercollingridge.co.uk/svg-tutorial/

I can highlight the current element with something like this:

document.getElementsByTagName('path')[0].getBoundingClientRect();

OR

$('path')[0].getBoundingClientRect();

This appears to have a lot of the basics covered

http://www.chittram.com/editor.jsp

Worth remembering:

MUST

	Locations (made up of complex paths)
	Walls (made up of single lines - that's how they are used to doing it)

SHOULD

	Doors, Stairs etc

COULD

	?

Mouse Logic (brainfart)

Clicking background
	Deselect
	Drag-Select
	Select
	Add Point
		Updates sketch item
Clicking sketch (items etc)
	Select (Adds points)
	Drag / Move
Clicking Editor (points etc)
	Move Point
		Updates sketch item
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more