|
POST
|
I put a white halo around my text in the ArcMap document before I publish the service. My background is white, so you don't see it normally, but when you switch the basemap to an image, now all the labels stand out with the white halo. Just one way, R_
... View more
05-01-2013
01:40 PM
|
0
|
0
|
551
|
|
POST
|
Actually, I'm finding that if I go to the url http://maps.sanbag.ca.gov/flexviewer/index.html then I will get the error. Going to just /flexviewer everything loads normally. I was only loading index.html at times so that I could add a config parameter to the url. Perhaps something is wrong with my index.html file. However, I'm finding that everything looks normal when I try maps.sanbag.ca.gov/flexviewer/default.htm instead of index.html. Default.htm was higher up the list in the default document priority. So I guess everything is fixed, although I have no idea what was wrong with the index.html file. Have you looked at your web server settings in the default documents? It sounds like it is defaulting to a different page when you enter the address without the index.html. Check in your default documents settings for that app on the web server and make sure that the default document is the same one that gets updated when you build. (might be loading index.htm (not .html) or default.htm, etc.) In fact, I just tested it. It appears that if you don't put the index.html on there, it is actually loading the http://maps.sanbag.ca.gov/flexviewer/default.htm file instead which doesn't strip the more text. R_
... View more
05-01-2013
01:37 PM
|
0
|
0
|
1652
|
|
POST
|
Erik, The full and initial extent are set in the <map> tag, and should not be affected by adding LOD's. As far as the right scale and resolution, maybe someone has a "good" method of getting them, but here is what I have done in the past to get these values. I create a new service in the WKID of my map, and add one most basic layer that I have. Then, create/build cache on service, import from existing service and pick the ESRI basemap you are using. Then, I add the additional zoom levels that I want and build the cache. after built, I go to the REST endpoint in my browser and you can see the Level ID, resolution and scale that you need to add to the config.xml. Like I said, hopefully someone will chime in with a "better" method, but this one works. R_
... View more
04-29-2013
12:52 PM
|
0
|
0
|
2989
|
|
POST
|
Well, the browser will interpret spaces in the url as %20. also, will interpret % sign as %25, so what is happening is that it is substituting the %25 for the %, then putting the 20 on the end. "It", is the browser. type any address in the browser that has a space in the pathname and hit enter, you will magically see the %20 appear. R_
... View more
04-25-2013
01:11 PM
|
0
|
0
|
2332
|
|
POST
|
Allison, Are your services public and visible to the world? If not, you will not be able to use the ESRI print task server as it needs to be able to download your layers, etc. to generate the map. I was stuck with the basic print (comment out the task URL) task until I installed 10.1. Currently, the only thing my 10.1 is doing is serving this print task.. R_
... View more
04-25-2013
10:34 AM
|
0
|
0
|
1304
|
|
POST
|
Hi, Question: Using ArcGIS viewer for flex 3.1, changes poly line color to black when you add operational layers, but when you include the operational layer as a folder. all the lines and points display the correct colors set up in Arcmap. I would like to include operational layers seperatly not as folder. What can I do to have application builder display the poly line color the same as in Arcmap? Thank you in advance for your help. Al Al, Another option to preserve the colors in arcmap would be to make a map document with just the lines, another for the points (basically, a mxd and thus a service for each layer). Then you can add the "folder", but will only have the one sevice in it, will be "similar" to adding just the layer but will honor the symbology set in ArcMap. R_ Flex app in the browser is the "client".
... View more
04-24-2013
05:09 PM
|
0
|
0
|
1268
|
|
POST
|
Well, the browser will interpret spaces in the url as %20. also, will interpret % sign as %25, so what is happening is that it is substituting the %25 for the %, then putting the 20 on the end. Not sure all the ways to deal with this in the flex app. You could use the popuprendererskin to replace all %20's in that field with a space. Easiest way, since you said it is your service, would be to do a global find/replace on that field in ArcMap and replace all %20's with a space. R_ If you do have the source code, and want to go the popuprenderskin route, this is what you need. Inside the commit properties function there is a for each (var fieldInfo:PopUpFieldInfo in popUpInfo.popUpFieldInfos) loop. Add this inside that loop, if (formattedAttributes[fieldInfo.fieldName] == "PLANURL"){
formattedAttributes["PLANURL"] = ((formattedAttributes["PLANURL"]).replace("%20"," ")); This will replace ALL %20's (in that field) with a space.
... View more
04-24-2013
04:17 PM
|
0
|
0
|
2332
|
|
POST
|
You will just need to add the additional LODs to the config.xml file. See here: http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Main_configuration_file/01m300000018000000/ and scroll down to the <lod> tag. You can get the current LODs from the REST services for the first basemap loaded (as this is where it is getting the LODs), make sure you copy the existing LODs in there, then add any additional levels that you want to zoom to. Another way that I have implemented: I actually needed the option to turn off my basemaps layer, so I just made a blank service, with no displayed data in it. For this layer, I created a cache and made two additonal cache levels (two more than all my other basemaps), and load this as the first basemap, so it gets the LODs from it. Since there is really no data in this, it doesn't take too long to generate the cache for it. So, this gives me the "no basemap" option as well as setting two additional levels of zoom. It's like getting two birds stoned at once 🙂 R_
... View more
04-24-2013
10:46 AM
|
1
|
0
|
2989
|
|
POST
|
Due to a "known limitation" in the server, this is not possible without modifying the source code. This has been covered here: http://forums.arcgis.com/threads/77407-PrintWidget-Format-amp-Layout_Teplates-dropdownlist?p=274746#post274746 R_
... View more
04-24-2013
10:35 AM
|
0
|
0
|
1304
|
|
POST
|
<?xml version="1.0" ?>
<configuration label="Louisville Parcels and Police">
<layers>
<layer>
<name>accidents</name>
<url>http://localhost:6080/arcgis/rest/services/SIGMALOGITEC/servicetest/MapServer/0</url>
<expression>accident = [value]</expression>
<textsearchlabel>Search by Parcel ID [ Example: 181001490000 or 1810%]</textsearchlabel>
<titlefield>accident</titlefield>
<linkfield></linkfield>
<fields all="false">
<field name="accident" alias="accident"/>
</fields>
</layer>
<layer>
<name>arrandissement</name>
<url>http://localhost:6080/arcgis/rest/services/SIGMALOGITEC/servicetest/MapServer/1</url>
<expression>objectid = [value]</expression>
<textsearchlabel>Search by Parcel ID [ Example: 181001490000 or 1810%]</textsearchlabel>
<titlefield>objectid</titlefield>
<linkfield></linkfield>
<fields all="false">
<field name="objectid"/>
</fields>
</layer>
</layers>
<zoomscale>10000</zoomscale>
</configuration>
You are searching a number field, so as Robert pointed out, you need to remove the quotes. Also, LIKE looks for some matching operator (normally % depending on data source) and does not appear to work with number fields (at least not in ArcMap). You can query for a range of numbers, but not LIKE with wildcards. R_
... View more
04-24-2013
09:10 AM
|
0
|
0
|
1989
|
|
POST
|
Well, guess I spoke to soon. Didn't realize that this once again made the services added by the MapServicesWidget to not show. Apperantly, the swipespotlightwidget sees them as GraphicasLayer and adding if(!event.layer is GraphicsLayer) to it makes the services added via the widget not populate the dropdown. I made this change in the mapLayerAddHandler function, and it seems to be working. I'm sure not the best way, but this seems to handle graphic/search layers from search and draw widgets, as well as not adding the .zip and lables layers if I add using the ShapefilesWidget. if(findInAc(event.layer.name) == -1 &&
event.layer.name.indexOf("hiddenLayer_") == -1 &&
event.layer.name.indexOf("Graphic") == -1 &&
event.layer.name.indexOf("Search") == -1 &&
event.layer.name.indexOf(".zip") == -1 &&
event.layer.name.indexOf("Labels_") == -1) R_ PS, tried the 3.2 version in both 3.1 and 3.2 and it does not add services added via the mapservices widget as it has the same coding for the add handler.
... View more
04-23-2013
05:48 PM
|
0
|
0
|
1568
|
|
POST
|
Can be found here: http://resources.arcgis.com/en/help/rest/apiref/pcs.html To find out what you data is in, you can just go to the rest/services directory, click on the feature of interest and see what it lists for Spatial Reference. R_
... View more
04-22-2013
06:08 PM
|
0
|
0
|
2559
|
|
POST
|
Casey, Look at post #438 of this thread http://forums.arcgis.com/threads/55643-Enhanced-Search-Widget-for-FlexViewer-Part-II?p=277301&viewfull=1#post277301 . Might be the issue you are running into. R_
... View more
04-22-2013
02:35 PM
|
0
|
0
|
2559
|
|
POST
|
Are you using your own server print task, or the pre-configured ESRI print task server? If your own, is it visible outside you LAN? Can you see it in your browser from outside you LAN? Would suspect that either you print task service is not visible outside the LAN, or you are using ESRI's supplied print task server, and your data is not visible outside the LAN (ESRI print task must have access to your data to create the print map). R_ Also, when you say it works inside you LAN, is that for all computers inside the LAN, or just the localhost?
... View more
04-22-2013
02:25 PM
|
0
|
0
|
1808
|
|
POST
|
In the config.xml, I loaded the operational layers in the sequence of image layers first and then feature layers followed in order to allow feature layers are above the image layers. In the LayerListWidget, it displays the first loaded layers (image layers here) on the top. How can I change the sequence oppositely? Thanks. I guess to actually answer the question you asked, "reverse the order that you are loading them in the config.xml" would do it. However, I'm not sure I understand. Are you saying that the order in the LayerList is not representative of the display order? I.e., layers in the layer list that are "above" other layers, should draw "over" other layers as well. If your map doesn't work this way, then something is wrong. If it does, then the order represented in the layer list is the inverse of the listing order in the operational layers section, so you should be able to order them under/above any others that you want just by changing the order in config.xml. R_
... View more
04-22-2013
07:32 AM
|
0
|
0
|
1162
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2026 04:00 PM | |
| 1 | 09-14-2022 07:53 AM | |
| 1 | 09-14-2022 08:23 AM | |
| 1 | 05-21-2026 08:53 AM | |
| 1 | 05-14-2026 04:28 PM |
| Online Status |
Online
|
| Date Last Visited |
4 hours ago
|