GithubHelp home page GithubHelp logo

mdb / phl-pac-complaint-browser Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 2.0 535 KB

Map and browse the 2009 - 2012 citizen complaints logged with the Philadelphia Police Advisory Commission against Philadelphia police officers.

JavaScript 60.63% CSS 39.37%

phl-pac-complaint-browser's Introduction

phl-pac-complaint-browser

A Polymer-based <phl-pac-complaint-browser /> custom element mapping 2009-2012 Philadelphia Police Advisory Commission complaints filed by citizens against Philadelphia Police officers.

Local dev

Install Node.js dependencies:

npm install

Install bower dependencies:

bower install

Run local server:

gulp connect

View the demo in your web browser at http://localhost:8080/demo.html

Building

phl-pac-complaint-browser uses vulcanize to concatenate and compress source files to a single build/index.html document.

gulp build

Deploying

phl-pac-complaint-browser's demo compiles to a single index.html document that can be deployed to any web server.

phl-pac-complaint-browser offers out-of-the-box command line S3 deployment.

Add an aws.json file citing your AWS info:

{
  "key": "your key",
  "secret": "your secret",
  "bucket": "your S3 bucket",
  "region": "us-east-1"
}

To deploy a build:

gulp deploy

phl-pac-complaint-browser's People

Contributors

mdb avatar mc706 avatar

Stargazers

Justin Campbell avatar Dana Bauer avatar

Watchers

James Cloos avatar Casey Cesari avatar  avatar

Forkers

mc706

phl-pac-complaint-browser's Issues

Fix core-overlay styles

In the refactor branch, the core-overlay content is un-styled. It should display on a white box with padding.

To view the current, un-styled overlay, click 'About'.

Clicking marker de-renders map

Steps to reproduce:
Filter by Unit: 'det'
Click the single complaint marker to view details

Expected:
The details overlay is visible

Actual:
The map disappears; the HTML document is a blank white screen

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.