Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1571 → Rev 1572

/trunk/client/bottin/carto_google.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: carto_google.php,v 1.3 2007-08-27 12:35:13 alexandre_tb Exp $
// CVS : $Id: carto_google.php,v 1.4 2007-09-06 08:29:22 alexandre_tb Exp $
/**
* Cartographie google du bottin
*
28,7 → 28,7
*@author Alexandre Granier <alexandre@tela-botanica.org>
//Autres auteurs :
*@copyright Tela-Botanica 2000-2007
*@version $Revision: 1.3 $ $Date: 2007-08-27 12:35:13 $
*@version $Revision: 1.4 $ $Date: 2007-09-06 08:29:22 $
// +------------------------------------------------------------------------------------------------------+
*/
 
38,6 → 38,7
 
include_once 'configuration/bottin.config.inc.php';
include_once INS_CHEMIN_APPLI.'bibliotheque/bottin.fonct.php';
include_once INS_CHEMIN_APPLI.'bibliotheque/bottin.class.php';
// Inclusion d'une classe personnalise si elle existe
if (file_exists (INS_CHEMIN_APPLI.'bibliotheque/inscription.class.local.php')) {
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.class.local.php' ;
45,6 → 46,9
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.class.php';
}
 
$GLOBALS ['ins_config'] = inscription::getConfig();
$GLOBALS ['ins_config']['ic_inscription_template'] = inscription::getTemplate(INS_TEMPLATE_FORMULAIRE,
$GLOBALS['ins_config']['ic_id_inscription']);
$GLOBALS['ins_config']['ic_google_key'] = 'http://maps.google.com/maps?file=api&amp;v=2&amp;key='.INS_GOOGLE_KEY;
GEN_stockerFichierScript('googleMapScript', $GLOBALS['ins_config']['ic_google_key']);
 
154,9 → 158,9
map.addControl(new GScaleControl());
map.enableContinuousZoom();
// On centre la carte sur le languedoc roussillon
center = new GLatLng(43.84245116699036, 3.768310546875);
map.setCenter(center, 7);
// On centre la carte
center = new GLatLng('.INS_GOOGLE_CENTRE_LAT.', '.INS_GOOGLE_CENTRE_LON.');
map.setCenter(center, '.INS_GOOGLE_ALTITUDE.');
map.setMapType(G_HYBRID_MAP);
' .
$script_marker.'
180,6 → 184,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.3 2007-08-27 12:35:13 alexandre_tb
* mise en place d un icone personnalise
* et de l affichage de plusieurs donnees sur un meme point
*
* Revision 1.2 2007-06-25 09:59:03 alexandre_tb
* ajout de carte_google, mise en place des templates avec api/formulaire, configuration de multiples inscriptions, ajout de modele pour les mails
*