'Hidden' settings - map type and 'default zoom'
Posted: 22 May 2013, 13:50
Just in case anyone else is interested I found a useful way to display the maps in a different format (I wanted to use 'Terrain' because the images I am uploading are in the countryside nowhere near any features on the 'Roadmap' type).
In administrator/components/com_phocagallery/libraries/phocagallery/render/rendermap.php
line 149 is
and then there is a list of different 'cases'... I just changed the $mapType :
It strikes me that it might be possible to add this option to the settings, given that you have done the hard work! Happy to suggest this, but thought I would share it first.
Another thing to share is the default zoom level for images uploaded with geotagging taken from the EXIF data (great feature!)
Go to administrator/components/com_phocagallery/libraries/phocagallery/utils/settings.php
line 34 is :
I changed 8 to 14, so get a nicely zoomed map for each image.
I wonder if it is possible to set up a 'manual override' in the upload form - so people can select depending on the context of the image (maybe a drop down box to help with folk who don't really know their GoogleMap zoom levels!). Again happy to make the feature request.
Thanks.
In administrator/components/com_phocagallery/libraries/phocagallery/render/rendermap.php
line 149 is
Code: Select all
function setMapTypeOpt( $mapType = 0 ) {Code: Select all
function setMapTypeOpt( $mapType = 3 ) {Another thing to share is the default zoom level for images uploaded with geotagging taken from the EXIF data (great feature!)
Go to administrator/components/com_phocagallery/libraries/phocagallery/utils/settings.php
line 34 is :
Code: Select all
$params['geozoom'] = 8;I wonder if it is possible to set up a 'manual override' in the upload form - so people can select depending on the context of the image (maybe a drop down box to help with folk who don't really know their GoogleMap zoom levels!). Again happy to make the feature request.
Thanks.