{"id":57921,"date":"2022-12-31T03:01:08","date_gmt":"2022-12-30T17:01:08","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=57921"},"modified":"2022-12-31T19:42:03","modified_gmt":"2022-12-31T09:42:03","slug":"swift-playgrounds-on-macos-map-geojson-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/swift-playgrounds-on-macos-map-geojson-tutorial\/","title":{"rendered":"Swift Playgrounds on macOS Map GeoJson Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/swift_geojson_playground.gif\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Swift Playgrounds on macOS Map GeoJson Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/swift_geojson_playground.gif\" title=\"Swift Playgrounds on macOS Map GeoJson Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Swift Playgrounds on macOS Map GeoJson Tutorial<\/p><\/div>\n<p>Before we leave the &#8230;<\/p>\n<ul>\n<li><a target=_blank title='Xcode IDE information from Apple' href='https:\/\/developer.apple.com\/technologies\/tools\/'>Xcode<\/a> on macOS &#8230;<\/li>\n<li>File -&gt; New -&gt; Playground&#8230;<\/li>\n<li>Map<\/li>\n<li>Next<\/li>\n<li>Create<\/li>\n<\/ul>\n<p> &#8230; &#8220;where<font size=1> of life<\/font>&#8221; <a target=_blank title='Google Maps' href='http:\/\/maps.google.com'>Google Maps<\/a> or <a target=_blank title='Apple Maps' href='https:\/\/developer.apple.com\/maps\/'>Apple Maps<\/a> ideas of yesterday&#8217;s <a title='Swift Playgrounds on macOS Map Tutorial' href='#sposmt'>Swift Playgrounds on macOS Map Tutorial<\/a> we wanted to further take in the excellence of the advice of <a target=_blank href='https:\/\/www.kodeco.com\/7738344-mapkit-tutorial-getting-started' title='MapKit Tutorial: Getting Started | Kodeco, the new raywenderlich.com'>MapKit Tutorial: Getting Started | Kodeco, the new raywenderlich.com<\/a> and delve into the &#8230;<\/p>\n<ul>\n<li>involvement of public GeoJson PublicArt examples (ours being Geelong &#8230; so if you zoom out to southern Victoria and back in on the colourful colour coded new pins representing Geelong PublicArt locations) &#8230; in conjunction with &#8230;<\/li>\n<li>MKGeoJSONDecoder (to decode GeoJSON data)<\/li>\n<\/ul>\n<p> &#8230; is a great approach to Customising Annotations on your Swift Playground Map desktop application, via Xcode as you can see with <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/MyPlayground.swift-GETME\" title=\"MyPlayground.swift\">our changed<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/MyPlayground.swift-GETME\" title=\"MyPlayground.swift\">MyPlayground.swift<\/a> Swift source code macOS Swift desktop application code &#8230;<\/p>\n<p><code><br \/>\n\/\/: A MapKit based Playground<br \/>\n<br \/>\nimport PlaygroundSupport<br \/>\nimport MapKit<br \/>\n<br \/>\nprivate var artworks: [Artwork] = []<br \/>\n<br \/>\nclass ArtworkMarkerView: MKMarkerAnnotationView {<br \/>\n  override var annotation: MKAnnotation? {<br \/>\n    willSet {<br \/>\n      \/\/ 1<br \/>\n      guard let artwork = newValue as? Artwork else {<br \/>\n        return<br \/>\n      }<br \/>\n      canShowCallout = true<br \/>\n      calloutOffset = CGPoint(x: -5, y: 5)<br \/>\n      \/\/rightCalloutAccessoryView = UIButton(type:<br \/>\n      \/\/          .detailDisclosure)<br \/>\n<br \/>\n      \/\/ 2<br \/>\n      markerTintColor = artwork.markerTintColor<br \/>\n      if let letter = artwork.art_type?.first {<br \/>\n        glyphText = String(letter)<br \/>\n      }<br \/>\n    }<br \/>\n  }<br \/>\n}<br \/>\n<br \/>\nclass Artwork: NSObject, MKAnnotation {<br \/>\n  let title: String?<br \/>\n  let locationName: String?<br \/>\n  let art_type: String?<br \/>\n  let coordinate: CLLocationCoordinate2D<br \/>\n<br \/> <br \/>\n  var markerTintColor: NSColor  {<br \/>\n      switch art_type {<br \/>\n      case \"Monument\":<br \/>\n        return .red<br \/>\n      case \"Mural\":<br \/>\n        return .cyan<br \/>\n      case \"Plaque\":<br \/>\n        return .blue<br \/>\n      case \"Fountain\":<br \/>\n        return .yellow<br \/>\n      case \"Sculpture\":<br \/>\n        return .purple<br \/>\n      case \"Art\":<br \/>\n        return .magenta<br \/>\n      default:<br \/>\n        return .green<br \/>\n      }<br \/>\n  }<br \/>\n<br \/> <br \/>\n  init(<br \/>\n    title: String?,<br \/>\n    locationName: String?,<br \/>\n    art_type: String?,<br \/>\n    coordinate: CLLocationCoordinate2D<br \/>\n  ) {<br \/>\n    self.title = title<br \/>\n    self.locationName = locationName<br \/>\n    self.art_type = art_type<br \/>\n    self.coordinate = coordinate<br \/>\n<br \/>\n    super.init()<br \/>\n  }<br \/>\n<br \/>\n    init?(feature: MKGeoJSONFeature) {<br \/>\n      \/\/ 1<br \/>\n      guard<br \/>\n        let point = feature.geometry.first as? MKPointAnnotation,<br \/>\n        let propertiesData = feature.properties,<br \/>\n        let json = try? JSONSerialization.jsonObject(with: propertiesData),<br \/>\n        let properties = json as? [String: Any]<br \/>\n        else {<br \/>\n          return nil<br \/>\n      }<br \/>\n<br \/>\n      \/\/ 3<br \/>\n      title = properties[\"name\"] as? String<br \/>\n      locationName = properties[\"descriptio\"] as? String<br \/>\n      art_type = properties[\"art_type\"] as? String<br \/>\n      coordinate = point.coordinate<br \/>\n      super.init()<br \/>\n    }<br \/>\n<br \/> <br \/>\n  var subtitle: String? {<br \/>\n    return locationName<br \/>\n  }<br \/>\n}<br \/>\n<br \/>\nprivate func loadInitialData() {<br \/>\n  \/\/ 1<br \/>\n  guard<br \/>\n    let fileName = Bundle.main.url(forResource: \"PublicArt\", withExtension: \"geojson\"),<br \/>\n    let artworkData = try? Data(contentsOf: fileName)<br \/>\n    else {<br \/>\n     return<br \/>\n  }<br \/>\n<br \/>\n  do {<br \/>\n    \/\/ 2<br \/>\n    let features = try MKGeoJSONDecoder()<br \/>\n      .decode(artworkData)<br \/>\n      .compactMap { $0 as? MKGeoJSONFeature }<br \/>\n    \/\/ 3<br \/>\n    let validWorks = features.compactMap(Artwork.init)<br \/>\n    \/\/ 4<br \/>\n    artworks.append(contentsOf: validWorks)<br \/>\n  } catch {<br \/>\n    \/\/ 5<br \/>\n    print(\"Unexpected error: \\(error).\")<br \/>\n  }<br \/>\n}<br \/>\n<br \/>\nlet chatswoodCoordinates = CLLocationCoordinate2DMake(-33.8009948,151.1664372)<br \/>\n<br \/>\n\/\/ Now let's create a MKMapView<br \/>\nlet mapView = MKMapView(frame: CGRect(x:0, y:0, width:800, height:800))<br \/>\n<br \/>\n\/\/ Define a region for our map view<br \/>\nvar mapRegion = MKCoordinateRegion()<br \/>\n<br \/>\nlet mapRegionSpan = 0.001<br \/>\nmapRegion.center = chatswoodCoordinates<br \/>\nmapRegion.span.latitudeDelta = mapRegionSpan<br \/>\nmapRegion.span.longitudeDelta = mapRegionSpan<br \/>\n<br \/>\nmapView.setRegion(mapRegion, animated: true)<br \/>\n<br \/>\n\/\/ Create a map annotation<br \/>\nlet annotation = MKPointAnnotation()<br \/>\nannotation.coordinate = chatswoodCoordinates<br \/>\nannotation.title = \"Chatswood\"<br \/>\nannotation.subtitle = \"Greville\"<br \/>\n<br \/>\nmapView.addAnnotation(annotation)<br \/>\n<br \/>\n\/\/ Show artwork on map<br \/>\nlet artwork = Artwork(<br \/>\n  title: \"The Cheesetree\",<br \/>\n  locationName: \"Santa Clause Lane\",<br \/>\n  art_type: \"Nature, like\",<br \/>\n  coordinate: CLLocationCoordinate2D(latitude: -33.8010376, longitude: 151.1663819))<br \/>\n<br \/>\nmapView.addAnnotation(artwork)<br \/>\n<br \/>\nloadInitialData()<br \/>\nmapView.addAnnotations(artworks)<br \/>\n<br \/>\nmapView.register(<br \/>\n  ArtworkMarkerView.self,<br \/>\n  forAnnotationViewWithReuseIdentifier:<br \/>\n    MKMapViewDefaultAnnotationViewReuseIdentifier)<br \/>\n<br \/>\n\/\/ Add the created mapView to our Playground Live View<br \/>\nPlaygroundPage.current.liveView = mapView<br \/>\n<\/code><\/p>\n<p> &#8230; that goes along with our adding into our Playground project&#8217;s Resources a file called PublicArt.geojson downloaded via <a target=_blank title='Geelong PublicArt.geojson, thanks' href='https:\/\/data.gov.au\/dataset\/ds-dga-cff8c6aa-8ed4-4562-987b-cacc728eb914\/details'>this webpage<\/a>, thanks everybody!<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/swift-playgrounds-on-macos-map-geojson-tutorial\/'>Swift Playgrounds on macOS Map GeoJson Tutorial<\/a>.<\/p-->\n<hr>\n<p id='sposmt'>Previous relevant <a target=_blank title='Swift Playgrounds on macOS Map Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/swift-playgrounds-on-macos-map-tutorial\/'>Swift Playgrounds on macOS Map Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/swift_new_playground.gif\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Swift Playgrounds on macOS Map Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/swift_new_playground.gif\" title=\"Swift Playgrounds on macOS Map Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Swift Playgrounds on macOS Map Tutorial<\/p><\/div>\n<p>Are you looking for &#8230;<\/p>\n<ul>\n<li>informal &#8230; but &#8230;<\/li>\n<li><a target=_blank title='Integrated Development Environment information from Wikipedia ... thanks' href='https:\/\/en.wikipedia.org\/wiki\/Integrated_development_environment'>IDE<\/a> based compiling &#8230;<\/li>\n<li>Swift &#8230; code based &#8230;<\/li>\n<li>macOS or iOS &#8230; suiting &#8230;<\/li>\n<\/ul>\n<p> &#8230; programming environment?   How about, if you are into the &#8220;where of&#8221; in life &#8230;<\/p>\n<ul>\n<li><a target=_blank title='Xcode IDE information from Apple' href='https:\/\/developer.apple.com\/technologies\/tools\/'>Xcode<\/a> on macOS &#8230;<\/li>\n<li>File -&gt; New -&gt; Playground&#8230;<\/li>\n<li>Map<\/li>\n<li>Next<\/li>\n<li>Create<\/li>\n<\/ul>\n<p>Now, by informal, we mean you don&#8217;t have to worry about Development or Deployment certificates, and all that jazz.  You just get to &#8220;play around&#8221;, make mistakes, take advice, and learn (more, on top of tutorials like <a title='Swift Playgrounds on iPad Primer Tutorial' href='#spppt'>Swift Playgrounds on iPad Primer Tutorial<\/a>) about Swift programming language, in the process!<\/p>\n<p>We had fun producing a macOS Swift playground desktop application that featured one local &#8220;Artwork&#8221; class (default) pin<font size=1>ning<\/font> map item, thanks to the great advice from <a target=_blank href='https:\/\/www.kodeco.com\/7738344-mapkit-tutorial-getting-started' title='MapKit Tutorial: Getting Started | Kodeco, the new raywenderlich.com'>MapKit Tutorial: Getting Started | Kodeco, the new raywenderlich.com<\/a> &#8230; thanks.  We ended up with &#8230;<\/p>\n<p><code><br \/>\n\/\/: A MapKit based Playground<br \/>\n<br \/>\nimport MapKit<br \/>\nimport PlaygroundSupport<br \/>\n<br \/>\nclass Artwork: NSObject, MKAnnotation {<br \/>\n  let title: String?<br \/>\n  let locationName: String?<br \/>\n  let discipline: String?<br \/>\n  let coordinate: CLLocationCoordinate2D<br \/>\n<br \/>\n  init(<br \/>\n    title: String?,<br \/>\n    locationName: String?,<br \/>\n    discipline: String?,<br \/>\n    coordinate: CLLocationCoordinate2D<br \/>\n  ) {<br \/>\n    self.title = title<br \/>\n    self.locationName = locationName<br \/>\n    self.discipline = discipline<br \/>\n    self.coordinate = coordinate<br \/>\n<br \/>\n    super.init()<br \/>\n  }<br \/>\n<br \/>\n  var subtitle: String? {<br \/>\n    return locationName<br \/>\n  }<br \/>\n}<br \/>\n<br \/>\nlet chatswoodCoordinates = CLLocationCoordinate2DMake(-33.8009948,151.1664372)<br \/>\n<br \/>\n\/\/ Now let's create a MKMapView<br \/>\nlet mapView = MKMapView(frame: CGRect(x:0, y:0, width:800, height:800))<br \/>\n<br \/>\n\/\/ Define a region for our map view<br \/>\nvar mapRegion = MKCoordinateRegion()<br \/>\n<br \/>\nlet mapRegionSpan = 0.001<br \/>\nmapRegion.center = chatswoodCoordinates<br \/>\nmapRegion.span.latitudeDelta = mapRegionSpan<br \/>\nmapRegion.span.longitudeDelta = mapRegionSpan<br \/>\n<br \/>\nmapView.setRegion(mapRegion, animated: true)<br \/>\n<br \/>\n\/\/ Create a map annotation<br \/>\nlet annotation = MKPointAnnotation()<br \/>\nannotation.coordinate = chatswoodCoordinates<br \/>\nannotation.title = \"Chatswood\"<br \/>\nannotation.subtitle = \"Greville\"<br \/>\n<br \/>\nmapView.addAnnotation(annotation)<br \/>\n<br \/>\n\/\/ Show artwork on map<br \/>\nlet artwork = Artwork(<br \/>\n  title: \"The Cheesetree\",<br \/>\n  locationName: \"Santa Clause Lane\",<br \/>\n  discipline: \"Nature, like\",<br \/>\n  coordinate: CLLocationCoordinate2D(latitude: -33.8010376, longitude: 151.1663819))<br \/>\n<br \/>\nmapView.addAnnotation(artwork)<br \/>\n<br \/>\n\/\/ Add the created mapView to our Playground Live View<br \/>\nPlaygroundPage.current.liveView = mapView<br \/>\n<\/code><\/p>\n<p> &#8230; in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/Xcode\/MyPlayground.swift_GETME\" title=\"MyPlayground.swift\">MyPlayground.swift<\/a> Swift source code macOS Swift desktop application code.<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/new-swift-playgrounds-on-ipad-primer-tutorial\/'>Swift Playgrounds on iPad Primer Tutorial<\/a>.<\/p-->\n<hr>\n<p id='spppt'>Previous relevant <a target=_blank title='Swift Playgrounds on iPad Primer Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/swift-playgrounds-on-ipad-primer-tutorial\/'>Swift Playgrounds on iPad Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/iPad\/ipad_ide.pdf\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Swift Playgrounds on iPad Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/iPad\/ipad_ide.jpg\" title=\"Swift Playgrounds on iPad Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Swift Playgrounds on iPad Primer Tutorial<\/p><\/div>\n<p>Generally speaking around here, we tend to think you need at least a laptop (eg. MacBook Pro) or desktop computer PC (macOS or Windows) or Linux operating system arrangement, to (computer) program <font size=1>(in other words, the iOS operating system is a missing part of the equation here)<\/font>.  That has led us to <a target=_blank title='?' href='https:\/\/adventuresinjournalism.substack.com\/p\/check-yourself'><i>ass<\/i>u<b>me<\/b><\/a> more than we know, though looking into this topic via our <a target=_blank title='Google' href='https:\/\/google.com'>Google<\/a> search of &#8230;<\/p>\n<p><code><br \/>\n<a target=_blank title='ide for ipad' href='https:\/\/www.google.com\/search?q=ide+for+ipad&#038;rlz=1C5CHFA_enAU832AU832&#038;oq=ide+for+ipad&#038;aqs=chrome..69i57j0l3j0i395j0i22i30i395l5.3429j1j4&#038;sourceid=chrome&#038;ie=UTF-8'>ide for ipad<\/a><br \/>\n<\/code><\/p>\n<p> &#8230; had us first looking into Python via &#8220;pythonista&#8221;, but the $14.99 price tag was far too much for us to absorb so early in the morning, and a warning that exclusive &#8220;above the fold&#8221; reading can have you suffer from (FOMO) &#8220;fear of missing out&#8221; syndrome.  Reading, then, below the fold, soon turned up the <a target=_blank title='Xcode information from Apple' href='https:\/\/developer.apple.com\/xcode\/'>Xcode<\/a> IDE (we have on macOS, here, and appears &#8220;above the fold&#8221; regarding blurb actions above) programming language of choice, Swift, with its <a target=_blank title='Apple' href='https:\/\/apple.com'>Apple<\/a> iPad place &#8230;<\/p>\n<p><code><br \/>\n<a target=_blank title='Swift Playgrounds' href='https:\/\/www.apple.com\/au\/swift\/playgrounds\/'>Swift Playgrounds<\/a><br \/>\n<\/code><\/p>\n<p> &#8230; as a great resource into programming and &#8220;robotics feeling&#8221; coding leading to &#8220;programming action&#8221;!   And the presentation may well suit young&#8217;uns getting into programming early, if that&#8217;s why you are reading this blog posting.  As Swift Playgrounds starts out intimating, to &#8220;follow a recipe&#8221; and perform &#8220;steps in order&#8221; is likely to lead to the happiest programming and coding experience <font size=1>(to put it mildly &#8230; or &#8230; <\/font><font size=6>just follow orders<\/font><font size=4> &#8230; initially<\/font><font size=2> &#8230; to put it more bluntly<\/font><font size=1>)<\/font>.<\/p>\n<p>Curiosity is the big key here.  Start this way, and invariably if it interests, it interests, and could lead to many other avenues of knowledge, and it involving the Swift computer language, that could be a lead in to iOS mobile app development via Xcode and (paying, or not) careers in Information Technology?!<\/p>\n<p>Or perhaps you are on an iPad and wish to fork out the $14.99 and get into Python, then that would be <a target=_blank title='?' href='https:\/\/www.youtube.com\/watch?v=krD4hdGvGHM'>interesting<\/a> too, we have no doubt.  Either way, see how we R&#038;D<font size=1>&#8216;ed<\/font> this topic, on an iPad, with today&#8217;s <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/iPad\/ipad_ide.pdf\" title=\"Click picture\">PDF presentation<\/a> <font size=1>(dare we say)<\/font> <font size=4>following orders<\/font>.<\/p>\n<p>We&#8217;ve also heard, but have not researched this, that Apple is making changes with iPad products into the future, to improve their programming capacities.  Stay tuned, <a onclick=\"alert('We shall still be striking an assume macOS pose!  For now.');\" style=\"cursor:pointer;text-decoration:underline;\">with Apple<\/a>, on that.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d51031' onclick='var dv=document.getElementById(\"d51031\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/ipad\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d51031' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d57904' onclick='var dv=document.getElementById(\"d57904\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/swift\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d57904' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d57921' onclick='var dv=document.getElementById(\"d57921\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/json\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d57921' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Before we leave the &#8230; Xcode on macOS &#8230; File -&gt; New -&gt; Playground&#8230; Map Next Create &#8230; &#8220;where of life&#8221; Google Maps or Apple Maps ideas of yesterday&#8217;s Swift Playgrounds on macOS Map Tutorial we wanted to further take &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/swift-playgrounds-on-macos-map-geojson-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,29,33,37],"tags":[3456,1832,91,3809,96,170,224,3374,4191,241,4200,319,4198,1726,527,585,664,684,719,2178,745,4201,4190,997,4199,1227,1319,2580,1473],"class_list":["post-57921","post","type-post","status-publish","format-standard","hentry","category-elearning","category-operating-system","category-software","category-tutorials","tag-annotate","tag-annotation","tag-apple","tag-apple-maps","tag-application","tag-build","tag-colour","tag-colour-coding","tag-compilation","tag-compile","tag-customise","tag-desktop","tag-geojson","tag-google-map","tag-google-maps","tag-ide","tag-json","tag-latitude","tag-longitude","tag-macos","tag-map","tag-mkgeojsondecoder","tag-playground","tag-programming","tag-public-data","tag-swift","tag-tutorial","tag-where","tag-xcode"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/57921"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=57921"}],"version-history":[{"count":6,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/57921\/revisions"}],"predecessor-version":[{"id":57943,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/57921\/revisions\/57943"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=57921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=57921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=57921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}