Skip to content

Options

sourceLayer

string required

Only valid for vector layers, used to set the data source of vector layers.

🌟 Generally, there are multiple layers of data in the data returned by the vector service, and we need to select from them.

const layer = new PointLayer({
  sourceLayer: 'city',
});

featureId

string optional *default:*automatic numbering

Only vector layers take effect, used to specify the encoding of vector layers.id。

🌟 EncodingidUsed when a layer is highlighted.

const layer = new PointLayer({
  featureId: 'id',
});
© Copyright 2026 Ant Group Co., Ltd..备案号:京ICP备15032932号-38
Site search
Documentation and examplesType to start searching

Search documentation, APIs, and examples

↑↓Select↵OpenEscClose