|
220 | 220 | "map2.layout = Layout(flex=\"1 1\", height=\"500px\", padding=\"10px\")\n",
|
221 | 221 | "map1.content.add(infrared_before)\n",
|
222 | 222 | "map2.content.add(infrared_after)\n",
|
223 |
| - "box = HBox([map1, map2])\n", |
224 |
| - "box" |
| 223 | + "box1 = HBox([map1, map2])\n", |
| 224 | + "box1" |
225 | 225 | ]
|
226 | 226 | },
|
227 | 227 | {
|
|
644 | 644 | "source": [
|
645 | 645 | "# Create three maps to compare before and after imageries\n",
|
646 | 646 | "# and the landslide risk map side by side\n",
|
647 |
| - "map1 = gis.map(location=\"-122.58, 38.45\")\n", |
648 |
| - "map2 = gis.map(location=\"-122.58, 38.45\")\n", |
649 | 647 | "map3 = gis.map(location=\"-122.58, 38.45\")\n",
|
650 | 648 | "map1.layout = Layout(flex=\"1 1\", height=\"500px\", padding=\"5px\")\n",
|
651 | 649 | "map2.layout = Layout(flex=\"1 1\", height=\"500px\", padding=\"5px\")\n",
|
652 | 650 | "map3.layout = Layout(flex=\"1 1\", height=\"500px\", padding=\"5px\")\n",
|
653 |
| - "map1.content.add(infrared_before)\n", |
654 |
| - "map2.content.add(infrared_after)\n", |
655 | 651 | "map3.content.add(landslide_risk)\n",
|
656 |
| - "box = HBox([map1, map2, map3])\n", |
657 |
| - "box" |
| 652 | + "box2 = HBox([map1, map2, map3])\n", |
| 653 | + "box2" |
658 | 654 | ]
|
659 | 655 | },
|
660 | 656 | {
|
|
0 commit comments