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
- Host: GitHub
- URL: https://github.com/m1ga/ti.bingmap
- Owner: m1ga
- License: other
- Created: 2022-05-12T14:49:55.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-21T07:30:03.000Z (almost 3 years ago)
- Last Synced: 2025-01-27T07:12:06.933Z (4 months ago)
- Topics: android, bing, bing-maps, titanium-mobile, titanium-module
- Language: Java
- Homepage:
- Size: 143 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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();
```