Commit 778498a4 authored by A.P.R.C. Abeyrathna's avatar A.P.R.C. Abeyrathna

HomeMap V4

parent 2f525670
...@@ -32,6 +32,7 @@ public class HomeMap extends FragmentActivity implements OnMapReadyCallback { ...@@ -32,6 +32,7 @@ public class HomeMap extends FragmentActivity implements OnMapReadyCallback {
binding = ActivityHomeMapBinding.inflate(getLayoutInflater()); binding = ActivityHomeMapBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot()); setContentView(binding.getRoot());
// Obtain the SupportMapFragment and get notified when the map is ready to be used. // Obtain the SupportMapFragment and get notified when the map is ready to be used.
SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager() SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager()
.findFragmentById(R.id.map); .findFragmentById(R.id.map);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment