deCarta API Tutorials

deCarta mapping tutorials for developers of location enabled mobile and web applications. These HTML5 tutorials are a first in a continuous series provided by deCarta.

deCarta Mobile JavaScript (HTML5) API

With the introduction of smartphones and advanced mobile browsers, it has become possible to create complex web applications dedicated to the mobile web.

  • Getting Started
    In this series, we'll be building a mobile web mapping application which will explore the capabilities of modern mobile browsers and learn some techniques to optimize their performance.
    Getting Started Tutorial
  • Using HTML5 Geolocation API
    The Geolocation API lets you share your geographic location with trusted web sites. The latitude and longitude are available to JavaScript via simple API calls. Although it is completely hidden from the concerns of the developer, this new API gathers location information from a large variety of aggregated sources including IP address, Wi-Fi and Bluetooth MAC address, RFID, Wi-Fi connection location, or device GPS and GSM/CDMA cell IDs.
    Geolocation Tutorial
  • Using HTML5 Local Storage API
    An important aspect of mobile web apps is to maintain application preferences across sessions. In this article, we will look at the HTML5 LocalStorage implementation as a method we can use to persist user preferences without these undesirable side effects.
    Local Storage Tutorial