Update example to use MapPane#getWorldToScreenTransform

The old API has been removed? Observed in v12.