POST
|
I am struggling with this same issue. I'd prefer no to rewrite the identify logic, as there are many layer types already supported by the default behavior. There must be a mechanism for changing this so the popup respects it but I have yet to find it. I will post here if I stumble across a solution.
... View more
02-20-2014
10:08 AM
|
0
|
0
|
283
|
POST
|
I am loading maps from ArcGIS Online and bringing the map into a custom viewer. The click to identify functionality is working once the map is loaded just as if I am using ArcGIS Online's native map. I have a requirement to identify features based on the user searching for an address. So if a user searches for an address, i want to do the same thing as if they clicked that location. Any ideas on how to implement this? Thanks for the assistance.
... View more
07-23-2012
12:51 PM
|
0
|
0
|
475
|
POST
|
This error can be ignored - here's a blurb from the help on this error: Automatic detection of CORS support. This is done by attempting to access the /<instance-name>/rest/info endpoint of any ArcGIS server instance used in an ArcGIS API for JavaScript application. For servers that do not support CORS, this request will fail and an error will be logged to the browser's developer console. This can be observed in most of the API's samples as the majority of the servers used do not support CORS. This error can safely be ignored. There are cases where the API will not send a request to /<instance-name>/rest/info and are as follows: The browser does not support CORS The Server is already listed in esri.config.defaults.io.corsEnabledServers esri.config.defaults.io.corsDetection is false JSON is used instead of JSONP in the following cases: The resource being fetched is on the same domain as the application The resource being fetched is on a server that supports CORS To read the blurb in context see the API reference for esri.request http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_esri.htm Kelly, the CORS issue I am fine with ignoring, the fact that the sample code for creating a basemap gallery breaks is not related to CORS. The link to the sample is here http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_basemapManual.html on line 83
var basemapGallery = new esri.dijit.BasemapGallery({
showArcGISBasemaps:false,
basemaps:basemaps,
map:map
},"basemapGallery");
basemapGallery.startup();
that call causes an uncaught error: "Uncaught TypeError: Cannot read property 'className' of null " this is the issue that still exists and cannot be ignored.
... View more
06-14-2012
09:58 AM
|
0
|
0
|
571
|
POST
|
I was able to get rid of the cross origin error by adding the allow cross origin header. I used the instructions here: http://enable-cors.org/ I still get the "Uncaught TypeError: Cannot read property 'className' of null " error even after this is fixed, this is the issue I am considering to be a bug until I hear otherwise.
... View more
06-14-2012
07:04 AM
|
0
|
0
|
571
|
POST
|
I am attempting to upgrade to version 3.0 of the API, and I have started getting errors. The error I get is seen in the sample http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_basemapManual.html I imagine this is a bug since the sample is broken as well. Has anyone else seen or resolved this issue? Thanks, Adam Conner City of Philadelphia
... View more
06-14-2012
05:13 AM
|
0
|
18
|
5554
|
POST
|
I compared all the parameters and they are the same. If I copy and manually move the where to the end after the outFields the request works. It is definitely an issue with the rest API as the parameter order shouldn't matter. I would watch him do it and see if there is an order to how he is doing the search to see why the requests are in a different order in the first place (that might be a browser issue?) Sorry I'm not much help, but the order of the url parameters is what is causing the issue. I would report that as a bug to technical support and try to find a workaround until the bug is fixed.
... View more
12-09-2011
10:51 AM
|
0
|
0
|
124
|
POST
|
Working with clustering at version 2.5 is the flare cluster type supported, and is using the popupconfig also supported on cluster flares? Thanks, Adam Conner City of Philadelphia
... View more
12-09-2011
09:58 AM
|
0
|
0
|
401
|
POST
|
I just upgraded to 2.5 and it does now show the proper icon on the flare graphics, but the click event to show the popup does not work unless there is an additional config option which must be enabled.
... View more
12-09-2011
09:54 AM
|
0
|
0
|
316
|
POST
|
I am working with a feature layer and I have a data grid with the same features. I am able to loop though the graphics and zoom to the feature, but I would like to also simulate clicking on the feature by showing the popup. Is there a recommended way to do this?
... View more
08-22-2011
12:19 PM
|
0
|
1
|
584
|
POST
|
I am creating an AttributeInspector, and putting it inside a BorderContainer in actionscript, then setting the infowindow.content to the BorderContainer. It keeps failing saying the attributeinspector skin is not found. I have it in my project at com.esri.ags.skins but It keeps failing. I am not sure what I am doing wrong, but any help is appreciated. var bc:BorderContainer = new BorderContainer();
var ai:AttributeInspector = new AttributeInspector();
bc.addElement(ai);
parentApplication.map.infoWindow.content = bc;
... View more
01-11-2011
05:10 AM
|
0
|
2
|
792
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|