Skip to content

FIRSTMap/firstmap.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An interactive online map of FRC teams and events.

Screenshot of FIRSTMap

Custom Team Icons

Custom team icons are updated periodically from the FIRST avatar system. The old system of manually submitting icons to FIRSTMap is being phased out in favor of this approach.

Customizing Team Position

Team positions are downloaded from The Blue Alliance API using our scraper. While the scraper may find the location of the city where a team resides, it cannot necessarily find the exact location of the team's workspace. Customizing your team's position allows your team's marker to show up at the exact location of your workspace.

Instructions for customizing team position:

  1. Fork the repository.
  2. Open data/custom_locations.json and add your team's latitude and longitude to the array within the file. This data entry should precisely follow the following syntax, making sure NOT to use single quotes or add a trailing comma after longitude:
"team_number": {
    "lat": latitude,
    "lng": longitude
}
  1. Push these changes to your fork of FIRSTMap.
  2. Open a pull-request with the main FIRSTMap repository to merge your fork back to the origin.
  3. Enjoy the updated location of your team's marker!

Note: Any team that has not competed in the current season (including the offseason, but excluding events not listed on The Blue Alliance) will not be found by the scraper and will not show up on the map. If your team has competed in the current season (according to The Blue Alliance), but is not on the map, the scraper likely needs to be run again to update the team list. You may wish to open an issue if your team is in this situation.


License

MIT

Author

Created by Erik Boesen and other contributors.