Skip to content

GeeII/firstmap.github.io

 
 

Repository files navigation

FIRSTMap

An interactive online map of FRC teams and events.

Screenshot of FIRSTMap

Customizing Team Icon

To modify the image used for your team's marker:

  1. Fork the repository.
  2. Add an image, titled {team_number}.png, where {team_number} is your team number, to the /logos folder. The image should have a maximum width or height of 40 pixels.
  3. Open data/custom_icons.js and add your team number to the icons array found at the beginning of the file.
  4. Push these changes to your fork of FIRSTMap.
  5. Open a pull-request with the main FIRSTMap repository to merge your fork back to the origin.
  6. Enjoy your custom marker image!

Note that you may wish to simply submit a team avatar to FIRST. As FIRST has rolled out the avatar system, it's now preferable to specify your team's logo that way. Manual input of icons to FIRSTMap is gradually being deprecated.

Customizing Team Position

  1. Fork the repository.
  2. Open data/custom_locations.js and add your team's latitude and longitude to the array found in the file. This data entry should follow the syntax:
"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!

This software is protected under the MIT License.

About

🌎 An interactive online map of FRC teams.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.4%
  • HTML 1.8%
  • CSS 0.8%