when i import mx.controls.Alert; it says the import Alert could not be found
is it possible to label the feature layer (in the mxml) without performing a query?
You could create a graphics layer to display the text/ labels as a result of a query against the feature layer. This way you could let the user choose the label field, or make a configurable.
I'm needing to label features in a FeatureLayer and I want to avoid having a seperate DynamicMapServiceLayer which contains the labels.One approach I have considered is to extend the FeatureLayer to create a LabelledFeatureLayer class and alter the behaviour of the refresh (?) method.Has anyone tried something similar to this or does anyone have any better suggestions?Andrew
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.