Visualizing an indoor routing service

With our wonderful API created, it's time now to visualize this indoor route returned as GeoJSON on a map. We will now dive into the Django template components to create the HTML, JS, and CSS for our front-facing web page that displays a simple slippy web map using Openlayers 3.4.0. and Bootstrap CSS.

Our new web map will display the GeoJSON on the map with a nice style alongside a menu bar where we will include later functionality.

Visualizing an indoor routing service

Getting ready

We need to build a few new folders and files to store new static and template content for our Django web application. Let's begin doing this by creating the /web_analysis/templates ...

Get Python Geospatial Analysis Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.