XCode 5 Tutorial Map View Part 1 - Displaying Map Views - Geeky Lemon Development

XCode 5 Tutorial Map View Part 1 - Displaying Map Views - Geeky Lemon Development


Free Crash Course: http://www.iosdevelopmentcrashcourse.com
Source Code: http://www.geekylemon.com/#!map-views...

Hey guys in this tutorial i will be showing you how to make a map view with advance feature to locate your location and change between hybrid satellite and map views i hope this help you out in your projects and if there anyway you think i can improve my tutorials or want to request one just tell me via comment or pm and subscribe

please leave feedback on how i can improve my tutorials for everyone and suggest what tutorials i can do next for you :)

make sure to subscribe

Twitter
@GeekyLemon
http://twitter.com/GeekyLemon

Facebook
Geeky Lemon Development
http://tinyurl.com/32yg2ud

App store
http://itunes.com/apps/geekylemondeve...
Closed Caption:

hey guys this is aaron from geek glam
development and welcome to our xcode
tutorials and in this tutorial on this
four-part series will be creating a map
view application now an example in the
simulator here of what we're going to be
creating in this little mini series we
have our simple order map you here and
you can see it's already pre-loaded and
presumed on Brooklyn Bridge in New York
you can see there's a pin on it and he
says Brooklyn Bridge me you're currently
map in there we can also change the
beauties satellite and hybrid and if we
assume at now because we on the iOS
simulator when we go to find our own
location me to see matter you can see
him a little bit more let me go to find
our own location because i know is
similar to make this what he thinks
we're in California and another great
you're free to this as well as the
directions now because we gotta all set
upon brooklyn bridge and our current
locations in a California click
directions it will take us to the apple
maps application you just select your
start location wherever you are
so if you chose the current location and
it's already preset in brooklyn bridge
and repress route and I know just
calculate the roots and eventually give
us directions on how to get to our
location so we're going to create these
basic application today so already I my
project set up
it's a simple single View application
for the iphone and i'll simply named
matt View application just for the
purpose of this tutorial now the first
we need to do is import our map kit
foundation to simply because you know
that's basically everything we need to
create you know to display the map
anyway so you can go to either build for
build phases sorry i'm going to link
binary libraries and get there or
quickly you quickly another quick away
goto capabilities and select the map
section here and turn that on and if you
get to our frameworks now you should see
the map kit is already important
important sorry that's a quicker way of
doing it
so once you've done that we can go to
our you can try that H and just simply
import the map get there so do hash
important one with the more less than
simple map kit /a mapkit dot H so there
we go that's simply what we need to do
that you are view controller to a space
bracket and press ENTER and we do
mkay map Kip MK mapper view sorry
every good space Astrix and I should be
named it's a really simple or that view
easier to understand welcome to code it
and then naturally curly bracket here we
need to do the a property to non-atomic
retain the and map view so we do that
property space bracket non-atomic comma
retain bracket and then we do I be
outlet space
mkay map view again I'm going to simply
copying what we originally did him doing
that
view and a semicolon now once you've
done that we need the lobby action now
all the outcome action to select what
style of map we want to display where
it's the standard the hybrid or the
satellite so that's important to a
segment control so we do dash bracket
well that's bracket I be action and I
simply named it set an appt have to be
send their daughter and curly bracket
and it's close to the line that's what
we need to do there if we do some copy
this line here and you jumped out of
your control it by and we can quickly
paste that in there give sounds a little
bit on so put their brackets on the
other end of it and now we just got our
input and implementation here and
underneath need to do that synthesize
and we need to synthesize our map view
and simply end that with a semicolon
now within the mapper in the set mapper
action here we need to do it kind of a
switch Conover statement of cases too
sure which math you want to display so
if we first before we do any of that if
we build the kind of map view into the
interface now so we're going to need a
couple of things to really start off
we're gonna need a navigation bar there
we go
are we going to need our toolbar the
bomb and a map view that's a web user
and a few very good and I should just
get rid of the item in the toolbar at
the bottom here and if i add then a
segmented control if we're going to find
it very good and then forgot to edit the
options on it and we select that we need
free segments the first segment will be
our standard and change our second
segment to be our satellite view and
then our third segment two BR hybrid
whenever just click on again and the
space it out so you can see the words
gonna kill it clearly so then click onto
again them there we go so now we named
all of three segments we're going to
have the standard segment be enabled and
selected already so as the map using
load already loaded under standard for
that we want our standard kind of
segments here already selected now just
go to the View controller here we can
select it down here go to and
connections inspect their and link up
our map view and are setting up
there we go and we can you need to do
this to value change the actions happen
when the value changes now we've done
that just click back onto DVD control
here and get down here at the bottom
where we can no resolve the underlying
issues and add missing constraints in
view controller this means because on
the iphone you know the larger iphone 5
screen is that when we go to build in
the simulator our bodies are you know I
kind of selected on the 3.5 inch has it
fits on the screen nicely am constrained
working together and we'll resize it to
the view
okay so now we've done that if you drop
back into our vehicles rotten and we can
set up our and coding here for are
switching the map view style so what we
do is switch and the expression we do
bracket bracket you are segments control
space Astrix after that first bracket
there will be space sender and after
that number back whatever dude dot
selected segment index and then in our
first case here we do is 0 and in the
statement here we do Matthew and we
choose the type of map view and it's
going to equal MK map type standard and
that is something going on today is a
like oh if the first case is selected so
if i go back into our storyboard here so
the first case which is 0 which is this
one here standard if that's selected
then it's gonna display the standard map
on our map view now just copy this here
and paste it two times and it's changing
the kc a 2 1 and 2 and then we change
the type of our map via con overview
there and to satellite and the second
one and hybrid on the third one and make
sure it's all finished with the default
at the end with the break and I want you
to know that it's kind of all dumped so
if you go to work building one now
let me test out the map view options
that we have now kind of created with
non that few application
ok now the map has loaded you can see we
have an interactive it and we can if you
hold on the simulator and you can zoom
pinch-to-zoom internet and if we select
our satellite we are given like the kind
of a google map kind of view or the
earth you hybrid and it's the same
variable then it's gotten you know names
and birds when you zoom in a bit further
and places you can clearly see like is
to combine the standard and satellite to
give a hybrid so there you go that's
simply how you add map styles or your
different a different kind of map them
views into a map application so the next
episode began be touching upon er
locations getting your own location and
setting a fixed location will be mapping
to load up on so yeah if you enjoyed
this tutorial so far in the first
episode of our map view series actually
leave us a comment or like and if you
have a matrix described make sure you
check out all the apps in the App Store
by simply searching Chioma and yeah
again if you haven't made to describe
not see you all next time in our next
tutorial
come on Bubba got in my pinkie nose i'm
a picky
what

Video Length: 10:42
Uploaded By: GeekyLemon
View Count: 19,049

Related Software Products
Map View SDK
Map View SDK

Published By:
Offlinesoft

Description:
The Map View SDK is available as a stand alone Developer kit. The Map View SDK offers a Direct DLL method to draw multi-type maps by region within your application. The satellite maps and the street maps will be easily used as background maps within your application such as GIS. The Map View SDK is not a Royalty Free tool kit and a limited number of Licenses are included for end user distribution with your application with the SDK product you purchase, with additional bulk license packs ...


Related Videos
Map View - Current Location in Swift - Xcode 7 iOS 9 Tutorial
Map View - Current Location in Swift - Xcode 7 iOS 9 Tutorial

In this tutorial we learn how to display the users current location on a map view.​ Sponsor: Get the iOS 9 Developer Course with Swift 2 and Xcode 7! http://bit.ly/1Mrsifz Source Code: http://bit.ly/22GmWoa To Subscribe To Vea Software Weekly: http://www.veasoftware.com/newsletter To Support Vea Software: http://www.veasoftware.com/donate Social Accounts: Twitter: ...
Video Length: 11:49
Uploaded By: Vea Software
View Count: 44,585

Swift: How to integrate Google Maps SDK with Cocoapods to Build a Vacation App
Swift: How to integrate Google Maps SDK with Cocoapods to Build a Vacation App

Today, we'll go over step by step how to integrate Google Maps SDK for iOS using Swift and Cocoapods to build a Vacation App. We'll go over how to set the map view centered on the interesting places of San Francisco, CA. In addition, we'll place markers on these spots. Next, we take a look at how to animate the camera from one location to then next. Finally, when we are completely done, we'll have created a flyover application that explores some of my favorite spots the city has ...
Video Length: 26:17
Uploaded By: Lets Build That App
View Count: 20,944

Maps Live: Google Maps SDK for iOS Version 1.4
Maps Live: Google Maps SDK for iOS Version 1.4

The latest version of the Google Maps SDK for iOS, version 1.4, comes with great new features such as Street View, Indoor Maps, and a new look and feel. Mano Marks and Luke Mahe from the Google Maps Developer Relations Team demo these features for you and talk about how you can add them to your application. hr / bClosed Caption:/b MANO MARKS: Hi, I'm Mano Marks. LUKE MAHE: And I'm Luke Mahe. MANO MARKS: We're on the Google Maps ...
Video Length: 01:59
Uploaded By: Google Developers
View Count: 13,901

Map Padding with the Google Maps SDK for iOS
Map Padding with the Google Maps SDK for iOS

Map padding in the Google Maps SDK for iOS (http://goo.gl/8n3lV) allows you to change the visible region of your map, so that your controls, logo, and copyright notices are all aligned with your view. In this video, Mano Marks explores the benefits of map padding and how to implement it in the SDK. hr / bClosed Caption:/b Hi, I'm Mano Marks. I'm a developer advocate on the Google Maps team. In this video, I'm going to show you how ...
Video Length: 02:16
Uploaded By: Google Developers
View Count: 11,359

Maps Shortcuts: Indoor Maps in the Google Maps SDK for iOS
Maps Shortcuts: Indoor Maps in the Google Maps SDK for iOS

Mano Marks shows you how use the Google Maps SDK for iOS (http://goo.gl/8n3lV) to create a map that has indoor floor plans and how to create a custom level picker in your app. hr / bClosed Caption:/b Hi, I'm Mano Marks. I'm developer advocate on the Google Maps Developer Relations team. I want to welcome you to this week's Google Maps shortcut. In this episode, we'll be talking about the Google Maps SDK for iOS ...
Video Length: 08:16
Uploaded By: Google Developers
View Count: 9,853

2D/3D Indoor Map SDK for iOS and Android
2D/3D Indoor Map SDK for iOS and Android

This video shows the indoor map SDK by Heidelberg Mobil International GmbH. The Deep Map™ SDK gives you a nice view of an area with different buildings. You can pitch, zoom and click the 2D/3D multifloor map. Routing from one room to another can be shown on the map. Zoom into floor level to see more details from the building. The 2D/3D map can be used for iOS and Android devices. An also interactive 2D map can be used for websites. Find out more at: www.deep-map.com
Video Length: 01:30
Uploaded By: Heidelberg Mobil
View Count: 9,028

iPhone SDK Tutorial Part 1 TabBarController showing WebView and MapView
iPhone SDK Tutorial Part 1 TabBarController showing WebView and MapView

Here we develop an application presenting multiple views using using a tab bar controller. The tab bars presents a web view and a map view. We also add icons to the tab bar items. You can download the source code for the app here: http://cloud.github.com/downloads/car... hr / bClosed Caption:/b well hello I the system with burkhart is a bit and this is my first tutorial on your iPhone SDK development and the topic recovering ...
Video Length: 09:35
Uploaded By: carticipate
View Count: 9,008

iPhone SDK Tutorial   Part 4 TabBarController showing WebView and MapView
iPhone SDK Tutorial Part 4 TabBarController showing WebView and MapView

Here we develop an application presenting multiple views using using a tab bar controller. The tab bars presents a web view and a map view. We also add icons to the tab bar items. The video is a lengthy, and goes into more depth with explanation of what the code does. Not just a how to, but also a how so. You can download the source code for the app here: http://cloud.github.com/downloads/car... hr / bClosed Caption:/b okay so we're gonna call ...
Video Length: 07:59
Uploaded By: carticipate
View Count: 7,247

Copyright © 2025, Ivertech. All rights reserved.