Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
Not so Maplex but have you seen the Geometry Service - Label in Polygon example?… 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:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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