January 21, 2013, 7:43 am
dear all
please help me to change the scale of map.i am using the fallowing code but it is not working.
var bitmapData:BitmapData=new BitmapData(map.width,map.height);
bitmapData.draw(map);
var scaleFactor:Number=2.5;
var newWidth:Number=bitmapData.width*scaleFactor;
var newHeight:Number=bitmapData.height*scaleFactor;
var scaledBitmapData:BitmapData=new BitmapData(newWidth,newHeight);
var scaleMatrix:Matrix=new Matrix();
scaleMatrix.scale(scaleFactor,scaleFactor);
scaledBitmapData.draw(bitmapData,scaleMatrix);
var byteArray:ByteArray =jpEncoder.encode(scaledBitmapData);
this code does not work.pleaSE help help robert shilten!---
↧
January 21, 2013, 7:44 am
I was hoping someone could help me with the location of the close button in my popup window.
I edited the size of my popup window in the popuprendererskin.mxml successfully my problem is the close button is now located in the middle of the popup window. I want it to be anchored to the right of the popup window. I can’t seem to find where I can edit how I set the location of this button.
I have attached an image to show my problem.
Attachment 20916
Any help on this would be greatly appreciated thanks.
Liam
↧
↧
January 21, 2013, 12:23 pm
I am having an issue with printing after doing a search with the eSearch widget. Here is the situation. I do all my development on a hosted server directly in the wwwroot folder. when I hit this over the internet all searches and printing after searches work great. Once I am done with development, I move my applications inside a ASP.NET application (on the same hosted server) so that I can control users/roles and logins being that I have several clients needing their own level of security. Once I move the project into the ASP.NET app I can perform searches without problems, but can not print once a search is completed. I get the following error:
Error executing print task:
[RPC Fault faultString="Error performing execute operation" faultCode="500" faultDetail=""]
I don't make a single change to the configuration of the project when I move it into the ASP.NET app. Being that it works wonderfully when its just inside the wwwroot folder, I figure it would work when moving it into the ASP app.
I am currently using Viewer 3.0 with the latest eSearch version (3.0.17). Any thoughts on this one would be greatly appreciated. Or if anyone else is using a FelxViewer project inside an ASP.NET app and could test this to see what happens, it to would be appreciated.
Thanks,
Matt
↧
January 21, 2013, 12:46 pm
I have done some playing around, and noticed that there are other "paneltype" options for the widgetcontainer besides "bottom". I have also determined that this dockable paneltype is not just for use with the attributetable widget.
Why is this not documented anywhere in the Flex 3.1 documentation or help?
Also, I can successfully get widgets to show up in a dockable left window, however I cannot granularly control the "initialstate" of both panels.
The code below yields both panels to open, even though I set it differently in the code... (see attachment)
Code:
<widgetcontainer paneltype="bottom" initialstate="closed">
<widget url="widgets/AttributeTable/AttributeTableWidget.swf" config="widgets/AttributeTable/AttributeTableWidget.xml" label="Attribute Table" icon="assets/images/TableOpen32.png"/>
</widgetcontainer>
<widgetcontainer paneltype="left" initialstate="open">
<widget url="widgets/LayerList/LayerListWidget.swf" config="widgets/LayerList/LayerListWidget_2.xml" label="Layer List" icon="assets/images/i_layers.png"/>
Attachment 20935
Anyone have any ideas? I have a feeling that I'm charting unfamiliar territory given that this functionality is undocumented and pretty new.
Cheers,
Alex
↧
January 21, 2013, 2:31 pm
Hi,
Does anyone know where I can find the search widget without the graphic? I just want to search with text.
Thanks,
Pat
↧
↧
January 21, 2013, 3:13 pm
To the ESRI Flex team,
The what's new in ArcGIS Viewer 3.1 for Flex section states "Clustering support added to GeoRSS, Query and Search widgets", but there is no mention of what tags are required to set this up in relevant config files.
Also there is the new tag (again not referenced) <shareresults> which will add the results of a search to the layer list. Could you explain what the perceived purpose of this tag is for? I would expect that each time you ran a search a new layer would be added into the TOC so that you could compare one set of search results against another, but each time you run the search the previous layer that was created is removed. This tag name is somewhat misleading as it doesn't really share the results to anything.
Other users have also picked up on panels in the widget container tag, is there any plans to update the documentation?
Regards
Anthony
P.S. please could you also expand on "Improved keyboard-friendly support when navigating the Viewer applications"
↧
January 21, 2013, 7:15 pm
Hi all,
Iam using Export web map task url (custom layouts). Iam getting this error while printing ESRI online base maps along with my local services.
Layer "World Aerial": Unable to connect to map server at
http://server.arcgisonline.com/ArcGI...gery/MapServer. Failed to execute (ExportWebMap). Failed to execute (Export Web Map).
I have set the proxy url also.
It happens the same vice versa also. i.e if i use ESRI export web map task url iam unable to print my local services.
Kindly advise what has to be done.
thanks.
↧
January 22, 2013, 6:53 am
Hi everybody,
I'm looking for the widgets tags from previous releases of the viewer (2.4,2.5 and 3.0). I've already googled it and looked in the subforums but don't find anything. I need the edit widget tags wich have been implemented in almost every releases. Nice but not all the improvements are taken into account in the former versions and the widget therefore don't work as expected with latest tags which is logical. In brief : does an archive storage place exist ? :confused:
Have a nice day
Pierre
↧
January 22, 2013, 8:05 am
hi,
the textformat tag with the attribute "tapstops" doesn't seems to work in a popup config!?
The same html code in a Textarea works fine ->
Code:
<mx:TextArea width="500" height="500" >
<mx:htmlText>
<![CDATA[<TEXTFORMAT TABSTOPS='20,40,60,80'><P>1<TAB/>2<TAB/>3<TAB/>4<TAB/>5</P></TEXTFORMAT>]]>
</mx:htmlText>
</mx:TextArea>
Popup config ->
Code:
<?xml version="1.0" ?>
<configuration>
<title>test</title>
<description>
<![CDATA[<TEXTFORMAT TABSTOPS='20,40,60,80'><P>1<TAB/>2<TAB/>3<TAB/>4<TAB/>5</P></TEXTFORMAT>]]>
</description>
</configuration>
Any ideas ?
↧
↧
January 22, 2013, 10:53 am
See post
http://forums.arcgis.com/threads/753...d=1#post265830
Since the TOCWidget doesn't work well for private map services in 10.1 (and Legend widget does). I attempted to use ESRI's Legend Widget, but there was problems with the Legend widget not refreshing as scale-dependent services turned on/off. The problem appears to be a conflict between eMapSwitcher and the Legend widget. The Legend widget works as advertised with the MapSwitcher widget. Not complaining just trying to save someone else the headache. Thank you Robert for all the great tools.
↧
January 22, 2013, 11:03 am
When configuring the Elevation Profile widget for ArcGIS Viewer for Flex 3.x to use feet (rather than meters), the graph's y-axis still shows numbers that are obviously meters even though they are labled as feet. Does anyone have a solution for this problem?
I have also noticed the distance measurement (x-axis) looks correct but is off slightly, but I am chalking that one up to Web Mercatur.
Thanks,
-Dan
↧
January 22, 2013, 12:15 pm
Hi all, one thing that I noticed is that type=tiled layers don't seem to be registering in the dynamic legend? For example:
<layer label="Demographics" type="tiled" visible="true" alpha="0.5"
url="http://server.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_Median_Household_Income/MapServer"/>
Thanks!
Dan
↧
January 22, 2013, 1:04 pm
i need help to change Display order on map. should be as follows (with Text displaying on top of all anno):
1. Text
2. point
3. line/freehand polyline
4.polygon/Freehandpolygon.
Thanks
Attachment 20965
↧
↧
January 22, 2013, 1:50 pm
Is there a way to have time enabled popups in flex. For instance, as the timer is moving, not only are features, appearing, but a popup automatically appears also. Much like an automatic hover command in css.
Thanks
Dave
↧
January 22, 2013, 6:11 pm
Hi Robert,
I have the fixed DG enabled in my FV31 app with popupsdisabled=true.
I also have some popups configured that have media (and tested with the OTB viewer adding the FDG).
If I click on a feature without media, no issues, however, the FIRST time I click on a feature that has media, not only does the infowindow popup, but the fixed DG pops up as well and will not auto-hide itself until I mouseover it.
From then on, it works as expected. Only opens the (blank) fixed DG the "first" time I click a feature that has media in the popup, and works normal from then on.
Any ideas what/where would be casuing this?
R_
first noticed on 3.1.2, updated to 3.1.5 and still see it.
can reproduce on your eSearch example page if I go to traffic cameras and click on one.
↧
January 23, 2013, 1:49 am
Hi all,
I need to restrict the access to a web application based on flexviewer (but integrating customized widgets) to authenticated users. I've tested the ArcGIS token option, either I don't know how to exploit all its posibilities or it doesn't allow to do what I need. For example, I use the Identify Widget 3.1 but users have to enter continuosly its credentials each time they clic on the map to identify. Anybody know how to manage with this? A solution would be that users login in a web page and redirect to the flexviewer application, but I don't know the steps to get this. Besides I would like to know if will be feasible that the Edit widget log the user.
Thanks.
p.s. I'm using ArcGis Server 10.1 and FlexViewer 3.1, and IIS 7
↧
January 23, 2013, 7:37 am
Is anybody aware of a known issue between saving within the Application Builder and editing the source code outside of the Application Builder.
I have tried closing the Application Builder before editing the source code outside. When I make changes again later in the App Builder, those changes are gone...doesn't happen every time but enough to be annoying.
Any ideas????
↧
↧
January 23, 2013, 8:08 am
I'm trying to incorporate the Advanced Draw Tool 2.4 into my Flexviewer 3.0. I'm using the source files and have copied all relavant files from the download. I'm currently getting an error in the DrawWidget.mxml and am unsure how to fix it. The attachment shows what I see in FlashBuilder.
Any help would be appreciated.
Thanks!
↧
January 23, 2013, 9:31 am
I'm working with a large dataset of over 100,000 records, and my client would like to have all points displayed at the world view. Cache is not an option as the data changes constantly, and performance is a bit slow (5-6 seconds per refresh). Scale visibility is not an option as the client would like all points displayed at all times to the user.
The points overlap each other at the world view, therefore I'm wasting lots of performance there.
Is there any re-sample technique that I could use to just display the points that would be seen and not waste performance on the ones buried underneath other points.
Thanks in advance,
Matt Shetzer
↧
January 23, 2013, 10:19 am
Robert,
I have several layers that I am listing in the identifywidget.xml and one of them (Section Notes) does not display when I am zoomed in more that its visible scale range. I have set <identifylayeroption>all</identifylayeroption> and the results work when I am zoomed out to the visible range.
Why is this happening?
Thanks.
<?xml version="1.0" ?>
<configuration>
<identifylayeroption>all</identifylayeroption>
<identifytolerance>5</identifytolerance>
<defaultzoomscale>5000</defaultzoomscale>
<keepidentifyactive>true</keepidentifyactive>
<returngeometryforzoom>true</returngeometryforzoom>
<enablelineselect>true</enablelineselect>
<enableextentselect>true</enableextentselect>
<enablepolyselect>true</enablepolyselect>
<enablemouseovergraphicsinfo>false</enablemouseovergraphicsinfo>
<enablemouseoverrecordinfo>false</enablemouseoverrecordinfo>
<usemaptime>false</usemaptime>
<infoautoclosemilliseconds>2000</infoautoclosemilliseconds><!-- 2 seconds -->
<autoactivatedtool>mappoint</autoactivatedtool><!-- possible values are extent or polygon or mappoint or polyline or nothing -->
<excludebasemaps>true</excludebasemaps>
<disablepopuplinks>false</disablepopuplinks>
<labels>
<zoom2message>Click to Zoom to Point</zoom2message>
<identifylabel>Identify</identifylabel>
<resultslabel>Results</resultslabel>
<descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel>
<pointlabel>Identify by Point</pointlabel>
<linelabel>Identify by Polyline</linelabel>
<rectlabel>Identify by Rectangle</rectlabel>
<polylabel>Identify by Polygon</polylabel>
<clearlabel>Clear</clearlabel>
<loadinglabel>Loading...</loadinglabel>
<removeresultmessage>Remove Result</removeresultmessage>
<idfrom>Identify From</idfrom>
<noresultsfoundlabel>No Results Found</noresultsfoundlabel>
<resultsfoundlabel>Results Found</resultsfoundlabel>
</labels>
<useproxy><!-- Enter the label of the MapService from the main config.xml -->
<!--<proxymapservice label="Imagery" />
<proxymapservice label="Streets" />-->
</useproxy>
<layers onlythese="true">
<layer>
<name>Parcels</name>
<fields all="false">
<field name="PARCELID" alias="Parcel ID" />
<field name="STREET" alias="Street" />
<field name="MAIL_ZIP" alias="ZIP Code" />
<field name="OwnerName" alias="Owner Name" />
</fields>
<links>
<link includeinresults="false" field="" alias="">
<linkprefix></linkprefix>
<linksuffix></linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix></iconsuffix>
</link>
</links>
<zoomscale>15000</zoomscale>
<forcescale>true</forcescale>
</layer>
<layer>
<name>Section Notes</name>
<fields all="false">
<field name="NOTES" alias="Comments" />
</fields>
<links>
<link includeinresults="false" field="" alias="">
<linkprefix></linkprefix>
<linksuffix></linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix></iconsuffix>
</link>
</links>
<zoomscale>15000</zoomscale>
<forcescale>true</forcescale>
</layer>
<layer>
<name>General</name>
<fields all="false">
<field name="HDREFNO" alias="HDREFNO" />
<field name="WATERSUPPLY" alias="Water Supply" />
<field name="SANITARYTYPE" alias="Sanitary Type" />
<field name="APPLICANT" alias="Applicant" />
<field name="COMMENTS" alias="Comments" />
</fields>
<links>
<link includeinresults="false" field="" alias="">
<linkprefix></linkprefix>
<linksuffix></linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix></iconsuffix>
</link>
</links>
<zoomscale>15000</zoomscale>
<forcescale>true</forcescale>
</layer>
</layers>
<symbols>
<simplefillsymbol color="0x448ccb" alpha="0.4" style="solid">
<outline color="0x448ccb" alpha="0.8" width="2"/>
</simplefillsymbol>
<simplemarkersymbol style="circle" size="12" color="0x448ccb" alpha="0.8" xoffset="0" yoffset="0" angle="0">
<outline style="solid" color="0xffffff" alpha="0.8" width="1"/>
</simplemarkersymbol>
<picturemarkersymbol url="assets/images/i_info.png" height="30" width="30" xoffset="0" yoffset="0" />
<simplelinesymbol color="0x448ccb" alpha="0.8" width="2"/>
</symbols>
</configuration>
↧