//branches/v2.4-fourche/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"> |
//branches/v2.4-fourche/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() { |
//branches/v2.4-fourche/widget/modules/carto/squelettes/carte_defaut.tpl.html |
---|
117,7 → 117,16 |
</div> |
</div> |
<? endif ?> |
<div id="carte"></div> |
<div id="carte"> |
</div> |
<div id="origine-donnees"> |
Observations du réseau <a href="http://www.tela-botanica.org/site:botanique" |
onClick="ouvrirNouvelleFenetre(this, event)"> |
Tela Botanica |
</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> |
<!-- +-------------------------------------------------------------------------------------------+ --> |
<!-- Blocs chargés à la demande : par défaut avec un style display à none --> |
//branches/v2.4-fourche/widget/modules/carto/squelettes/scripts/carto.js |
---|
19,7 → 19,8 |
google.maps.MapTypeId.HYBRID, |
google.maps.MapTypeId.SATELLITE, |
google.maps.MapTypeId.TERRAIN] |
} |
}, |
scaleControl: true |
}; |
var ctaLayer = null; |
var osmMapType = new google.maps.ImageMapType({ |
98,6 → 99,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); |
}); |
} |
//branches/v2.4-fourche/widget/modules/carto/squelettes/css/carto.css |
---|
450,3 → 450,12 |
white-space: pre-wrap; |
width: 300px; |
} |
#origine-donnees { |
bottom: 5px; |
margin-left: 35px; |
position: absolute; |
} |
#origine-donnees a, #origine-donnees a:active, #origine-donnees a:visited { |
color: black; |
} |
//branches/v2.4-fourche/widget |
---|
Property changes: |
Modified: svn:mergeinfo |
Merged /trunk/widget:r2318-2321 |
//branches/v2.4-fourche/. |
---|
Property changes: |
Modified: svn:mergeinfo |
Merged /trunk:r2318-2321 |