Mastering OpenLayers 3 create powerful applications with the most robust open source web mapping library using this advanced guide
Create powerful applications with the most robust open source web mapping library using this advanced guide About This Book Develop responsive and platform-independent web mapping applications with OpenLayers 3 Learn the key points of creating great applications with native JavaScript through the st...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing
2016.
|
Edición: | 1st edition |
Colección: | Community experience distilled.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630173006719 |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Creating Simple Maps with OpenLayers 3; Before getting started; Creating a working environment; Structure of OpenLayers 3; Building the layout; Creating the appeal; Writing the code; Using the API documentation; Understanding type definitions; Debugging the code; Summary; Chapter 2: Applying Custom Styles; Before getting started; Basic considerations; Customizing the default appearance; Identifying the classes; Styling the controls; Customizing the attribution control
- Creating a custom zoom control with CSSStyling vector layers; Customizing the appearance with JavaScript; Changing the overview map and the scale bar; Truncating the coordinate control; Changing the attribution; Creating a WebGIS client layout; Building the HTML; Styling the layout; Writing the code; Summary; Chapter 3: Working with Layers; Before getting started; Using a proxy; Resources to use; Basic considerations; Building a layer tree; Styling the layer tree; Creating a layer tree constructor; Adding layers dynamically; Creating the interface; Extending the constructor
- Fetching the WMS metadataAdding WMS layers; Adding WFS layers; WFS considerations; Adding vector layers with the File API; Creating the interface; Building the method; Adding vector layers with a library; Removing layers dynamically; Extending a constructor; Changing layer attributes; Styling active layers; Extending the method; Changing the layer order with the Drag and Drop API; Clearing the message bar; Summary; Chapter 4: Using Vector Data; Before getting started; Accessing attributes; Writing the code; Setting attributes; Styling the form; Writing the code; Validating attributes
- Adjusting the stylesBuilding headers; Writing the code; Creating thematic layers; Extending the layer tree; Creating choropleth maps; Creating categorized maps; Saving vector data; Saving in arbitrary formats; Saving with WFS-T; Modifying the geometry; Summary; Chapter 5: Creating Responsive Applications with Interactions and Controls; Before getting started; Basic considerations; Building the toolbar; Mapping interactions to controls; Creating the control; Adding and removing the control; Adding a selection control; Building a set of feature selection controls; Styling the controls
- Creating the selection toolsAdding new vector layers; Creating the HTML and the CSS; Extending the layer tree; Building a set of drawing tools; Writing the method; Modifying and snapping to features; Extending the method; Creating new interactions; Understanding ol.interaction.Pointer; Removing features; Dragging features; Extending the method; Building a measuring control; Creating the interaction; Doing geodesic measurements; Calculating lengths even more precisely; Summary; Chapter 6: Controlling the Map - View and Projection; Before getting started; Basic considerations
- Customizing a view