When using the pyLocationFieldOptional from Embed-Location I do get a nice and good map with my current location. The problem is that I want more ...
Entering coordinates in any format in the locations field (pyAddress) yields "This address could not be resolved" What do I do wrong here? I did expect entering an address or coordinates would show that on the map.
How do I do reverse geolocation in Pega (i.e. retrieve the street, house number etc from coordinates)? From the map I want to get nearest street and house number from the place Pega (google) found.
You can use API's to get the exact location based on the lat and long that will be provided by pega (google maps where current location is shown )to get lat long of current location you can use geo location enabled for case type there you can find pxLat pxLong for current location in which the step got loaded and performed. other wise you can use pxRequestor.pxLat and pxRequestor.pxLong but this is a requestor level page which will get loaded only on login , the first method would suffice .