This topic is locked
[SOLVED]

 Google maps latitude and longitude from other side

6/23/2011 7:25:59 AM
PHPRunner General questions
R
Rigmantas author

Hi,

I want longitude and latitude extract from one fields, create variables and put to google map.

Is it possible?

This:

// name of field in table that used as latitude for map

$mapSettings["latField"] =

// name of field in table that used as longitude for map

$mapSettings["lngField"] = [color="#006400"]"longitude";

change to:

// name of field in table that used as latitude for map

$mapSettings["latField"] = ;

// name of field in table that used as longitude for map

$mapSettings["lngField"] = [color="#FFA500"]$long;


or other way?

Many thanks,

Rimantas

C
cgphp 6/23/2011

Rigmanta,
I think that a custom field could help you to find a solution. You have to write some code.
Take a look here: http://code.google.com/intl/it-IT/apis/maps/documentation/javascript/v2/introduction.html
Cheers

CGphp