|
POST
|
Hi Dustin, "map" and "mapDiv" are conventions we use to work with the map object. You are free to use either, as long as you are consistent. "mapDiv" may be a bit better to use because it differentiates itself from the actual map object, which you see in the map constructor. In the screenshot you attached, "mapDiv" refers to the div element which hold the map object. This can be resized or otherwise modified. The "map" in the screenshot is an actual Map object, with an ID of "mapDiv". For more information: JavaScript Class: Map Hope this helps! -Noah
... View more
05-01-2014
02:36 PM
|
0
|
0
|
981
|
|
POST
|
Hi Mat, Welcome to Esri Forums! Thank you for posting your question here. As you posted in the JavaScript API forums, I am going to give you a few JavaScript related resources to help you on your way. Here are some examples of working with popups and the JavaScript API that you can download and modify: JavaScript popup sample applications For getting started with JavaScript and getting more comfortable with the core concepts, here is the place to begin: JavaScript Tutorial - Build your first application The JavaScript API works with services that are already published and online, so shapefiles and templates that come with ArcGIS 10.2 aren't really part of this conversation. If you are still working on getting services published, here is a good resource to work your way through: Approaches for publishing services with ArcGIS Hope this helps! -Noah
... View more
05-01-2014
09:47 AM
|
0
|
0
|
419
|
|
POST
|
Hi Eric, Tough to say, but I don't see the map constructor in the code you posted. There is: "var map;" and "map: map" only. I would compare what you have to the basemap gallery sample and look for differences. Hope this helps! -Noah
... View more
04-30-2014
02:39 PM
|
0
|
0
|
1523
|
|
POST
|
Hi Pat, It looks like there are two main ways to license your app: via ArcGIS Online and the app itself in the ArcGIS for Developers account, or by calling your local Esri office. Have you tried using the Client ID from the Runtime SDK Licensing option under the specific application in your ArcGIS for Developers account? -Noah
... View more
04-29-2014
03:20 PM
|
0
|
0
|
922
|
|
POST
|
It sounds like you may be facing a known issue with the Windows Mobile SDK 10.2: NIM097317: A "Missing ArcGIS Registry Key" error occurs due to a registry key mismatch. The current workaround is to create a new registry key, Mobile10.2.0, at the same place as the Mobile10.2. Here is an example of where that should be found: (old) HKEY_LOCAL_MACHINE\Software\ESRI\Mobile10.2\InstallDir (new) HKEY_LOCAL_MACHINE\Software\ESRI\Mobile10.2.0\InstallDir Note that you must change the registry key on the Windows Mobile device as well. Hope this helps! -Noah
... View more
04-25-2014
12:06 PM
|
1
|
0
|
411
|
|
POST
|
Can you test with this application in your iPad? Click on a state to display the info window. I was able to scroll/pan with this.
... View more
04-23-2014
09:55 AM
|
0
|
0
|
3579
|
|
POST
|
Hi Shawn, I tested this in Safari on an iPad (5.1.1) and while I did not see the scroll bar, I was still able to pan down into the contents of the info window, and see all the contents there. Can you confirm if you are able to pan or scroll even without the scroll bar? -Noah
... View more
04-22-2014
09:59 AM
|
0
|
0
|
3579
|
|
POST
|
No worries Don, it's good to ask questions. This forum is for users of all levels, so your question here may help another user in the future. Also, please feel free to mark any posts as helpful (up arrow) or answers (checkmark) to your original question.
... View more
03-25-2014
09:45 AM
|
0
|
0
|
800
|
|
POST
|
Hi Don, Welcome to Esri Forums! Thank you for posting your question here. I don't think it is possible to modify the background color of an ArcGIS Online basemap. I assume you are referring to the standard basemaps set in the map constructor? One option for you would be to publish your own custom tiled map service as a basemap in ArcMap. Another option, probably less desirable, would be to set the transparency of the basemap using the ArcGISTiledMapServiceLayer class, so that another layer may show through more easily. Hope this helps! -Noah
... View more
03-25-2014
08:04 AM
|
0
|
0
|
800
|
|
POST
|
Hi Tom, Yes, this is a bit confusing. The reason for this difference is that while FeatureLayers are graphics that can be modified (renderer) on the clientside, DynamicMapServiceLayers are graphics that come from ArcGIS Server (a PNG or other raster format), and can be modified on the serverside. I think the SimpleRenderer is able to be set for DynamicMapServiceLayers because it is changing all symbology to one new symbology, whereas the ClassBreaksRenderer is actually requiring some processing and decision making, so it requires a LayerDrawingOptions method to do some work on the serverside. Typically, we recommend customers work with FeatureLayers when there is a need for end users to interact with clientside geometry and attributes immediately, such as with the ClassBreaksRenderer. I hope this clarifies the issue. -Noah
... View more
03-25-2014
07:52 AM
|
0
|
0
|
787
|
|
POST
|
In thinking this over some more, I think the issue is related to the way the renderer is applied. Looking at the sample, I see this sample logic, involving the drawingOptions instead of the setRenderer method, for applying the renderer to a dynamic layer: var urlDyn = "http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer";
var dynamicLayer = new ArcGISDynamicMapServiceLayer(urlDyn);
dynamicLayer.setVisibleLayers([0]);
var optionsArray = [];
var drawingOptions = new esri.layers.LayerDrawingOptions();
drawingOptions.renderer = m_renderer;
optionsArray[2] = drawingOptions;
dynamicLayer.setLayerDrawingOptions(optionsArray);
map.addLayer(dynamicLayer);
... View more
03-24-2014
04:05 PM
|
0
|
0
|
1424
|
|
POST
|
A proxy certainly wouldn't hurt. I'm digging into this more now.
... View more
03-24-2014
03:33 PM
|
0
|
0
|
1424
|
|
POST
|
Hi Tom, Welcome to Esri Forums! Thank you for posting your question here. I was not able to get your sample code to run properly, but I do want to direct you to this Class breaks renderer with dynamic layer sample, which may shed some light on the ClassBreaksRenderer functionality. Hope this helps! -Noah
... View more
03-24-2014
01:44 PM
|
0
|
0
|
1424
|
|
POST
|
Hi Alex, Are you sure that the service requests are going through the proxy? Both Firefox and Safari have pretty good CORS support, even going back several versions, but IE 9 does not. I do not have any other ideas regarding IE9 right now, but I would be curious to see the results of using a more recent version of IE. Thanks, -Noah
... View more
03-24-2014
08:09 AM
|
0
|
0
|
640
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-10-2024 09:02 AM | |
| 1 | a month ago | |
| 1 | 11-06-2025 08:40 AM | |
| 1 | 10-23-2025 01:51 PM | |
| 5 | 10-21-2025 07:42 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|