In our mapping examples with mapsf() we have replaced mf_annotation with mf_text, as the former will be deprecated. But we need to add a vertical copyright into ou maps, wich we did by adding srt=90 in mf_annotation. This is no longer possible as the argument is not working in mf_text(). Would it be possible (if not too complicated) to add this argument in mf_text in a coming version of mapsf? This would be very useful for us
# mise en forme de l'habillage : copyright à la verticale
mapsf::mf_annotation(
x=c(grconvertX(0.95,"nic"), # coordonnée x, en % de la figure hors marges
grconvertY(0.50,"nic")),# coordonnée y, en % de la figure hors marges
pos = 'center',
txt="© IGN-Insee 2025", # © (alt + 0169) + sources des fonds
col_txt=pal('texte'), # couleur de la police
cex = 1.0, # taille de la police
srt=90) # angle de rotation de 90°
New version
# ajouter le copyright à la verticale
par(srt=90) # paramètrer les textes à la verticale (rotation de 90°)
mapsf::mf_text(
x=c(grconvertX(0.95,"nic"),# coordonnées x, en % de la figure hors marges
grconvertY(0.5,"nic")),# coordonnées y, en % de la figure hors marges
txt="© IGN-Insee 2025",# © (alt + 0169) + sources des fonds
cex = 1.0, # taille de la police
col_txt='#4C4C4C', # couleur de la police
align='center' # centrer le texte sur les coordonnées
)
In our mapping examples with mapsf() we have replaced mf_annotation with mf_text, as the former will be deprecated. But we need to add a vertical copyright into ou maps, wich we did by adding srt=90 in mf_annotation. This is no longer possible as the argument is not working in mf_text(). Would it be possible (if not too complicated) to add this argument in mf_text in a coming version of mapsf? This would be very useful for us
New version