MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / updateMapProperties

Function updateMapProperties

ui/src/components/Map.tsx:45–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43
44 useEffect(() => {
45 const updateMapProperties = () => {
46 InternalStore.settings(v => {
47 setTileserver(v.getTileserverUrl());
48 setAttribution(v.getMapAttribution());
49 });
50 };
51
52 InternalStore.on("change", updateMapProperties);
53 updateMapProperties();

Callers 1

MapFunction · 0.85

Calls 1

settingsMethod · 0.80

Tested by

no test coverage detected