Added methods to transform screen coordinates into map coordinates