Updates the path associated with the overlay renderer.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.2+
Framework
- Map
Kit
Declaration
func invalidatePath()
Discussion
Call this method when a change in the path information would require you to recreate the overlay’s path. This method sets the path
property to nil
and tells the overlay renderer to redisplay its contents.