-
Configuration
Declaration
Swift
func configure()
-
Render height for width
Declaration
Swift
func height(for width: CGFloat) -> CGFloat
Parameters
width
width
-
Render map for social sharing
Declaration
Swift
func image(size: CGSize) -> UIImage?
Parameters
size
Expected to be same as full size
-
Rendering
Declaration
Swift
func update( // swiftlint:disable:previous function_body_length map width: CGFloat, visits: [Int] // label: Bool )
Parameters
width
Width
visits
Places visited
-
Updating
Declaration
Swift
func updateLayers(for scale: CGFloat)
Parameters
scale
Current scale