POST
|
OK. That feature isn't a big deal for me. I just tried it since it was already and there and wanted to make sure there wasn't some big change I should be aware of about switching from a scene to a map. Thanks again!
... View more
11-14-2019
12:29 PM
|
0
|
0
|
33
|
POST
|
Erwin Soekianto Thanks for the quick response! Lucas Danzinger Yes, that is perfect! I love how KmlGroundOverlay can be defined using very similar parameters to the MapImageLayer class from Javascript 3.x (e.g. xmin, ymin, xmax, ymax, spatial reference). Thanks! I have a quick follow up question, I noticed when I changed from a sceneView to a mapView the transparency slider stopped working (see below). Do you happen to know what that is about? import QtQuick 2.7 import QtQuick . Controls 2.3 import ArcGIS . AppFramework 1.0 import ArcGIS . AppFramework . Controls 1.0 import Esri . ArcGISRuntime 100.6 //import Esri.ArcGISExtras 1.1 App { id : app width : 400 height : 640 Rectangle { id : rootRectangle clip : true width : 800 height : 600 readonly property url dataPath : "" MapView { id : mapView anchors . fill : parent Map { BasemapImagery { } initialViewpoint : viewpoint ViewpointCenter { id : viewpoint Point { x : - 123.066227926904 y : 44.04736963555683 SpatialReference { wkid : 4326 } } targetScale : 15000 } // Create a KML Layer KmlLayer { id : kmlLayer // Create a KML Dataset KmlDataset { // Create a Ground Overlay by assigning an icon and geometry KmlGroundOverlay { id : groundOverlay rotation : - 3.046024799346924 KmlIcon { url : "C:/Users/mstay/ArcGIS/AppStudio/Apps/EditKmlGroundOverlay/1944.jpg" } Envelope { id : env xMin : - 123.066227926904 yMin : 44.04736963555683 xMax : - 123.0796942287304 yMax : 44.03878298600624 SpatialReference { wkid : 4326 } } } } } } } Rectangle { anchors . fill : slider radius : 5 } Slider { id : slider anchors { left : parent . left top : parent . top margins : 10 } from : 0 to : 1 value : 1 stepSize : 0.1 onValueChanged : { // modify the overlay's color/alpha value groundOverlay . color = Qt . rgba ( 0 , 0 , 0 , value ) ; } } } }
... View more
11-14-2019
11:24 AM
|
0
|
2
|
33
|
POST
|
Is it possible to add a georeferenced image to a map, like the one attached? I know in 3.x I can use MapImage and MapImage layer to georeference an image using the extents of the image (see my demo here). But what if I already have a georeferenced image, like the one attached? Can I add it to a map without having to specify the extents?
... View more
11-14-2019
10:09 AM
|
0
|
2
|
86
|
POST
|
Is there any update to this? I too am looking for a way to use 3.x mapImage in 4.x. Specifically, I would like to load an image using extents, like this. If 3.x mapImage is still not ported over to 4.x, is there another way to approach this in 4.x?
... View more
11-14-2019
08:31 AM
|
0
|
1
|
27
|
POST
|
Is it possible to add an image to a map based on an extent? In ArcGIS JS 3.X I can create a MapImageLayer and add a MapImage to it. See my demo here. I would like to do something similar in AppStudio.
... View more
11-14-2019
08:22 AM
|
0
|
5
|
95
|
POST
|
Hi Ben and Noah, Both great points. Noah, yes it's true, I'm sure it is all there using the REST API, it just would take a little bit of work. Ben, that is what I was looking for. The answer seems obvious now that you point it out. I don't need a map and layers and all that, just a quick query and create a graphic. Perfect! Thanks again!
... View more
10-16-2019
07:29 AM
|
1
|
0
|
26
|
POST
|
Thanks to both of you for your responses. Yes, you can get some information about feature using the REST API, but not nearly as much as you can by selecting the graphic on the map. For example, you can see below, the geometry from the REST Endpoint contains X and Y. However, from the Graphic there is much more data including hasM, hasZ, latitude, longitude, spatialReference, type, X and Y. It's the same things with layer. I was hoping there was an easy way to get around it, but it sounds like I will still have to go ahead a create a layer and select a feature to get all the same data, even if there isn't a map loaded. Is that right?
... View more
10-15-2019
03:08 PM
|
0
|
3
|
26
|
POST
|
When I select a feature on a map and use popup.getSelectedFeature() I get a great JSON object that has all kinds of information about the feature, including: feature attributes, the layer the feature is on, etc. That's great! Is it possible to get the same information when I don't have a map loaded? I have a page in my application where I don't have a map at all. I just show information from my own custom database that relates to features. I want to be able to open the same custom info panel that I created for use on my map page on this other page. To do that, I need the following information for the feature: feature._layer.id feature.geometry feature.geometry.type feature.attributes feature.getLayer().applyEdits I looked into using the ArcGIS REST API query, but it doesn't give me any information about the layer or the full geometry object. I hoping there is a way to select a feature using its ObjectID without a map. Thanks!
... View more
10-14-2019
02:51 PM
|
0
|
6
|
136
|
POST
|
Hi James, Any update on this? I have a similar scenario where I have a public web form. A resident completes the form. I want to be able to send the same form to them a year later so they can see their previous responses and make any updates necessary. I suppose I could send them a link using the Survey123 Custom URL Scheme, but I would have to add every field single field to the URL. I'm wondering if there is an easier way. Perhaps just send the global ID of the record in question, or something like that? Thanks, Matt
... View more
08-18-2019
03:04 PM
|
0
|
0
|
4
|
Online Status |
Offline
|
Date Last Visited |
6 hours ago
|