Google map detection ( LONGITUDE and LATITUDE)

GooglemapGeo = {
init: function() {

  $lat_num = $_POST['lat1'];
  $lng_num1 = $_POST['lng1'];

<input type="hidden" value="" name="lat1" />
<input type="hidden" value="" name="lng1" />

I like to detect LONGITUDE and LATITUDE using Google V3.

Is this correct one as numbers are not received (empty)?

Need help. Is it possible to receive feedback?

Best I can do is provide a link.
Google maps v3 documentation is very poor in many areas.

This map has a ton of useful information and you should be able get your answer from it.
Click the small link at the top to view as administrator, then click anywhere on the map and it has the lat and lon in the info box.

BTW, the old style infobox doesn’t exist in v3 so you have to make your own.

Take whatever you want from the map, hope this helps.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.