forsaken1 / activeadmin-latlng Goto Github PK
View Code? Open in Web Editor NEWActive Admin plugin for setting up latitude and longitude
Home Page: https://rubygems.org/gems/activeadmin_latlng
License: MIT License
Active Admin plugin for setting up latitude and longitude
Home Page: https://rubygems.org/gems/activeadmin_latlng
License: MIT License
It would be great to have a further option:
disabled
(default false
)
to prevent the interactions with map (point location changes).
Hi! Cool gem.
I'm having some issues though.
If I add
f.latlng lang: :en, map: :google, id_lat: :user_latitude, id_lng: :user_longitude
It does not work :( Do you know what's going on?
Please add support for Rails 5.2
Hi, is this project/gem still being actively maintained? If not are you aware of an active fork?
Our internal team would like the feature where if they enter an address and chose a result it would also copy the address details into a form. I'm happy to contribute this for google maps, but if its not going to get merged/released then I'll fork for our own use.
Thanks!
Hey,
I've noticed the gem doesn't work with has_many relations. I was wondering if there's a way to bypass this or has that not been implemented at all?
e.g.
f.inputs do
f.has_many :locations do |g|
g.input :lan
g.input :lng
g.lanlng ...
end
end
I've tried adding the map directly into the FormBuilder < ::Formtastic::FormBuilder the same way you've added it to the form but I couldn't really get it to work. I tried playing around with the has_many fields a bit but with no success.
Cheers
How to show a polygon?
How to display map in SHOW or INDEX view?
Thanks.
https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
i didnt see where to enter
I tried adding the coordinates for Delhi, India but the maps shows it somewhere in Saudi Arabia.
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]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.