I have created a map using Maps Engine Lite. After that, I tried to insert it into my webpage, the problem is I need an outer zoom level, but I couldn't get it (using get parameters, like "z" or "zoom"). So I tried to insert it trough Google Maps API. I want to do it from this code:
https://mapsengine.google.com/map/embed?mid=XXXXX
Is there any way to "create" a map with XXXXX as parameter? I tried this, but didn't work for me:
var map;
function initialize() {
var mapOptions = {
zoom: 8,
center: new google.maps.Load('XXXXX'),
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById('map-canvas'),
mapOptions);
}
google.maps.event.addDomListener(window, 'load', initialize);
NOTES: the "div#map-canvas" exists after this script and the library from google was included before this.
PS: Excuse me for my english, my native language is spanish.