O'Reilly logo

OpenLayers Cookbook by Antonio Santiago Perez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Styling Features

In this chapter we will cover:

  • Styling features using symbolizers
  • Improving style using StyleMap and the replacement of the feature's attributes
  • Playing with StyleMap and the render intents
  • Working with unique value rules
  • Defining custom rules to style features
  • Styling clustered features

Introduction

Once we know how to work with vector layers, such as adding new features or modifying the existing ones, the question we can have in mind is: how to style them?

The visual representation of features, the style, is one of the most important concepts in GIS applications. It is not only important from the user's experience or designer's perspective but also as an information requirement, for example, to identify features that match ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required