Code Monkey home page Code Monkey logo

neighborhood-map's Introduction

Neighborhood Map Project

This is Saket's Neighborhood Project for FEND Project 5.

It's been based on his favourite locations in Dubai, United Arab Emirates

Getting started

App can be downloaded from my GitHub here: https://github.com/saketsoni/ Open the index.html to view the application. Application is desktop and mobile friendly On Mobile format, click on the hamburger menu to open the list. Clicking on the location or the 'close' link will close the menu Open /js/app.js to see the ViewModel

v0.1

####Functionality covered against rubric

  1. App has a Search Bar, List View, and Map
  2. The Search bar allows to filter the locations. List View and Map shows the filtered locations as per the query on the Search Bar
  3. Clicking on the List View, or the Marker on the map centers the map to this location, animates the marker, and pops open the info window.
  4. Code has been separated based on MVVM best practises and avoiding updating the DOM manually. Code uses obervables instead.
  5. In my model I've hard coded 6 locations
  6. Application utilizes Google's Map API in a synchronous manner
  7. Code is ready for personal review and is neatly formatted with comments where appropriate

v0.2

Updates following feedback

  1. Fixed issue with Instagram API. Sandbox mode only allows API to show images that I've taken myself. I added new images on Instagram and added locations in order to show for this project
  2. Added Viewport meta tag to make the app mobile responsive
  3. Changed map area height to 100vh
  4. Map is loaded asynchronously. Callback function added, changes made to app.js to support this.
  5. Added 'use strict'; on app.js however this caused app to fail so I've removed this
  6. Reduced 5 hard coded locations because I was running out of images on Instagram!
  7. Changed to use setVisible method to display and hide markers
  8. Changed Ajax error logging to console.log to alert instead
  9. Map initialized outside of ViewModel
  10. Fixed issues in style.css
  11. Scripts moved to bottom of HTML for Page Speed Optimization
  12. Ajax error handling fixed. Use .done and .fail.
  13. Check code using JShint
  14. Check app still loads without any errors

v0.3

Updates following feedback

  1. Changed Ajax error handling. New boolean has been added to Marker class which is toggled depending on Ajax success. InfoWindow content reflects this.
  2. on Marker class, added var self = this
  3. Fixed W3C Validation errors
  4. close infowindow when filtering to avoid inconsistent results
  5. Removed bootstrap and changed pattern to use off-canvas with hamburger menu icon for mobile devices. Use KnockoutJS to open and close menu
  6. On mobile format added close link on the menu
  7. On mobile format, if use clicks from the list the menu automatically closes
  8. Update colors to 3-digit HEX codes
  9. Check code on jshint.com and W3C Validator

####References:

neighborhood-map's People

Contributors

saketsoni avatar

Watchers

James Cloos avatar  avatar

Forkers

huylllooo

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.