sxw031 / Udacity-FEND-Neighborhood-Map

A Web App for displaying the annotation and search of key locations nearby my living space.

Home Page:http://sxw031.github.io/neighborhoodMapApp/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FEND-P7-Neighborhood-Map

It is a user friendly App for displaying the annotation of key locations nearby my living space. image of the application

How did I built the app

The structure is similiar to Cat Clicks App: https://github.com/JamesWangbrothers/Cat-Click-App.git

  1. Integrate the google map API https://developers.google.com/maps/documentation/javascript/
  2. Build three major parts: search bar, key locations, map markers
  • search bar: The search has the functino of filtering the model, which decide which part of the model is going to show. when typing words in search bar, key location and marker gets filtered and updated display immediately. Additional feature: auto-completion when search for something.
  • key location: takes the 10 names and items that I have defined in the model, and put them in the list view. additionaly when click the item marker, it highlights the particular item in the map, so you easily find these items in the map
  • markers: when click the selected marker in the map, it pops out a style and a window to show the little description of the item. Third-part API is used here to show the info.
  1. Error handling: adding Error handling for map is not displayed and location is not found
  2. Build the responsive design:
    • using the bootstrap mobile-first framework
    • adding the event listener "resize" for responsive map
  3. Add the CSS styles for animation and display.
  4. optimized the critical rendering path
  5. run HTML validator: https://validator.w3.org/ and CSS validator: http://www.css-validator.org/ to fix errors
  6. submit for feedback and revise

how to run the application

  1. Check out the repository or Download or fork the application.
  2. Select index.html to start the app.
  3. Use filter box to filter list items and map markers
  4. Select a list item or map marker to open an info window describing the marker.

Additionally,To inspect the site on your phone, you can run a local server

$> cd /path/to/your-project-folder
$> python -m SimpleHTTPServer 8080

and Open a browser and visit localhost:8080

OR

Download and install ngrok to make your local server accessible remotely.

$> cd /path/to/your-project-folder
$> ngrok http 8080

and open a browser and visit localhost:8080

How to use the application

The map shows the neighborhood area where I work and live. If you want either want to find out more about myself or the location, please feel free to click the "here" and the bottom of the page and send a email to me to keep in touch! Otherwise, please feel free to play with the app and provide me a feedback on how to improve it or what you think about it if you like. The app is easily to play with, you can type anything in the search bar, and the result will be filtered and displayed on the list and map. And if you click he list or the marker on the map, the detail information will pop up! Enjoy and cheer up!

About

A Web App for displaying the annotation and search of key locations nearby my living space.

http://sxw031.github.io/neighborhoodMapApp/index.html

License:MIT License


Languages

Language:JavaScript 71.8%Language:CSS 14.1%Language:HTML 14.1%