double posY = (Double) markerMap.get("posY");
double posZ = (Double) markerMap.get("posZ");
double dim = (Double) markerMap.get("dim");
double side = (Double) markerMap.get("side");
double color = (Double) markerMap.get("color");
return new Marker((int) posX, (int) posY, (int) posZ, (int) dim, (byte) side, (byte) color);
}