|
POST
|
@ganeshssac I have the .exe for Aptana 2.0.3 if that will work? I'll also ping you at your yahoo email and create a temporary dropbox location for it. It's 101 MBs which is too big to send via email.
... View more
02-16-2012
10:46 AM
|
0
|
0
|
2051
|
|
POST
|
@BenJamin to get information on what item is clicked in the bookmark dijit try adding an onClick event listener to the bookmarks <div>. If try to use dojo.connect(bookmark, 'onClick', someFunction); you won't get the correct scope. For example, here is some psuedo-code, however note that this will pick up "any" click that occurs including the "Add Bookmark" button. So when you build this into your app you'll need to filter what comes back by using something like a switch/case statement: <script>
function bookmarkClickHandler(evt){
console.log("bookmark " + evt.target.innerText);
}
</script>
<div id="bookmarks-pane"
data-dojo-type="dijit.TitlePane"
data-dojo-props='title:"Bookmarks",
tooltip:"I\"m the tooltip for Title Pane #1\"s title bar" '>
<div id="bookmarks" onClick="bookmarkClickHandler(evt)"></div>
<button id="clear-storage">Remove Map Bookmarks</button>
</div>
... View more
02-14-2012
10:00 AM
|
0
|
0
|
531
|
|
POST
|
@geoyogesh I'm not that familiar with Blackberry but have you tried to debug the app with something like this: http://devblog.blackberry.com/2011/06/debugging-blackberry-web-apps/ -Andy Esri Developer Network
... View more
01-26-2012
04:05 PM
|
0
|
0
|
585
|
|
POST
|
@Natalie, you are on the right track. The Address Matching sample that you referenced is what needs to be coded into your existing application. If you wish to give it a try I have several suggestions. You're really close and it's not too many steps: 1) Copy the following HTML tags into your template's index.html file and place this beneath the <div id="description"></div>: <div><textarea type="text" id="address"/>380 New York St, Redlands</textArea> <br /> <button dojotype="dijit.form.Button" onclick="locate()"> Locate</button></div> 2) In layout.js do the following: - copy and paste this at the top of the page: dojo.require("esri.tasks.locator"); dojo.require("dijit.form.Button"); - copy and paste these two lines of code right inside the function initMap(): locator = new esri.tasks.Locator("http://tasks.arcgis.com/ArcGIS/rest/services/WorldLocator/GeocodeServer"); dojo.connect(locator, "onAddressToLocationsComplete", showResults); - copy and paste all the sample code from function locate(){...} and function showResults(candidates){...} and place it right below function addScalebar() in layout.js. So locate() and showResults() will become new functions in the layout.js file. If all goes well, that should do it. Test the app in a web browser. Note that you have to host these files that you downloaded from ArcGIS.com on your own web server. I hope that helps, -Andy Esri Developer Network Team
... View more
01-26-2012
03:48 PM
|
0
|
0
|
733
|
|
POST
|
@Greg, just a clarification: this is the JavaScript forum and I think you are referring to the Flex API (re: FlashBuilder). If you still have a question you may want to repost over in the Flex API Forum: http://forums.arcgis.com/forums/18-ArcGIS-API-for-Flex -Andy Esri Developer Network
... View more
01-12-2012
02:06 PM
|
0
|
0
|
6426
|
|
POST
|
Try explicitly setting the layer index using the optional 'index' property in the addLayer(layer, index?) method. http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/map.htm#addLayer -Andy Esri Developer Network
... View more
01-12-2012
01:49 PM
|
0
|
0
|
4108
|
|
POST
|
Have you taken a look at the REST request/response from the editing session in Firebug or Fiddler? Did you see any errors? -Andy Esri Developer Network
... View more
01-12-2012
01:25 PM
|
0
|
0
|
3288
|
|
POST
|
Ah, I think I understand now. You should always use IIS Manager to create new web directories. That way the directory will have the correct permissions assigned to it. Here are my suggestions: 1) First, delete the proxy directory that you already created. It probably doesn't have the right permissions and attributes. 2) In IIS Manager, right click "Default Web Site" > Add Application. Give it a alias/name (e.g. proxy) and in the "Physical Path" field create your new directory folder. 3) Download and copy the contents from here and paste them into the new directory. 4) In your mapping app, set the proxy directory as follows: esri.config.defaults.io.proxyUrl = "/proxy/proxy.ashx"; 5) Test your app using Firefox Firebug, or Fiddler. 6) (Edited) Forgot to mention that you may need adjust the settings in proxy.config so that you can access your own ArcGIS Server. I hope that helps, -Andy Esri Developer Network
... View more
01-11-2012
04:00 PM
|
0
|
0
|
3288
|
|
POST
|
Mboustani, the default location on your web server should be c:\inetpub\wwwroot. This is the directory to use when you follow the directions specified in Step 1 of the link you posted. Was there something specific about IIS 7.5 that isn't making any sense? -Andy Esri Developer Network
... View more
01-11-2012
02:50 PM
|
0
|
0
|
3288
|
|
POST
|
Nathalie, here's the link to the Aptana Code Assist Plugin along with installation instructions. As mentioned below, it is currently only available for Aptana Studio 2: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/api_codeassist.htm
... View more
01-11-2012
08:09 AM
|
0
|
0
|
1500
|
|
POST
|
RE: scroll wheel only working over one part of the map. You might have a component that is sitting on top of the map. When that happens, the mouseover event only occurs on that component, and the map won't receive the event. My suggestion is to check for a component that is positioned on the right hand side of your app and has a height of 100%. This component might be in your mxml code before your <esri:map> tag. Look at the app in Flash Builder's design view. -Andy Esri Developer Network
... View more
01-09-2012
02:52 PM
|
0
|
0
|
835
|
|
POST
|
To add to Robert's comments. I've also used a global ArrayCollection that keeps track of each request token. Then with each response I check the ArrayCollection to see if all the tokens have come back. I've had a couple requests related how to do an asynchronous (tokenized) HTTP request in Flex, so here's a link to a blog post: http://blog.andygup.net/?p=460 -Andy Esri Developer Network
... View more
01-09-2012
10:40 AM
|
0
|
0
|
936
|
|
POST
|
If you compile with additional languages I believe you do need the "=" sign after locale. You might also give this a try by adding the keep all type selectors property: -locale=en_CA,fr_FR -source-path=locale/{locale} -keep-all-type-selectors=true
... View more
01-09-2012
10:18 AM
|
0
|
0
|
1584
|
|
POST
|
Follow this link and you'll see a list of archived swc's: http://resources.arcgis.com/content/arcgis-flex-api-download -Andy Esri Developer Network (EDN)
... View more
10-25-2011
01:25 PM
|
0
|
0
|
565
|
|
POST
|
@Carine, if you haven't already be sure to check out the samples in the online help, for example: http://help.arcgis.com/en/webapi/flex/samples/index.html#/Routing_around_barriers/01nq0000004m000000/ And, here is the link to the RouteParameters class documentation: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tasks/supportClasses/RouteParameters.html -Andy Esri Developer Network (EDN)
... View more
09-21-2011
02:33 PM
|
0
|
0
|
1398
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 03-26-2026 03:12 PM | |
| 2 | 02-21-2026 10:23 AM | |
| 2 | 08-01-2025 06:20 AM | |
| 1 | 05-27-2025 12:39 PM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|