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 6. Theming

In this chapter we will cover:

  • Understanding how themes work using the img folder
  • Understanding how themes work using the theme folder
  • Delimiting tiles in a raster layer
  • Creating a new OpenLayers theme
  • Starting actions outside the controls

Introduction

It is worth mentioning that in software applications, the first impressions are the most important things, and they are given by two factors: the look and feel.

This chapter is all oriented to show how we can improve the look and feel of our web mapping application by theming OpenLayers.

As many other web applications, the look and feel of the OpenLayers library is controlled using images and CSS classes, which define the position, dimensions, and visual aspects of any OpenLayers component. ...

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