Skip to content
rothwell.andy@gmail.com edited this page Aug 2, 2024 · 50 revisions

This project is a remake of the 2017 atlas.phila.gov using Vue 3. Most of the vue files are written using the Vue3 Composition API.

atlas-intro

Demo

A demo of the app can be seen at https://d1dycpzd1ntl2z.cloudfront.net/

App Structure

The 2 panels (Topic and Map) of the App Structure are described here

Main data-fetching explanation

The main data-fetching explanation, mostly done in router/index.js, of atlas.phila.gov

Map.vue

Map.vue - the longest and most complicated file of the app - is described here

config

There is a config file which is imported as $config whenever needed, for data structures that the app's map needs that will never change

style

The app's style contains a few ideosyncracies that should be noted.

Deployment

The app deploys to both atlas.phila.gov and cityatlas.phila.gov

Cyclomedia

Cyclomedia is the company that provides street view imagery. An explanation of how we use their api is here.

Eagleview (formerly Pictometry)

Eagleview is the new name (formerly Pictometry) of the company that provides oblique aerial imagery. An explanation of how we use their api is here.

Vue Router

It uses Vue Router 4. Most of the logic in the app is in "router/index.js." As noted on the Router page, we are attempting to make nearly all actions make changes to the route, and then all changes to the app follow the route change (except for changes such as showing imagery or opening cyclomedia, which are not reflected in the route).

Pinia

It uses Pinia for creating multiple Stores.

Clone this wiki locally