PDF map views are now working. Just need to add database functionality.