|
POST
|
Joabel, It is not automatic as part of creating a mobile map package, but it is possible. Two articles that explain how: https://community.esri.com/community/gis/applications/arcgis-pro/blog/2018/06/30/using-arcgis-pro-22-to-put-the-esri-world-imagery-basemap-in-a-mobile-map https://community.esri.com/blogs/bock/2019/07/03/using-arcgis-pro-to-put-esri-vector-tile-basemaps-in-your-mobile-map Mark
... View more
07-17-2019
06:44 AM
|
3
|
0
|
2936
|
|
BLOG
|
A prior article https://community.esri.com/community/gis/applications/arcgis-pro/blog/2018/06/30/using-arcgis-pro-22-to-put-the-esri-world-imagery-basemap-in-a-mobile-map described how to put the Esri Word Imagery basemap in a mobile map. With the release of ArcGIS Pro 2.7 the same workflow applies for Esri Vector Tile basemaps. If your organization is using vector tile basemaps in the basemap gallery, it’s as simple as selecting the desired basemap in the basemap gallery. Zooming to the desired area of interest and clicking ‘Download Map’ on the ribbon. Check the box to include basemap and tile layers. When the process completes a vector tile package layer will be added to your map. This layer can be packaged like any other layer. For Organization admins, you can enable the use of Esri vector tile basemaps in your organization settings. OK… so you are not an organization administrator and your organization is not using Esri vector basemaps, you can still export vector tile packages from vector tile services that support export. In fact, I prefer modifying the styles for the vector tile services that I extract. Simply use the Vector Tile Style Editor https://developers.arcgis.com/vector-tile-style-editor/ The Vector Tile Style editor allows you to create and save custom styles for vector tile services. For example; I chose the ‘Nova’ style. I then made some modifications… (a lot of people ask for basemaps that don't have labels, you can absolutely turn off all the labels). In this example I changed the color of the streets to one that is more pleasing to me, for use in Navigator at night. Save the style as your own... ...then back in ArcGIS Pro, search for, and add the styled tile service to your map. Remove the default layers. Then click Download Map to get a map layer that is in your desired style. Note: the .vtpk file that is downloaded to the file system will not have the desired style. Internally most Esri basemaps contain the World Streets Style. If you use the .vtpk file on its own, side loaded or added to a new map and shared as a mobile map package... it will display in the world streets style. That's it for now. mark
... View more
07-03-2019
12:11 PM
|
3
|
11
|
9610
|
|
BLOG
|
Timothy, No, 'connected services' cannot be included in a Mobile Map Package, currently everything works offline by default. However, we do have the idea of adding what your asking for, the ability to optionally include layer data by "url reference" along offline data in a mobile map package, on an internal futures enhancement list. It's really the desire 'needs' of the user community that turn functionality ideas into real functionality. So, if anyone else reads this and wants Layers by Reference in a Mobile Map (or Scene) Package, please do put in the request! If you can also add context for the type of map and the workflow that the service layer assists in, that helps to. Thanks, Mark
... View more
06-25-2019
08:41 AM
|
0
|
0
|
1573
|
|
POST
|
Michael, Explorer is converting to your timezone and showing that value. Mark
... View more
06-24-2019
10:43 AM
|
2
|
1
|
877
|
|
POST
|
It can't be used in both... so a bit of a stuck situation. If you want to create the mobile map package with annotation you will need to upgrade it. If you also need to use the data in Arcmap you will need a compatible version...
... View more
06-19-2019
09:48 AM
|
0
|
0
|
2494
|
|
POST
|
I think "Upgrade Geodatabase" tool can be used to update the annotation to the latest release and allow it to package.
... View more
06-19-2019
09:02 AM
|
0
|
1
|
2494
|
|
BLOG
|
Xander, this approach is only valid fro ArcGIS Pro and ArcGIS Runtime applications, the HTML will not display in a web browser. However, you could use the expression to calculate a field attribute to be HTML. add a field and use the field calculator with the same arcade expressions var style = '<style>body {background-color: white; text-align: center; font-family: verdana; margin: 0px; border: 5px solid #0059b3; outline-style: solid; outline-color: white;} h1 {color: white; text-align: center; padding: 10px; background-color: #0059b3;}p { font-family: verdana; text-align: left; margin-left: 0px; padding-left: 5px; background-color: white;} </style>'; var title = '<h1 align="center"><font color="white"><b>'+ $feature.TITLE +'</b></font></h1>' var bodytext = '<center style="background-color: white";><br>' + $feature.Short_Desc + '<br><br></center>' var ImgUrl = TextFormatting.NewLine +'<img src="'+ $feature.Pic_URL + '" width="100%" />'; var hours = "" if (!isEmpty($feature.TextForHours)){ hours = '<center style="background-color: white";>Hours<br>' + text($feature.TextForHours) + '</center><br><br>' var style = '<style>body {background-color: white; text-align: center; font-family: verdana; margin: 0px; border: 5px solid #0059b3; outline-style: solid; outline-color: white;} h1 {color: white; text-align: center; padding: 10px; background-color: #0059b3;}p { font-family: verdana; text-align: left; margin-left: 0px; padding-left: 5px; background-color: white;} </style>'; var title = '<h1 align="center"><font color="white"><b>'+ $feature.TITLE +'</b></font></h1>' var bodytext = '<center style="background-color: white";><br>' + $feature.Short_Desc + '<br><br></center>' var ImgUrl = TextFormatting.NewLine +'<img src="'+ $feature.Pic_URL + '" width="100%" />'; var hours = "" if (!isEmpty($feature.TextForHours)){ hours = '<center style="background-color: white";>Hours<br>' + text($feature.TextForHours) + '</center><br><br>' return hours; } else { } var weblink = '<center style="background-color: white";> <a href="'+$feature.website+'">' + $feature.TITLE + '</a><br></center>' var description = '<p>' + $feature.Desc1 + $feature.Desc2 + $feature.Desc3 + $feature.Desc4 + $feature.Desc5 + '</p>' return style+title+bodytext+ImgUrl+'<center style="background-color: white";><i>'+$feature.PIC_CREDIT +'</i><br><br>'+$feature.Address + '<br><br></center>'+hours+weblink + description return hours; } else { } var weblink = '<center style="background-color: white";> <a href="'+$feature.website+'">' + $feature.TITLE + '</a><br></center>' var description = '<p>' + $feature.Desc1 + $feature.Desc2 + $feature.Desc3 + $feature.Desc4 + $feature.Desc5 + '</p>' return style+title+bodytext+ImgUrl+'<center style="background-color: white";><i>'+$feature.PIC_CREDIT +'</i><br><br>'+$feature.Address + '<br><br></center>'+hours+weblink + description Probably best to inline all the styling elements though...as it may interfere with other web styles that are in use, depending on how the web app was authored.
... View more
06-19-2019
08:50 AM
|
0
|
0
|
8958
|
|
BLOG
|
Support for the use of Arcade expressions in popup configurations is starting (June 2019) to roll out in apps like Collector for ArcGIS, Explorer for ArcGIS Windows Beta, Navigator for ArcGIS Beta and any app based on the ArcGIS Runtime 100.5 or later. This article will show how Shortlist and Tour Story Map popups can be adapted to an HTML style popup. The relatively standard data structure of story maps make for a great popup experience. For this example we will be using the San Diego Shortlist webmap Opening this Map in Explorer for ArcGIS we see a popup that looks like this: Using an arcade expression we can create a popup in ArcGIS Pro that looks like this in Explorer. If you would like to follow along, open the San Diego Shortlist webmap in ArcGIS Pro. From the Catalog Pane search for ‘San Diego shortlist’ and 'Open' it. In this exercise we are only going to work with the San Diego places layer, so the other layers can be removed from the map. Right Click on the San Diego places layer and ‘Configure Pop-ups’. Remove the current popup elements. Click Expressions button to add an Arcade Expression Click New to open the Expression Builder. We will use multiple expressions to construct an HTML Popup. We could probably write it up in one expression, but it will be easier to learn if we break it into multiple expressions for each part of the popup. This picture shows the finished popup configured with the expressions. In the expression builder name the expression and copy and paste the expression below into the ‘Expression’ text box. {expression/style} – mainly for font, background color, border color and heading. var style = '<style>body {background-color: white; text-align: center; font-family: verdana; margin: 0px; border: 5px solid #0059b3; outline-style: solid; outline-color: white;} h1 {color: white; text-align: center; padding: 10px; background-color: #0059b3;}p { font-family: verdana; text-align: left; margin-left: 0px; padding-left: 5px; background-color: white;} </style>'; return style note: The popup we are building is simple, so the style is as well, however, for more advanced popups you will definitely want make use of a style. Make sure there are no hard returns in the variables you set in the expressions, it will cause the expression to fail. All of the HTML needs to be quoted in a string. Create new expressions for each of the expression that follow. The part of the popup that the expression applies to is also pictured for reference. (expression/TitleShortDesc) var title = '<h1 align="center"><font color="white"><b>'+ $feature.TITLE +'</b></font></h1>' var bodytext = '<center style="background-color: white";><br>' + $feature.Short_Desc + '<br><br></center>' return title + bodytext note: In this expression we are utilizing a heading defined in the style and using an attribute from the TITLE field. We are also adding a short description field. {expression/img_url} var ImgUrl = TextFormatting.NewLine +'<img src="'+ $feature.Pic_URL + '" width="100%" />'; return ImgUrl; note: we have set the width for the image to 100% so that it will size to the width of the popup window. {expression/PhotoCreditAddress} return '<center style="background-color: white";><i>'+$feature.PIC_CREDIT +'</i><br><br>'+$feature.Address + '<br><br></center>' {expression/hours} var hours = "" if (!isEmpty($feature.TextForHours)){ hours = '<center style="background-color: white";>Hours<br>' + text($feature.TextForHours) + '</center><br><br>' return hours; } else { } note: in this expression we are checking to see if the TextForHours attribute is null, this is something that we could have done for all expressions, it is good practice to check for null attributes. {expression\Description} var weblink = '<center style="background-color: white";> <a href="'+$feature.website+'">' + $feature.TITLE + '</a><br></center>' var description = '<p>' + $feature.Desc1 + $feature.Desc2 + $feature.Desc3 + $feature.Desc4 + $feature.Desc5 + '</p>' return weblink + description When you have finished entering all the expressions, click the back arrow and configure the popup. Add a ‘Text’ configuration. Click the pencil icon to edit it. Add all the expressions. Since the formatting for the HTML was part of the expressions, you do not need to and probably should not format them in the Text Options. Tap the back arrow. Click on a feature to see if the popup appears as desired. note: ArcGIS Pro shows a light gray background where background color is undefined. Also, you can see there is padding at the top and sides of the heading, this will display correctly in runtime apps. Using ArcGIS Pro share the map as webmap or mobile map package (change the basemap if creating a mobile map package) and your map with HTML Popup will be ready for use in ArcGIS Runtime 100.5 and later apps. (Apps written on prior runtime version do not support the use of arcade in a popup and will not display arcade content.) Just barely touching the surface for possibilities with arcade popups, but that's it for now.
... View more
06-18-2019
06:08 PM
|
5
|
13
|
14077
|
|
POST
|
Josh, You could use a Polygon feature that covers your entire area. Just know that the feature location is not what you want to use, as it will be the centroid of the feature. Use Survey123 to get the location. mark
... View more
06-13-2019
09:54 AM
|
0
|
0
|
1967
|
|
POST
|
Can you save a Layer file and "share as layer" I don't need the data, just the .lyrx for the layer. Seeing the label properties for the label class may help me understand what is happening. Thanks, Mark
... View more
06-12-2019
03:49 PM
|
0
|
0
|
1266
|
|
POST
|
Michelle, If you do decide to give ArcGIS Pro and Explorer a try this article may help https://community.esri.com/community/gis/applications/arcgis-pro/blog/2018/01/20/use-arcgis-pro-21-to-make-an-offline-map Mark
... View more
06-12-2019
03:29 PM
|
0
|
1
|
3005
|
|
POST
|
Ian, This labeling inconsistency between ArcGIS Pro and the ArcGIS Runtime is known. There is internal discussion with regard to addressing this in the next release of the Runtime, but nothing definite yet. Mark
... View more
06-03-2019
05:01 PM
|
0
|
0
|
665
|
|
POST
|
A couple potential reason for Directions to be missing On an Android device it only appears if Navigator for ArcGIS is available on the device. Also, it will not appear if the Application Settings "Routing" is not enabled for the web map. I a future release we hope to have it available if any Navigation app is available on device.
... View more
05-14-2019
03:20 PM
|
0
|
1
|
1576
|
|
POST
|
One way to make links work in Explorer for ArcGIS is to use a "Custom Attribute Display Popup." In my data I have a field that has website URLs When I configure link in the popup I can use the website field. In the Explorer popup the link will work. Explorer will also automatically recognize HTTP and HTTPS strings as being links that can be clicked. Also in a Custom Popup configuration, if your field attribute contains HTML the HTML will show in the popup. Mark
... View more
05-13-2019
03:54 PM
|
0
|
3
|
1576
|
|
POST
|
Daniel, Arcade is not supported for Popups in the released version of Explorer, IOS and Android. Explorer for ArcGIS on Windows (in beta) does support it, and you will see more Arcade support for IOS and Android in the next release of Explorer. (later this summer). Mark
... View more
05-13-2019
09:22 AM
|
1
|
0
|
1447
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | 09-30-2024 01:06 PM | |
| 1 | 03-09-2026 01:14 PM | |
| 1 | 07-31-2025 05:51 AM | |
| 1 | 09-08-2025 03:16 PM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|