Skip to content

Commit 8918c82

Browse files
update content.draw
1 parent 9818895 commit 8918c82

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

samples/04_gis_analysts_data_scientists/finding_routes_for_appliance_delivery_with_VRP_solver.ipynb

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,30 +1034,32 @@
10341034
"from arcgis.map.symbols import SimpleMarkerSymbolEsriSMS\n",
10351035
"from arcgis.map.symbols import SimpleLineSymbolEsriSLS\n",
10361036
"\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",
10441045
"\n",
10451046
"#Visualize the first route\n",
10461047
"out_routes_flist = []\n",
10471048
"out_routes_flist.append(results.out_routes.features[0])\n",
10481049
"out_routes_fset = []\n",
10491050
"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",
10511052
" 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",
10541056
"\n",
10551057
"#Visualize the second route\n",
10561058
"out_routes_flist = []\n",
10571059
"out_routes_flist.append(results.out_routes.features[1])\n",
10581060
"out_routes_fset = []\n",
10591061
"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",
10611063
" symbol=SimpleLineSymbolEsriSLS(**{\"type\": \"esriSLS\",\n",
10621064
" \"style\": \"esriSLSSolid\",\n",
10631065
" \"color\": [255,0,0,255],\n",

0 commit comments

Comments
 (0)