mapedit work

-completed poi support (rectangle and polygon)
-added some nifty math/geometry to recreate rect based on two points