|
POST
|
Is it possible to use the Python API to update the basemap layers of an existing web map to those of another web map? For example, I have a template web map that has the base map configured as desired, and I'd like to use the Python API to iterate over several existing web maps and update the base map using the template web map. Below is the code I've tried, but doesn't seem to do anything to the target web map: import arcgis
# set web map ids
wmIDTarget = '...id1...'
wmIDTemplate = '...id2...'
# connect to portal
p = arcgis.GIS('https://www.arcgis.com/', 'user_name', 'user_password')
# create web map items
wmItemTarget = arcgis.mapping.WebMap(p.content.get(wmIDTarget))
wmItemTemplate = arcgis.mapping.WebMap(p.content.get(wmIDTemplate))
# get template base map layer information
templateBase = wmItemTemplate.basemap.get('baseMapLayers')
# update target web map base map layers
wmItemTarget.basemap.update({'baseMapLayers':templateBase})
wmItemTarget.basemap.update({'title':'Basemap Updated'})
... View more
03-21-2023
07:38 AM
|
1
|
2
|
2107
|
|
POST
|
Thank you! These areas are showing expected values.
... View more
12-14-2022
02:12 PM
|
0
|
0
|
1827
|
|
POST
|
So...when will Arcade have a Geometry function that supports projecting a feature to a different SRID...?
... View more
12-14-2022
12:56 PM
|
0
|
0
|
1839
|
|
POST
|
Can someone explain to me how to get consistent area results from a hosted feature layer? Below is an example from one of our polygon hosted feature layers. If I bring a hosted feature layer into Pro and use the Arcade area function or manually calculate the area (which should be sq meters because the hosted feature layer is using Web Mercator) to acres, I get an incorrect value when the map is in Web Mercator. If I change the coordinate system of the map to State Plane, which is the coordinate system of the source geometry, the Arcade function returns the expected area value, but the manual conversion is still way off, see screenshots below. Label expression being used in all screenshots Arcade function and manual calculation are incorrect when map is in Web Mercator. If I change the map to State Plane, the Arcade area function is now showing the expected results, while the manual sq meter to acres calculation is still way off. The problem persists to the Map Viewer in AGO. If I use the Arcade area function, I'm getting an incorrect value because the map viewer is in Web Mercator. Is there a reason the Arcade area function is not returning the expected area value when the map is in Web Mercator? Is there some sort of conversion that needs to be done prior to performing the area function? Is there a reason the manual sq meter to acres calculation is not correct...?
... View more
12-14-2022
11:01 AM
|
0
|
4
|
1889
|
|
IDEA
|
@Bud --- I could see this being a workaround, but it would only work for point geometry.
... View more
12-08-2022
06:57 AM
|
0
|
0
|
9862
|
|
IDEA
|
There should be an option to create a one-to-many join within Pro, as joins are currently limited to a one-to-one relationship. Example: A single geometry with many rows in a table. I'd like to have the ability to join the geometry and keep ALL rows from the joined table, not just one.
... View more
12-07-2022
02:06 PM
|
5
|
7
|
9930
|
|
POST
|
How would one customize the loading screen used by Experience Builder developer edition? It doesn't seem like modifying the root index.html page does anything as the "loading" div is set to not display almost immediately. If I comment out the "app" div, my "loading" div customization works as expected, but once the "app" div is enabled, you never see it. Just curious if the "app" div has CSS that can be modified to replace the default loading?
... View more
12-07-2022
10:17 AM
|
0
|
0
|
744
|
|
IDEA
|
@SCVOSAGIS_Program I can see this as a workaround, but it's not nearly as seamless as the district lookup workflow in WAB.
... View more
12-01-2022
12:40 PM
|
0
|
0
|
2330
|
|
IDEA
|
I think it would be nice to have the ability to offset (positively or negatively) a polygon outline within a web map. Having the ability to negatively offset a polygon boundary often helps visualize boundaries when they are symbolized differently, as shown in the screenshot below.
... View more
12-01-2022
09:18 AM
|
4
|
3
|
1352
|
|
POST
|
We currently create many of our apps using the developer edition of WAB or ExB and then place the downloaded app on our own web server. We are looking to potentially start putting our apps in a cloud store in order to get them off our local infrastructure. I'm wondering if this is as simple as creating something like an Amazon S3 bucket and copying over the WAB/ExB app folder? I haven't put in too much effort to research the various cloud stores, so any suggestions/tips/pointers are welcome as well as any best practices others have found to be useful. Thanks!
... View more
11-30-2022
01:30 PM
|
0
|
0
|
568
|
|
IDEA
|
Please add the ability to place labels above, below, or on the center of a line within the map viewer. If above or below, provide the option to specify a distance.
... View more
11-29-2022
03:13 PM
|
4
|
1
|
636
|
|
IDEA
|
Please add the ability for polygon boundary labels within a web map. Currently for polygons, all labels are placed at the center. It would be nice to have the ability to specify that the label is meant for a boundary so that it runs parallel to the perimeter of the polygon, much like what is available within Pro.
... View more
11-29-2022
03:11 PM
|
7
|
0
|
434
|
|
IDEA
|
Yes please! We have a point dataset that represents detailed real estate text, and having the ability to rotate this text within a web map would better align the text to how it's represented within Pro.
... View more
11-29-2022
03:06 PM
|
0
|
0
|
7749
|
|
POST
|
Is it possible to achieve the same or similar functionality that the WAB district lookup widget provides within ExB? ... essentially, a user inputs an address, place, etc... using a search widget and the user is returned with a pop-up or sidebar displaying the intersecting features or the address/place? I'm familiar with the Zone Lookup app within Instant Apps, but would prefer to use ExB based on how customizable it is.
... View more
11-28-2022
03:01 PM
|
3
|
0
|
925
|
|
IDEA
|
Please add similar functionality that is within the WAB District Lookup widget to Experience Builder...something to the effect of: a user inputs an address/place/etc... using a search widget and a pop-up or sidebar (or user configuration) is returned showing the intersecting features of the user search.
... View more
11-28-2022
02:57 PM
|
31
|
4
|
2370
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-03-2026 09:59 AM | |
| 1 | 03-02-2026 11:02 AM | |
| 6 | 02-18-2026 04:58 PM | |
| 2 | 02-18-2026 05:01 PM | |
| 1 | 12-09-2025 07:06 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|