SkillAgentSearch skills...

TiOpenStreetMap

example to use Titanium Android OSM module

Install / Use

/learn @3ign0n/TiOpenStreetMap
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

What is TiOsm?

TiOsm is a titanium mobile module enabling a titanium mobile application on Android devices to access open streat map. In appcelerator's open mobile marketplace, there're already OpenStreetMap Module, but it currently supports only iOS platform and will not support Android in the near future. So I decide to write a titanium module to bridge osmdroid.

Prerequired

You have to download the following java libraries and place them under android/lib

How to build

First of all, edit titanium platform, Android SDK and NDK paths in the build.properties to fit your environment. Then just type

ant

You'll get the module binary in the following directory.

android/dist/net.tiosm-android-0.1.zip

How to use

To access this module from JavaScript, see the following example:

android/example/app.js

The following command will build and install an example app into the android emulator.

ant run

TODOs:

  • MyLocationOverlay
  • Annotations
  • To support more features osmdroid has
View on GitHub
GitHub Stars27
CategoryDevelopment
Updated5y ago
Forks13

Languages

Java

Security Score

75/100

Audited on Nov 15, 2020

No findings