Skip to content

[Bug] Text display issues since 9.3.x #10274

@rokamon1997

Description

@rokamon1997

Description

Since updating to v9.3.0 the text display in GeoJsonLayer became hardly visible:

  • missing outline
  • text height reduced

v9.2.11:

Image

v9.3.0

Image

The only thing related to TextLayer in changelog for v9.3.0 is:

And this to TextBackgroundLayer:

But from it I'm not sure what changed/what I should change in my properties to make this work.

Expected Behavior

Texts to be displayed with full outline visible and use full height.

Steps to Reproduce

Text related properties in my GeoJsonLayer:

    pointType: 'circle+text',
    getText: (f: Feature) => f.properties?.['name'],
    getTextColor: (f: Feature) => getColorInRGBA(f.properties, 255),
    getTextAnchor: 'start',
    getTextAlignmentBaseline: 'bottom',
    getTextPixelOffset: [12, 0],
    textSizeUnits: 'meters',
    textSizeScale: 0.8,
    textSizeMinPixels: 13,
    textSizeMaxPixels: 17,
    textOutlineColor: [0, 0, 0, 255],
    textOutlineWidth: 8,
    textCharacterSet: 'auto',
    parameters: {
      depthWriteEnabled: false,
    },
    textFontSettings: {
      sdf: true,
      buffer: 10,
    },

Environment

  • Framework version: 9.3.0
  • Browser: Google Chrome 147.0.7727.138
  • OS: MacOS 15.7.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions