Replaced convertCoords with mapPixelToCoords and mapCoordsToPixel