File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1524,6 +1524,8 @@ def handle_vector_tile_source(
15241524 # add mapbox vector tile link
15251525 identifier = str (uuid .uuid4 ())
15261526 extra_fields_link ["key" ] = identifier
1527+ if vector_tile_id_property := endpoint_config .get ("idProperty" ):
1528+ extra_fields_link ["idProperty" ] = vector_tile_id_property
15271529 link = Link (
15281530 rel = "vector-tile" ,
15291531 target = time_entry ["Url" ],
Original file line number Diff line number Diff line change @@ -154,6 +154,8 @@ def create_web_map_link(
154154 identifier = str (uuid .uuid4 ())
155155 extra_fields ["key" ] = identifier
156156 media_type = "application/vnd.mapbox-vector-tile"
157+ if vector_tile_id_property := layer_config .get ("idProperty" ):
158+ extra_fields ["idProperty" ] = vector_tile_id_property
157159 if ep_st := layer_config .get ("Style" ):
158160 style_link = Link (
159161 rel = "style" ,
You can’t perform that action at this time.
0 commit comments