Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
irees committed Jun 17, 2024
1 parent 7fee522 commit e345547
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
6 changes: 5 additions & 1 deletion src/runtime/components/feed-version-map-viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
:agency-features="agencyFeatures"
:is-component-modal-active="isComponentModalActive"
@close="isComponentModalActive = false"
/>
>
<strong>Select routes</strong>
<br>
Use your cursor to highlight routes
</tl-map-route-list>
</div>
</div>
</div>
Expand Down
12 changes: 1 addition & 11 deletions src/runtime/components/map-route-list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,7 @@
<tl-route-select :agency-features="agencyFeatures" :collapse="true" :link="true" />
</div>
<div v-else>
<slot name="default">
<h6 class="title is-6">
Select routes
</h6>
<div v-if="currentZoom < 8">
Zoom in to select routes and to see stop points.
</div>
<div v-else>
Use your cursor to highlight routes and see their names here. <br>Click for more details.
</div>
</slot>
<slot name="default" />
</div>
</div>
<div v-if="isComponentModalActive">
Expand Down
12 changes: 11 additions & 1 deletion src/runtime/components/pages/map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,17 @@
:agency-features="agencyFeatures"
:is-component-modal-active="isComponentModalActive"
@close="isComponentModalActive = false"
/>
>
<h6 class="title is-6">
Select routes
</h6>
<div v-if="currentZoom < 8">
Zoom in to select routes and to see stop points.
</div>
<div v-else>
Use your cursor to highlight routes and see their names here. <br>Click for more details.
</div>
</tl-map-route-list>
<p v-if="Object.keys(agencyFeatures).length == 0" class="content block is-small pt-2">
<a href="https://www.transit.land/documentation/vector-tiles" target="_blank">Learn more about Transitland v2 Vector Tiles</a>
</p>
Expand Down

0 comments on commit e345547

Please sign in to comment.