forked from 0x2620/oxjs
fixing encoding functions (deflate, png)
This commit is contained in:
parent
318e2e95b2
commit
816993e1b9
10 changed files with 235 additions and 143 deletions
|
|
@ -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
|
||||
@*/
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue