What steps will reproduce the problem?
1. use gmaps in ZK >=6.5.2
2. place a gmarker to map in zul file
3. open the zul file in browser
or open the example here http://www.zkoss.org/zksandbox/#m8 on a mobile device
(e.g. android / ipad)
What is the expected output? What do you see instead?
marker should be visible
What version of the product are you using? On what operating system?
gmaps 3.0.1
Please provide any additional information below.
in file:
/web/js/gmaps/Gmaps.src.js
the method _realBind
Line 693
wgt.$supers(gmaps.Gmaps, 'bind_', arguments); //calling down kid widgets to do
binding
arguments is no longer referring to the correct argument list, as it is being
called inside a callback function, that's why initialization fails
with error in console
to fix save the arguments to a local variable outside the callback and use
inside
var originalArguments = arguments;
...
wgt.$supers(gmaps.Gmaps, 'bind_', originalArguments);
Original issue reported on code.google.com by robertwe...@potix.com on 17 May 2013 at 10:50
Original issue reported on code.google.com by
robertwe...@potix.com
on 17 May 2013 at 10:50