Jump to content

Recommended Posts

Posted

Hi all

 

What Param list form google map demo

 

UniLabel1.Caption:='Latitude: '+Params.Values['lat']+', Longitude: '+Params.Values['lng'];

 

lat,lng Params ,

 

I want get address to show when click event . this demo

 

Thank U.

Posted

Hi,

 

Lat (Latitude), Lng (Longitude) has geography address on earth.

For get address of lat, lng, you must be use Google API

 

Best Regards

  • Administrators
Posted

Hi all

 

What Param list form google map demo

 

UniLabel1.Caption:='Latitude: '+Params.Values['lat']+', Longitude: '+Params.Values['lng'];

 

lat,lng Params ,

 

I want get address to show when click event . this demo

 

Thank U.

 

Parameters are those which passed in client script:

 

 google.maps.event.addListener(map, 'click', 
  	function(e) {
    	ajaxRequest(MainForm.UniHTMLFrame1, 
                	'mapClick', 
                	['lat='+e.latLng.lat(), 'lng='+e.latLng.lng()]);
  	}
);

 

No address info is passed as parameter. You must explore maps API and if there is a function to retrieve address you can add it to parameter list and handle it on server side.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...