(function($){
//$.fn.jMap.defaults.mapType = "sat";
$('#map').jmap({language:"en"});
$('#map').createMarkerManager();
$('#map').createGeoCache();
//console.log($.jmap);
function searchCallBack(point){
alert(point);
}
$('#addressSearch').click(function(){
$('#map').searchAddress({
address: $('#fromAddress').val(),
cache: $.jmap.GGeoCache, addMarker:false
},null,searchCallBack
);
});
and I tried assigning the result to a variable :
$address = $('#map').searchAddress({
address: $('#fromAddress').val(),
cache: $.jmap.GGeoCache, addMarker:false
}
but there was no love there either.
Any help great fully appreciated!