Replies: 1 comment
-
queryRenderedFeatures can only return what is present in the source data. Is the name of the building included in your data? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since I am building my own custom layers, I found it difficult to obtain the "building names". Even when using
queryRenderedFeatures
, it seems that it doesn't work. I can only get therender_height
of the building, but without any building name, making it hard to locate the building I want to draw. However, if I want to get road information, I can. Could you please tell me how I can achieve the specific location of a particular building?Beta Was this translation helpful? Give feedback.
All reactions