DOC
|
Robert, I tried, but I don't see any layers to toggle in configuration step. I am using WAB 2.0 version. Does your code work for WAB 2.0? If not, do you have Layer Toggle Button Widget for WAB 2.0? Thanks,
... View more
02-27-2017
12:40 PM
|
0
|
0
|
15603
|
DOC
|
Robert - this seems to be a great widget, but I need help how to set up in my web app. I downloaded your code, saved under widgets folder, and added the following into the main config.json but the widget is still not showing up. Also, your code has "ParcelViewer_4948" under layerOptions. Where does this layer name come from? How can I find a layer name in my web app? Thanks { "uri": "widgets/LayerToggleButton/Widget", "position": { "left": 25, "top": 665, "relativeTo": "map" }, "version": "2.0.1", "id": "widgets_LayerToggleButton_Widget_22", "name": "LayerToggleButton", "label": "LayerToggleButton" }
... View more
02-27-2017
12:16 PM
|
0
|
0
|
15603
|
POST
|
Thanks Robert for helping me in this issue. I ended up writing my own function returning correct distance using Geometry Service instead of Geometry Engine. ''distParams.geodesic = true'' returns correct distance. I still wonder why Geometry Engine does not work with my data... Anyway your answer in this question also helped me a lot Looping with GeometryService Distance (deferred problem?) Thank you very much
... View more
07-06-2016
12:54 PM
|
0
|
0
|
699
|
POST
|
I have zoomed in to verify the distance and I don't use snapping. This is the first time I am using Geometry Engine in my JS app and maybe I am using it incorrectly. Although my base map is in Web Mercator all the operational layers are in state plane and they are re-projected to Web Mercator on the fly. In order to use Geometry Engine do all operational layers need to be in Web Mercator as well?
... View more
07-06-2016
09:24 AM
|
0
|
2
|
699
|
POST
|
I am using my own base map which is in Web Mercator coordinate. The distance from Geometry Engine is larger (50~100 ft) than the Measurement widget result and that is why I think something must be wrong with Geometry Engine distance.
... View more
07-06-2016
09:00 AM
|
0
|
4
|
699
|
POST
|
I have noticed NearMe widget displays incorrect distance. Does anyone have this problem? I looked into code and I have found out that NearMe widget uses Geometry Engine to calculate distance between two geometries. Maybe this is a bug with Geometry Engine. ESRI needs to fix this bug.
... View more
07-06-2016
04:45 AM
|
0
|
7
|
3055
|
POST
|
I was able to add map services on the fly using Add Layer widget, but after layers get loaded clicking on a map triggers pop-ups. I don't want these annoying pop-ups to show up after new layers loaded. I know I can set disabling pop-ups in a WebMap, but how can I disable pop-ups after new layers loaded? If anyone can help me in this issue I would greatly appreciate.
... View more
06-20-2016
05:59 PM
|
0
|
1
|
1876
|
Online Status |
Offline
|
Date Last Visited |
01-31-2024
07:17 PM
|