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

I'm new to trying to use mapping, and not finding the kind of documentation I need. I'm looking at OpenLayers, but open to other solutions.

I have a client that has sales reps with territories worldwide. Those territories are not country exclusive, there may be more than one rep in a country with territories divided between states/provinces. I need the map color-coded so the territories are highlighted by sales rep. OpenLayers at least, looks like it might be the way to go because zooming in on a world map more sharply defines the regions within a country (zooming in on the US, shows the individual states).

As it stands, I don't know if OpenLayers will support splitting a country on an un-zoomed view, or how to color code any of the territories (many of the example pages for OpenLayers don't seem to work).

share|improve this question

If you have your territories as polygons in a JSON-file, you could load them in as a Vector Layer in OpenLayers (given that they are not too large/have too many points) and then style them based on some attribute. But again, this may be overkill, but as I am not certain of your goals (should the user be able to interacting (i.e. click on) the territories?

If you just want to display a zoomable map with color codes territories then I guess it's easier to create a WMS-layer with for instance Geoserver.

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.