Skip to content
This repository was archived by the owner on Mar 12, 2022. It is now read-only.

[WIP] Station hierarchy#293

Open
irees wants to merge 15 commits into
masterfrom
stationMap#292
Open

[WIP] Station hierarchy#293
irees wants to merge 15 commits into
masterfrom
stationMap#292

Conversation

@irees

@irees irees commented Dec 21, 2016

Copy link
Copy Markdown
Member

Resolves #292

PR include models for stopStation, stopPlatform, stopEgress. The map viewer is in the stop-map component, which draws the leaflet layers & defines actions for interacting. The main change to the existing stops route is to use stop_stations as the model and use the stop-map component in the template.

Icons defined in components/stop-map/component.js

var stopStationIcon = L.icon({
   iconUrl: 'assets/images/search-active.png',
   iconSize: [36, 54],
   iconAnchor: [18, 54],
   popupAnchor: [0, -54]
 });

@irees

irees commented Dec 30, 2016

Copy link
Copy Markdown
Member Author

@irees

irees commented Dec 30, 2016

Copy link
Copy Markdown
Member Author

Icons defined in components/stop-map/component.js

var stopStationIcon = L.icon({
   iconUrl: 'assets/images/search-active.png',
   iconSize: [36, 54],
   iconAnchor: [18, 54],
   popupAnchor: [0, -54]
 });

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant