Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Using SupportMapFragment instead of MapFragment

$
0
0

I am using Xamarin and am learning the SimpleMapDemo sample code for creating a Google Maps application.

The following variable is declared:

private MapFragment _mapFragment;

How can I change this variable to be SupportMapFragment instead of MapFragment?

I am getting this error:

Error CS0246: The type or namespace name 'SupportMapFragment' could not be found (are you missing a using directive or an assembly reference?)

Thanks in advance


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>