Add custom getKeyXYZ function in tiledwmssource