Results 1 to 4 of 4

Thread: Google Maps API 'click' event not fired in Android/iOS

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    4
    Vote Rating
    0
      0  

    Default Google Maps API 'click' event not fired in Android/iOS

    Sencha Touch version tested:

    • 1.1.1
    • only default ext-all.css


    Platform tested against:

    • iOS 5.x
    • Android 2.3.4


    Description:

    • Click events don't work with Sencha on Google Maps in Android/iOS.


    Test Case:

    How to attach an event to marker:
    Code:
    google.maps.event.addListener(marker, 'click', function() { alert('Click event!'); });
    See this URL : http://code.google.com/apis/maps/doc...EventListeners


    Steps to reproduce the problem:



    The result that was expected:

    • popup with "Sencha Touch HQ" appears above the pin


    The result that occurs instead:

    • nothing happens


    Screenshot or Video:

    • attached


    Debugging already done:

    • none


    Possible fix:

    Attached Images Attached Images

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    This has been fixed in Sencha Touch 2
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    4
    Vote Rating
    0
      0  

    Default

    Where could I find how exactly it was fixed? I prefer not to switch to Sencha 2 yet.

  4. #4
    Sencha User
    Join Date
    Dec 2011
    Posts
    1
    Vote Rating
    0
      0  

    Default mousedown

    To save someone else the extra poking around.. just change 'click' to 'mousedown', per http://www.sencha.com/forum/showthread.php?108321-Map-Marker-onClick


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •