forsaken1 / activeadmin-latlng

Active Admin plugin for setting up latitude and longitude
https://rubygems.org/gems/activeadmin_latlng
MIT License
37 stars 19 forks source link

Inaccurate location identification with yandex #27

Open sakshi-keepworks opened 4 years ago

sakshi-keepworks commented 4 years ago

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]
forsaken1 commented 4 years ago

@sjain1107 thank you! I'll check it