POST
|
Lefteris, I have tried everything and can not duplicate your error. Maybe you should delete the widget from your project and re-download it. Thank you. I deleted the widget and reload it and didn't change anything on the widget xml file. Still same problem...It got to be something with the flexviewer and not the widget.... I will let you know if I figure it out...
... View more
02-21-2012
10:15 AM
|
0
|
0
|
413
|
POST
|
Lefteris, I can not seem to duplicate this. Are you using the latest version of the widget? I am using the latest version of flexviewer and widget. Don't know what's wrong.... I attached a video to show the problem and the versions that I am using.... [video=youtube_share;-bP5WgIz9Bw]http://youtu.be/-bP5WgIz9Bw[/video] Thank you.
... View more
02-21-2012
06:20 AM
|
0
|
0
|
413
|
POST
|
Sorry for the mispelling... obviously, I meant Splash Widget.... I am using rscheitlin's splash widget but I noticed something odd... when I check on the "Don't Show Again" and then the "Agree" button, nothing happens! If I deselect the "Don't Show Again" and then click on the "Agree" then the splash screen closes. How do I close the splash screen after the customer agrees? I am using version 2.5. <buttons> <button label="Agree" action="close" url="" /> <button label="Disagree" action="redirect" url="http://10.168.28.59/" /> <button label="DEA GIS" action="link" url="http://10.168.28.59/gis/"/> </buttons> <dontshowlabel>Don't show again</dontshowlabel> <disabledontshowoption>false</disabledontshowoption> Thank you.
... View more
02-20-2012
08:19 PM
|
0
|
4
|
1650
|
POST
|
Lefteris, That is controlled in the main config.xml in the map component just change the top="40" attribute to your new height of the header controller. Thank you Robert. I should have known better.
... View more
02-16-2012
01:54 PM
|
0
|
0
|
774
|
POST
|
I am trying to increase the height of the top container that cotains the widgets. I know that in headercontrollerwidget.mxml if you increase the height tag in <s:Group id="headerGroup" width="100%" height="85"> will do just that, however it will overlap with the map. How can we have the map displayed after the header if the header height is increased? Thank you.
... View more
02-16-2012
05:34 AM
|
0
|
8
|
1329
|
POST
|
I have the bing base layer open in arc for a project. How do I clip just the section I want so the file does not contain the world? Thank you! you can do in arcmap, same the map and create a service... in arcmap just import the basemap and clip it to your section boundaries by right click on the data frame and select clipping...
... View more
02-12-2012
08:43 AM
|
0
|
0
|
1633
|
POST
|
Lefteris, So do you see anything displayed in your problems window in Flash Builder? I tested this on my end and it works fine... THANK YOU. Yes, it does work! Sorry. I changed the source code of other mxml earlier trying to increase the width of the icon of only one widget and apparently the map switcher dissapeared as well. I will post the question for the icon width in another post. Thank you again.
... View more
02-08-2012
09:57 AM
|
0
|
0
|
744
|
POST
|
Lefteris, Than the cahnge is a simple as this, In the MapSwitcherWidget.mxml change this function as indicated below: private function initBasemapButtonBar():void
{
basemapList = new ArrayList();
var labels:Array = [];
for each (var basemap:Object in configData.basemaps.reverse())
{
var label:String = basemap.label;
if (labels.indexOf(label) == -1) // avoid duplicates using the labels
{
labels.push(label);
basemapList.addItem(basemap);
}
}
if (basemapList.length <= 1)
{
this.currentState = "noBasemaps";
}
else
{
setBasemapButtonBarIndexToTopmostVisibleBasemap();
}
} Don't forget to click the Mark as answer check and to click the top arrow (promote) as shown below: I did just that and recompiled the website and now the map switcher is not displayed at all.
... View more
02-08-2012
09:41 AM
|
0
|
0
|
744
|
POST
|
Lefteris, Do you have the ability to change code in the Viewer? Yes I do. I loaded up the source code of flexviewer in the adobe flash builder. Thanks.
... View more
02-08-2012
09:26 AM
|
0
|
0
|
744
|
POST
|
In another forum question (http://forums.arcgis.com/threads/49443-Basemap-own-and-esri-can-be-posted-together) it was determined that the easier way to display your own basemap along the esri basemaps is to place your basemap last, so that the LODs of the esri basemaps are set first. However, for display purposes on the map switcher, is there any way to reverse the way that the basemaps are displayed to show their labels in reverse order? To be clear, I am asking not to reverse the order of the basemaps in the config.xml file but the basemap labels in map switcher display, so my basemap is shown on left side of it. Thank you.
... View more
02-08-2012
09:17 AM
|
0
|
6
|
2491
|
POST
|
Lefteris, Jan is on the right track but you do not have to make it a tiled layer to use it as a basemap or =have it work with the other esri basemaps. Your issue is that you have it as the first basemap in your list and there for is the layer that defines the maps LODs and spatial reference. If you more it to the last layer listed than it should work fine as then the first basemap will be a tiled layer and the map will get the LODs from that layer. Don't forget to click the Mark as answer check and to click the top arrow (promote) as shown below: That was it! Thank you all for your help!!
... View more
02-08-2012
07:53 AM
|
0
|
0
|
915
|
POST
|
The district 1 layer is on Web Mercator projection as well. Thank you. Attached is a video that shows that the basemap that I am trying to use is on Web Mercator as well. Also it shows that I can view my basemap but if I click on the map switcher to view the esri basemap I cannot. However, if I comment out my basemap, the esri basemap are displayed!!! " rel="nofollow" target="_blank">http://www.youtube.com/watch?v=zK3E6IVN8C4[/video]
... View more
02-07-2012
04:58 PM
|
0
|
0
|
915
|
POST
|
What's the projection of your basemap? If it is using Web Mercator like the ArcGIS Onlines ones? If so, it should work. The district 1 layer is on Web Mercator projection as well. Thank you.
... View more
02-07-2012
09:47 AM
|
0
|
0
|
915
|
POST
|
Lefteris, Are you saying that you want District 1 to display on top of one or the other of the basemaps you have listed? Or are you saying that you want District 1 to act like a basemap and have a button in the map switcher? Thank you responding. The second scenario is what I am trying to accomplish. The district 1 layer is on Web Mercator projection as well.
... View more
02-07-2012
09:46 AM
|
0
|
0
|
915
|
POST
|
I created my own basemap and I am trying to use in the app along with two of the esri basemap As it is shown in the code, the District 1 will show, but not the esri basemaps if the user click on the map switcher. If I comment out the District 1 layer, then both ESRI basemaps will be displayed if selected. In ArcMAp all the basemaps can be shown together with no problems. How can I use my and esri basemap in the same app? Thank you. Here is the code for basemaps: <basemaps> <layer label="District 1" type="dynamic" visible="true" url="http://10.168.28.59/DEA_ArcGIS/rest/services/basemaps/District1/MapServer"/> <layer label="Aerial" type="tiled" visible="false" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/> <layer label="Topo" type="tiled" visible="false" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/> </basemaps>
... View more
02-06-2012
12:56 PM
|
0
|
8
|
1515
|
Title | Kudos | Posted |
---|---|---|
1 | 06-02-2023 03:22 PM | |
1 | 02-28-2024 09:35 AM | |
2 | 12-19-2023 06:48 PM | |
1 | 12-06-2023 11:03 AM | |
1 | 06-26-2023 09:20 AM |
Online Status |
Offline
|
Date Last Visited |
Monday
|