Enabling Maps in FotoWeb

The FotoWeb template set for public sites supports maps that show the location where a picture was taken, either based on GPS data in the file or the city/country location in the metadata.

This functionality requires a valid license from Google or Microsoft to use Google Maps for Business or Bing Maps respectively. Please note that depending on how you plan to use your FotoWeb system, Google or Microsoft may charge a fee for use of their map services.

Having obtained an API key from Google or Microsoft, you must enable the maps functionality by modifying the settings.inc file located in your FotoWeb site’s Documents folder.
(This is typically located in C:\Programdata\FotoWare\FotoWeb\Site Settings\<Site Name>\Documents)

 

Open settings.inc in Notepad or another plain text editor and look for the following section:

 

<!-- Maps settings -->

<!--

     Note! Enabling Google or Bing Maps in the templates

           requires a valid license from Google or Microsoft.

           

           You must ensure you are compliant with their license

           terms before enabling this feature.

                   

           See the FotoWeb EULA for more information.

-->

<!-- Map enabled? Enable only one of these: -->

<%$ SetCondition name="GoogleMapEnabled" value="false" /%>

<%$ SetCondition name="BingMapEnabled" value="false" /%>

<!-- Google/Bing Maps API key -->

<%$ SetVariable name="mapsApiKey" value="" /%>

<!-- Default zoom level for coordinates determined by the FotoWare Places Service -->

<%$ SetVariable name="mapZoomLevelLookup" value="4" /%>

<!-- Default zoom level for other coordinates (Camera or other services) -->

<%$ SetVariable name="mapZoomLevelAccurate" value="15" /%>

<!-- End Maps settings -->

 

 

To enable Google Maps, change the above value marked in blue to “true”

 

To enable Bing Maps, change the above value marked in green to “true”

 

Finally, paste in the Google Maps or Bing Maps API key between the quotation marks in the line marked in red, so that the line reads as such:

 

<%$ SetVariable name="mapsApiKey" value="1234567890" /%>

 

After you have saved the settings.inc file, the maps plugin you chose should show up on the preview page on your FotoWeb site.