Giter Club home page Giter Club logo

bcbc-project1's Issues

Add data exported from DataSF API, as heatmap, leveraging Google Map API Heatmap feature

Tasks:

  1. Read data queried from DataSF API
  2. Determine which objects (assault, theft, burglary, robbery, vehicle theft), representing danger spots
  3. Integrate heatmap layer on main route map

Acceptance criteria:

  1. Verify queried DataSF object arrays represent longitude & lattitude points as expected by Map API
  2. Only selected objects are displayed on heatmap
  3. Selecting heatmap button overlays heatmap over main route map

Example:

Firebase configuration

  1. Google maps for navigation/routing
  2. Mapbox for visualization
  3. Data SF for crimes info
    4.MapQuest?

Update Firebase script link to only required (App + Realtime DB) links in <head> of index.html

Tasks:

  • Replace Firebase SDK link
    • <script src="https://www.gstatic.com/firebasejs/5.5.9/firebase.js"></script>
  • with:
    • <script src="https://www.gstatic.com/firebasejs/5.5.9/firebase-app.js"></script>
    • <script src="https://www.gstatic.com/firebasejs/5.5.9/firebase-database.js"></script>

Currently receive Firebase SDK notification in console.log when page is loaded initially or refreshed
screen shot 2018-11-28 at 12 41 04 pm

911 Integrated bttn

Put a href link to create a responsive 911 button, which calls for Facetime on your phone/tablet.

Refactor API keys into config.js

Tasks:
-For consistency, add all API keys into eventual config.js and assign global variables to be used in main js.js
-Document in README.md
Verifications:
-script link to config.js in index.html, placed just above script link to js.js
-config.js added to .gitignore to ensure config.js is not tracked nor pushed into GitHub remote repo.

This will prevent our API keys being leveraged by others.

To Reproduce
Currently, Firebase API key has been committed in master and viewable in GitHub repo (commit cd68f58)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.