updating the swf and the resourcedetailsurl. also, added the getmaptitleanddesc function