POST
|
Cool! You could fix it actually by setting on the dynamic layers the maxImageHeight and maxImageWidth values to 2048. This property are automatically set by 10.1 servers' layers. You got the point again. I am using a full HD screen. And when I resize the viewer size smaller, the service on 10.0 can properly shown as well. Thank you so much.
... View more
03-20-2013
05:40 PM
|
0
|
4
|
1043
|
POST
|
What is the version of your server? You're right. In 10.0 sp4 it doesn't work. And then I publish the service to a 10.1 sp1 machine and now it works. Thank you.
... View more
03-20-2013
02:05 AM
|
0
|
0
|
1043
|
POST
|
Hi all, I tried to integrate the new map rotation function in API 3.1 into the FV. It works perfect for the tiled layers. However, the dynamic layers didn't show unless the angle of rotation is around 0+/-5, 90+/-5, 180+/-5 or 270+/-5 degree. Did anyone know what's the problem? Thank you. Here is my code: <?xml version="1.0" encoding="utf-8"?> <viewer:BaseWidget xmlns:fx ="http://ns.adobe.com/mxml/2009" xmlns:s ="library://ns.adobe.com/flex/spark" xmlns:mx ="library://ns.adobe.com/flex/mx" xmlns:viewer ="com.esri.viewer.*" xmlns:components ="com.esri.ags.components.*"> <components:RotationWheel id="wheel" width="75" height="75" left="20" top="20" change="map.rotateTo(wheel.mapRotation, wheel.mapRotation == 0)" mapRotation="{map.mapRotation}" skinClass="com.esri.ags.skins.RotationWheelSkin"/> </viewer:BaseWidget> I just copied this from the sample and please find the RotationWheel and RotationWheelSkin from the samples come with the API.
... View more
03-18-2013
07:12 PM
|
0
|
8
|
1739
|
POST
|
Hi Robert, First of all I want to say thank you. This widget is amazing compared with the stock TOC. I have a question about the TOC setting. I want everything in the TOC including legends is collapsed by default. i.e. if a user wants to see the legends he/she has to check the expand box next to the layer name. However, no matter I set <tocsettings>
<expanded>false</expanded>
<collapselegends>true</collapselegends>
</tocsettings> or <tocsettings>
<expanded>false</expanded>
<collapselegends>false</collapselegends>
</tocsettings> Every group layers and sub-layers is collapsed but the legends. All legends are expanded. How can I change the settings so that everything is collapsed by default? Thank you. Roland
... View more
05-29-2012
12:40 AM
|
0
|
0
|
327
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|