I have a sql query that returns latitude and longitude. I need to populate the points on the map with this data.
Hey @nroeder!
The map component has a "Points" field that you can pass latitude/longitude data to:
Since you're running this from a SQL query you might want to do something like using _.pick to grab just the latitude and longitude columns and then formatting the data as an array:
{{formatDataAsArray(_.pick(get_environment.data, ['latitude', 'longitude']))}}
Let me know if that works!
The map component also supports GeoJSON which can be useful for more advanced styling.