|
1034 | 1034 | "from arcgis.map.symbols import SimpleMarkerSymbolEsriSMS\n",
|
1035 | 1035 | "from arcgis.map.symbols import SimpleLineSymbolEsriSLS\n",
|
1036 | 1036 | "\n",
|
1037 |
| - "map_view_outputs.draw(orders_fset, symbol=SimpleMarkerSymbolEsriSMS(**{\"type\": \"esriSMS\",\n", |
1038 |
| - " \"style\": \"esriSMSCircle\",\n", |
1039 |
| - " \"color\": [76,115,0,255],\n", |
1040 |
| - " \"size\": 8}))\n", |
1041 |
| - "map_view_outputs.draw(depots_fset, symbol=SimpleMarkerSymbolEsriSMS(**{\"type\": \"esriSMS\",\n", |
1042 |
| - " \"style\": \"esriSMSSquare\",\n", |
1043 |
| - " \"color\": [255,115,0,255], \"size\": 10}))\n", |
| 1037 | + "map_view_outputs.content.draw(orders_fset, symbol=SimpleMarkerSymbolEsriSMS(**{\"type\": \"esriSMS\",\n", |
| 1038 | + " \"style\": \"esriSMSCircle\",\n", |
| 1039 | + " \"color\": [76,115,0,255],\n", |
| 1040 | + " \"size\": 8}))\n", |
| 1041 | + "map_view_outputs.content.draw(depots_fset, symbol=SimpleMarkerSymbolEsriSMS(**{\"type\": \"esriSMS\",\n", |
| 1042 | + " \"style\": \"esriSMSSquare\",\n", |
| 1043 | + " \"color\": [255,115,0,255],\n", |
| 1044 | + " \"size\": 10}))\n", |
1044 | 1045 | "\n",
|
1045 | 1046 | "#Visualize the first route\n",
|
1046 | 1047 | "out_routes_flist = []\n",
|
1047 | 1048 | "out_routes_flist.append(results.out_routes.features[0])\n",
|
1048 | 1049 | "out_routes_fset = []\n",
|
1049 | 1050 | "out_routes_fset = FeatureSet(out_routes_flist)\n",
|
1050 |
| - "map_view_outputs.draw(out_routes_fset, \n", |
| 1051 | + "map_view_outputs.content.draw(out_routes_fset, \n", |
1051 | 1052 | " symbol=SimpleLineSymbolEsriSLS(**{\"type\": \"esriSLS\",\n",
|
1052 |
| - " \"style\": \"esriSLSSolid\",\n", |
1053 |
| - " \"color\": [0,100,240,255],\"size\":10}))\n", |
| 1053 | + " \"style\": \"esriSLSSolid\",\n", |
| 1054 | + " \"color\": [0,100,240,255],\n", |
| 1055 | + " \"size\":10}))\n", |
1054 | 1056 | "\n",
|
1055 | 1057 | "#Visualize the second route\n",
|
1056 | 1058 | "out_routes_flist = []\n",
|
1057 | 1059 | "out_routes_flist.append(results.out_routes.features[1])\n",
|
1058 | 1060 | "out_routes_fset = []\n",
|
1059 | 1061 | "out_routes_fset = FeatureSet(out_routes_flist)\n",
|
1060 |
| - "map_view_outputs.draw(out_routes_fset, \n", |
| 1062 | + "map_view_outputs.content.draw(out_routes_fset, \n", |
1061 | 1063 | " symbol=SimpleLineSymbolEsriSLS(**{\"type\": \"esriSLS\",\n",
|
1062 | 1064 | " \"style\": \"esriSLSSolid\",\n",
|
1063 | 1065 | " \"color\": [255,0,0,255],\n",
|
|
0 commit comments