Open main menu

Gramps β

Changes

Integrate google maps with narrative web site

2 bytes removed, 08:43, 26 June 2021
no edit summary
;3.:Go to line 1216, and paste in the following block of text:
<codepre>
if place.lat and place.long:
of.write('<head>\n')
of.write(' &lt;div id="map_canvas" style="width: 500px; height: 300px"></div>\n')
of.write('</body>\n')
</codepre>
;4.:On the fifth line of code above, replace the **** with your API key from step 1. Save the file, and restart GRAMPS.
2,186
edits