To add a Google Maps tile layer, you need to first load the Google Maps Javascript API libary into your application web page.
<script src="http://maps.google.com/maps?file=api&v=2&key=[your-Google-Maps-API-key]" type="text/javascript"></script>
Then in your application code, you need to create a MVGoogleTileLayer object and add it to the MVMapView instance.
mapview = new MVMapView(document.getElementById("map"), baseURL); baseMap = new MVGoogleTileLayer() ; mapview.addMapTileLayer(baseMap);
Your application can also invoke the setMapType method to change the map type displayed by the map tile layer.
<a href="javascript:setMapType(MVGoogleTileLayer.TYPE_ROAD)">Road map <a href="javascript:setMapType(MVGoogleTileLayer.TYPE_HYBRID)">Hybrid map <a href="javascript:setMapType(MVGoogleTileLayer.TYPE_SHADED)">Shaded map
Please refer the API doc for more information on how to use the built-in Google Maps tile layer class MVGoogleTileLayer.