attaches Google Maps to a tab
opts | object | optional, map options (please, check Google docs for details) |
object | google.maps.Map object |
var GMaps = myTabbar.tabs(id).attachMap();
//or
var mapParams = {
center: new google.maps.LatLng(40.719837,-73.992348),
zoom: 11,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var GMaps = myTabbar.tabs(id).attachMap(mapParams);
Please, check Google docs for details.
Back to top