Does anyone know of a javascript library containing functions that would allow me to generate labels for points on the map so that the labels don't overlap one another, and have optional leader lines connecting the label to the point?

I'm using Esri's javascript API, but would also be interested in finding a generic conflict detection/resolution algorithm that I could adapt.

  • 1
    Not so Maplex but have you seen the Geometry Service - Label in Polygon example? help.arcgis.com/en/webapi/javascript/arcgis/demos/util/… or looking for more control on your labels? – Mapperz Jul 16 '12 at 20:14
  • @Mapperz Thanks for the response. Hadn't seen that sample. There's no mention of polygon labeling in the requirements doc, only points. Think of a mapservice with a point layer in it representing cities. Would like to label them on the client using a Name attribute. – Kirk Kuykendall Jul 16 '12 at 22:59

Not exactly what you want but I've used this and it works well:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.