|
POST
|
Requests to the JavaScript and CSS files to js.arcgis.com are failing.
... View more
08-15-2013
09:15 AM
|
0
|
0
|
898
|
|
POST
|
This problem seems to have arisen again even with scale dependence on individual layers in the mxd. See this map: http://www.arcgis.com/home/webmap/viewer.html?webmap=8ddca1f5c9b84b5e86dde74c638ca639 In the mxd there are three layers with sequential scale dependence to adjust symbology. Clicking a feature for the popup will yield a set of three pages for each feature at the location (some features are stacked, so multiples of three will occur). Is this a bug, or is there some other configuration setting I need to account for? Thanks, Marc Did anyone ever find a solution to this issue?
... View more
08-15-2013
08:39 AM
|
0
|
0
|
1621
|
|
POST
|
I was just researching this issue and found another thread on this. http://forums.arcgis.com/threads/83235-Overwrite-Existing-Map-Service-hangs?highlight=overwrite
... View more
08-13-2013
03:30 PM
|
0
|
0
|
368
|
|
POST
|
You might also try specifying a geometryServiceURL when calling the createMap function.
... View more
08-12-2013
03:24 PM
|
0
|
0
|
786
|
|
POST
|
I looked at your webmap and noticed that the spatial reference being used by all layers including the basemap is 2157 instead of the standard 3857. The first thing I would try would be to change the basemap in your webmap to use one Esri's basemaps instead of your custom one.
... View more
08-12-2013
08:22 AM
|
0
|
0
|
786
|
|
POST
|
One problem I see is that you're missing the protocol before "js.arcgis.com/3.6/". You should use "//js.arcgis.com/3.6/" (You do not need to include http: or https: before the //, though.) Here's some code I used recently which specifies a path in the dojoConfig variable instead of packages. [HTML]<script> (function () { "use strict"; var url, re = /\/[^\/]+$/; // Get the URL of this page without the query string. url = location.href.match(/^[^?]+/)[0]; // Remove the document filename if present. if (re.test(url)) { url = url.replace(re, "/"); } var dojoConfig = { async: true, paths: { "mymodules": url + "Scripts/mymodules" } }; window.dojoConfig = dojoConfig; }()); </script> <script src="//js.arcgis.com/3.6compact/"></script>[/HTML]
... View more
08-09-2013
02:20 PM
|
0
|
0
|
1499
|
|
POST
|
I have some code that will load CSV files into point graphics layers. The code is on GitHub here. You can test it here. Known issues are listed here. (If you find any more issues you can add them to the list.)
... View more
08-05-2013
09:47 AM
|
0
|
0
|
2030
|
|
POST
|
Do you get the same problem with this page? (View source here.)
... View more
07-31-2013
12:19 PM
|
0
|
0
|
1338
|
|
POST
|
What will your tool do? That will determine which technology you will use. Don't use Web ADF, though. That is obsolete.
... View more
07-31-2013
12:12 PM
|
0
|
0
|
417
|
|
POST
|
I have a set of polygon graphics which are returned from a query in their native UTM projection. Is is possible to convert these to WebMercator for display in the ArcGISOnline maps? Thanks in advance, RGibson Is this an ArcGIS Server query? You should be able to specify the outSR parameter as 3857.
... View more
07-26-2013
12:27 PM
|
0
|
0
|
699
|
|
POST
|
I am looking to add functionality that allows a user to export records from a selected set of records from a feature layer. Has anyone incorporated this functionality? I have not seen any samples. I do not want to export to shapefiles, because this will be for users without a ArcGIS Desktop install. Anyone have any ideas? Thanks. I wrote something sort of like that. You would need to modify this code to handle the geometry objects, though.
... View more
07-26-2013
12:13 PM
|
0
|
0
|
446
|
|
POST
|
The layer object already has a hide and show method. Your checkbox click event handler is creating a layer and then adding it to the map each time it is clicked. The layer object only needs to be created once. The featureLayerB variable should be moved to the same scope as the map variable. In the click event Check to see if featureLayerB has a value. if (!featureLayerB) { } If it hasn't been assigned a value yet, create the layer. Outside of that if statement, get the checked value of the checkbox (true or false). If the checkbox is checked, featureLayerB.show() , else featureLayerB.hide()
... View more
07-24-2013
04:22 PM
|
0
|
0
|
1444
|
|
POST
|
thanks guys for the answer. I saw these examples but I'm trying to create a layer list for mobile with jquery mobile and using these examples is changed the style of my check box. I'm a flex developer and i'm new of javascript world. Is there any example for layer list in mobile device? Thanks Create a list of layers with HTML. For each layer there should be a checkbox (input element) and an associated label Add a data-layerid attribute to the checkbox with the id of the associated layer. (You can call this attribute whatever you want as long as it starts with data-) Create a single event handler function for the checkboxes' click events. This function will do the following: Get the layer ID from the data-layerid attribute of the checkbox that was clicked. (The specific checkbox can be accessed in the function via the this keyword.) Retrieve the associated layer from the map using the layer id. Either show or hide the layer, depending on if the checkbox is checked or not. Add the event handler to the checkboxes. If you don't have to worry about supporting old versions of IE, use addEventListener If you need to support old versions of IE, use jQuery's event handling code (i think it's called .click())
... View more
07-23-2013
08:25 AM
|
0
|
0
|
1444
|
|
POST
|
Don't use dojo.require(). That is the old way to do things. You should use the AMD method for new development. Here is a sample on JSFiddle. Here's the same sample on Plunker.
... View more
07-16-2013
07:37 AM
|
0
|
0
|
537
|
|
POST
|
I haven't ever used this myself, but Leaflet.FileLayer sounds like it would let you convert from KML to GeoJSON on the client without involving a server. From there you could use Esri's geojson-utils to convert from GeoJSON to Esri geometries. Graphics from those geometries could then be added to the map.
... View more
07-15-2013
08:52 AM
|
0
|
0
|
718
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-08-2025 08:56 AM | |
| 2 | 03-05-2024 05:10 PM | |
| 1 | 04-30-2013 08:23 AM | |
| 1 | 05-03-2022 09:45 AM | |
| 1 | 06-30-2015 10:55 AM |