
The following tutorials walk you through the steps to create a simple Mobile JavaScript application using the deCarta Mobile JavaScript API.
This document walks you walks you through the process of setting up the Mobile JavaScript SDK, downloading and installing the deCarta Mobile JavaScript API and Tutorials, and starting a new JavaScript project.
Lesson 1 : Creating an App using the deCarta Mobile JavaScript API, Displaying a Map
This first lesson walks you through the process of creating your first Mobile JavaScript project, using the deCarta Mobile JavaScript API to display a draggable map.
Lesson 2 : Adding Map Controls, Handling Map Events, Adding Pins to the Map
This lessons demonstrates how to add controls to the map, such as the ZoomControl or the LocateControl, how to add event handling to the map for capturing events such as touch and longTouch events, and how to add pins to the map at a specific latitude and longitude.
This lesson demonstrates how to determine the lat/lon position of an address.
This lesson demonstrates how to determine the address corresponding to a lat/lon position. This lesson modifies the pin dropped as the result of a longTouch event (from Lesson 2), replacing the text for that pin with the reverse geocoded address at the pin's location.
Lesson 5 : Point-of-Interest Search
This lesson demonstrates how to search in a specified area for points-of-interest (POIs) by name.
Lesson 6 : Calculating a Route
This lesson demonstrates how to calculate a route between two points. It displays this route overlayed on the map, with pins marking the origin and destination points.