Skip to content
Monday, June 16, 2025
  • 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

  • 5 Best Free Icons Download Websites with No Attribution Required
  • 5 Best Open Source Human Resource Management Software Systems using PHP and MySql
  • PHP Mysql Visitor Counter Script
  • 10 Best YouTube Channels to Learn Web Development Programming
  • How to Get/Create Google Analytics HeatMap Plugin on Websites or Blogs
| Editorial by MysteryThemes.