Skip to content
Saturday, April 01, 2023
  • Online Tools
  • Online EMI Calculator
  • Email Address Extractor
  • Virtual Coin Toss
  • Website Up or Down
  • Multi URL Opener
  • Coupons

TechFolks.net

Tutorials | Themes | Tools

  • Home
  • General
  • Open Source
  • Templates ▼
    • Bootstrap Themes
  • Tips&Tricks
  • SEO
  • PHP
  • Mysql
  • Linux
  • Js

Google Maps API

Google Maps API

Get Google Maps API Address based on Address

November 8, 2015viveikComment(0)

$url = “http://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=”.urlencode($resident_address); $lat_long = get_object_vars(json_decode(file_get_contents($url)));// pick out what we need (lat,lng)$lat = $lat_long[‘results’][0]->geometry->location->lat;$lng =$lat_long[‘results’][0]->geometry->location->lng; /*echo $lat;echo $lng;*/

Recent Posts

  • How to Get/Create Google Analytics HeatMap Plugin on Websites or Blogs
  • How to Know Adsense Earning of an Article or a Blog Page?
  • 5 Best Open Source Human Resource Management Software Systems using PHP and MySql
  • How to Create Ical File to Work on Outlook, Google Calendar and Mac Icalendar
  • PHP Mysql Visitor Counter Script
| Editorial by MysteryThemes.