/firstmap.github.io

:earth_americas: An interactive online map of FRC teams.

Primary LanguageJavaScriptMIT LicenseMIT

FIRSTmap

An interactive online map of FRC teams.

Screenshot of FIRSTmap

Team Marker Overrides

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 overrides.js and add your team number to the icons array found at the begining 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!

To modify the position of your team's marker to more accurately represent your location:

  1. Fork the repository.
  2. Open overrides.js and add your team's lattitude and longitude to the updatedLocations array found at the end of 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. See LICENSE for more information.