forsaken1/activeadmin-latlng

Inaccurate location identification with yandex

Opened this issue · 1 comments

I tried adding the coordinates for Delhi, India but the maps shows it somewhere in Saudi Arabia.
Screenshot 2020-02-23 at 3 40 12 PM

Here is the code,

 f.latlng lang: :en, id_lat: f.object.latitude,
                     id_lng: f.object.longitude,
                     default_lat: f.object.latitude,
                     default_long: f.object.longitude,
                     map: :yandex,
                     api_key_env: Rails.application.secrets[:geocode][:api_key]

@sjain1107 thank you! I'll check it