Hi.
If static map image is enough for you, try out the following. The mentioned file "Web server\htdocs\Web_Applications\Presence\Viewer\index.psp" is the correct one to edit.
Add and initialise new text variable somewhere in the beginning, for example after the other initialisations (method_texts and unknown_texts). Pay attention to indentation as this is Python code.
After these rows
Code:
location = "%.4f, %.4f" % (latitude, longitude)
location += " " + ( method_texts[pos_method] % horizontal_accuracy )
add new row
Code:
map_image = '<img border="0" alt="map" src="http://maps.google.com/staticmap?size=300x300&maptype=mobile&markers=%.4f,%.4f&zoom=10"/>' % (latitude, longitude)
to set your coordinates into a image link in the case your location is known. You can adjust the image size (now 300x300) and zoom level (now 10) to suit your own preferences.
Last after these rows
Code:
<dt><%=INFO_TITLE_COORDINATES%></dt>
<dd><%=location%></dd>
add one more row
Code:
<dd><%=map_image%></dd>
to display the map.
In this example I used Google, but there are also lots of different map providers and different ways to show your coordinates on the map. These static maps should be visible both in computer and mobile device browsers.