read only stuff
converted mappoints and mappolygons to be subclasses of the abstract base class mapelement