<esri:GraphicsLayer id="markersLayer" infoWindowRenderer="com.flack.geni.display.mapping.mapproviders.esriprovider.testInfoWindow" />
<?xml version="1.0" encoding="utf-8"?> <esri:LabelDataRenderer 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:esri="http://www.esri.com/2008/ags"> <esri:label>test</esri:label> <s:BorderContainer backgroundColor="white" borderColor="black" color="green" cornerRadius="5" minHeight="0" minWidth="0"> <s:layout> <s:VerticalLayout paddingBottom="5" paddingLeft="5" paddingRight="5" paddingTop="5"/> </s:layout> <s:Label text="Sex ratio"/> <s:Label text="Divorce rate:" toolTip="Divorce rate is the number of divorces per 1000 people."/> </s:BorderContainer> </esri:LabelDataRenderer>
Solved! Go to Solution.
Are you having any issues with your symbol when you pan or zoom?
Can you try adding this to your symbol code:override public function clear(sprite:Sprite):void { removeAllChildren(sprite); sprite.graphics.clear(); sprite.x = 0; sprite.y = 0; sprite.filters = []; sprite.buttonMode = false; } override public function destroy(sprite:Sprite):void { clear(); }
I'm glad to hear that resolved the original issue.
It's currently up to the symbol code to support wraparound mode. This may be changed at the 3.0 final release.