Saturday 15 June 2013

javascript - How to drag the map instead of the page below it? (mobile) -



javascript - How to drag the map instead of the page below it? (mobile) -

i have google maps window within home page. works in pc, in mobile device dragging map drags page below , not map. can test here (click "gps map" button @ top right): http://luis.impa.br/photo/1407_obidos/index.html

any thought how prepare it?

thanks!

l.

this not total answer, partial one.

i realized dragging of map disabled when browser set kind of "desktop mode", i.e., when browser identifies working in non-touch device. google maps understands there no touch screen.

so, in order drag maps, need assure browser not set "desktop mode".

still, don't know (or if possible) how allow dragging of map under "desktop mode".

javascript google-maps drag

No comments:

Post a Comment