|
964 | 964 | "> **Note:** Anything can be drawn from known `Geometry` objects, coordinate pairs, and `FeatureSet` objects.\n",
|
965 | 965 | "\n",
|
966 | 966 | "\n",
|
967 |
| - "The `shape` argument can be one of the below objects. See [`MapContent.draw() reference](/python/latest/api-reference/arcgis.map.toc.html#arcgis.map.map_widget.MapContent.draw) for details:\n", |
| 967 | + "The `shape` argument can be one of the below objects. See [draw()](/python/latest/api-reference/arcgis.map.toc.html#arcgis.map.map_widget.MapContent.draw) for details:\n", |
968 | 968 | " - Known `Geometry` objects: Shape is one of the following: circle, ellipse, Polygon, Polyline, MultiPoint, Point, rectangle, triangle. \n",
|
969 |
| - " - [Coordinate pair](/python/api-reference/arcgis.geometry.html#arcgis.geometry.MultiPoint.coordinates): specified shape as a list of [lat, long]. Eg: [34, -81] \n", |
| 969 | + " - [Coordinate pair](/python/latest/api-reference/arcgis.geometry.html#arcgis.geometry.MultiPoint.coordinates): specified shape as a list of [lat, long]. Eg: [34, -81] \n", |
970 | 970 | " - `FeatureSet`: shape can be a FeatureSet object.\n",
|
971 | 971 | " - `Dict` object representing a `geometry`.\n",
|
972 | 972 | "\n",
|
|
1043 | 1043 | "from arcgis.map.symbols import PictureMarkerSymbolEsriPMS\n",
|
1044 | 1044 | "from arcgis.map.popups import PopupInfo\n",
|
1045 | 1045 | "\n",
|
1046 |
| - "house_symbol = PictureMarkerSymbolEsriPMS(**{\"angle\":0,\"xoffset\":0,\"yoffset\":0,\"type\":\"esriPMS\",\n", |
| 1046 | + "star_symbol = PictureMarkerSymbolEsriPMS(**{\"angle\":0,\"xoffset\":0,\"yoffset\":0,\"type\":\"esriPMS\",\n", |
1047 | 1047 | " \"url\":\"http://static.arcgis.com/images/Symbols/Shapes/RedStarLargeB.png\",\n",
|
1048 | 1048 | " \"contentType\":\"image/png\",\"width\":24,\"height\":24})\n",
|
1049 |
| - "map7b.content.draw(pt, symbol=house_symbol)" |
| 1049 | + "map7b.content.draw(pt, symbol=star_symbol)" |
1050 | 1050 | ]
|
1051 | 1051 | },
|
1052 | 1052 | {
|
|
0 commit comments