feat(pbf): add map component

This commit is contained in:
dancingCycle 2022-09-14 15:09:44 +02:00
parent 16abe8b37a
commit 15f98a481f
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,9 @@
import React from 'react';
const Map = () => {
return (
<>
<h2>Map</h2>
</>
);
}
export default Map

View File

@ -3,6 +3,7 @@ import axios from 'axios';
import Pbf from 'pbf';
import Hello from '../components/hello';
import { FeedMessage } from '../../proto2js/js/gtfs-rt.js';
import Map from '../components/map/map';
import '../style.css';
const Home = () => {
/*storage*/
@ -98,6 +99,7 @@ const Home = () => {
<p>
vehicle position count: {vehPos.length}
</p>
<Map />
</>
);
}