Google добавляет стили в контейнер карт, которые переопределяют мои стили.
Я знаю, как это исправить. Но API (v3.8/9/exp) также загружает webfont "Roboto", который мне действительно не нужен/нужен.
Есть ли параметр/параметр/способ вокруг этого?
Могу ли я запретить API добавлять дополнительный CSS?
Это код, который API-интерфейс google-maps добавляет к <head>
моей страницы:
<style type="text/css">
.gm-style .gm-style-cc span,
.gm-style .gm-style-cc a,
.gm-style .gm-style-mtc div {
font-size:10px
}
</style>
<link type="text/css"
rel="stylesheet"
href="#" onclick="location.href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700'; return false;">
<style type="text/css">
@media print {
.gm-style .gmnoprint,
.gmnoprint {
display:none
}
}
@media screen {
.gm-style .gmnoscreen,
.gmnoscreen {
display:none
}
}
</style>
<style type="text/css">
.gm-style {
font-family: Roboto,Arial,sans-serif;
font-size: 11px;
font-weight: 400;
text-decoration: none
}
</style>