/branches/v2.4-fourche/widget/modules/cartopoint/squelettes/carte_defaut.tpl.html |
---|
181,9 → 181,7 |
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> |
</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,7 → 26,6 |
google.maps.MapTypeId.SATELLITE, |
google.maps.MapTypeId.TERRAIN] |
}, |
scaleControl: true, |
zoomControlOptions: { |
style: google.maps.ZoomControlStyle.LARGE, |
position: google.maps.ControlPosition.LEFT_CENTER |
336,21 → 335,6 |
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,16 → 117,7 |
</div> |
</div> |
<? endif ?> |
<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> |
<div id="carte"></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,8 → 19,7 |
google.maps.MapTypeId.HYBRID, |
google.maps.MapTypeId.SATELLITE, |
google.maps.MapTypeId.TERRAIN] |
}, |
scaleControl: true |
} |
}; |
var ctaLayer = null; |
var osmMapType = new google.maps.ImageMapType({ |
99,21 → 98,6 |
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,12 → 450,3 |
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 |
Reverse-merged /trunk/widget:r2318-2321 |