1
0
Fork 0
forked from 0x2620/oxjs

fixing encoding functions (deflate, png)

This commit is contained in:
rlx 2011-09-05 23:34:29 +00:00
commit 816993e1b9
10 changed files with 235 additions and 143 deletions

View file

@ -6,11 +6,11 @@ Ox.ListMap <f:Ox.Element> ListMap Object
(options) -> <f> ListMap Object
(options, self) -> <f> ListMap Object
options <o> Options object
height <n|256>
labels <b|false>
places <f|null>
selected <a|[]>
width <n|256>
height <n|256> height
labels <b|false> labels
places <f|null> places
selected <a|[]> selected
width <n|256> width
self <o> shared private variable
@*/

View file

@ -560,9 +560,9 @@ Ox.Map = function(options, self) {
callback = point;
point = self.map.getCenter();
}
Ox.print('CALLING ZOOM SERVICE', point.lat(), point.lng())
//Ox.print('CALLING ZOOM SERVICE', point.lat(), point.lng())
self.maxZoomService.getMaxZoomAtLatLng(point, function(data) {
Ox.print('ZOOM SERVICE', data.status, data.zoom)
//Ox.print('ZOOM SERVICE', data.status, data.zoom)
callback(data.status == 'OK' ? data.zoom : null);
});
}