replaced edgedata reference with data.
implemented zoomlvl.