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