POST
|
The solution that worked for me was adding the following: .tundra .dijitTitlePaneTitle { background: #ffff00 !important; } Thanks for all the helpful hints. Using background as the declaration vs background-color solved my problem.
... View more
04-29-2015
01:36 PM
|
1
|
0
|
859
|
POST
|
After digging through the element, I finally found how to change the background color of the title section. Thanks for your help Tom.
... View more
04-29-2015
10:27 AM
|
0
|
2
|
859
|
POST
|
That didn't work. It's declared as a dijit.TitlePane not a dijit.Dialog.
... View more
04-29-2015
09:10 AM
|
0
|
5
|
859
|
POST
|
I'm trying to change the background color on the title section of a dijit.TitlePane. I've been able to change the text color and size but I can't find how to alter the background color of just the title part of the dijit.TitlePane. I've tried altering the css for the title pane by using the following commands: .dijitTitlePaneTitle { background-color: black ; } That had no effect. Can anyone guide me in the right direction?
... View more
04-29-2015
08:33 AM
|
0
|
8
|
5396
|
POST
|
I don't mean to sound stupid but are you returning more than 1 feature. If your polygon selection only returns one feature then I don't believe you can get an extent on a single point. In that case you would have to return the geometry of the point and could then use map.centerAndZoom otherwise Ken's suggestion of getting the graphicsExtent should work.
... View more
09-04-2014
11:03 AM
|
0
|
3
|
2595
|
POST
|
I am trying to create a TabContainer with flexible height. The content for the tabs is dynamic so I have been able to programmatically generate the tabcontainer using with the following code: var tc = new dijit.layout.TabContainer({ style: "width:100%; color:#000000; background-image:none; background-color:transparent;" }, dojo.create("div")); I want to be able to add in the data-dojo-props doLayout=false but I can't seem to figure out within the above call where to place it. Any help would be appreciated.
... View more
07-24-2014
10:24 AM
|
0
|
2
|
731
|
POST
|
We specifically use the sde command-line scripting to handle loading data into sde from non-Windows platforms such as Linux systems. All in all this move away from sde command line is not very helpful for those of us that are just trying to automate loading of shapefiles into SDE/geodatabase in a shell scripting environment on a Linux platform.
... View more
04-09-2014
08:17 AM
|
0
|
0
|
840
|
POST
|
You were correct Brad. Get the script to work once I know what those two variables should be. Thanks.
... View more
11-21-2013
11:56 AM
|
0
|
0
|
601
|
POST
|
I've been trying to figure out how to overwrite an existing service and I found the following code in ArcGIS Server Help: # Import system modules import arcpy from arcpy import env import xml.dom.minidom as DOM # Set environment settings env.workspace = "C:/data" # Set local variables inServiceDefinitionDraft = "myMapService.sddraft" outServiceDefinition = "myMapService.sd" newType = 'esriServiceDefinitionType_Replacement' xml = draftPath + in_sd_draft doc = DOM.parse(xml) descriptions = doc.getElementsByTagName('Type') for desc in descriptions: if desc.parentNode.tagName == 'SVCManifest': if desc.hasChildNodes(): desc.firstChild.data = newType outXml = xml f = open(outXml, 'w') doc.writexml( f ) f.close() # Execute StageService arcpy.StageService_server(inServiceDefinitionDraft, outServiceDefinition) # Set local variables inSdFile = outServiceDefinition inServer = "GIS Servers/myServerConnection" # Execute UploadServiceDefinition arcpy.UploadServiceDefinition_server(inSdFile, inServer) Looks straight forward except for the line "xml = draftPath + in_sd_draft". Neither one of these variables (draftPath or in_sd_draft) are defined in the script and I don't know what they should be. Would it be c:/Data/myMapService.sddraft? Has anyone tried this script and gotten it to work? TIA
... View more
11-15-2013
11:31 AM
|
0
|
2
|
3301
|
POST
|
My thought is you aren't coming back with a null value for those two attributes. What if instead you looked at the length of the text string coming back ... assuming the URL is a text string. If it's 0, there is no value and you can go from there.
... View more
09-18-2013
09:29 AM
|
0
|
0
|
667
|
POST
|
For a graphics layer, have you tried using the following:
if (graphicsLayer != undefined) graphicsLayer.clear()
I used this plenty of times with my graphic layers and it works. I have to declare the graphic layer in the map initialization section so it is recognized through the rest of my code.
... View more
09-18-2013
06:30 AM
|
0
|
0
|
302
|
POST
|
I don't believe you can overlay a tif image onto the map. Your map image has to be in gif, jpeg, bmp, or png format according to the MapImage documentation.
... View more
09-18-2013
06:18 AM
|
0
|
2
|
2384
|
POST
|
Many thanks Ken. That was the solution that worked for me.
... View more
09-12-2013
05:32 AM
|
0
|
0
|
663
|
POST
|
So I created a jsfiddle example to show my results of trying to get the extent to work. None is coming back with the results I want. First setting uses map.setExtent(map.extent), second setting uses esri.request call, and third setting uses esri.graphicsExtent. Can you tell me what I'm doing wrong? Here's the link to jsfiddle example: http://jsfiddle.net/betsyjsg/8Ty9x/7/
... View more
09-11-2013
05:53 AM
|
0
|
0
|
663
|
Title | Kudos | Posted |
---|---|---|
1 | 04-29-2015 01:36 PM | |
1 | 12-19-2012 05:10 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|