Needing help with FillExtrusionLayer and Markers #536
Replies: 2 comments 1 reply
-
Do you have some custom data you're trying to render in 3d, or are you trying to render data from your base style (like building polygons perhaps) in 3d? If custom data, see the comment below about rememberGeoJsonSource. The workflow is similar. If you're rendering 3d data from your base style, you can get your base source from |
Beta Was this translation helpful? Give feedback.
-
For markers, you likely want to use Then, pass that source to a layer. CircleLayer is an easy one to start with, but SymbolLayer is most commonly used for markers. You can use expressions to style the layer based on the properties in the feature collection. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am new to Android development and using maps in Android. Right now, I am struggling with creating a 3D map using
FillExtrusionLayer
and I'm not sure what to pass to the source argument. I read the manual, but I couldn't figure out the structure of the GeoJSON file. If anyone could provide an example, I would really appreciate it. Also, I am struggling to place a marker on the map when someone taps a specific location. Should I use the Expressions mentioned in the tutorial and add the marker as a layer?Beta Was this translation helpful? Give feedback.
All reactions