forked from 0x2620/oxjs
make Ox.Map lead geocode results, in case someone wants to 'cache' them
This commit is contained in:
parent
7380595c7e
commit
506a2f2923
9 changed files with 97 additions and 31 deletions
|
|
@ -42,6 +42,11 @@ Ox.load('UI', {
|
|||
}),
|
||||
width: window.innerWidth
|
||||
})
|
||||
.bindEvent({
|
||||
geocode: function(event, data) {
|
||||
Ox.print(JSON.stringify(data))
|
||||
}
|
||||
})
|
||||
.appendTo(Ox.UI.$body);
|
||||
$(window).resize(function() {
|
||||
Ox.print('RESIZE', window.innerHeight)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue