POST
|
Is it possible to display both the date AND the time using the Attribute Inspector? shortDateshortTime doesn't seem to display a time
... View more
06-25-2014
04:37 PM
|
0
|
3
|
759
|
POST
|
I have a date field in a point feature service that is intended to collect date AND time (mm/dd/yyyy hh:mm:ss). The only way I can view the time (HH:MM:SS) of the features to to export to csv. In the popups, all I see are mm/dd/yyyy. Is there a setting hiding somewhere that'll allow me to view the entire time stamp inside of my web map's popups?
... View more
05-30-2014
11:18 AM
|
0
|
0
|
575
|
POST
|
Thanks, Andy. That worked. For documenting purposes, below is my fixed "EditMode" function. In the following order (order matters): 1. Created the new Attribute Inspector 2. Re-selected the feature 3. Displayed the popup function editMode(features){
var layerInfos = [{
'featureLayer': globals.eventsMSL,
'isEditable': true
}];
var attInspector = new esri.dijit.AttributeInspector({
layerInfos: layerInfos
}, dojo.create("div"));
globals.eventsMSL.selectFeatures(globals.query, FeatureLayer.SELECTION_NEW, function(editFeatures){
if (globals.map.infoWindow.isShowing) {
globals.map.infoWindow.hide();
}
var editScreenPoint = globals.map.toScreen(editFeatures[0].geometry);
globals.map.infoWindow.setContent(attInspector.domNode);
globals.map.infoWindow.resize(325, 185);
globals.map.infoWindow.show(editScreenPoint, globals.map.getInfoWindowAnchor(editScreenPoint));
attInspector.on("delete", function(evt) {
globals.map.infoWindow.hide();
});
attInspector.on("attribute-change", function(evt) {
});
});
}
... View more
05-15-2014
09:15 AM
|
0
|
0
|
522
|
POST
|
I have a map with a single point layer for which I've assigned an Attribute Inspector with a custom "Edit Button". When the layer is clicked, the Attribute Inspector displays properly: [ATTACH=CONFIG]33825[/ATTACH] When the edit button is clicked, I have an "EditMode" function, which should display an Attribute Inspector. This time with editable fields. When the 2nd Attribute Inspector's info window is displayed, "No Features Selected" is displayed in the content rather than a list of editable fields. Any ideas why is this happening? [ATTACH=CONFIG]33826[/ATTACH] I'm using the Multiple Attribute Inspectors Sample as a guide. Once the feature layer (globals.eventsMSL) has been added, initInfoWindow adds the Attribute Inspector to my globals.eventsMSL layer: function initInfoWindow(results){ console.log("in the initInfoWindow function: " + globals.map.layerIds.length); globals.query = new Query(); globals.eventsMSL.on("click", function(evt){ if (globals.map.infoWindow.isShowing) { globals.map.infoWindow.hide(); }; var layerInfos = [{ 'featureLayer': globals.eventsMSL, 'isEditable': false, 'showAttachments': false, 'showDeleteButton':false }] var attInspector = new esri.dijit.AttributeInspector({ layerInfos: layerInfos }, dojo.create("div")); globals.query.objectIds = [evt.graphic.attributes.OBJECTID]; globals.eventsMSL.selectFeatures(globals.query, FeatureLayer.SELECTION_NEW, function(features){ globals.map.infoWindow.setTitle(""); globals.map.infoWindow.setContent(attInspector.domNode); globals.map.infoWindow.resize(350, 240); globals.map.infoWindow.show(evt.screenPoint, globals.map.getInfoWindowAnchor(evt.screenPoint)); var editButton = new Button({ label: "Edit", "class": "editButton" }); domConstruct.place(editButton.domNode, attInspector.deleteBtn.domNode, "after"); editButton.on("click", function() { editMode(features); }); }); }); } The "EditMode" Function should display an Attribute Inspector: function editMode(features){ if (globals.map.infoWindow.isShowing) { globals.map.infoWindow.hide(); } var layerInfos = [{ 'featureLayer': globals.eventsMSL, 'isEditable': true }]; var attInspector = new esri.dijit.AttributeInspector({ layerInfos: layerInfos }, dojo.create("div")); var editScreenPoint = globals.evt.screenPoint; globals.map.infoWindow.setContent(attInspector.domNode); globals.map.infoWindow.resize(325, 185); globals.map.infoWindow.show(editScreenPoint, globals.map.getInfoWindowAnchor(editScreenPoint)); attInspector.on("delete", function(evt) { globals.map.infoWindow.hide(); }); attInspector.on("attribute-change", function(evt) { }); }
... View more
05-14-2014
04:08 PM
|
0
|
2
|
1032
|
POST
|
I followed the instructions for reverting back to 10.1.1 for a single project in order to revert back to 10.2 from 10.2.1, but when right click - fix project properties, 10.2.2 gets reloaded. Help?
... View more
04-10-2014
07:05 AM
|
0
|
0
|
445
|
POST
|
The issue doesn't cause any compile errors. It must have something to do with my Eclipse settings.
... View more
04-10-2014
07:03 AM
|
0
|
0
|
564
|
POST
|
Working on offline editing/ syncing... having a problem with setting the sync direction parameter. SyncGeodatabaseParameters syncParams = geodatabase.getSyncParameters(); syncParams.setSyncDirection(SyncDirection.UPLOAD); At the line, "syncParams.setSyncDirection(SyncDirection.UPLOAD)," I get the error: "The type com.esri.core.internal.tasks.f cannot be resolved. It is indirectly referenced from required .class files" I am using the 10.2.2 SDK. I believe all of my jars are in place (see screenshot attached) and followed the directions pretty carefully for updating the SDK. Any thoughts on what could be causing the error?
... View more
04-09-2014
06:27 AM
|
0
|
4
|
4030
|
POST
|
silly mistake. Solution: Ocean Basemap doesn't draw at high scales, this is why it wasn't appearing. Ocean basemap needed to be TiledMapService, not DynamicServiceLayer.
... View more
03-07-2014
08:13 AM
|
0
|
0
|
541
|
POST
|
Specifically, the base map service is the one not working: http://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer The reference layer is working: http://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Reference/MapServer
... View more
03-07-2014
07:29 AM
|
0
|
0
|
541
|
POST
|
Any thoughts as to why Ocean basemap stopped rendering in my app? All other basemaps are fine. Error: getImage (unknown source)
... View more
03-06-2014
01:41 PM
|
0
|
3
|
1017
|
POST
|
Is it possible to set the outFields attribute for the export item endpoint? It doesn't look like it is listed as an exportParameter in the API Reference
... View more
02-25-2014
11:36 AM
|
0
|
0
|
1523
|
POST
|
set up emulator according to new instruction in blog. app runs fine on real device. all activities work fine in the emulator except the map activity - no map appears. instead it looks like this. here is what the virtual device looks like. using eclipse, maverick OS. any ideas on why the map isn't appearing?
... View more
02-06-2014
02:04 PM
|
0
|
1
|
520
|
POST
|
I was creating my LocationListener through the LocationService, which came from the map object. Of course the LocationListener would be pausing when I pause the map. Solution: I moved my LocationListener to the Service & am now broadcasting location updates back to the map activity.
... View more
12-21-2013
03:55 AM
|
0
|
0
|
355
|
POST
|
I have an app in which I want the LocationService to remain running even if onPause() is called. I have a service running in the foreground with a handler & broadcast receiver that is bound to an activity. The service/activity work together to updates a trackline at an X time interval, both on the map & in a SQLLITE database on the device. When I call map.pause() in the onPause() method, the locationservice stops listening for location change until I unpause the map again in onResume(). I initialize the LocationService using map.getlocationservice(), so it makes sense that it would stop the LocationService, but I don't want this to happen. Is there a work around for this? Or perhaps something I'm not understanding correctly?
... View more
12-20-2013
07:10 AM
|
0
|
1
|
3189
|
POST
|
How does setAllowNetworkLocation on a location service work if device's location can't be fixed? Does it try to get the last known location from the location manager using GPS_PROVIDER?
... View more
12-18-2013
09:01 PM
|
0
|
0
|
446
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|