1 Reply Latest reply on Apr 27, 2013 7:38 PM by Sham HC

    CQ5 Client Context returns null on addListener for geolocation store

    acequeen08 Level 1

      I am trying to access values from the geolocation store using addListener when changes in visitor locaiton occurs.

       

      var geolocationStore = ClientContext.get("geolocation");

      geolocationStore.addListener("update",function(e, property) {

      });

       

      It appears the call doesn't excute when the page is loaded or when I manually change the location through the client context.