|
POST
|
Hi Mark, I created a vtpk using the gray basemap, went to the directory it was download to, unzipped it, replaced the files in the info, sprites, and styles directories from the resource link you sent, zipped it back up and then added it to my maps and this is what I get (as you can see there is no info for spatial reference which was there in the original basemap):
... View more
09-24-2020
05:18 PM
|
0
|
9
|
2282
|
|
POST
|
Thank you for your quick replies. I did as you said but when I add to ArcGIS Pro this is what shows (there is no spatial reference) Do I need to change anything in the json files of the three directories before I zip it back up?
... View more
09-23-2020
01:16 PM
|
0
|
0
|
4092
|
|
POST
|
Hi Mark, I noticed on that 2nd link that the styles should be included with ArcGIS Pro 2.5 which to me means that we don't have to do this workaround? I am using version 2.5 and the styles are not working
... View more
09-23-2020
10:59 AM
|
0
|
1
|
4092
|
|
POST
|
I decided to just live with the skewed data as it will not work any other way. I now have run into another problem. The .vtpk displays as a light gray basemap in ArcGIS Pro but when I create a mmpk and display that on my mobile device the basemap shows as an entirely different basemap. See below
... View more
09-23-2020
09:03 AM
|
0
|
15
|
4092
|
|
POST
|
Thank you both for the reply. I have tried that but the issue is my data is in a different coordinate system (wkid 4326) than the basemap (wkid 3857). I can't create a mmpk if those are not the same. If I change the data frames coordinate system and/or project the data to 3857 then it warps the data and does not fit the basemap. I'm pretty sure I cannot change the coordinate system of the vtpk file.
... View more
09-22-2020
11:39 AM
|
0
|
0
|
4092
|
|
POST
|
Whatever I try I cannot get a basemap to show with a Mobile Map Package. I would rather show a local vtpk instead of an esri online basemap. Here is my code: Item { anchors.fill: parent signal openMenu() property string searchPane: "" property string inputdata: "ZooScapeMKE.mmpk" property string locatorFileName: "Locator-MKE.loc" property string filePath: "../data/" MapView { id: mapView anchors.fill: parent focus: true } MobileMapPackage { id: mmpk path: filePath + inputdata Component.onCompleted: { mmpk.load(); } onLoadStatusChanged: { if (loadStatus === Enums.LoadStatusLoaded) { mapView.map = mmpk.maps[0]; console.log(mapView.map.spatialReference.wkid); mapView.map.minScale = 15000; mapView.map.maxScale = 1000; var basemapLayer = ArcGISRuntimeEnvironment.createObject("ArcGISVectorTiledLayer", {url: filePath + "BasemapGrayMKE.vtpk"}); mapView.map.basemap.baseLayers.append(basemapLayer); } } } }
... View more
09-21-2020
06:52 PM
|
1
|
19
|
6493
|
|
POST
|
ArcGIS Pro 2.5. (would it be easier to send you my data? It's not that big) Here are my parameters:
... View more
04-28-2020
05:44 PM
|
0
|
0
|
1323
|
|
POST
|
My locator I created with "Create Locator" with the POI role enabled did not work in ArcGIS Pro. No suggestions and no results. My data is pretty simple and the process is straightforward so I have no idea why it's not working.
... View more
04-28-2020
05:25 PM
|
0
|
2
|
1323
|
|
POST
|
No worries Brad, I appreciate the help as I'm stuck and I believe this is my last hurdle. I will check with Pro, I don't remember testing it there first. I'll let you know how that goes. I did use the "Create Locator" tool with the POI role. I am not certain if I compiled the app to 64bit. One thing I really have not done is configure more kits in addition to the default Desktop one (which I am testing on). I tried to create one for my iPhone a little while back but it didn't work and I never revisited it. Is there any good documentation on configuring kits? With the "Create Locator", searching does not work for me. I will test in Pro and get back to you. Thanks, Tim
... View more
04-28-2020
02:55 PM
|
0
|
0
|
1323
|
|
POST
|
....and how do I know if I'm using the new locators? My ArcGIS Pro is using the latest version as is my AppStudio. Just to clarify, I am building my own locator and utilizing a mmpk. Not sure if that makes a difference. Thanks!
... View more
04-27-2020
03:05 PM
|
0
|
6
|
1323
|
|
POST
|
Yeah, unfortunately I do not get any suggestions and I do not get any geocoding results. I added a locatorInfo function to see what attributes are returned and it gave me a long list but none of them were Category or SubCategory. It listed the normal address attributes plus Type and PlaceName. Type and PlaceName are the only attributes I can get to work with the Gazetteer style locator. Thank you for you time looking into this.
... View more
04-26-2020
11:44 AM
|
0
|
0
|
1323
|
|
POST
|
Thanks Erwin. My runtime version is the latest one. Brad, I tried your suggestions and added a subcategory. I used the "Create Locator" tool and mapped my placename, category, and subcategory. Now I don't get any suggestions. I had thought I tried this one before and also did not get any suggestions. And, according to this documentation (GeocodeParameters QML Type | ArcGIS for Developers ) categories are not supported with local locators. It suggests I use the gazetteer style address locator which I have been using....but it only supports Type and Name and no categories.
... View more
04-24-2020
12:37 PM
|
0
|
9
|
1323
|
|
POST
|
Brad, Thank you for this info! I believe I am using the latest version of runtime but how can I check? I will try this out and let you know how it goes.
... View more
04-24-2020
09:46 AM
|
0
|
11
|
2265
|
|
POST
|
It represents the location of the animal enclosure or building. And you are correct, it is an application that allows you to find features in a zoo. Thanks!
... View more
04-23-2020
02:21 PM
|
0
|
13
|
2265
|
|
POST
|
Thanks for you response Brad. I have a point feature that has a field called Name. Another field is called Category. Two of the records in this point feature are named "African Lion" and "Lion Parking Lot". I set up a locator but I expect it to suggest both of those names when a user simply types "lion". None of the locators that I created show both. It will find both records.....it just won't suggest them in the dropdown list. Also, Categories do no work for locale locators. I can sort of get around this by using the gazetteer style address locator but it is Type that works, not category.
... View more
04-23-2020
11:53 AM
|
0
|
15
|
2265
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-29-2020 12:00 PM | |
| 1 | 09-21-2020 06:52 PM |
| Online Status |
Offline
|
| Date Last Visited |
08-18-2023
12:31 AM
|