Skip to content

Commit f293b99

Browse files
committed
[chores] Removed testing logs
1 parent ba4f267 commit f293b99

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

public/example_templates/netjsonmap-indoormap.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,6 @@
135135
const targetPy = -Number(target[1]);
136136
const targetNodeProjected = L.point(topLeft.x + targetPx, topLeft.y + targetPy);
137137
const targetNodeLatLng = map.unproject(targetNodeProjected, zoom);
138-
139-
console.log(soruce, sourceNodeLatLng)
140-
console.log(target, targetNodeLatLng)
141-
142138
data.coords[0] = [sourceNodeLatLng.lng, sourceNodeLatLng.lat];
143139
data.coords[1] = [targetNodeLatLng.lng, targetNodeLatLng.lat];
144140
});

public/example_templates/netjsonmap.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
<script type="text/javascript">
7272
const map = new NetJSONGraph("../assets/data/netjsonmap.json", {
7373
render: "map",
74+
// set map initial state.
7475
mapOptions: {
7576
center: [46.86764405052012, 19.675998687744144],
7677
zoom: 5,
@@ -100,7 +101,7 @@
100101
id: "geographicMap",
101102
zoomLevel: 10,
102103
},
103-
104+
// Convert to internal json format
104105
prepareData: (data) => {
105106
data.nodes.map((node) => {
106107
node.label = node.name;

0 commit comments

Comments
 (0)