06.02.2018, 12:10
(This post was last modified: 06.02.2018, 12:13 by Erwin van der Zwart.)
Hi Uwe,
Hmm that is strange as the script should request the actual object values on start..
Try adding this to the custom JS also:
BR,
Erwin
Hmm that is strange as the script should request the actual object values on start..
Try adding this to the custom JS also:
Code:
$(function(){
if (typeof grp != 'undefined') {
var LON = grp.getvalue('40/1/15') || 0;
var LAT = grp.getvalue('40/1/16') || 0;
var ZOOM = grp.getvalue('40/1/17') || 15;
$('.position').find('iframe').attr('src', 'http://osmand.net/go.html?lat=' + LAT + '&lon=' + LON + '&z=' + ZOOM);
}
});
Erwin