@ -67,6 +67,7 @@ function getLinkAndIframe() {
e _startzoomadjust = document . getElementById ( 'embed-startzoomadjust' ) ,
e _startzoomadjust = document . getElementById ( 'embed-startzoomadjust' ) ,
e _startatslide = document . getElementById ( 'embed-startatslide' ) ,
e _startatslide = document . getElementById ( 'embed-startatslide' ) ,
e _debug = document . getElementById ( 'embed-debug' ) ,
e _debug = document . getElementById ( 'embed-debug' ) ,
e _googlemapkey = document . getElementById ( 'embed-googlemapkey' ) ,
start _at _end = false ,
start _at _end = false ,
hash _bookmark = false ,
hash _bookmark = false ,
is _debug = false ,
is _debug = false ,
@ -130,6 +131,10 @@ function getLinkAndIframe() {
wp += "debug='" + is _debug + "' " ;
wp += "debug='" + is _debug + "' " ;
}
}
if ( e _googlemapkey . value != "" ) {
wp += "gmap_key='" + e _googlemapkey . value + "' " ;
}
if ( parseInt ( e _startatslide . value , 10 ) > 0 ) {
if ( parseInt ( e _startatslide . value , 10 ) > 0 ) {
wp += "start_at_slide='" + parseInt ( e _startatslide . value , 10 ) + "' " ;
wp += "start_at_slide='" + parseInt ( e _startatslide . value , 10 ) + "' " ;
}
}
@ -164,7 +169,11 @@ function getLinkAndIframe() {
if ( parseInt ( e _startzoomadjust . value , 10 ) > 0 ) {
if ( parseInt ( e _startzoomadjust . value , 10 ) > 0 ) {
vars += "&start_zoom_adjust=" + parseInt ( e _startzoomadjust . value , 10 ) ;
vars += "&start_zoom_adjust=" + parseInt ( e _startzoomadjust . value , 10 ) ;
}
}
if ( e _googlemapkey . value != "" ) {
vars += "&gmap_key=" + e _googlemapkey . value ;
}
if ( e _width . value > 0 ) {
if ( e _width . value > 0 ) {
vars += "&width=" + e _width . value ;
vars += "&width=" + e _width . value ;
}
}