Added a little part, getMapKM and getLayerKM.