|
POST
|
Hi Christian, planar mode is not yet supported nor finished. It will be available at beta2. thanks!
... View more
07-31-2015
09:52 AM
|
0
|
1
|
902
|
|
POST
|
We looked into it yesterday and we found a related issue in Q: Q fails to detect circular promise chain · Issue #712 · kriskowal/q · GitHub To validate here's a test with polyfill for Promise that works: JS Bin - Collaborative JavaScript Debugging I would suggest that you resolve your deferred like so: mapViewDeferred.resolve({ view: view });
... View more
07-30-2015
09:33 AM
|
0
|
0
|
1018
|
|
POST
|
Hi, I've looked into it. View/Map/Layers are Promises too. Seams like $q doesn't like it. I will come with something. Thanks for the report and the example!
... View more
07-29-2015
04:02 PM
|
1
|
0
|
1018
|
|
POST
|
Hi Sarah, Unfortunately, renderers are not yet using the single object constructor. Despite what the API reference indicates. We will make the changes in beta2 and your code should work then. In the meantime, here is a sample from 3.x that I ported to 4.0beta1. JS Bin - Collaborative JavaScript Debugging
... View more
07-24-2015
11:02 AM
|
2
|
0
|
804
|
|
POST
|
Hi, We have fixed the problem in 3.12 This is a compositing bug in Chromium. We have logged the issue: Issue 437904 - chromium - Applying opacity to element with big scale transform freezes the page - An open-source proj… A workaround for previous releases of the API is to set fadeOnZoom to false on the map Map | API Reference | ArcGIS API for JavaScript This disable the fading for the tiles in TiledMapServiceLayer
... View more
12-18-2014
04:11 PM
|
0
|
3
|
1877
|
|
POST
|
Hi, Sorry about the late reply. In 3.4 we modified the way the AttributeInspector works to let developers be able to customize the components display to edit feature's field. Basically in order to migrate your custom AttributeInspectorSkin, you need to add:
<fx:Declarations>
<fx:Component id="codedValueDomainField">
<fieldClasses:CodedValueDomainField minWidth="200"/>
</fx:Component>
<fx:Component id="dateField">
<!--
Display dates in local time, using a localized short date format. eg: for en_US: MM/DD/YYYY
See PopUpFieldFormat date formats or provide a custom one.
-->
<fieldClasses:CalendarField dateFormat="shortDate" useUTC="false"/>
</fx:Component>
<fx:Component id="doubleField">
<!--
By default the maximum number of digits after de decimal separator is 16, but it's customizable.
-->
<fieldClasses:DoubleField fractionalDigits="16" minWidth="200"/>
</fx:Component>
<fx:Component id="integerField">
<fieldClasses:IntegerField minWidth="200"/>
</fx:Component>
<fx:Component id="labelField">
<fieldClasses:LabelField minWidth="200"/>
</fx:Component>
<fx:Component id="memoField">
<fieldClasses:MemoField minWidth="200"/>
</fx:Component>
<fx:Component id="rangeDomainField">
<fieldClasses:RangeDomainField minWidth="200"/>
</fx:Component>
<fx:Component id="singleField">
<fieldClasses:DoubleField minWidth="200"/>
</fx:Component>
<fx:Component id="smallIntegerField">
<fieldClasses:IntegerField minWidth="200"/>
</fx:Component>
<fx:Component id="stringField">
<fieldClasses:StringField minWidth="200"/>
</fx:Component>
<fx:Component id="textField">
<fieldClasses:TextField minWidth="200"/>
</fx:Component>
<fx:Component id="typeField">
<fieldClasses:TypeField minWidth="200"/>
</fx:Component>
</fx:Declarations>
... View more
08-23-2013
09:49 AM
|
0
|
0
|
930
|
|
POST
|
Can you try with the latest 3.4 release? We tweaked the touch handling to prevent that problem.
... View more
08-21-2013
10:07 AM
|
0
|
0
|
557
|
|
POST
|
Hi Matt, Yes the Flash Player is dealing really badly with filters and scaling display objects at the same time. There is nothing we can do about it. Yann
... View more
08-20-2013
12:32 PM
|
0
|
0
|
453
|
|
POST
|
I've tested, the latest version working with your code is 3.0 The 3.5 is scheduled around september.
... View more
07-25-2013
09:32 AM
|
0
|
0
|
1132
|
|
POST
|
Hi, This a bug yes with the CompositeSymbol. Thanks for reporting, it will be fixed in the 3.5 release. In the meantime use the onUpdate parameter with Tweener to dispatch a change event from the symbol like this: blueRingCircle.size = 8; blueRingLine.alpha = 1; Tweener.addTween(blueRingCircle, { size: 60, time: 24, transition: "easeOutQuad", useFrames: true, onUpdate: function():void { (this as Symbol).dispatchEvent(new Event(Event.CHANGE)); }, onUpdateScope: locaterSymbol }); Tweener.addTween(blueRingLine, { alpha: 0, time: 24, transition: "easeOutQuad", useFrames: true, onUpdate: function():void { (this as Symbol).dispatchEvent(new Event(Event.CHANGE)); }, onUpdateScope: locaterSymbol }); The change event will make the symbol redraw.
... View more
07-25-2013
08:22 AM
|
0
|
0
|
1132
|
|
POST
|
You can achieve what you want by creating a custom IRenderer implementation. Here's an example.
package sample
{
import com.esri.ags.Graphic;
import com.esri.ags.renderers.IRenderer;
import com.esri.ags.symbols.Symbol;
public class CustomRenderer implements IRenderer
{
//--------------------------------------------------------------------------
//
// Properties
//
//--------------------------------------------------------------------------
//----------------------------------
// teamA
//----------------------------------
public var teamA:IRenderer;
//----------------------------------
// teamB
//----------------------------------
public var teamB:IRenderer;
//--------------------------------------------------------------------------
//
// Public Methods
//
//--------------------------------------------------------------------------
public function getSymbol(graphic:Graphic):Symbol
{
var symbol:Symbol;
if (graphic)
{
var attributes:Object = graphic.attributes;
if (attributes && attributes.hasOwnProperty("team"))
{
if (attributes["team"] == "A")
{
symbol = teamA.getSymbol(graphic);
}
else if (attributes["team"] == "B")
{
symbol = teamB.getSymbol(graphic);
}
}
}
return symbol;
}
}
}
To use it:
<sample:CustomRenderer>
<sample:teamA>
<esri:ClassBreaksRenderer>
...
</esri:ClassBreaksRenderer>
</sample:teamA>
<sample:teamB>
<esri:ClassBreaksRenderer>
...
</esri:ClassBreaksRenderer>
</sample:teamB>
</sample:CustomRenderer>
Basically the renderer role is to return the right symbol for the graphic. You can either create one or do like above, delegate to another renderer based on a first attribute (eg: team)
... View more
07-24-2013
01:41 PM
|
0
|
0
|
599
|
|
POST
|
Hi, Try
for each(var updateatts:FormField in (list.dataProvider as ArrayList).source)
{
if(updateatts.label == "Longitude")
{
updateatts.feature.attributes["Longitude"] = 1.0;
dispatchEvent(new AttributeInspectorEvent(UPDATE_FEATURE, false, updateatts.featureLayer, updateatts.feature));
updateatts.dispatchEvent(new FormFieldEvent(FormFieldEvent.DATA_CHANGE));
}
}
... View more
07-24-2013
09:05 AM
|
0
|
0
|
449
|
|
POST
|
If you want to set the height for the textarea and keep multiline you can also create a FieldInspector for this field. Like so:
<esri:FieldInspector fieldName="LONG_STRING" featureLayer="{featureLayer}">
<esri:editor>
<fx:Component>
<fieldClasses:TextField height="50" />
</fx:Component>
</esri:editor>
</esri:FieldInspector>
The last option is to create a custom AttributeInspector skin and set the height value of the TextField. In the default attribute inspector skin at line 69:
<fx:Component id="textField">
<fieldClasses:TextField height="50" minWidth="200"/>
</fx:Component>
... View more
07-23-2013
11:44 AM
|
0
|
0
|
1430
|
| Title | Kudos | Posted |
|---|---|---|
| 9 | 06-27-2025 02:06 PM | |
| 1 | 12-05-2024 10:05 AM | |
| 1 | 12-05-2024 09:53 AM | |
| 1 | 12-15-2022 09:20 AM | |
| 3 | 08-26-2020 04:24 PM |
| Online Status |
Offline
|
| Date Last Visited |
07-09-2025
09:01 AM
|