Subversion Repositories Applications.bazar

Compare Revisions

Ignore whitespace Rev 483 → Rev 490

/trunk/bibliotheque/bazar.fonct.google.php
84,6 → 84,19
maxZoom: 19
}));
 
var mention = \'<div id="origine-donnees">Tuiles : <a href="http://www.openstreetmap.fr" target="_blank">OsmFr</a><br/>\';
mention += \'Carte : <a href="http://www.openstreetmap.org/copyright" target="_blank">© les contributeurs d\\\'OpenStreetMap</a></div>\';
$("#map").append(mention);
// ecouteur sur changement de fond
google.maps.event.addListener( map, \'maptypeid_changed\', function() {
if (map.getMapTypeId() == "OSM") {
$("#origine-donnees").show();
} else {
$("#origine-donnees").hide();
}
});
 
google.maps.event.addListener(map, "click", function(event) {
if (marker != null) {
marker.setMap(null);
/trunk/bibliotheque/bazar.fonct.cal.php
159,7 → 159,7
}
$url->removeQueryString('ctt');
$url->removeQueryString('tt');
$tc_txt = 'Afficher les titres complets des �v�nements';
$tc_txt = 'Afficher les titres complets des événements';
if (isset($_GET['tt']) && $_GET['tt'] == '0') {
$tc_txt = 'Tronquer les titres des �v�nements';
$url->addQueryString('tt', $_GET['tt']);
/trunk/bibliotheque/elements/carte_google.php
101,7 → 101,19
position: point,
map: map
});
 
var mention = \'<div id="origine-donnees">Tuiles : <a href="http://www.openstreetmap.fr" target="_blank">OsmFr</a><br/>\';
mention += \'Carte : <a href="http://www.openstreetmap.org/copyright" target="_blank">© les contributeurs d\\\'OpenStreetMap</a></div>\';
$("#map").append(mention);
 
// ecouteur sur changement de fond
google.maps.event.addListener( map, \'maptypeid_changed\', function() {
if (map.getMapTypeId() == "OSM") {
$("#origine-donnees").show();
} else {
$("#origine-donnees").hide();
}
});
};' ;
GEN_stockerCodeScript($script);
//GEN_stockerFichierScript('googleMapScript', $this->options['nom_bdd']);
108,7 → 120,7
GEN_stockerFichierScript('googleMapScript', "http://maps.googleapis.com/maps/api/js?sensor=false&key=".BAZ_GOOGLE_KEY);
// On ajoute l attribut load a la balise body
//GEN_AttributsBody('onload', 'load()');
$html = '<div id="map" style="width: 400px; height: 300px"></div>';
$html = '<div id="map" style="width: 600px; height: 300px"></div>';
return $html;
}
}