• Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
591
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
5
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n
  • \n\n

Transcript

  • 1. Mobile GIS In the browserAdam Conner: GeoDecisions
  • 2. Task:Build a mobile application for hydrant
  • 3. Challenge:Don’t make it device specific
  • 4. Difficult Features:• GeoLocation• User Persistence• Ease for users new to mobile• gracefully handling loss of connectivity
  • 5. GeoLocation:navigator.geolocation.getCurrentPosition(show_map);
  • 6. User Persistence: localStorage["bar"] = foo; (this only stores strings)
  • 7. Ease for users:Make your web app look like a real application.Add icon to homescreen run application as full screen web app <link rel="apple-touch-icon" href="bookmark-icon.png" /> <meta name="apple-mobile-web-app-capable" content="yes" />
  • 8. Loss of connectivity:• if(navigator.online){};• Lots of local storage• set a timeout on ajax requests and store data until navigator.online=true;
  • 9. Controller
  • 10. Model
  • 11. Ajax Request
  • 12. Demo