[View] [Edit] [Lock] [References] [Attachments] [History] [Home] [Changes] [Search] [Help]
api[apple,MapKit] MKPlacemark code
(Smalltalk includesKey: #CLPlacemark) ifTrue: [
CLPlacemark subclass: #MKPlacemark category: #MapKit.
] ifFalse: [ self error: 'MKPlacemark require CoreLocation framework' ]!
! MKPlacemark class methodsFor: #instantiation !
withCoordinate: coordinate addressDictionary: addressDictionary
^self @ (self nativeClass
instanceWithCoordinate: coordinate handle
addressDictionary: addressDictionary json)! !
MKPlacemark buildGetters: #( countryCode )!