Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 2317 → Rev 2318

/trunk/widget/modules/cartopoint/squelettes/carte_defaut.tpl.html
181,7 → 181,9
Observations du réseau <a href="http://www.tela-botanica.org/site:botanique"
onClick="ouvrirNouvelleFenetre(this, event)">
Tela Botanica
</a>
</a>
- Carte : <a href="http://www.openstreetmap.org/copyright" target="_blank">© les contributeurs d’OpenStreetMap</a>
- Tuiles : <a href="http://www.openstreetmap.fr" target="_blank">OsmFr</a>
</div>
<div id="lien-voir-cc" class="element-overlay">
<a href="<?=$url_base?>cartoPoint?carte=avertissement" title="Voir les informations et conditions d'utilisation de ce widget">
/trunk/widget/modules/cartopoint/squelettes/scripts/carto.js
26,6 → 26,7
google.maps.MapTypeId.SATELLITE,
google.maps.MapTypeId.TERRAIN]
},
scaleControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.LARGE,
position: google.maps.ControlPosition.LEFT_CENTER
335,6 → 336,21
map = new google.maps.Map(document.getElementById('carte'), carteOptions);
// Ajout de la couche OSM à la carte
map.mapTypes.set('OSM', osmMapType);
 
// écouteur sur changement de fond
google.maps.event.addListener( map, 'maptypeid_changed', function() {
// licence par défaut
var mention = 'Observations du réseau <a href="http://www.tela-botanica.org/site:botanique" ' +
'onClick="ouvrirNouvelleFenetre(this, event)">' +
'Tela Botanica' +
'</a> ';
if (map.getMapTypeId() == 'OSM') {
// ajout licence OSM
mention += ' - Carte : <a href="http://www.openstreetmap.org/copyright" target="_blank">© les contributeurs d’OpenStreetMap</a>' +
' - Tuiles : <a href="http://www.openstreetmap.fr" target="_blank">OsmFr</a>';
}
$('#origine-donnees').html(mention);
});
}
 
function initialiserGestionnaireMarqueurs() {