dimapio / map-gl

Interactive maps in the browser
MIT License
0 stars 0 forks source link

Improve 'Attempted to set the feature state of a feature with no ID' warning #10

Open nsiebenaller opened 6 days ago

nsiebenaller commented 6 days ago

When a Layer attempts to set a feature state with no ID, a warning is displayed. However, this warning is generic and does not include context about:

  1. What layer triggered this warning
  2. What source this layer corresponds to
  3. What the structure of the feature looks like.

We should improve this warning message to include this context.

nsiebenaller commented 3 days ago

@garretteklof I've assigned this to you based on our convo

garretteklof commented 6 hours ago

@nsiebenaller I will not let you down 🫡