|
POST
|
Thank you Robert for the quick reply. We have esri base map, NAIP 1 meter imagery, and other background layers cached at the same levels as ESRI base layers. there are some feature layers coming from a dynamic map service. I am implementing a drop down using the same scale levels as ArcMap to get started. since it is a JavaScript Memory object, we can always change the scales. regards ravi.
... View more
12-07-2016
09:36 AM
|
0
|
0
|
863
|
|
POST
|
dear Readers, good afternoon. We are implementing a web map solution and started with a ESRI suggested template from: http://www.arcgis.com/apps/Viewer/index.html?webmap=f5b13dbed07c46cdb783cf361833aa6b We made modifications to the template to point to the correct layers and it was working fine. we were able to see our layers in the layer list, with appropriate base maps, legends and measure. One of the users requested a dropdown where they could select pre-defined scales like 1:10,000, 1:100,000 like they are used to seeing in ArcMap. I had mentioned in one of the meetings that it might not be possible in a straightforward way. I am wondering whether there is a complicated way to implement it. Further, in one of my previous ESRI demos, I remember the tech staff members requesting end users not to reproduce or try to imitate ArcMap features in JS or SL. Any URL or best practices document that indicate the same will be beneficial. regards ravi.
... View more
12-06-2016
03:16 PM
|
0
|
5
|
2094
|
|
POST
|
Robert, you have been always very kind and quick to respond. Sorry for the delay. I will implement your ideas and let you know soon. regards ravi.
... View more
11-03-2016
08:21 AM
|
1
|
0
|
913
|
|
POST
|
dear Readers, thank you for taking the time to read and help. I was able to download geoJSON sample from github - geojson-layer-js-master project. Loaded the same onto our virtual share. it currently uses 3.10 with older signatures. is there a newer version? We are planning to use it with an esri template very similar to: http://www.arcgis.com/apps/Viewer/index.html?webmap=f5b13dbed07c46cdb783cf361833aa6b I understand that it is a joint effort by esri and terraformer.- any new updates would be good. I am still trying to see how to use the 'transform' functions and move them to my 3.18 JS project. regards ravi.
... View more
10-28-2016
03:24 PM
|
0
|
2
|
1625
|
|
POST
|
Sorry Robert, my colleague Mark (Frisky Weasel) was working on this issue and I forgot to check back. have a good weekend. regards ravi.
... View more
07-22-2016
10:56 AM
|
0
|
0
|
655
|
|
POST
|
Dear Readers, thank you for taking the time to read through it. We have a national layer with 29000+ points - we created feature and map services from the map document containing that point feature layer. we created a web map to be consumed in web app builder based application; this web map was slow to render the feature service at national extent. So to improve the performance, we added its map service layer and set scale dependencies to both the layers using layer options in web map. Map service would display from national extent to county extent (as per visible range option of web maps layer options in portal) and the feature service would display from County to max possible extent. PROBLEM: After we added the map service layer, we were able to set the visibility range in Portal/WebMap to the desired scales. When we added the corresponding feature layer, we could not see the feature layer to set its scale dependencies. When we saw the summary/description page of the web map, we could see the feature and map services - but on the Open Map/Contents page, we could see only 1 layer (map service consistently). When we consumed the web map in a web app builder app, both layers were visible in the layer list. So to go one step further, we went n modified the file under /arcgisportal/item/UniquieID8774850948585/webMap file name to include "minScale" and "maxScale" for map server service and layerDefinition" :{"minScale: , "maxScale:}, for feature service layer. that didn't fix it. it is the same behavior in IE, firefox, or chrome. Any suggestions would be great. regards ravi.
... View more
07-18-2016
02:40 PM
|
0
|
0
|
946
|
|
POST
|
Robert, congratulations and hats off for creating a nice eSearch widget that works great. One of the users requested us to 'hide' the No Results caption before the search is complete. I tried to comment out the line (133): html.place(html.toDom(this.nls.noResults), this.divResultMessage); nothing happened. hope it is a simple fix. I didn't want to mess up the noResults declaration in string.js file. regards ravi.
... View more
07-12-2016
03:26 PM
|
0
|
2
|
2253
|
|
POST
|
Thanks for the info; sorry for the delay in replying. I was out of office. regards ravi.
... View more
07-12-2016
11:22 AM
|
0
|
0
|
1223
|
|
POST
|
Robert, sorry forgot to tell you: I checked the permissions and set the extent in MapManager.js file at the highest level of /widgets folder and /widgets/homebutton/widgets.js onExtentChange and setting the initialExtent using the state level extent obj set in the MapManager.js file. thanks for your support n regards ravi.
... View more
06-27-2016
03:53 PM
|
0
|
2
|
1223
|
|
POST
|
Robert, good afternoon. when I got time I went back to the code and put check points to see whether the person assigned was a state user (only for state users the extent needs to be locked like Silverlight app), I used to code to zoom to a state. In this case, there is a user who can access only MS - your neighboring state. I was able to check and zoom to MS. Locking the extent or preventing the zoom out became a problem: onExtentChange: function()
{
if (ZR_STATE_EXENT_OBJ)
{
var deltaXmin = this.map.extent.xmin - ZR_STATE_EXTENT+OBJ.xmin ; //should b positive - otherwise restrict or don't zoom out
var deltaYmin = ... ; //should be positive;
var deltaXmax = .... ; // should be negative or otherwise prevent extent change
var deltaYmax = ...;
if(deltaXmin < 0 || deltaYmin <0 || deltaXmax > 0 || deltaYmax >0)
{
this.map.setExtent(ZR_STATE_EXTENT_OBJ);
}
}
} The if condition gets triggered even if I zoom in by clicking the plus sign to zoom in... which should not be the case.case. regards
... View more
06-27-2016
03:51 PM
|
0
|
0
|
1223
|
|
POST
|
Robert, good morning. thank you for the reply. we will use the code and confirm it works. thanks once again for your support to the entire js, WAB community. regards ravi.
... View more
06-20-2016
08:52 AM
|
0
|
0
|
3060
|
|
POST
|
Adrian, One of our ESRI support staff requested us to use Select by option instead of the on-demand option while loading another layer. this is after the web map to facilitate the 'smoother' hiding of features in different state/county. After we implemented the Select By option for the layer, the web app builder code does not know about the newly added Select by option layer and the jimu based WAB functions work fine with the on-demand layers that are coming from Web map residing in the portal. right now with the on-demand feature layers coming from web map are working in a fine way with all other WAB functions and the only hitch is the attribute grid filtering. so if we fix the attribute grid then we have addressed our end users' needs. regards ravi.
... View more
06-17-2016
03:49 PM
|
0
|
1
|
3060
|
|
POST
|
Adrian, good afternoon. thanks for replying quickly. Sorry I did not give too many details and tried to keep the question simple. To explain my situation, I have provide a detailed explanation as to why we want this. Our feature n map server layer is of national extent. we implemented a widget using the sample blank widget template from ESRI with state/county/ and point feature layer names for a guided navigation for 2 purposes: 1. to search a point feature by state/county as people using this might not know the actual geographic location, 2. lock down users based on the state they are allowed to view. When a user who is allowed to work on California, the state dropdown has only 1 entry and when the users select that 1 entry, all other point features are hidden when the application also zooms to California extent. The application would load all the counties of CA. NV state features are set to hidden from the feature layer display on the map element. the attribute grid changes to reflect the dams in the new extent but contains NV and AZ state records. What we want to accomplish is that when we are programmatically removing point features belonging to NV and AZ from the visible extent after the application zooms to CA, at the same time, we want to programmatically do something as though the user click on filter by attributes of the attribute table to set the NV and AZ point feautres to hidden. We are already using eSearch wizard (by Mr. Robert S., GISP of AL) for our searching and report creation purposes. thanks once again for your help. have a good weekend. regards ravi.
... View more
06-17-2016
03:44 PM
|
0
|
0
|
3060
|
|
POST
|
dear Readers, thank you for taking the time to read the contents of the post. How to programmatically filter records of the attribute grid? there is a filter menu that open a popup window which allows the users to select the column by which the condition should be applied. it also provides the ability to add 1 or 2 more columns with the option to make it ANY or AND.\ Is there a way to perform this operation programmatically? thanks and regards ravi.
... View more
06-17-2016
02:39 PM
|
0
|
24
|
9809
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-13-2013 07:52 AM | |
| 1 | 09-10-2013 02:15 PM | |
| 1 | 03-20-2023 06:38 AM | |
| 1 | 05-17-2022 07:41 AM | |
| 1 | 01-04-2021 10:08 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-10-2025
08:54 PM
|