1
0
Fork 0
forked from 0x2620/oxjs

make Ox.Map lead geocode results, in case someone wants to 'cache' them

This commit is contained in:
rolux 2011-04-29 16:56:40 +02:00
commit 506a2f2923
9 changed files with 97 additions and 31 deletions

View file

@ -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)