ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

How to use geofencing in php?

user-image
تم إضافة السؤال من قبل Jargam Abbas Sayyed Mohammad Azam , Senior Software Developer , Trimax Infrastructure Ltd.
تاريخ النشر: 2016/01/14
Julfkar  Moh Umar
من قبل Julfkar Moh Umar , Sr. Software Engineer , Aakash Edutech Private Limited

This is the grogram to find latitude and longitude .

$filter_address =  "{$address_1'},{$'city'},{$'state'},{$'country'},{$'postcode'}";

$prepAddress = str_replace(' ', '+', $filter_address);

$output = json_decode(file_get_contents("http://maps.google.com/maps/api/geocode/json?address={$prepAddress}&sensor=false"));

$v_lat = $output->results[0]->geometry->location->lat;

$v_long = $output->results[0]->geometry->location->lng;

المزيد من الأسئلة المماثلة

هل تحتاج لمساعدة في كتابة سيرة ذاتية تحتوي على الكلمات الدلالية التي يبحث عنها أصحاب العمل؟