Giter Site home page Giter Site logo

basmaamahmoud / on-the-map Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 31 KB

The On The Map app allows users to share their location and a URL with their fellow students. To visualize this data, On The Map uses a map with pins for location and pin annotations for student names and URLs, allowing students to place themselves “on the map,” so to speak.

Swift 100.00%

on-the-map's Introduction

on-the-map

Description

  • The On The Map app allows users to share their location and a URL with their fellow students.
  • The On The Map uses a map with pins for location and pin annotations for student names and URLs, allowing students to place themselves “on the map”.

Setup

  • In this application i used mapkit.
  • For “On the Map”, the Udacity API will be used to authenticate users of the app and to retrieve basic user info before posting data to Parse.

How to run it

  • The login view accepts the email address and password that students use to login to the Udacity site. User credentials are not required to be saved upon successful login.

  • Clicking on the Sign Up link will open Safari to the Udacity sign-up page. If the connection is made and the email and password are good, the app will segue to the Map and Table Tabbed View. If the login does not succeed, the user will be presented with an alert view specifying whether it was a failed network connection, or an incorrect email and password.

  • In the Map And Table Tabbed View, It has two tabs at the bottom: one specifying a map, and the other a table. When the map tab is selected, the view displays a map with pins specifying the last 100 locations posted by students.

  • You will be able to zoom and scroll the map to any location using standard pinch and drag gestures.

  • When you tap a pin, it displays the pin annotation popup, with the student’s name (pulled from their Udacity profile) and the link associated with the student’s pin. Tapping anywhere within the annotation will launch Safari and direct it to the link associated with the pin.Tapping outside of the annotation will dismiss/hide it.

  • When the table tab is selected, the most recent 100 locations posted by students are displayed in a table. Each row displays the name from the student’s Udacity profile. Tapping on the row launches Safari and opens the link associated with the student.

  • The rightmost bar button will be a refresh button. Clicking on the button will refresh the entire data set by downloading and displaying the most recent 100 posts made by students. The bar button directly to its left will be a pin button. Clicking on the pin button will modally present the Information Posting View.

  • In the Information Posting View, It allows users to input their own data. When the Information Posting View is modally presented, you see two text fields: one asks for a location and the other asks for a link. When the user clicks on the “Find Location” button, the app will forward geocode the string. If the forward geocode fails, the app will display an alert view notifying the user. Likewise, an alert will be displayed if the link is empty.

  • If the forward geocode succeeds then text fields will be hidden, and a map showing the entered location will be displayed. Tapping the “Finish” button will post the location and link to the server. If the submission fails to post the data to the server, then you will see an alert with an error message describing the failure. If at any point you click on the “Cancel” button, then the Information Posting View should be dismissed, returning the app to the Map and Table Tabbed View. Likewise, if the submission succeeds, then the Information Posting View should be dismissed, returning the app to the Map and Table Tabbed view.

Images for the App

simulator screen shot - iphone 8 plus - 2018-08-10 at 16 53 54 simulator screen shot - iphone 8 plus - 2018-08-10 at 16 58 30 simulator screen shot - iphone 8 plus - 2018-08-10 at 16 58 12 simulator screen shot - iphone 8 plus - 2018-08-10 at 16 59 26

on-the-map's People

Contributors

basmaamahmoud avatar

Watchers

James Cloos 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.