|
POST
|
// info used to create web tile layers var mapurl = "http://bnvnbvnn/${0}/${2}/${1}.png" var lyr = new esri.layers.WebTiledLayer(mapurl); The generic WebTiledLayer that was added to the JavaScript API will also be part of the next version of the Flex API (coming this month). However, it will not be part of the Flex Viewer. If you are working with the source code for the Flex Viewer, you could still take advantage of the new WebTiledLayer...
... View more
12-09-2012
06:53 PM
|
0
|
0
|
578
|
|
POST
|
... what Error E0011E actually means... As the error message mentions, the API throws Error E0011E when we think it is an "Invalid feature layer", meaning that the layer will not work as a feature layer. Are you sure it is happening for ALL feature layers, not just some? Is the feature layer maybe a "Raster Layer"? The feature layer never worked with this type, and starting with 3.0 the API returns the error for this and a few other cases of invalid feature layers. If not a "Raster Layer", is the layer coming from a Map Service, Feature Service, Image Server, ... or are you populating the featurelayer yourself? If the latter, does the layer have any "fields"?
... View more
12-09-2012
06:08 PM
|
1
|
0
|
2501
|
|
POST
|
Which edition I need to buy? Either one will work fine. ... and what are the limitations in Flash Builder 4.7 Standard edition. The premium version adds Memory and performance profilers, Network Monitor, Functional testing support, Command-line build support See http://www.adobe.com/products/flash-builder-family.html
... View more
12-09-2012
04:23 PM
|
0
|
0
|
654
|
|
POST
|
I am trying to move the scale bar up when the screen resolution is small You shouldn't have to do any of that. The scalebar is automatically moved up (since it's placement is based on the bottom of the map). Test for example by resizing the browser for a basic map like http://resources.arcgis.com/en/help/flex-api/samples/01nq/WorldImageryMap.swf. You can resize that window to as small as you want and you will still see the scalebar and the logo. As I hinted on in your other post, http://forums.arcgis.com/threads/72876-Application-scale-bar-and-screen-resolubtion?p=254574&viewfull=1#post254574, I still think that there is something related with your specific application 🙂
... View more
12-09-2012
02:52 PM
|
0
|
0
|
649
|
|
POST
|
...I am wondering if the current Viewer on 1.x can run on map services published by ArcGIS Server 10.1. The 1.x does not work with Tiled 10.1 services, but it will work fine with ArcGISDynamicMapServiceLayer and ArcGISImageServiceLayer running on 10.1 servers.
... View more
12-05-2012
12:45 PM
|
0
|
0
|
944
|
|
POST
|
My application is great on 1680X1050 resolution but if lower like 1280X800, the scale bar does not appear anymore. Have you set a width and height (or minwidth/minheight) in your application? It is usually best to not do that...
... View more
12-05-2012
12:37 PM
|
0
|
0
|
528
|
|
POST
|
Maybe your problem is related to: * The "JSON" class has been renamed "JSONUtil". This was done because Flash Player 11 introduced a native JSON class. To upgrade your code from version 2.x to 3.x, please see http://resources.arcgis.com/en/help/flex-api/concepts/index.html#/Migrating_from_2_5_to_3_0/017p00000024000000/
... View more
12-01-2012
07:08 AM
|
0
|
0
|
1902
|
|
POST
|
No, there isn't an out-of-the-box FlexViewer for use with a Flex Mobile project.
... View more
11-29-2012
06:36 PM
|
0
|
0
|
1166
|
|
POST
|
What is the main difference between a widget and flex module. "In Flex SDK terms, a Flex Viewer widget is a Flex module. The BaseWidget class that is used for all ArcGIS Viewer for Flex widgets extends Module." http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Widget_framework/01m30000001z000000/
... View more
11-28-2012
07:04 PM
|
0
|
0
|
672
|
|
POST
|
I am trying to decrease my widget Icon which appears on the header, I tried but not getting any idea ,can any one please suggest me how can i do it. To make the icon look smaller, you can create an image with more transparent space around it. Depending on your image program it might be called something like "Resize canvas" or "Image->Canvas size..." (the latter in http://pixlr.com/editor/). While Robert's solution works, the above following suggestion doesn't require any code changes, only some image manipulation 🙂
... View more
11-26-2012
09:29 AM
|
0
|
0
|
894
|
|
POST
|
...what you have to do is extend the TiledMapServiceLayer just like it's done in the sample click... Actually, as of version 3.0 there is also a built-in WMTS Layer in the Viewer (and in the API since version 2.5). So no need to extend the API any more (though you can still do that as well). In this case, there seem to be some issue with the capabilities file not following the WMTS Specification. For example, the spec says: All WMTS servers operating in a procedure oriented architecture style and using HTTP SHALL specify with an ows:Constraint parameter the encodings that MAY be sent using HTTP GET or HTTP POST. But this capabilities file does not have any ows:Constraint... Also, since this server does not have a crossdomain.xml file, unless your application is run on the specific domain, you will probably need to set up and use a proxy page.
... View more
11-23-2012
10:16 AM
|
0
|
0
|
1046
|
|
POST
|
In config.xml i add the string [HTML] <layer label="NRCan" type="wms" skipgetcapabilities="true" version="1.1.0" wkid="102100" url="http://xx.xxx.xxx.xx/reflector/service?map=mywms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities" visible="true" visiblelayers="Satellite"/> [/HTML] ...Any help is great Did you look for tips at http://forums.arcgis.com/threads/29978-Adding-a-WMS-layer ? It has some NRCan examples... Could you try with a straight API sample as in http://resources.arcgis.com/en/help/flex-api/samples/index.html#/WMS_Map/01nq00000046000000/ If you look at the capabilities file, does it have a layer called "Satellite"? If you look at the capabilities file, does it support the projection that you are asking for - 102100? If not, maybe try wkid="900913" as mentioned in the forum post above (if that's supported by your WMS server). If this doesn't help, maybe share the capabilities file here.
... View more
11-23-2012
09:47 AM
|
0
|
0
|
450
|
|
POST
|
Andrew, See Jos question (and my answer) at http://forums.arcgis.com/threads/68933-Features-don-t-update-after-external-edits-on-featureservice-while-loaded-in-viewer?p=241014#post241014 In the next version, 3.1, layers of type "feature" will have an autorefresh option. In the 3.0 API this is already supported, so if you are working with the source code of the viewer and compiling it yourself, you could add support for it yourself. Just to clarify since your original question asked about snapping and autorefresh - we're not adding support for snapping to server-side features (the dynamic map service case) in the 3.1 release, but we are adding auto-refresh for feature layers to the viewer.
... View more
11-23-2012
09:12 AM
|
0
|
0
|
691
|
|
POST
|
... new print widget. Much nicer than the old one, but wondering if there is some way to make the image quality better? Could you show an example? What layers are you printing? If using image data, what image format are you using (does changing it to use png32 improve it)?
... View more
11-20-2012
03:52 PM
|
0
|
0
|
3201
|
|
POST
|
I have been told in Developer Summit that there was a limitation in the Flex API that didn't support this and that is why it is not implemented. Just wondering if that is still the case. It's not a limitation with the Flex API, and never have been. Mobile applications created using the Flex API works fine on iOS and Android. http://resources.arcgis.com/en/help/flex-api/samples/index.html#/Mobile_Samples_Overview/01nq0000006p000000/ - samples http://resources.arcgis.com/en/help/flex-api/concepts/index.html#/Mobile_applications_with_Flex/017p00000025000000/ - concepts However, what you probably are referring to is that the Flex Viewer is not a "mobile" project (in Flash Builder terminology) and thus does not run on iOS/Android. There is an FAQ on that - "Is it possible to run the ArcGIS Viewer for Flex application on my iPhone or iPad?" - http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/FAQs/01m300000004000000/ No. There are two specific issues related to this. The ArcGIS Viewer for Flex is a standard Flex project, it would need to be re-written as a Flex Mobile Project. The ArcGIS Viewer for Flex uses Flex modules. These are not supported in Flex mobile projects. (1) (1) Flex modules are useful because each module ("widget" in Flex Viewer terminology) is only downloaded when it is needed. However, while this is good for desktop applications which starts by downloading the application (all of it, or as needed), the case for native apps is different. Native apps are already installed on the device, so downloading-as-needed doesn't make as much case. In fact, it is not even allowed/possible.
... View more
11-19-2012
08:00 AM
|
0
|
0
|
795
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 03-11-2026 11:16 AM | |
| 2 | 03-17-2025 08:24 AM | |
| 3 | 03-17-2025 07:27 AM | |
| 4 | 02-26-2025 11:37 AM | |
| 1 | 03-23-2023 04:36 PM |
| Online Status |
Offline
|
| Date Last Visited |
04-14-2026
04:21 PM
|