Check documentation for the latest version of dhtmlxSuite attachMap DHTMLX Docs

attachMap

attaches Google Maps to a window

object attachMap( [object opts] );
optsobjectoptional, map options (please, check Google docs for details)
objectgoogle.maps.Map object

Example

var GMaps = myWins.window(id).attachMap();
//or
var mapParams = {
    center: new google.maps.LatLng(40.719837,-73.992348),
    zoom: 11,
    mapTypeId: google.maps.MapTypeId.ROADMAP
};
var GMaps = myWins.window(id).attachMap(mapParams);

Details

Please, check Google docs for details.

Back to top