For the drawing part I am not sure about ASP.Net but WPF offers a wealth of 2D and 3D drawing tools via different
Canvas objects.
Maybe there is something similar in ASP.Net (if you re not interested in producing a desktop/UWP app):
ASP.NET and HTML 5 Canvas - Draw Images and Save in ASP.NET Image Object[
^]
Your second question:
second how i can calculate the distance between two counters and how to show the direction from starting point.
is more difficult to answer and almost impossible to determine if you do not show your data model. You obviously have to ensure first that you store and retrieve the data about your building in such a structure (eg. relational database) that you can resolve these questions - otherwise, building a UI for a non-existing data store seems rather useless :-(
So, I'd probably look at the existing data, re-factor it such that questions like shortest distance etc can be answered... then sit down and develope a console app or unit tests to ensure these questions can be answered, and only then, when I am confident about the data model I'd go ahead and look into the UI side of things...