|
POST
|
I added the script call to my application (using v3.8 of the api) I do not get any errors <script src="http://code.jquery.com/jquery-1.10.2.js" type="text/javascript"></script> <script type="text/javascript" > dojoConfig = { parseOnLoad: false, async:true, baseUrl: '/arcgis_js_api/library/3.8/arcgis/js/dojo/dojo', packages: [{name: 'org', location: hostPath + '/..' + '/mobile/org'}, {name: 'agsjs', location: hostPath + '/..' + '/mobile/agsjs'}, {name: 'com', location: hostPath + '/..' + '/js/com'}, {name: 'utilities', location: hostPath + '/..' + '/mobile/utilities'} ], isDebug: false, usePlainJson: false }; </script> <script src="/arcgis_js_api/library/3.8/arcgis/?v=3.8"></script>
... View more
01-29-2014
11:15 AM
|
0
|
0
|
1789
|
|
POST
|
i believe this is just a performance issue in IE9. There isn't a fix, so to speak, as it is just a limitation. However to improve responsiveness, you could try simplifying the geometries
... View more
01-29-2014
11:03 AM
|
0
|
0
|
1417
|
|
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. You can get down to tile level 19, which is 1:1128.497176 In silverlight you could "zoom" farther I guess, which is just a blur zoom (no more detail, just bigger pixels). You cannot do this is JS However, you can create a custom tiled service with more levels. Then when you create your map, either use this service first, or manually defined your LODs to include more levels For example, we go one level further with our basemap to level 20 (1:564).
... View more
01-29-2014
10:44 AM
|
0
|
0
|
1156
|
|
POST
|
Why are you using 2.1 and 2.4 css? The api is at 3.8
... View more
01-27-2014
05:44 AM
|
0
|
0
|
1290
|
|
POST
|
and destroy should delete the widget DOM elements and remove it from the dijit registry. This is necessary if you ever want to re-instatiate the widget with the same name/id
... View more
01-23-2014
10:36 AM
|
0
|
0
|
1568
|
|
POST
|
map.graphics.clear() do this right after you clear results
... View more
01-23-2014
10:34 AM
|
0
|
0
|
1568
|
|
POST
|
dojo not defined is the error you get when the api fails to load You could load one locally, but my guess is that is not your problem If it loads occasionally, then it sounds like your app is configured properly. Are you behind a corporate firewall or running antivirus (particularly I have seen issues with Kaspersky). I would rule those networking type issues out before you commit to bringing the API local
... View more
01-23-2014
09:49 AM
|
0
|
0
|
688
|
|
POST
|
Jeff, I am a Flex Widget Developer and am starting to get my head wrapped around development in the JS API. Would you mind sharing a few more details with me? Can you post a screenshot of this widget in your app? Can you attach or paste the org/mymanatee/dijit/templates/AerialDownloadWidget.html? Thanks for your consideration of my request in advance. AerialDownloadWidget.html <div class="widgetContent" data-dojo-attach-point="containerNode">
<div class="widgetPanel" >
<table>
<tr >
<td><select id="aerialDownloadYearSelector" name="aerialDownloadYearSelector" data-dojo-type="dijit/form/Select" >
<!-- <option value="2013" selected></option>-->
</select></td><td>Select Year</td>
</tr>
<tr >
<td><select id="aerialDownloadFormatSelector" name="aerialDownloadFormatSelector" data-dojo-type="dijit/form/Select" >
<option value="JPG" selected="selected">JPG</option>
<option value="PNG" >PNG</option>
<option value="BMP" >BMP</option>
<option value="GIF" >GIF</option>
<option value="MrSID" >MrSID</option>
<!-- <option value="ZIPPED MrSID">ZIPPED MrSID</option> -->
</select></td><td>Select Format</td>
</tr>
<tr>
<td >Filename:</td>
<td ><input type="text" id ="aerialFilenameTextInput" name="aerialFilenameTextInput" data-dojo-type="dijit/form/TextBox"></td>
</tr>
<tr><td></td><td><button data-dojo-type="dijit/form/Button" id="exportAerial" >Download Aerial</button></td></tr>
<tr ><td rowspan='3'></td><td></td></tr>
<tr><td>MrSID files can be viewed in a web browser using the free ExpressView Browser Plug-in from <a href="http://www.lizardtech.com/downloads/category/#plugins" target='_blank'> Lizardtech</a></td></tr>
</table>
</div>
</div>
... View more
01-23-2014
07:34 AM
|
0
|
0
|
2001
|
|
POST
|
ITs not a scoping issue. measureDialog.open is a property of a DOM element, not the measurement dijit therefore measureDialog.clearResult() does not exist, since the clearResult method doesnt exist on the DOM element your (pseudocode) should be if(measureDialog.open){ measureDijit.clearResult(); }
... View more
01-23-2014
07:03 AM
|
0
|
0
|
1568
|
|
POST
|
does your dojoConfig say where "js" is? i.e. <script type="text/javascript" > dojoConfig = { parseOnLoad: false, async:true, baseUrl: '/arcgis_js_api/library/3.8/arcgis/js/dojo/dojo', packages: [{name: 'org', location: hostPath + '/..' + '/mobile/org'}, {name: 'agsjs', location: hostPath + '/..' + '/mobile/agsjs'}, {name: 'com', location: hostPath + '/..' + '/js/com'}, {name: 'utilities', location: hostPath + '/..' + '/mobile/utilities'} ], isDebug: false, usePlainJson: false }; </script>
... View more
01-21-2014
06:34 AM
|
0
|
0
|
1893
|
|
POST
|
I have the same problem with an iframe. And I cannot debug, because I don't have a Mac and IPADs have no built in debugging anymore Great hardware, terrible platform. Good Luck
... View more
01-21-2014
04:20 AM
|
0
|
0
|
2783
|
|
POST
|
Thats what I get for making assumptions. Yes this all needs to be an expandopane, its exactly what you are looking for <div data-dojo-type="dojox/layout/ExpandoPane" data-dojo-props="region:'left',title:'Widgets',startExpanded:false" id="leftPane">
<div data-dojo-type="dijit/layout/TabContainer" data-dojo-props="tabPosition:'top', tabStrip:'true'" id="leftTC" style="padding:0;width:290px;" >
<div data-dojo-type="dijit/layout/AccordionContainer" title="Data" id="dataTab">
<div data-dojo-type="dijit/layout/AccordionPane" data-dojo-props="title:'Live Layers',selected:'true'" id="liveLayerPane" style="padding:0;" >
<div id="tocDiv" style="padding: 0 5px 0;" ></div>
</div>
... View more
01-13-2014
07:15 AM
|
0
|
0
|
1834
|
|
POST
|
sorry, i thought you were looking for an event if all you want to do is start with it closed, when you define the container data-dojo-props="region:'right',title:'Results',startExpanded:false"
... View more
01-13-2014
06:38 AM
|
0
|
0
|
1834
|
|
POST
|
Once you have the pane showing, you can also select a specific AccordianContainer or AccordianPane
registry.byId(settings.tabContainer).selectChild(settings.accordionContainer);
registry.byId(settings.accordionContainer).selectChild(settings.accordionPane);
... View more
01-13-2014
05:23 AM
|
0
|
0
|
1834
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-22-2014 08:35 AM | |
| 1 | 05-02-2012 04:56 AM | |
| 1 | 10-29-2021 07:40 AM | |
| 1 | 10-28-2021 05:26 AM | |
| 1 | 07-17-2012 08:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-01-2022
02:00 PM
|