Location And Maps Sisoft Technologies Pvt Ltd

Slides:



Advertisements
Similar presentations
Touchdevelop api api: location & maps show geo locations Disclaimer: This document is provided “as-is”. Information and views expressed in this document,
Advertisements

Lecture 16: Data input 1: Digitizing and Geocoding By Austin Troy University of Vermont Using GIS-- Introduction to GIS.
IOS and Location Services CS4521. Core Location Core Location Framework to determine the current latitude and longitude of a device Core Location uses.
Broadcast service Core tools. Agenda 1.Introduction – tool and its main features 2.Setting up and sending a simple broadcast 3.Achieving.
Go to our website, and click on the eMedia Catalog link To find books, either click on the advanced search (which I will.
REAL TIME GPS TRACKING SYSTEM MSE PROJECT PHASE 2 PRESENTATION Bakor Kamal CIS 895.
Location based services
INTRODUCTION TO HTML5 Geolocation. Display a Specific Location with Google Maps  You can use the Google Maps API to display a custom map on your own.
FriendFinder Location-aware social networking on mobile phones.
By max guerrero,bryan hernandez,caleb Portales  Spreadsheets are set up like tables with information running across rows and down columns. You could.
FriendFinder Location-aware social networking on mobile phones.
The Overview Of New Technologies Used
The iOS Platform and SDK. iOS iPhoneiPad Mini iPad.
Amolak Nagi.  “The Core Location framework lets you determine the current location or heading associated with a device.”
Phonegap Bridge –Geolocation and Google maps CIS 136 Building Mobile Apps 1.
Location based services 1. Some location-based services available in Android Geo-coding – Address -> location Reverse geo-coding – Location -> address(es)
1 디바이스 정보  UIDevice 클래스가 제공하고 static 메서드인 currentDevice 가 객체를 생성합 니다.  제공하는 정보 uniqueIdentifier: 장치 고유 ID / 회원가입을 하지 않고 어플을 운영 가능 model: 모델명 systemVersion:
1. 2 Android location services Determining a device’s current location Tracking device movements Proximity alerts.
How to Track the Location of a Mobile Phone.
PART1 Data collection methodology and NM paradigms 1.
Emdeon Office Batch Management Services This document provides detailed information on Batch Import Services and other Batch features.
O/o The Chief Electoral Officer, AP & Telangana
Introduction to iOS App Development Environment
Mobile Computing CSE 40814/60814 Spring 2017.
Web Services Sisoft Technologies Pvt Ltd
Drawing And Animations
Java FX: Scene Builder.
A Look at Creating & Updating Point Files
What is next for the REDCap Mobile App?
IOS Design Patterns Sisoft Technologies Pvt Ltd
Tracking device movements
UCF Parking Route and Heat Maps
iOS UI Components Sisoft Technologies Pvt Ltd
AnDroid GoogleMaps API
Notification Sisoft Technologies Pvt Ltd
By Dan Gotlund & Eric Acierto
iOS - First Application Anatomy
Harry Williams, Cartography
Registering And Joining Developer Program
Media Library Sisoft Technologies Pvt Ltd
Windows Phone 7 advanced services
Geolocation using Google maps
Sensors, maps and fragments:
CHAPTER 3 Architectures for Distributed Systems
GPS with Collector for ArcGIS
Final Project – Anomalies Detection
View-Controller Family
Mobile Computing CSE 40814/60814 Spring 2018.
iOS LifeRhythm Data Collection
E-NOTIFY and CAER OnLine Training
N. Capp, E. Krome, I. Obeid and J. Picone
Computer software.
the global positioning system
EEC-492/693/793 iPhone Application Development
Geolocation using Google maps
Mapping the schoolyard geographically
LMS Images.
Electronic Field Study Advanced User Training
Presented by Ignas Šeškauskas
LMS Images.
Location Based Reminding System
Location Tracking Device (LTD)
Unit 8 Model Answer.
Ohio Fire Chief’s Association State Emergency Response System
Timing Out Press Menu button. Press Record Tracks button.
LMS Images.
CS378 - Mobile Computing Location and Maps.
CREE: HEIRPORT lite Welcome screen:
Geolocation using Google maps
How to install and manage exchange server 2010 OP Saklani.
Presentation transcript:

Location And Maps Sisoft Technologies Pvt Ltd SRC E7, Shipra Riviera Bazar, Gyan Khand-3, Indirapuram, Ghaziabad Website: www.sisoft.in Email:info@sisoft.in Phone: +91-9999-283-283

Core Location Core Location framework is used to determine the current latitude and longitude of a device To use the features of the Core Location framework, you must link your app to CoreLocation.framework in your Xcode project To access the classes and headers of the framework, include an #import <CoreLocation/CoreLocation.h> statement at the top of any relevant source files.

Core Location There are three technologies that core location uses : GPS Reads microwave signals from multiple satellites to determine the current location Cell Tower Triangulation Determine the current location by calculation based on location of cell towers in iPhone’s range. Wi-Fi positioning Service (WPS) Uses IP address from iPhone’s Wi-Fi connection by referencing database of service providers and areas they service

CLLocationManager This class defines the interface for configuring the delivery of location-related events to your application To interact with core location we need to create an instance of Location Manager CLLocationManager *locationManager =[[CLLocationManager alloc]init]; When you are ready to start polling for location, you tell the location manager to start [locationManager startUpdatingLocation];

Setting Desired Accuracy The accuracy is set using CLLocationAccuracy Value, a type that’s defined as double kCLLocationAccuracyBest kCLLocationAccuracyNearestTenMeters kCLLocationAccuracyHundredMetres kCLLocationAccuracyKilometers kCLLocationAccuracyThreeKilometers Setting Delegate and Accuracy: locationManager.delegate=self; locationManager.desiredAccuracy= kCLLocationAccuracyBest

Setting Distance Filter By specifying distance filter you can tell Location manager not to notify for every change in location but to only notify you when location changes by certain amount Specifying a distance filter of 1000 tells location manager not to notify the delegate until the iPhone has moved at least 1000 meters from previously reported position For example: locationManager.distanceFilter=1000.0f;

Location Object (CLLocation) Represents the location data generated by a CLLocationManager object The latitude and longitude are stored in property called coordinate CLLocationDegress latitude=theLocation.coordinate.latitude The CLLocation object also has a property called altitude that tell you how many metres above the sea level you are: - CLLocationDistance altiude=theLocation.altitude

CLLocationManagerDelegate protocol The location manager must confirms to CLLocationManagerDelegate protocol, which defines two methods, both are optional One method is called by location manager when it has determined current location or detects any change in location: locationManager:didUpdateToLocation:fromLocation Other method is called when location manager encounters an error: locationManager:didFailWithError

MapKit Maps are provided by the Map Kit framework, which supports both the display and annotation of maps Plan Adding MapKit to your iPhone Application Setting and zooming the Position Annotations Geocoding

Adding Mapkit

Adding Framework

MKMapViewDelegate protocol The MKMapViewDelegate protocol defines a set of optional methods that you can use to receive map-related update messages The MKMapViewDelegate protocol have methods for: Responding to Map Position Changes Loading the Map Data Tracking the User Location Managing Annotation Views Managing the Display of Overlays

Map Region to Display A structure that defines which portion of the map to display. Set the region property (MKCoordinateRegion) Define the center point and a span Span defines the vertical & horizontal distance to display (zoom) {
 MKCoordinateRegion region;
 region.center.latitude = [eventVenue.latitude doubleValue];
 region.center.longitude = [eventVenue.longitude doubleValue];
 region.span.latitudeDelta = 0.0039;
 region.span.longitudeDelta = 0.0034; //zoom ~.3 miles 
 mapView.region = region; }

Annotations Annotations offer a way to highlight specific coordinates on the map and provide additional information about them In order to display an annotation on a map, your app must provide two distinct objects: An object that conforms to the MKAnnotation protocol and manages the data for the annotation(annotation object) A view used to draw the visual representation of the annotation(annotation view)

MKPointAnnotation // Add an annotation MKPointAnnotation *point =[[MKPointAnnotation alloc] init];    point.coordinate = userLocation.coordinate;    point.title = @"Where am I?";    point.subtitle = @"I'm here!!!";        [self.mapView addAnnotation:point];

CLGeocoder The CLGeocoder class provides services for converting between a GPS coordinate and the user-readable address of that coordinate By specify the latitude and longitude of a given location, you can use CLGeocoder to find a user-readable address The result (i.e. the address) returned by CLGeocoder is saved in a CLPlacemark object