Any Idea Of Getting Latitude And Longitude Values From An Address

hi guys, i am using egmaps extension for google maps in yii but i can’t get the latitude and longitude values from a user input address, is there any function to which we pass address and it return latitude and longitude if any one have idea plz share… tnx

tnx i found it in egmaps here it is,

$sample_address = ‘abpara islamabad pakistan’;

		$geocoded_address = new EGMapGeocodedAddress($sample_address);