Add library location on OPAC using Google map

The location of the institute/library can be embedded on OPAC interface. Users strange to the campus can find the location of the library using Google Maps app in mobile. Follow the steps below to add the location on OPAC interface.

Find the location from Google Maps

Visit https://www.google.com/maps

Search your institution/library name,

Click on the share button.

Click on embed a map tab.

Copy the code.

Display of location on OPAC

Koha offers many places for customisation on OPAC. Copy and paste the code anywhere in OPAC.
For example, Koha > Administration > Global System Preferences > OPAC > OpacNav it display map on left side of the OPAC.

The map can also display on the left side of the OPAC. To display the map on the right side of the OPAC, goto, Tools > News > New Entry > Display location > OpacNavRight

Change the width and height of the map in the script,


If you would like to give a box around the map, paste the map script in the middle of the code. Then copy and paste the entire piece of code.

<html>
<head>
<style>
p.two {
  border-style: solid;
  border-color: blue;
</style>
</head>
<body>
<p class="two"> 


Paste the Google Map code here

</body>
</html>


Save the content. Check the result by visiting the OPAC.


Information courtesy: Subeesh Gopinathan

No comments:

Post a Comment