Jump to content

Params List , Ref google map demo


fd6093
 Share

Recommended Posts

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.

Link to comment
Share on other sites

  • Administrators

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.

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...