GTileLayer functions not called during runtime
Brought to you by:
lenulus
It seems that getTileUrl() of any GTileLayer instance is not called at all in runtime.
I dig to the source code and find that there is a function GTIleLayerImpl.setupAbstract() which seems supposed to be called to setup the pointer to functions, but is never being called in GTileLayer.
As a workaround, I create a new class out of GTileLayerImpl.class and call the static function setupAbstract(). This solves the problem.