Skip to content

Conversation

MartinAlzueta
Copy link
Collaborator

No description provided.

mapId: props.mapId,
options: {
source: props.labelProp ? 'source-' + layerId.current : undefined,
...(typeof props?.options?.source !== 'undefined' &&
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

props.labelProp must still be checked and in case it is undefined options.source prop of label/symbol useLayer hook must be set to undefined to prevent its initialization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants