title: How to change the map type of folium map library to Satelite or Terrain etc?
body: <p>I am using folium to display the sentiment values of tweet dataset throughout the area. However, I want to change the map type like Satelite, Terrain etc for folium map types. Currently I am using below code snippet to display the simple map with sentiment values.</p>
  <pre><code>import folium  # plotting the coordinates on the map
  
  # now making a data-frame with markers to show on the map
      data = pd.DataFrame({
          'lat': latitudes,
          'lon': longitudes,
          'name': places,
          'sentiment': sentiments,
      })
      # now make an empty map
      m = folium.Map(location=[20, 0], zoom_start=2)
      # popup will be used when a particular marker will be clicked,
      # it will display the sentiment value along with the corresponding place
  
      for j in range(0, len(data)):
          try:
              if data.iloc[j]['sentiment'] &gt; 0:
                  folium.Marker([data.iloc[j]['lat'], data.iloc[j]['lon']],
                                popup=&quot;Sentiment :  &quot; + str(round(data.iloc[j]['sentiment'], 3)) + &quot; \nLocation :&quot; + str
                                (data.iloc[j]['name']),
                                icon=folium.Icon(color='green')).add_to(m)
              elif data.iloc[j]['sentiment'] &lt; 0:
                  folium.Marker([data.iloc[j]['lat'], data.iloc[j]['lon']],
                                popup=&quot;Sentiment :  &quot; + str(round(data.iloc[j]['sentiment'], 3)) + &quot; \nLocation: &quot; + str
                                (data.iloc[j]['name']),
                                icon=folium.Icon(color='red')).add_to(m)
              else:
                  folium.Marker([data.iloc[j]['lat'], data.iloc[j]['lon']],
                                popup=&quot;Sentiment :  &quot; + str(round(data.iloc[j]['sentiment'], 3)) + &quot; \nLocation : &quot; + str
                                (data.iloc[j]['name']),
                                icon=folium.Icon(color='blue')).add_to(m)
          except:
              # print(&quot;error&quot;+str(j))
              pass
      m.save(list_sheetnames_geo[i] + &quot;_geo.html&quot;)
  </code></pre>
  <p>What changes will be required in the code to support different map types?</p>