Tips for working with disconnected web mapping apps Andy Gup, Javier Abadia.

Slides:



Advertisements
Similar presentations
ArcGIS for Windows Mobile Derek Fuller, Matt Cook INDOT GIS Day 2013.
Advertisements

My first computer: The Apple ][ It wanted to be programmed.
In-browser storage and me Jason Casden North Carolina State University Libraries Code4Lib 2012.
HTML5 That’s What You Need to Know Today Ingo Rammer | thinktecture |
Mobile App Development Using: Presented by Tyler Richey Images from
Building Mobile Apps in the Cloud – Comparing Approaches.
Mercator/Coronelli ArcGIS Server 9.3 Data Management GIS Web Services Mapping Application Developer Tools Spatial Analysis Publishing to Clients Image.
HTML5 JavaScript Storage for Structured Data Andy Gup, Esri
HTML5 That’s what you need to know today Ingo Rammer, thinktecture
Development of mobile applications using PhoneGap and HTML 5
Collector for ArcGIS: An Introduction
Is Mobile the Future of GIS? Matt Sheehan WebMapSolutions.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California ArcGIS for Mobile Overview.
CONTRASTED HTML5 & FLASH ANIMATION EFFECTS.  HTML5 AND FLASH ANIMATION CONTRASTED  ANIMATION IN WEBSITE DESIGN AND PRESENTATION  HTML5, JavaScript,
What is HTML5? HTML5 is the new LEGO for both designers and programmers.
Sharing Geographic Content
Title slide to be used at the start of a module. Developing Mobile Apps Roland Guijt
Mobile App Support Jacob Poirier Geri Hengesbach Andrea Menke Erin Rossell.
Introduction to ArcGIS API for JavaScript
Paul Barker Bert Yagrich
Evernote for Genealogy
Developing Windows Desktop and Device Apps with the ArcGIS Runtime SDK for.NET Rex Hansen Thad Tilton.
Esri UC 2014 | Demo Theater | ArcGIS Runtime Offline APIs Gary Sheppard.
Building Native Mapping Apps with PhoneGap: Advanced Techniques
Building Offline Apps With the ArcGIS Runtime SDKs
New to Mobile Learning Course Development: Getting Started Garin Hess.
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Moohanad Hassan Maedeh Pishvaei. Introduction Open Source Apache foundation project Relational DB: SQL Server CouchDB : JSON document-oriented DB (NoSQL)
Strategies for Building Mobile Apps Using ArcGIS API for JavaScript Andy Gup, Lloyd Heberlie.
Preparing and Deploying Data to ArcPad Juan Luera.
Field Data Collection for Public Health Using Collector for ArcGIS Jared Shoultz, Esri Health GIS Technology Specialist 2015 Esri User Conference National.
Esri UC 2014 | Technical Workshop | Developing Offline Apps with ArcGIS Runtime SDKs Euan Cameron Justin Colville Will Crick.
Configuring the ArcGIS for Local Government Election Polling Place and Election Results applications Lindsay Thomas.
Esri UC 2014 | Demo Theater | Configuring the Live,Work, Locate Application Nikki Golding.
Putting Performance Best Practices Together to Create the Perfect SPA Chris Love2Dev.com.
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
Extending the Operations Dashboard
Don’t Disconnect Me! The challenges of building offline-enabled web apps Matthias Oßwald,
Configuring the Briefing Book Application in your Community Lindsay Thomas.
Esri UC 2014 | Technical Workshop | Developing iOS and Mac Apps with ArcGIS Runtime SDK Divesh Goyal & Al Pascual.
Building Native Apps with ArcGIS API for JavaScript Using PhoneGap and jQuery Andy Gup, Lloyd Heberlie.
Advanced workflows for creating 3D Web Scenes in ArcGIS Online Javier Gutierrez and Janett Baresel.
Developing Cross Platform Apps with the ArcGIS Runtime SDK for Qt
Make Mobile Work For You Dave Lewis. Why Mobile GIS? Key Business Drivers for Field Operations Empowering Field Operations with Data Replace paper maps.
Rich Internet Applications 9. HTML 5 and RIAs. HTML 5 Standard currently under development by W3C Aims to improve the language with support for the latest.
Publishing GIS Services to ArcGIS Server
Exploring Networked Data and Data Stores Lesson 3.
丁建文 國立高雄應用科大資管系副教授 兼任計網中心軟體發展組組長 跨平台行動應用軟體開發技術 : HTML5 & Mobile JavaScript Framework 暨南大學.
Using HTML5 to Build Offline Applications Woody Pewitt Icenium
INTRODUCING HYBRID APP KAU with MICT PARK IT COMPANIES Supported by KOICA
Phonegap Bridge – Storage CIS 136 Building Mobile Apps 1.
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Creating mobile applications that integrate with SharePoint 2013 on-
Mobile App Development Using:
IT Security Awareness Day October 19, 2016
File Management in the Cloud
Browsers and Web Platforms
Working with Feature Layers
Collector: Authoring Maps for Offline Data Collection
Tracking and Booking Taxi
Web App Builder and Me Ken Carrier – Senior GIS Specialist – City of Hamilton & Joe Guzi – GIS Systems Analyst – Stark County.
CIS 136 Building Mobile Apps
Who Am I? appMobi's lead HTML5 game developer / evangelist
2018 CONFERECE WEB APP
CIS 136 Building Mobile Apps
Office 365 Development.
Chapter 4 Mobile GIS Instructor
Best Practices: Authoring Maps for Field Use
My Measurement Assistant
ArcGIS Online – The Road Ahead
Report from the trenches of an HTML5 game provider
Presentation transcript:

Tips for working with disconnected web mapping apps Andy Gup, Javier Abadia

Why disconnected JavaScript? Mobile web map used in areas of intermittent or no internet Ability to reload or restart web map in areas of intermittent or no internet Lightweight cross-browser functionality

Need a full featured, robust offline solution? ArcGIS Runtimes for iOS, Android, Qt and.NET! Includes integrated support for offline editing and synchronization. Also fully supports related tables, sub-types, domains and much more.

Mtn Biking/Hiking app TrailYelper

Use Cases When would you consider offline use of web maps? Viewing simple maps Lighweight data collection - VGI - Simple editing Devices - laptop - smartphone / tablet

What would the developer need to do? Enhancing an online app with offline functionality Keep a local copy of HTML/CSS, [all] Javascript code and other static resouces (imgs) Keep a local copy of map data… - Basemap tiles - feature layers Keep temporary local copy of edits made to the feature layers… - including new attachments …and “teach” the JS API to use the local data instead of fetching/pushing data through the network

Is it possible? Yes, but it can be complicated! HTML5 application cache mechanism - cache HTML, CSS, images and.js files HTML5 storage APIs - indexed db (50Mb +) - async, store key,value pairs, more capacity - Increasing support (more when using shim) - Websql (50Mb +) - Spec no longer maintained. Chrome, Safari, Opera - localStorage - sync, store key,value pairs, low capacity (<5Mb) - good browser support

Is it possible? What mechanisms can we use to do what we need to do? HTML5 application cache mechanism - cache HTML, CSS, images and.js files HTML5 storage APIs - indexed db (50Mb +) - async, store key,value pairs, more capacity - Increasing support (more using shim) - Websql (50Mb +) - Spec no longer maintained. Chrome, Safari, Opera - localStorage - sync, store key,value pairs, low capacity (<5Mb) - good browser support good for… Restarts and reloads Basemap tiles Feature edits

Tiles, TPKLayer Demos

Disconnected JavaScript workflows Scenario 1 – online > offline > online Simplest scenario, if we don’t need to support “browser reload” (scenario 2) 1. no need to cache code and static resources (e.g. css, html, js already loaded online) 2. Feature layer already temporarily cached via mode SNAPSHOT Scenario 2 – online > offline > online (+ restart/reload) Scenario 3 – offline tiles-only (TPKLayer)

Attachments included! Feature Editing

Caniuse.com

Offline-editing-js project Lightweight libraries and sample apps:

Recap Reminder: the ArcGIS Runtimes already have built-in, robust support for full offline use cases. Carefully examine your workflows: intermittent vs no internet. Offline support in JavaScript is challenging and some things not possible or recommended.

Questions? Andy Javier