Check documentation for the latest version of dhtmlxSuite Attaching Google Maps DHTMLX Docs

Attaching Google Maps

There's a possibility to attach Google Maps to a tab.

Firstly, include the corresponding JS file on your page:

<script type="text/javascript" 

Then initialize a tab with a map inside of the page:

var GMaps = myTabbar.tabs("b").attachMap(); // applies default parameters
// 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);

Related sample:  Integration with Google Maps

Back to top