Closed AhmedAdlyAli closed 9 years ago
im trying on IOS 8.3 BTW
Maybe it helps to set mapsetclickable to true? https://github.com/wf9a5m75/phonegap-googlemaps-plugin/wiki/Map#mapsetclickable
Hi Luukschoen, tried that but still the same issue
@AhmedAdlyAli could you provide a full working demo somewhere so i could help you figure this one out?
Sure, will send a drop box in a minute
@Luukschoen i can't post the whole project due to it's size, can we have a skype chat ?
Just for reference - The way I got around this whole issue with Sencha touch and the "Nesting from hell". was by using these two functions:
function showNativeMap(){
if(!useNativeMap){
return false;
}
inMap = true;
document.getElementById('nativeMapWrapper').style.display = 'block';
document.getElementById('ext-viewport').style.display = 'none';
}
function hideNativeMap(showMenu){
if(!useNativeMap){
return false;
}
inMap = false;
document.getElementById('ext-viewport').style.display = 'block';
document.getElementById('nativeMapWrapper').style.display = 'none';
}
Then I just created a wrapper element called: "nativeMapWrapper" that was positioned absolutely with 100% width and height and top: 0; left: 0; The nativeMapWrapper is hidden by default and then just toggles between sencha and the nativeMapWrapper.
Thanks for letting us know!
I am experiencing this same issue with SenchaTouch2. But it seems that the solution presented by @jaredgreener was essentially to display the plugin to a sibling of the App (toggling full screen).
Has anyone had luck with getting the plugin to run (clickable, scrollable) within of a Sencha container/panel?
After adding the map to sencha touch application, it's disaplyed correctly, however it's not clickable or dragable, it seems it's hidden behind sencha app, here is my code:
// initialize google maps var view = component;
var pnlMap = view.down('#pnlMap');
Ext.Function.defer(function(){
}, 100,this);