[SOLVED] How to send latlns value to display map using python code

I want to display latitude and logitude values to display my location using pyhton code in raspberry pi board.

Hi @khajialam,

There’s a tutorial published that make use of the context to send Latitude and Longitude in your value.

You can find here the tutorial, and take a look at the line 30 where the value is sent along with a context: local_distance.save_value({'value':d,'context':{'lat':lat1,'lng':lon1}})

Hope this helps!

Thank You very much juanda, Its working me.