Git Product home page Git Product logo

neighborhood-map's Introduction

Neighborhood Map Project

A map based website for the "Neighborhood Map" Project in Udacity.

The website lists some places in NYC. User can filtering places by their names. Wikipedia articles are shown if available for the places selected.

User Guide

  • Download the app via Github.
  • Open index.html file with your favorite browser.
  • Enjoy using the app!

Developers Guide

Installing required dependencies

This template uses Grunt, the Javascript Task Runner. To use Grunt with this App, mainly to edit any static file, do the following:

  • Install grunt: npm install -g grunt-cli
  • In your App directory, run: npm install. This installs Grunt plugins needed to use this App.
  • In your App directory, run: grunt or grunt watch to start watching static files for changes.

Add your own places

To add a place, the following data is required :

  • Place Title
  • Place Location: latitude and longitude

if any of these data are missing, the app won't work correctly.

Places are added to the places object in statc/src/js/model.js file with the following structure :

{
    title: 'Example place',
    location: {
        lat: 40.7444883,
        lng: -73.9949465
    }
}

Static places Vs. Dynamic places

All places served by this app is hardcoded in the statc/src/js/model.js. To dynamically load places, create your own places object with the minimum required information from your data source using the method you prefer.

License

License: MIT

neighborhood-map's People

Contributors

armaaar avatar

Watchers

 avatar

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.