|
POST
|
Ken: Thanks. First time tried JSBin. My code is at http://jsbin.com/ilElaWa/2/edit?html,output. Could you view it on your side? Thanks.
... View more
01-30-2014
07:58 AM
|
0
|
0
|
1990
|
|
POST
|
In my thread at http://forums.arcgis.com/threads/101760-Map-does-not-display?p=362307&posted=1#post362307, I reported a problem when I switched API from 2.x to 3.8: The TOC does function well. Per Ken's advisory, the TOC problem got solved, but the Zoom In/Out tool at the top-left of the panel becomes disabled. Hopefully someone can help me for this debugging.
... View more
01-30-2014
06:55 AM
|
0
|
5
|
2309
|
|
POST
|
Ken: Thanks for you to provide wonderful code source. Referring to source code, I revised my script. In works in general. But it also generates another problem: the zoom-in / zoom-out tool on the top-left of the panel becomes disabled. I will open another thread in minutes. Hopefully, you can help also.
... View more
01-30-2014
06:50 AM
|
0
|
0
|
926
|
|
POST
|
When I switch JS API from 2.x to 3.8, the map does not display. I checked the dojo.require items one by one and observed that if dojo.require("agsjs.dijit.TOC"); is added, the map panel becomes blank. Through Fiddler2, the message obtained is 404 for Host: js.arcgis.com URL: /3.8/js/dojo/arcgis/digit/TOC.js. I checked http://js.arcgis.com/3.8/js does not exist. How can TOC component be loaded in API 3.8? Is it included already in V3.8? Thanks.
... View more
01-30-2014
05:42 AM
|
0
|
2
|
1290
|
|
POST
|
Jeff: I tested some simple scripts. You are right. It must be some hidden bugs in the script I have. I will checked this thread as solved as your credit. Thanks. Update: Just checked and detected that 1 problem is due to dojo.require("agsjs.dijit.TOC"); with this code, map is not displayed. I will open another thread for this issue.
... View more
01-30-2014
04:38 AM
|
0
|
0
|
1746
|
|
POST
|
Jeff: Actually, it can zoom deeper than L19, and can go as deeper as that in ArcMap. I added an opcity slider for the basemap: US Streets. It looks fine. But I can't use ESRI basemap gallery, as pointed out already. Thanks anyway.
... View more
01-30-2014
04:35 AM
|
0
|
0
|
826
|
|
POST
|
Jeff: I loaded the basemap as an ArcGISDynamicMapServiceLayer and then set its opacity. Then it works. Thanks.
... View more
01-30-2014
03:48 AM
|
0
|
0
|
1119
|
|
POST
|
Using the procedure below, the problem is solved: 1) Change esri.layers.ArcGISTiledMapServiceLayer to esri.layers.ArcGISDynamicMapServiceLayer for the basemap. 2) Set the basemap opacity: 0.5. 3) Load the operation layer that can scale deeper as the 1st layer.
... View more
01-30-2014
03:37 AM
|
0
|
0
|
826
|
|
POST
|
This is a continuation of my thread at http://forums.arcgis.com/threads/101693-Zoom-level?p=362198&posted=1#post362198. In that thread, I reported the Zoom level in JS application. Using Jeff's approach, I added the operation layer, which is defined with deeper scale in ArcGIS Server, before I added another other layers. The problem remained is that once a basemap is loaded, that operational layer becomes invisible. However, in my SL application, it is not a problem. Is there any way to solve it? Thanks.
... View more
01-30-2014
02:21 AM
|
0
|
3
|
1189
|
|
POST
|
jeff: Tested using your approach - I added the operation layer that needs go deeper before the basemap layer. Then it can go to the scales I defined in ArcGIS Server (e.g. 1:500 and 1:250), even much deeper. The problem remained is that when it is open initially, the basemap is not loaded till I check the map gallery. When a basemap is loaded, the operational layer becomes invisible. Do you have any idea to handle it? Thanks.
... View more
01-30-2014
02:15 AM
|
0
|
0
|
1119
|
|
POST
|
Refer to http://forums.arcgis.com/threads/101672-Error-502-Bad-Gateway-at-forums.arcgis.com-ajax.php-do-quickedit-amp-p-361501. It is actually the conflict between JS API 3.x and jquery. Using JS API 2.x should be fine. However, some updated functions in 3.x can't be used.
... View more
01-29-2014
10:19 AM
|
0
|
0
|
1202
|
|
POST
|
I tried some scripts with API 3.x sourced from ESRI samples. Those work fine. That means it should not be issue of V3.x itsself. In my application, I use jquery-1.10.2.js. I suspected some kind of conflict due to the use of jquery. Then I added <script src="http://code.jquery.com/jquery-1.10.2.js" type="text/javascript"></script> before or after <script src="http://js.arcgis.com/3.8/"></script> into the ESRI's script. Re-run debugging on the script, some errors pop out. It means that the conflict between JS API 3.x and jquery exists. However, if I use JS API 2.x (e.g. 2.1 through 2.7), there is no problem. Therefore, I would like raise this issue to ESRI developer Team for their attention.
... View more
01-29-2014
10:14 AM
|
0
|
0
|
1746
|
|
POST
|
Actually you don't need any ESRI software since you only need to use some services. From https://developers.arcgis.com/javascript/jstutorials/intro_agstemplate_amd.html, you should get all of the details. You may use VS or NotePad, NotePad+or other editor to program your file. Good luck.
... View more
01-29-2014
07:14 AM
|
0
|
0
|
632
|
|
POST
|
In one of my Silverlight project, the zoom scale can go the scale about 1:100. However, in my JS application, I can only go to about 1:1000. Why there is so big difference? Is it possible for JS to get zoom scale as deep as that in SL without any programming setup? Thanks.
... View more
01-29-2014
06:54 AM
|
0
|
4
|
1585
|
|
POST
|
It is actually the version conflict issue. I will take Jeff's advice to use V3.8. Thanks to Jeff.
... View more
01-29-2014
04:47 AM
|
0
|
0
|
1243
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-18-2023 10:02 AM | |
| 3 | 07-14-2023 12:29 PM | |
| 1 | 04-02-2021 12:16 PM | |
| 1 | 07-24-2017 11:31 AM | |
| 1 | 04-04-2016 03:59 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-01-2025
11:58 AM
|