You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -335,6 +335,23 @@ NetJSON format used internally is based on [networkgraph](http://netjson.org/rfc
335
335
336
336
You can customize the style of GeoJSON features using `style` property. The list of all available properties can be found in the [Leaflet documentation](https://leafletjs.com/reference.html#geojson).
337
337
338
+
-`hashParams`
339
+
340
+
Configuration for adding hash parameters to the URL when a node is clicked.
341
+
342
+
```JS
343
+
hashParams:{
344
+
show: boolean,
345
+
type: string
346
+
}
347
+
```
348
+
349
+
You can enable or disable adding hash parameters by setting show to true or false. When enabled, the following parameters are added to the URL:
350
+
1. type – A prefix used to uniquely identify the map node.
351
+
2. nodeId – The ID of the selected node.
352
+
3. zoom – The current zoom level of the map.
353
+
**Note: Zoom is only applied when type is set to `geoMap`**
354
+
338
355
-`onInit`
339
356
340
357
The callback function executed on initialization of `NetJSONGraph` instance.
0 commit comments