Skip to content

Commit 8e888e7

Browse files
committed
Add view snippet screenshot
1 parent 6bc7d42 commit 8e888e7

File tree

4 files changed

+20
-4
lines changed
  • crates/store/re_types/definitions/rerun/blueprint/views
  • docs
  • rerun_py/rerun_sdk/rerun/blueprint/views

4 files changed

+20
-4
lines changed

crates/store/re_types/definitions/rerun/blueprint/views/map.fbs

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ namespace rerun.blueprint.views;
22

33
/// A 2D map view to display geospatial primitives.
44
///
5-
/// \example views/map title="Use a blueprint to create a map view."
6-
//TODO(ab): add a screenshot
5+
/// \example views/map title="Use a blueprint to create a map view." image="https://static.rerun.io/map-view/8b2cc15e3f3313e2181667f6c29816ebe75e16e6/1200w.png"
76
table MapView (
87
"attr.rerun.view_identifier": "Map",
98
"attr.docs.unreleased"

docs/content/reference/types/views/map_view.md

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/snippets/all/views/map.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
rr.init("rerun_example_map_view", spawn=True)
77

8-
rr.log("points", rr.GeoPoints([[47.6344, 19.1397], [47.6334, 19.1399]]))
8+
rr.log("points", rr.GeoPoints([[47.6344, 19.1397], [47.6334, 19.1399]], radii=rr.Radius.ui_points(20.0)))
99

1010
# Create a map view to display the chart.
1111
blueprint = rrb.Blueprint(

rerun_py/rerun_sdk/rerun/blueprint/views/map_view.py

+10-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)