Hey all,
Before I start I wanted to thank everyone for their help on a few questions I have posted lately. I really appreciated the help.
My question is creating geometry for a point clicked on the map. I want to solve a route from my current location to a feature or a point click on the map. I can get the current location working to a set point but can't get the point to work. At the moment I have this but coming up with the line not defined.
stop2Geometry = ArcGISRuntimeEnvironment.createObject("Point", { y: mapView.mouse.mapPoint.position.y, x: mapView.mouse.mapPoint.position.x, spatialReference: SpatialReference.createWgs84() });
I'm working on QML Runtime 100.8.
Also I would like this to work onClicked to automatically solve the route.
Cheers,
Eric