Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2695

Re: Get geolocation of position on SAPUI5 Googlemap ?

$
0
0

Hi Hans,

 

I personally haven't used this control but according to the code, a click event is fired on the "map" control when it's clicked. You should be able to catch this event by defining a function on the "click" property of your control or by adding an attachClick (depending of your implementation).

 

This event should give you the following infos:

  • map (reference to the control)
  • context (the binding context)
  • lat (the latitude)
  • lng (the longitude)

 

I hope this will do the trick for you...

 

Jon


Viewing all articles
Browse latest Browse all 2695

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>