All Projects → forsaken1 → activeadmin-latlng

forsaken1 / activeadmin-latlng

Licence: MIT license
Active Admin plugin for setting up latitude and longitude

Programming Languages

ruby
36898 projects - #4 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to activeadmin-latlng

Airbnb Android Google Map View
This is a sample Android Application which has Google Map view similar to what AirBnb Android Application. Moving Markers like Uber/Ola. Custom Google Search for places. Recycler view with Animations added.
Stars: ✭ 175 (+414.71%)
Mutual labels:  maps, google-maps
svelte-mapbox
MapBox Map and Autocomplete components for Svelte (or Vanilla JS)
Stars: ✭ 267 (+685.29%)
Mutual labels:  maps, google-maps
React Native Open Maps
🗺 A simple react-native library to perform cross-platform map actions (Google or Apple Maps)
Stars: ✭ 192 (+464.71%)
Mutual labels:  maps, google-maps
Aerialbot
A simple yet highly configurable bot that tweets geotagged aerial imagery of a random location in the world.
Stars: ✭ 157 (+361.76%)
Mutual labels:  maps, google-maps
GoogleMapsHelper
An easy to integrate Model Based Google Maps Helper (SVHTTPClient, AFNetworking) That lets you Geo Code , Reverse Geocode, Get Directions , Places Autocomplete.
Stars: ✭ 21 (-38.24%)
Mutual labels:  maps, google-maps
React Native Maps
React Native Mapview component for iOS + Android
Stars: ✭ 12,795 (+37532.35%)
Mutual labels:  maps, google-maps
geojson-editor
A modified version of Googles Simple GeoJSON Editor
Stars: ✭ 43 (+26.47%)
Mutual labels:  maps, google-maps
Making Maps With React
🌐 Example React components for React-Leaflet, Pigeon Maps, React MapGL and more
Stars: ✭ 66 (+94.12%)
Mutual labels:  maps, google-maps
ember-google-maps
A friendly Ember addon for working with Google Maps.
Stars: ✭ 93 (+173.53%)
Mutual labels:  maps, google-maps
svelte-googlemaps
Svelte Google Maps Components
Stars: ✭ 62 (+82.35%)
Mutual labels:  maps, google-maps
Benmaps.fr
Web maps that don't track you.
Stars: ✭ 147 (+332.35%)
Mutual labels:  maps, google-maps
trackanimation
Track Animation is a Python 2 and 3 library that provides an easy and user-adjustable way of creating visualizations from GPS data.
Stars: ✭ 74 (+117.65%)
Mutual labels:  maps, google-maps
Placepicker
Free Android Map Place Picker alternative using Geocoder instead of Google APIs
Stars: ✭ 126 (+270.59%)
Mutual labels:  maps, google-maps
Google Maps
Google Maps Web Services API wrapper for .NET
Stars: ✭ 171 (+402.94%)
Mutual labels:  maps, google-maps
Eon Map
Realtime maps with PubNub and MapBox.
Stars: ✭ 121 (+255.88%)
Mutual labels:  maps, google-maps
Gmapsfx
Java API for using Google Maps within a JavaFX application.
Stars: ✭ 233 (+585.29%)
Mutual labels:  maps, google-maps
Maplace.js
A Google Maps Javascript plugin for jQuery.
Stars: ✭ 1,021 (+2902.94%)
Mutual labels:  maps, google-maps
Curve Fit
Curve-Fit is an Android library for drawing curves on Google Maps
Stars: ✭ 63 (+85.29%)
Mutual labels:  maps, google-maps
google maps
🗺 An unofficial Google Maps Platform client library for the Rust programming language.
Stars: ✭ 40 (+17.65%)
Mutual labels:  maps, google-maps
js-markerclusterer
Create and manage clusters for large amounts of markers
Stars: ✭ 92 (+170.59%)
Mutual labels:  maps, google-maps

ActiveadminLatlng

Build Status Code Climate codecov

Active Admin latitude and longitude plugin

alt tag

Getting started

gem 'activeadmin_latlng'
form do |f|
  f.inputs do
    f.input :lat
    f.input :lng
    f.latlng # add this
  end
  f.actions
end

Settings

  • lang - language, en by default.

  • map - map provider, google by default. Available: google, yandex, openstreetmap.

  • id_lat and id_lng - identificator of latitude and longitude inputs. <model_name>_lat and <model_name>_lng by default.

  • height - map height in pixels, 400 by default.

  • loading_map - loading map library. true by default. Set to false, if map loaded in other place.

  • api_key - you can send api key to map. WARNING! This is unsafe method, better use ENV-variable.

  • api_key_env - you can send name of ENV-variable where storing API key for map.

  • default_lat - default latitude for placemark, Moscow latitude by default.

  • default_lng - default longitude for placemark, Moscow longitude by default.

  • map_zoom - default zoom for map, 12 by default.

Example

form do |f|
  f.inputs do
    f.input :lat
    f.input :lng
    f.latlng lang: :ru, map: :yandex, height: 500, loading_map: false, api_key_env: 'GOOGLE_API_KEY'
  end
  f.actions
end

Contributors

Alexey Krylov

License

MIT License. Copyright 2018 Alexey Krylov

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].