javascript - Leaflet maps crashes the App( via PhoneGap/Android) on Zoom -


so i'm using leaflet.js mapping library(with openstreetmaps, now) in html5 app (a simple example, doubt posting code needed.), , using phonegap( v4.2.0...i think). i'm deploying/testing android. works enough, until zoom/pinch-zoom, in case app crashes(not , on different zoom-levels).

i've tried finding out happens(using abd), no avail, after wild-goose chase results inconclusive:

f/libc    ( 1902): fatal signal 11 (sigsegv) @ 0x00000000 (code=1), thread 1915 (webviewcorethre) i/debug   (  787): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** i/debug   (  787): build fingerprint: 'unknown' i/debug   (  787): pid: 1902, tid: 1915, name: unknown  >>> package.mypackage <<< i/debug   (  787): signal 11 (sigsegv), code 1 (segv_maperr), fault addr 00000000 

not helpful. gonna try using latest version of phonegap next...little hope. have ideas? thanks

see issue: https://github.com/leaflet/leaflet/issues/909

it appears issue android 4.1 browser, , can worked around setting:

window.l_disable_3d = true;

before include leaflet.js hardware acceleration isn't used. fixed problem me in current sencha 2.1.1 + phonegap build app. zooming looks bit worse haven't been able make crash far.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -