20. Map URI
• Launch applications with special URIs
• UIApplication::openURL(NSURL)
• http://maps.google.com/maps?
q=bar&ll=-33.874559,151.219575
21. URL Querystring
• q - The query parameter. Could be a KML file.
• near - The location part of the query.
• ll - Latitude and longitude (decimal format, comma separated) for the map center point.
• sll - The latitude and longitude points from which a business search should be performed.
• spn - The approximate latitude and longitude span.
• sspn - A custom latitude and longitude span format used by Google.
• t - The type of map to display.
• z - The zoom level.
• saddr - The source address, which is used when generating driving directions
• daddr - The destination address, which is used when generating driving directions.
• latlng - A custom ID format that Google uses for identifying businesses.
• cid - A custom ID format that Google uses for identifying businesses.
35. Simulator
• Great
• DDMS Perspective in Eclipse
• Simulate single GPS location or provide a
KML file
36. Summary
• Get direction/heading information
• Get lat/lng from GPS, Wifi or Cell towers
• Launch maps (query, points, directions)
• Geocoding lat/lng to/from address
• Embed maps through MapView
• Simulator very extensive
43. PhoneGap
• Write apps with HTML/JS/CSS, access
native APIs, deploy to multiple platforms.
• Built at IPhoneDevCamp
• Web2.0 LaunchPad winner
• IPhone, Android, BlackBerry
44. • “The purpose of PhoneGap is for
PhoneGap to not exist”
45. Standards
• W3C
• http://dev.w3.org/geo/api/spec-source.html
• http://www.w3.org/TR/widgets-apis/
• Firefox 3.5 and Fennec
• Android WebKit (Gears)
• Opera X
• Another popular version of WebKit
• Internet Explorer Mobile (Gears)
• RIM ... ummm forget about it