[mapguide-users] Re: Ajax Viewer support for touch devices

2011-10-13 Thread psciga
Hi Nadja, you are right, HTML is situable for all devices. But I want use some hardware specifics like menue button or camera. For this I found no (simple) HTML solutions. Thats's the reason for the Android App. ... Probably this solution require more work. ... Not really. Less then 800 lines

[mapguide-users] Re: Ajax Viewer support for touch devices

2011-10-13 Thread Jackie Ng
You can use PhoneGap which provides javascript hooks into native functionality. http://www.phonegap.com - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Ajax-Viewer-support-for-touch-devices-tp6163993p6888145.html Sent from the MapGuide Users mailing list

[mapguide-users] Re: Ajax Viewer support for touch devices

2011-10-12 Thread Nadia Spitilli
Hi Peter, thank you very much for your help! I like HTML solution, because it is suitable for all devices. With the second workaround you develop another kind of viewer, embedded in an Android App. Probably this solution require more work. I have seen the button 'GPS Pos'. Which API did you use

[mapguide-users] Re: Ajax Viewer support for touch devices

2011-10-12 Thread Jackie Ng
You can do GPS positioning with the HTML5 geolocation API. Most (all?) modern browsers support this. http://dev.w3.org/geo/api/spec-source.html - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Ajax-Viewer-support-for-touch-devices-tp6163993p6887228.html Sent

[mapguide-users] Re: Ajax Viewer support for touch devices

2011-09-21 Thread psciga
Hi Nadia, I have the same issue and made 2 workarounds: The first one is poor HTML with tow frames. One frame with a poor AJAX web layout. No left, middle and no right side, only with the poor map. The second Frame consists of some buttons to pan, zoom, take GPS position, switching layer groups

[mapguide-users] Re: Ajax Viewer support for touch devices

2011-07-27 Thread benjanmin
Hi Nadia, Jackie, I found the code from the file fusionSF.js. May I ask how to make it workable in touch device like iPad? /** * Method: registerEvents * Registers events on the popup. * * Do this in a separate function so that subclasses can * choose to override

[mapguide-users] Re: Ajax Viewer support for touch devices

2011-03-12 Thread Jackie Ng
The AJAX viewer was designed at a time before modern touch-enabled devices like the iPhone/iPad/Android had arrived on the scene so there is a very likely chance that things work as expected on a touch-enabled device (as you have undoubtedly found out) Take a look at OpenLayers (of which MapGuide

[mapguide-users] Re: Ajax Viewer support for touch devices

2011-03-12 Thread Nadia Spitilli
Thank you for your answer, I hoped there were a workaround to handle touch events. I've found a JavaScript that map touch events to mouse event, but I don't know where is better to include it... I'll take a look to OpenLayers, thanks. Best Regards, N. -- View this message in context: