title: Google Maps not displaying markers in android kotlin
body: <p>I'm trying to use the google maps api into an app as a school project, my problem is, the map is not displaying fully and correctly, only one part of the map is displayed, the part in Australia,
  I'm unsure where the issue is as that I have followed the documentation on adding a google map to your android app.</p>
  <p>Manifest :</p>
  <pre><code> &lt;meta-data
          android:name=&quot;com.google.android.geo.API_KEY&quot;
          android:value=&quot;@string/google_maps_key&quot; /&gt;
  </code></pre>
  <p>Google maps activity :</p>
  <pre><code>package com.example.mini_projet.views
  
  import androidx.appcompat.app.AppCompatActivity
  import android.os.Bundle
  import android.util.Log
  import com.example.mini_projet.R
  import com.google.android.gms.maps.CameraUpdateFactory
  import com.google.android.gms.maps.GoogleMap
  import com.google.android.gms.maps.OnMapReadyCallback
  import com.google.android.gms.maps.SupportMapFragment
  import com.google.android.gms.maps.model.LatLng
  import com.google.android.gms.maps.model.MarkerOptions
  
  class MapsActivity : AppCompatActivity(), OnMapReadyCallback {
  
      private lateinit var mMap: GoogleMap
  
  
      override fun onCreate(savedInstanceState: Bundle?) {
          super.onCreate(savedInstanceState)
          setContentView(R.layout.activity_maps)
  
  
      //    binding = ActivityMapsBinding.inflate(layoutInflater)
       //   setContentView(binding.root)
  
          // Obtain the SupportMapFragment and get notified when the map is ready to be used.
          val mapFragment = supportFragmentManager
              .findFragmentById(R.id.map) as SupportMapFragment
          mapFragment.getMapAsync(this)
  
  
      }
  
      /**
       * Manipulates the map once available.
       * This callback is triggered when the map is ready to be used.
       * This is where we can add markers or lines, add listeners or move the camera. In this case,
       * we just add a marker near Sydney, Australia.
       * If Google Play services is not installed on the device, the user will be prompted to install
       * it inside the SupportMapFragment. This method will only be triggered once the user has
       * installed Google Play services and returned to the app.
       */
      override fun onMapReady(googleMap: GoogleMap) {
  
          val bundle = getIntent().extras
          if (bundle != null) {
              intent.putExtras(bundle);
          }
          val longitude = intent.getDoubleExtra(&quot;Longitude&quot;,0.0)
          val latitude = intent.getDoubleExtra(&quot;Latitude&quot;,0.0)
         // val zindex = intent.getFloatExtra(&quot;zoomindex&quot;,0.0f)
          Log.d(&quot;longitude: &quot;+longitude,&quot;latitude :&quot;+latitude)
          val Restitle = intent.getStringExtra(&quot;Title&quot;)
  
        //  Log.d(&quot;zindeix&quot;,zindex.toString())
  
  
  
          mMap = googleMap
          val restaurant = LatLng(latitude,longitude)
          Log.d(&quot;rest&quot;,restaurant.toString())
          mMap.addMarker(MarkerOptions().position(restaurant).title(&quot;Marker in &quot;))
          mMap.moveCamera(CameraUpdateFactory.newLatLng(restaurant))
  
          // Add a marker in Sydney and move the camera
         // val sydney = LatLng(-34.0, 151.0)
        //  mMap.addMarker(MarkerOptions().position(sydney).title(&quot;Marker in Sydney&quot;))
         // mMap.moveCamera(CameraUpdateFactory.newLatLng(sydney))
      }
  }
  </code></pre>
  <p>I have also added my key to properties file and added the dependencies and plugins to the build.gradle</p>
  <p>I'm unsure whatelse I can do, Thank you.</p>
  <p>Ps: bare in mind that I'm still fairly new to android dev and kotlin.</p>