0

私のGoogleMapsFlashAPIinfoWindowの文字間隔は少し奇妙です。文字の間隔は非常に狭くなっています。たとえば、ダブル「r」はタッチして「m」のように見えます。文字間隔を調整する方法はありますか?

var infoWindowSettings:InfoWindowOptions = new InfoWindowOptions();
infoWindowSettings.content = theName;
infoWindowSettings.hasShadow = true;
infoWindowSettings.hasCloseButton = true;
infoWindowSettings.width = 200;
map.openInfoWindow(map.getCenter(), infoWindowSettings);
4

1 に答える 1

0

さて、私は持っています。以下に文字間隔プロパティを追加しました。

var contentFormat:TextFormat = new TextFormat("Arial", 13);
    contentFormat.letterSpacing = 1;


var infoWindowSettings:InfoWindowOptions = new InfoWindowOptions({
    strokeStyle: {
     color: 0x000000
    },
    fillStyle: {
      color: 0xFFFFFF,
      alpha: 0.8
    },
    contentFormat: contentFormat,
      width: 280,
      hasCloseButton: true,
      hasTail: true,
      hasShadow: true
    });
于 2011-06-11T21:36:54.430 に答える