APIs
Log In
APIs

Map.getGoogleMap

Returns the Google Map instances encapsulated within the Map object.

See google.maps.Map object specification.

function onYoumapsApiLoaded(){
  console.log("YoumapsAPI loaded!");
  var googleMap = youmasApi.map.getGoogleMap();
}

var mapOptions = {	
  center : new google.maps.LatLng(48.858386, 2.343435), // Paris,
  zoom : 11,
  minZoom : 6,
  maxZoom : 17
};

var youmapsApi = new YoumapsAPI(
  {
    techID : <YOUR_TECH_ID>, 
    initMapboards : true,
    mapDivId : "map",
    mapOptions : mapOptions
  },
  onYoumapsApiLoaded
);