|
POST
|
Hi, I've tried the new AppBuilder 3.1 and have problems creating apps with my basemaps. If I'm only using sample basemaps from arcgis online eventhing works, but if I use my basemaps (that worked perfectly in 3.0) the app builder freezez when I go to step 3 to set the extent. se the attached image. And if I'm viewing the application in a browser I can't se my basemaps. [ATTACH=CONFIG]20071[/ATTACH]
... View more
12-19-2012
05:27 AM
|
0
|
7
|
2196
|
|
POST
|
Jorge, have you seen this thread: http://forums.arcgis.com/threads/33618-FAO-Robert-Scheitlin-or-anyone-who-knows-about-saved-graphics-as-text-files Not a widget, but a pyhton script you can use in ArcGIS to convert to shapefile. I'm not sure if it works with the 3.0 version, but you can try. /Mattias
... View more
09-25-2012
10:36 PM
|
0
|
0
|
451
|
|
POST
|
On your slider, try set the mouseFocusEnabled property to false like: <s:HSlider id="slider" mouseFocusEnabled="false" .............../> I had a problem just like yours that I solved this way...
... View more
07-26-2012
02:30 AM
|
0
|
0
|
712
|
|
POST
|
sorry, your code above was a mix of what it should be in the index.template.html and the index.html. In the index.html it should be: swfobject.embedSWF( "index.swf?ts=" + new Date().getTime(), "flashContent", "100%", "100%", swfVersionStr, xiSwfUrlStr, flashvars, params, attributes);
... View more
05-21-2012
10:16 PM
|
0
|
0
|
3936
|
|
POST
|
Eric, yes that change will make sure that the main application index.swf is not loaded from the browser cache. Due to some datatype problems with the PopUpConfig URLs in ConfigManager it is easier to do that fix in the MapManager.mxml Look for the line: var popUpConfigURL:String = arrLayerPopUp.popUpConfig; It should be around line nr 1017, and replace it with: var popUpConfigURL:String = String(arrLayerPopUp.popUpConfig) + "?ts=" + new Date().getTime(); That should make sure that PopUpConfigs doesn't load from browser cache...
... View more
05-21-2012
06:08 AM
|
0
|
0
|
1791
|
|
POST
|
Eric, I reacently noticed that this fix doesn't apply to the PopUpConfig-files too. It was a little bit more tricky to fix than I first thought, I will try to solve it and post back here when/if I'm able to solve it... As it is now it applies to config-files, both main-configs and widget configs and all widget swf files. For the index.swf I think you have to add a timestamp to the index.html file if you haven't already done that. Concerning the .swz-files I don't think there is any differens between them so you can just take the index.swf. But I'm not 100% sure...
... View more
05-16-2012
06:32 AM
|
0
|
0
|
1791
|
|
POST
|
Eric, the problem with a blank white screen and no errors I've had before. I could solve that by installing a new version of flash player. I don't know what was wrong, the version I had was supposed to be working. Try updating your flash player and see that changes anything. The index.html is supposed to be created when building the project, it's based on the index.template.html in the html-template folder.
... View more
05-14-2012
11:20 PM
|
0
|
0
|
2145
|
|
POST
|
Sorry I forgot to mention that the solution in that thread is for those who is working with the source code i FlashBuilder. And that the ConfigManager.as file was for version 2.3.1. Well I started a new project with the source code for 2.5 and made the changes to the ConfigManager.as, and it works for me at least. Eric, did you first try to running the application without any changes at all? if that works you could try the new ConfigManager.as attached to this post. If not you should read this carefully and start over. Or you could try to use the compiled version and change the index.swf to the one I included in ConfigManager_v2.5.zip, that's my compiled file after making the changes to the ConfigManager. I can't guarantee that it'll work, but it may be worth a try. Jesse and other who use the compiled version could try this as well. But I'm not sure if there might be some of my FB-settings or something else that will make any other changes to my compiled index.swf compared to the one you get when dowloading the compiled version.
... View more
05-11-2012
01:08 AM
|
0
|
0
|
2145
|
|
POST
|
You can modify the configmanager.as and add timestamps to the URLs when swf-files and xml-files are loaded, which will prevent the browser from getting it from the cache memory. Take a look at this thread: http://forums.arcgis.com/threads/16664-Preventing-client-side-caching-of-the-Flex-Viewer
... View more
05-09-2012
12:24 AM
|
0
|
0
|
2145
|
|
POST
|
I'd say there is a Flex API path for doing this. You can use the IdentifyTask with IdentifyParameters where you've set the geometry to the buffer and specified which layers you want to search by using LayerIds (for example all layers in the mapservice). Or have I misunderstood something?
... View more
04-17-2012
11:08 PM
|
0
|
0
|
1589
|
|
POST
|
Then you need to change the code in src/widgets/HeaderController/WidgetItemDataGroupRenderer.mxml But if making the images a bit bigger, you then probably want to make changes to different parts to the HeaderControllerWidget to adjust everything to the new image sizes... /Mattias
... View more
03-20-2012
02:39 AM
|
0
|
0
|
892
|
|
POST
|
If custom programming is not an option I think your gonna have to go through ArcGIS Server. And it will probably be the best option anyway. I actually haven't done this my self when it comes to Oracle databases but I think it should work. You can add the table in Arcmap and create an XY-event layer from it (if you have the coordinates in the table) and publish it as a map service. In this case I think you should look in to Query Layer check the help topics about this here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/What_is_a_query_layer/00s50000000n000000/ Then you publish it as a mapservice and then you can add the mapservice to your flex viewer.
... View more
03-01-2012
10:29 PM
|
0
|
0
|
888
|
|
POST
|
Robert, Thanks for contributing to a cleaner and more efficient code. I had a feeling it could be done a bit more efficient, but I often try some stuff out until it works, and then I don't take the time to see if it could be done differently. I was just missing one line to make it do exactly what my code was doing. When clicking outside a feature I also want the PopUp to hide, if anyone else wants that as well add this line to Roberts code:
...
...
map.addEventListener(MapMouseEvent.MAP_CLICK, function(event:MouseEvent):void{onMapClick(event, hlGraphicLayer)});
function onMapClick(evt:Event, graphicLay:GraphicsLayer):void{
graphicLay.clear();
graphicLay.refresh();
graphicLay.map.removeEventListener(MapMouseEvent.MAP_CLICK, onMapClick);
graphicLay.map.infoWindow.hide();
}
... View more
03-01-2012
09:57 PM
|
0
|
0
|
2009
|
|
POST
|
Yes that would be nice, and it's doable. You can get the PopUpRendererSkin.mxml from downloading the API and make some addition there to accomplish this. My solution is probably not the best one, but it works for me. Basically I'm adding the feature to a new graphiclayer and put a glow filter on it. Here's my customPopUpRendererSkin, my additions are commented so you can see what I've done and change to your own customizations. For example make it flash insted of beeing highlighted or whatever you want. Copy the skin to for example src/com/esri/viewer/skins and then point it out in the defaults.css, something like this: esri|PopUpRenderer { skin-class: ClassReference("com.esri.viewer.skins.customPopUpRendererSkin"); } I'm still in version 2.4, and my customPopUpRendererSkin is based on the one from API 2.4. If you have 2.5, download that new skin and make the changes to that one...
... View more
03-01-2012
03:41 AM
|
0
|
0
|
2009
|
|
POST
|
Barb, and others who would like use groups/headings, I want this functionality as well, and there is a way to do this without adding the functionality to the actual TOC-component. What I've done is that I've rewritten the widget to use several TOC-components, one for each group, and each TOC-components only include the layers belonging to that code. In the config-file I specify my different groups and which layers that belongs to them and then in the code I create an Accordion in my case with the different TOC-components. See the attached image to get an idea of what it might look like, (I've also moved everything to the MapSwitcher and the operational layers box). One big disadvantage is that I have to specify my layers twice, once in the main config file and once in the TOC-widget/MapSwither config file with the exact same name where I also specify the groups. Unfortunately I won't be able to share my code as it is because I've made a lot of my own customizations and haven't been careful enough to comment all of my changes. But the principle of using one TOC-compontent including only some specified layers for each group is a way to achieve groups/headings without to much coding.
... View more
01-19-2012
01:19 AM
|
0
|
0
|
3167
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-29-2025 02:59 AM | |
| 1 | 01-13-2025 02:57 AM | |
| 2 | 04-14-2025 04:49 AM | |
| 2 | 09-18-2025 05:51 AM | |
| 1 | 08-28-2025 12:21 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-23-2026
05:14 AM
|