invalidatePath()
Updates the path associated with the overlay renderer.
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.