
--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAHueW_UzeukxuzzdpipH03282xRkkVfEkGEehgVxghqapf-Cig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAC1FhZJGknk%3DJqG7oJA%2BDoKBPt-sFzg3egoaDb2SY%3D6VEta9Mg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAHueW_VPBAx_tax_ZM37pahq3n22BcYp6nEjQ4TEDTVQ1RTsew%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAC1FhZLWqe0jOWc3RyRvyBn%2BoHwfJFwE1%3DtG8hZo9dB8bjUnoQ%40mail.gmail.com.
You'll need a Google Maps API key, and the value should be added to the config/app.yml file in version 2.3 and earlier (there will be a place you can add it in the user interface in 2.4). See:
Note that the # pound symbol on the line comments it out - make sure to remove this once you've added the key!
Remember as well that after editing the YAML file, you will need to clear the application cache and restart PHP-FPM. To clear the application cache:
To restart PHP-FPM, it will depend on what version of Ubuntu you are running. In Ubuntu 14.04:
In 16.04:
For the map to work, you also need to have the latitude and longitude values added to the Contact area of the Archival institution. Note that there is also a command-line task you can run that will try to determine the lats and longs from the address information and add it to all institutions:
If you are trying to add a map to a place term, such as the New Westminster example that was shown in this thread, you need to add your lat/long data to the Code field of the term. See:
Note that previously, the Static Maps API supported any kind of lat/long data, however Google has changed this. You can no longer use cardinal GPS Coordinates (e.g. lats and longs listed with degrees and directionality). Instead you have to use the degree coordinates. (I'm not sure these are the correct technical terms for the different types of coordinates, but I will give an example of what I mean - New Westminster, BC:
I've noticed that our screenshot in the documentation on the terms page still shows cardinal GPS coordinates in the image - I'll have to update this at some point.
Finally, note that in version 2.4, you can also add latitude and longitude values to a digital object for some basic geolocation, and if you have a Maps API key added and the setting turned on, then AtoM will display a dynamic map in the digital object metadata area. Information on this ticket:
Let us know if this helps!
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/b7425a9b-fcda-4b5d-b161-013635299bc4%40googlegroups.com.