MapView added to
MapView and three buttons to switch the map mode. In
onCreate set to the initial view of the map display like this:
But this is not suitable for changing the display by pressing the buttons, since there is only
I found the
setMapType(int type) method in which the
type can be
MAP_TYPE_NORMAL , MAP_TYPE_SATELLITE`, but I do not understand how to use it.
Tell me how to create your own controls that are responsible for changing the type of cards?