-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmap.lua
More file actions
33 lines (25 loc) · 733 Bytes
/
map.lua
File metadata and controls
33 lines (25 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
local storyboard = require("storyboard")
local scene = storyboard.newScene()
function scene:createScene(event)
local group = self.view
local title = display.newText("Map", 0, 0, native.systemFontBold, 90)
group:insert(title)
end
function scene:enterScene(event)
local group = self.view
end
function scene:exitScene(event)
local group = self.view
end
function scene:destroyScene(event)
local group = self.view
end
scene:addEventListener("createScene", scene)
scene:addEventListener("enterScene", scene)
scene:addEventListener("exitScene", scene)
scene:addEventListener("destroyScene", scene)
bbpLat = 40.69399
bbpLong = -73.99927
--myMap = native.newMapView(20,20,280,300)
--myMap:setCenter(bbpLat, bbpLong)
return scene