Line 17... |
Line 17... |
17 |
// | |
|
17 |
// | |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
22 |
// CVS : $Id: carto_google.php,v 1.3 2007-08-27 12:35:13 alexandre_tb Exp $
|
22 |
// CVS : $Id: carto_google.php,v 1.4 2007-09-06 08:29:22 alexandre_tb Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Cartographie google du bottin
|
24 |
* Cartographie google du bottin
|
25 |
*
|
25 |
*
|
26 |
*@package bottin
|
26 |
*@package bottin
|
27 |
//Auteur original :
|
27 |
//Auteur original :
|
28 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
28 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
29 |
//Autres auteurs :
|
29 |
//Autres auteurs :
|
30 |
*@copyright Tela-Botanica 2000-2007
|
30 |
*@copyright Tela-Botanica 2000-2007
|
31 |
*@version $Revision: 1.3 $ $Date: 2007-08-27 12:35:13 $
|
31 |
*@version $Revision: 1.4 $ $Date: 2007-09-06 08:29:22 $
|
32 |
// +------------------------------------------------------------------------------------------------------+
|
32 |
// +------------------------------------------------------------------------------------------------------+
|
33 |
*/
|
33 |
*/
|
Line 34... |
Line 34... |
34 |
|
34 |
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
// | ENTETE du PROGRAMME |
|
36 |
// | ENTETE du PROGRAMME |
|
Line 37... |
Line 37... |
37 |
// +------------------------------------------------------------------------------------------------------+
|
37 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
|
38 |
|
- |
|
39 |
include_once 'configuration/bottin.config.inc.php';
|
39 |
include_once 'configuration/bottin.config.inc.php';
|
40 |
include_once INS_CHEMIN_APPLI.'bibliotheque/bottin.fonct.php';
|
40 |
include_once INS_CHEMIN_APPLI.'bibliotheque/bottin.fonct.php';
|
41 |
include_once INS_CHEMIN_APPLI.'bibliotheque/bottin.class.php';
|
41 |
// Inclusion d'une classe personnalise si elle existe
|
42 |
// Inclusion d'une classe personnalise si elle existe
|
42 |
if (file_exists (INS_CHEMIN_APPLI.'bibliotheque/inscription.class.local.php')) {
|
43 |
if (file_exists (INS_CHEMIN_APPLI.'bibliotheque/inscription.class.local.php')) {
|
43 |
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.class.local.php' ;
|
44 |
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.class.local.php' ;
|
44 |
} else {
|
45 |
} else {
|
Line -... |
Line 46... |
- |
|
46 |
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.class.php';
|
- |
|
47 |
}
|
- |
|
48 |
|
45 |
include_once INS_CHEMIN_APPLI.'bibliotheque/inscription.class.php';
|
49 |
$GLOBALS ['ins_config'] = inscription::getConfig();
|
46 |
}
|
50 |
$GLOBALS ['ins_config']['ic_inscription_template'] = inscription::getTemplate(INS_TEMPLATE_FORMULAIRE,
|
Line 152... |
Line 156... |
152 |
map.addControl(new GSmallMapControl());
|
156 |
map.addControl(new GSmallMapControl());
|
153 |
map.addControl(new GMapTypeControl());
|
157 |
map.addControl(new GMapTypeControl());
|
154 |
map.addControl(new GScaleControl());
|
158 |
map.addControl(new GScaleControl());
|
155 |
map.enableContinuousZoom();
|
159 |
map.enableContinuousZoom();
|
Line 156... |
Line 160... |
156 |
|
160 |
|
157 |
// On centre la carte sur le languedoc roussillon
|
161 |
// On centre la carte
|
158 |
center = new GLatLng(43.84245116699036, 3.768310546875);
|
162 |
center = new GLatLng('.INS_GOOGLE_CENTRE_LAT.', '.INS_GOOGLE_CENTRE_LON.');
|
159 |
map.setCenter(center, 7);
|
163 |
map.setCenter(center, '.INS_GOOGLE_ALTITUDE.');
|
160 |
map.setMapType(G_HYBRID_MAP);
|
164 |
map.setMapType(G_HYBRID_MAP);
|
161 |
' .
|
165 |
' .
|
162 |
$script_marker.'
|
166 |
$script_marker.'
|
163 |
}
|
167 |
}
|
Line 178... |
Line 182... |
178 |
}
|
182 |
}
|
Line 179... |
Line 183... |
179 |
|
183 |
|
180 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
184 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
181 |
*
|
185 |
*
|
- |
|
186 |
* $Log: not supported by cvs2svn $
|
- |
|
187 |
* Revision 1.3 2007-08-27 12:35:13 alexandre_tb
|
- |
|
188 |
* mise en place d un icone personnalise
|
- |
|
189 |
* et de l affichage de plusieurs donnees sur un meme point
|
182 |
* $Log: not supported by cvs2svn $
|
190 |
*
|
183 |
* Revision 1.2 2007-06-25 09:59:03 alexandre_tb
|
191 |
* Revision 1.2 2007-06-25 09:59:03 alexandre_tb
|
184 |
* ajout de carte_google, mise en place des templates avec api/formulaire, configuration de multiples inscriptions, ajout de modele pour les mails
|
192 |
* ajout de carte_google, mise en place des templates avec api/formulaire, configuration de multiples inscriptions, ajout de modele pour les mails
|
185 |
*
|
193 |
*
|
186 |
* Revision 1.1 2007-06-01 13:39:14 alexandre_tb
|
194 |
* Revision 1.1 2007-06-01 13:39:14 alexandre_tb
|