Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm implementing my own image loading mechanism for openlayers, because lack of functions in android 2.3 webview. It will get cached images from android db.

I wan't to override OpenLayers.Tile.Image.initImage(). What options I have? I have try Utils for extending TMS layer, but can't extend initImage.

share|improve this question
Which version of Openlayers are you using? – Mapperz Jan 31 '13 at 15:33
I'm using 2.12, – user257980 Jan 31 '13 at 15:50
"Mobile browsing generally demands a different method of map navigation. OpenLayers built in Navigation and TouchNavigation controls attempt to handle this appropriately by default, using whatever events are available in the browser in use. These controls were added after OpenLayers 2.10." – Magno C Jan 31 '13 at 17:54
I'm trying to implement own OpenLayers.Tile.Image.initImage() method, not touch controls. – user257980 Jan 31 '13 at 18:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.