An open API service indexing awesome lists of open source software.

https://github.com/m1ga/ti.bingmap

Bing maps for Titanium
https://github.com/m1ga/ti.bingmap

android bing bing-maps titanium-mobile titanium-module

Last synced: about 2 months ago
JSON representation

Bing maps for Titanium

Awesome Lists containing this project

README

        

# Bing maps for Titanium

## Requirements:
* get a dev key from https://www.bingmapsportal.com/

```js
const BingMap = require("ti.bingmap");
const win = Titanium.UI.createWindow({});
const bingMap = BingMap.createBingMap({
apiKey: "your_api_key"
});

win.add(bingMap);
win.addEventListener("open", e => {
bingMap.location({
lat: 37.74,
lon: -122.41,
})
bingMap.addPin({
title:"pin",
lat: 37.74,
lon: -122.41,
})
})

win.open();
```