Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all 2097 articles
Browse latest View live

What is the coordinate system of Bing Maps

$
0
0
Dear All,

I am using Bing maps as a base map in flex viewer.my operation layer have the coordinate system WGS 84.it is covering the extent of saudi arabia.But when i put this in flex viewer and run the application it zoom to the some where in algeria.As per my understanding the coordinate system difference.Please let me know who to zoom to the my required extent.

thanks in advance.

Pagination in AttributeTableWidget

$
0
0
Hi All,

Recently my customer asked to introduce some big layers which produce some big tables in AttributeTableWidget. Since it is very difficult to manage all the data in a flex viewer (very long queries) I'd like to add pagination. But I have not found any out-of-the-box feature for that. Can anyone point me to a possible solution?

Thanks in advance.
M@rco

Embedding a Viewer for Flex Map w/n an iFrame

$
0
0
How do you embed a map within an iframe located on a webpage?

Recently I have been asked if it was possible to embed a map, created via the Viewer for Flex applciation, into an iFrame.

I do not know exactly how to do this. I have read that you could use standard html swf embedding code. However that is somewhat Greek to me. I have also read that you could modify the index.html file to add html content around the Viewer.

Does anyone have any easy to follow examples of how this would be done?

I am not much of a web developer.

I am using ArcGIS 10.1 and Viewer for Flex 3.4.

Thanks,

George Haskett

how to assign a static extent to map.extent

$
0
0
Hi Everyone,
now I'm writing a mouseclickevent , but I don‘t know how to give the map.extent a static value.
my code is:map.extent = geo.extent.expand(3);
I'm very appreciated for your hlep.
Thank ahead.

Flexviewer3.4 would like clear result graphic after zoom?

$
0
0
Hi,

Can anyone point me to the right direction? I am using a regular search widget 3.4, where do I go about clearing the result graphic polygon layer when I hover over the result, click once to zoom to extent, then clear or fade away the result graphic.

Attachment 27194
Attached Thumbnails
Click image for larger version

Name:	select_zoom.png‎
Views:	N/A
Size:	64.6 KB
ID:	27194  

.ZIP file for custom widgets

$
0
0
Hi,

I am just starting to use the ArcGIS Viewer for Flex. Can someone please tell me from where I can download the .ZIP files for the custom widgets.

Many thanks,

T

Editor widget to add records in a relationship class?

$
0
0
Hi- I have a relationship class set up between two SDE tables. It's a on-to-many, composite relationship. In other words, a single point on the map can have many sampling events associated with it. Those events are linked to the same point using primary key/foreign key relationship.

Is there a way in the Flex Viewer that I can handle adding a single point, and then adding more than one event associated to this point?

I.e in the Edit widget, when you add a point it adds a single record to the table. Well, on that same Edit widget popup window I want to be able to have an 'Add' button that allows the user to add multiple events that are associated to that one location. Thoughts?

Identify Widget 3.4.2 - Layer not found in the map

$
0
0
I wiped out all of the default services that were provided as a sample with the widget. I entered a REST url for a service within a Dynamic Map Service and clicked browse. The widget recognized the REST URL and allowed me to customize the fields. I added settings and reverted to the interface to add more, and noticed the yellow triangle stating that the "Layer not found in the map".

I've used the same REST URLs with the Enhanced Search Widget and they work fine, there are no issues. Any ideas?

Thanks,
Scott

Wildcards in layerDefinition

$
0
0
I've been working on a widget to allow a user to filter the display of a FeatureLayer by setting a layerDefinition expression in the parent ArcGISDynamicMapServiceLayer's layerDefinitions property. I'm wondering if it is possible to use wildcard expressions in the layerDefinition? I've tried using both '*' and '%' as wildcard characters. I have tried using '=' and 'LIKE' as the logical operators in the expression but none of those options seem to work?

Thanks!

Link Widget question

$
0
0
Instead of open new browser window all the time. Is there anyway to use the same child window if one already opened and stay focus when user click on ESRI link for example?
I change this on both init & checkIfLinkWidget function but can't figure anyway to make existing child window to stay focus without opening a new browser window. Any ideas to do this?

navigateToURL(new URLRequest(linkURL),"CHILD");

Thanks.

WidgetContainer.mxml: return value for function 'anonymous' has no type declaration

$
0
0
I receive this when I compile FV 3.4 at line 428

}

var scrollInterval:uint = setInterval(
function()
{
scrollToWidgetAction(scrollInterval);
},
30);

dist = 0;
}

Enhanced Search: Search result graphics do not display

$
0
0
I am using the the enhanced search in Flex viewer 3.4 and realised that the search results are not highlighted with a graphic. Also, would like to remove some tools (address, edit) from the graphic search window. Can you point me in the right dirrection?

Thanks
Patricia

Embed Flex Viewer in Web Page

$
0
0
Hello,

I am starting to look at ways to embed flex viewer into my web site. The viewers are created/hosted on a third party server. I just want to be able to call them using URL's and launch them as a part of my web page. I am using a .Net application.

Can you please provide me with ways to go for it? Examples will be much appreciated.
How can I pass in the list of Parameters (parcel id, address parameters, coordinates etc)? As query strings?
Is there any event which captures and returns address details when clicked anywhere on the map?

Thanks for the help!

PM

Application planning

$
0
0
Hello,

I am in the process of planning a new viewer application and wanted to get some input. I have one layer, that needs to be symbolized 10 different ways. I want each of the 10 layers to be searchable and be able to have pop ups. Should I split this up and make 10 separate map docs/map services? Would there be any advantages to doing it this way? Or should I have one map doc and one map service with 10 layers. Would I add those into the map as one dyanamic service with 10 sublayers, or 10 Feature Layers? I have not worked with the feature layer option at all. Or perhaps there is a better way to approach this?

I will be using the Application Builder. Thank you for your thoughts.

Help on Advanced Drawing Widget

$
0
0
Hi,

I use Advanced Drawing Widget for FV3.0 version. The widget is fantastic!! Except the hyperlink to a web location when the user clicks the graphic doesn't work. The path links to an image doesn't work either. That's one thing.

The other thing, I would like to make some modification on the code, to allow user Load & Display the local image. I found a sample from this guy URL . From my observation, there are two mxml files involve here; SENZ_DrawAdvanceWidget.mxml and GraphicEditor.mxml. If I use the sample code and modify GraphicEditor.mxml, how do I call back inside SENZ_DrawAdvanceWidget.mxml so that when the graphic is clicked on the map, the image will show inside the info popup.

Thanks.

Creating autofeed data file

$
0
0
Hi everyone,
Could someone assist me on how to create auto feed data into my attribute table to display real time data in my new application. I built it using arcgis viewer for flex.

Thanks

Maina

Turn off sublayer A, sublayer B will turn off too

$
0
0
Is there any simple way to uncheck sublayer A on TOC then sublayer B will automatically turn off based on sublayer A? On the other hand, if sublayer A is turn on then sublayer b will turn on too.

Thank you.

flexviewer 3.4 search widget set different zoomscale

$
0
0
Hi,

I'm using out of the box flexviewer 3.4 search widget, much simple than the enhance search widget. How do I set different zoomscale for each search layer in my xml code. The result did not zoom to the scale I set it to do. Anyone now why?
My xml code
Code:

<?xml version="1.0" ?>
<configuration>
    <layers>
        <layer>
            <name>PENNDOT</name>
            <url>http://172.16.14.141:6080/arcgis/rest/services/PAServices/PA_Search/MapServer/7</url>
            <expression>Upper(Streets_desc) LIKE Upper('%[value]%')</expression>
            <textsearchlabel>Search By [ Example: ST 04_5 ]:</textsearchlabel>
            <titlefield>Group_plus_project</titlefield>
            <linkfield></linkfield>
            <fields all="false">
                <field name="Year_Paved" alias="Year"/>
                <field name="Group_plus_project" alias="Group"/>
                <field name="SR_LocalName" alias="Street"/>
                <field name="MUNICIPALITY" alias="Municipality"/>
            </fields>
            <zoomscale>24000</zoomscale>
            <forcescale>true</forcescale>
        </layer>
        <layer>
            <name>PECO</name>
            <url>http://172.16.14.141:6080/arcgis/rest/services/PAServices/PA_Search/MapServer/8</url>
            <expression>Upper(Streets_desc) LIKE Upper('%[value]%')</expression>
            <textsearchlabel>Search By [ Example: Peco Conflict 2012_4 ]:</textsearchlabel>
            <titlefield>Streets_desc</titlefield>
            <linkfield></linkfield>
            <fields all="false">
                    <field name="Streets_desc"/>
                <field name="Year" alias="Year"/>
                <field name="MUNICIPALITY" alias="Municipality"/>
            </fields>
            <zoomscale>4800</zoomscale>
            <forcescale>true</forcescale>
        </layer>
                               
    </layers>
    <info>widgets/InfoTemplates/InfoPopupWidget.swf</info>
</configuration>


Regards,
Ha Thach

login twice

$
0
0
Hello,
our MS are secured through our Ldap. It works fine as I log with my windows password to open an A. Viewer map containig a secured MS. But when I open the search or Esearch widget, I have to enter my login again. is there a way to avoid that double login?
Regards

How to remove Enhanced Splash Widget from an app in Flex Builder 3.4

$
0
0
This may sound like a dumb question but here is what is happening:

I am using this tool with Flex Builder 3.4. I have more than one applications. I installed this tool for 2 of my applications (app A and app B) by adding the line into each application's main config file and than copying and pasting the compiled version of the mysplash widget folder into each application's widgets folder. It works great.

HOWEVER, when I wanted to remove this mysplash widget from one of those two applications (from app B) by deleting the <splashpage url="widgets/mySplash/SplashWidget.swf" label="ArcGIS Viewer for Flex" config="widgets/mySplash/SplashWidget.xml"/> line from the application B's main config file and then deleting the mysplash folder from the application B's widgets folder, for some reason, every time I make any changes (unrelated to mysplash widget) to the application B in the Flex Builder and save the changes, Flex builder automatically adds the <splashpage url="widgets/mySplash/SplashWidget.swf" label="ArcGIS Viewer for Flex" config="widgets/mySplash/SplashWidget.xml"/> line back into the app B's main config file causing the application to show an error message at start up since the mysplash folder is no longer in app B's widgets folder.

Can someone help me understand why this is happening and how can I stop the mysplash coming back to my application B's main config file every time I make a change in the Flex Builder for app B please?

Thank you,
Yas(h)ar
Viewing all 2097 articles
Browse latest View live