Turning a Site Plan image into an offline map for the Gateway