|
POST
|
Glad to help, we'll add supported file formats to the docs.
... View more
08-15-2012
10:58 AM
|
0
|
0
|
3131
|
|
POST
|
esri.layers.MapImage adds the image to the map via an img tag. Since img tags can't use .tiff files, you cannot use a tiff with a MapImage. You need to stick with file formats supported by the img tag.
... View more
08-15-2012
10:48 AM
|
0
|
0
|
3131
|
|
POST
|
This is a bug. To work around it, add this inside a style tag: <!--[if IE 7]> .esriOverviewMap .logo-med, .esriOverviewMap .logo-sm, .esriOverviewMap .bingLogo-lg { display: none !important; } < ![endif]--> We'll try to get this fixed in the next release.
... View more
08-15-2012
08:20 AM
|
0
|
0
|
1382
|
|
POST
|
Can you post some code to reproduce this? I'm not able to see what you're describing using a slightly tweaked version of our overview map sample: http://jsfiddle.net/FX3LK/ (I tested in IE8 and 9) Edit: I see you edited your post to say IE7 only...let me get back to you.
... View more
08-15-2012
08:10 AM
|
0
|
0
|
1382
|
|
POST
|
I can't reproduce this in IE9 with our samples. Please post code to reproduce what you're describing.
... View more
08-15-2012
07:59 AM
|
0
|
0
|
775
|
|
POST
|
The print task is a good way to go, but, relative to the print widget, it takes a little more work from the developer. The print task is essentially a geoprocessing service that requires a print parameters passed to it. A print template also needs to be a part of your print parameters. The Portal API "Web Map Viewer" sample shows how to use the print task.
... View more
08-15-2012
07:55 AM
|
0
|
0
|
2233
|
|
POST
|
This is similar to the code you've posted but here's a working example with a dynamic legend: http://jsfiddle.net/wgCJV/ Can you post your code that defines ssLayer?
... View more
08-13-2012
02:39 PM
|
0
|
0
|
1146
|
|
POST
|
Try listening to each content pane's onShow event and call map.resize() and map.reposition() for the appropriate map.
... View more
08-13-2012
01:55 PM
|
0
|
0
|
850
|
|
POST
|
Are you referencing anything from the esri namespace outside of a function called by dojo.ready/addOnLoad? Due to the new way Dojo loads modules at 1.7, all references to esri.* need to be inside a function called once all modules. We should have had this in the migrating to 3.0 doc but missed it. It'll be there shortly.
... View more
08-13-2012
01:46 PM
|
0
|
0
|
1416
|
|
POST
|
Taking a closer look at this, graphic is a reference to a feature returned from a query task, meaning that it isn't actually in your graphics layer yet. You need to find the graphic in selectedGraphics.graphics with a particular ACCT value and pass that to selectedGraphics.remove(). I would use dojo.filter or maybe dojo.some with selectedGraphics.graphics to do this.
... View more
08-13-2012
11:35 AM
|
0
|
0
|
3071
|
|
POST
|
The event object passed to a graphics layer's onClick handler has a property called graphic you can use to access the graphic that was clicked. Here's an example: http://jsfiddle.net/TXHXc/ (clicking a graphic logs a message to the browser's console) There's also a blog post discussing finding graphics under a mouse click: http://blogs.esri.com/esri/arcgis/2010/02/08/find-graphics-under-a-mouse-click-with-the-arcgis-api-for-javascript/
... View more
08-13-2012
11:29 AM
|
1
|
0
|
5055
|
|
POST
|
Are you sure you're getting to selectGraphics.remove()? Try putting a console.log("removed graphic"); after selectGraphics.remove(). I ask because I think you're using array.splice incorrectly. Check out the MDN doc for more info: https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/splice
... View more
08-13-2012
11:02 AM
|
0
|
0
|
3071
|
|
POST
|
The proxy is provided as a fallback for browsers that don't support CORS (IE 7 and 8).
... View more
08-13-2012
10:42 AM
|
0
|
0
|
593
|
|
POST
|
Yes, this should work. Since 10.1 is configured for CORS by default, you should only need to include the identity manager in your app. When a secure service is loaded, the identity manager will prompt the user for credentials.
... View more
08-13-2012
10:40 AM
|
0
|
0
|
561
|
|
POST
|
Can you post some code to reproduce what you're seeing? I'm guessing the argument you're passing to GraphicsLayer.remove() isn't a graphic. Here's a simple page that shows using GraphicsLayer.remove(): http://jsfiddle.net/RsbD2/
... View more
08-13-2012
10:37 AM
|
0
|
0
|
3071
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-23-2012 07:54 AM | |
| 1 | 05-28-2010 08:31 AM | |
| 1 | 11-12-2012 08:12 AM | |
| 3 | 02-23-2012 10:57 AM | |
| 1 | 06-27-2011 08:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|