keplergl / keplergl/kepler.gl

[Bug] Adding single Icon layer causes issues

Open
#921 5 comments 0 reactions 1 assignee Claimed by @heshan0131 View on GitHub
bug
Dominant language
TypeScript
Stars
12k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
66

Description

**Describe the bug**
I decided to stop harassing Shan He on twitter and make a ticket!
So I'm working on geocoder component addition to Kepler using react-mapbox-geocoder.
I was able to add additional data source each time I pick an item, which contains lon,lat,icon and address fields.
Kepler creates two(!) layers for this datasource. One is single Point and other is Icon. Point overlaps icon layer, And point size is the same as icon. I was going through docs, and couldn't find the solution to remove the specific layer without knowing it's idx.
So how can this be addressed? How to remove specific autogenerated layer. And change other's radius size?

**To Reproduce**
Steps to reproduce the behavior:
Add datasource w/ single item that contains lat,lon,icon(valid) data.
Two layers are created

**Expected behavior**
There should be only one.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.