app/src/main/assets/ArchitectWorld/js/fromlocalresource.js
// fired when user pressed maker in cam
fired when user pressed maker in cam
fired when user pressed maker in cam
function onMarkerSelectedFn(marker) {
		World.currentMarker = marker;
		$("#poi-detail-title").html(marker.poiData.title);
		$("#my_image").attr("src", "dummy.jpg");
		$("#my_image").attr("src",marker.poiData.image+"?random="+Math.floor(Math.random()*1000));
		$("#panel-poidetail").panel("open", 123);
		$(".ui-panel-dismiss").unbind("mousedown");
		$("#panel-poidetail").on("panelbeforeclose", function(event, ui) {
			World.currentMarker.setDeselected(World.currentMarker);
		});
	}
function onMarkerSelectedFn ( marker ) { World . currentMarker = marker ; $ ( "#poi-detail-title" ) . html ( marker . poiData . title ) ; $ ( "#my_image" ) . attr ( "src" , "dummy.jpg" ) ; $ ( "#my_image" ) . attr ( "src" , marker . poiData . image + "?random=" + Math . floor ( Math . random ( ) * 1000 ) ) ; $ ( "#panel-poidetail" ) . panel ( "open" , 123 ) ; $ ( ".ui-panel-dismiss" ) . unbind ( "mousedown" ) ; $ ( "#panel-poidetail" ) . on ( "panelbeforeclose" , function ( event , ui ) { World . currentMarker . setDeselected ( World . currentMarker ) ; } ) ; }
fired when user pressed maker in cam
fired when user pressed maker in cam
// update panel values //$("#poi-detail-description").html(marker.poiData.description); //var distanceToUserValue = (marker.distanceToUser > 999) ? ((marker.distanceToUser / 1000).toFixed(2) + " km") : (Math.round(marker.distanceToUser) + " m"); //$("#poi-detail-distance").html(distanceToUserValue); // show panel