title: Map Australia - no oultine
body: <p>Got code from here:</p>
  
  <p><a href="https://stackoverflow.com/questions/37980290/map-australian-cities-r-spatial">Map Australian cities - R spatial</a></p>
  
  <p>But when I run it, it gives the map shown:</p>
  
  <pre><code>library(maps)
  df &lt;- world.cities[world.cities$country.etc == "Australia",]
  
  library(leaflet)
  
  ## define a palette for hte colour
  pal &lt;- colorNumeric(palette = "YlOrRd",
                      domain = df$pop)
  
  
  
  library(leaflet)
  
  ## define a palette for hte colour
  pal &lt;- colorNumeric(palette = "YlOrRd",
                      domain = df$pop)
  
  leaflet(data = df) %&gt;%
      addTiles() %&gt;%
      addCircleMarkers(lat = ~lat, lng = ~long, popup = ~name, 
                       color = ~pal(pop), stroke = FALSE, fillOpacity = 0.6) %&gt;%
      addLegend(position = "bottomleft", pal = pal, values = ~pop)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/4OlXU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4OlXU.png" alt="enter image description here"></a></p>
  
  <p>What am I missing here?</p>