Hi,
sorry but this is not possible, and we do not want to implement something like this because it change normal workflow: if a field is editable from the form then it need to be available on the form (we want to avoid unexpected behavior).
Possible solution for you:
1. You can try to hide gmap field via CSS
2. You can write a plugin that fill gmap field (not simple) :
- Download, Install and Enable Skeleton Plugin (you will find it at
http://docs.easy-profile.com/index.php/article/triggers)
- Open file /plugins/jsn/skeleton/skeleton.php
- Remove samples functions: triggerFieldAvatarUpdate, triggerProfileUpdate
- add function like this:
public function triggerProfileUpdate($user, &$data, $changed, $isNew)
{
/* HERE THE CODE TO GET LOCATION INFO FROM SOME SERVICE LIKE GOOGLEMAP APIs FROM SENT INFORMATIONS $data['cap'],$data['city'],$data['address'],......
$address = ADDRESS
$lat = LATITUDE
$lng = LONGITUDE
*/
$alias = 'ALIAS_OF_GMAP_FIELD';
$data[$alias] = $address;
$data[$alias.'_lat'] = $lat;
$data[$alias.'_lng'] = $ng;
}