Git Product home page Git Product logo

ono-max / gmaps-rails-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pjbelo/gmaps-rails-example

0.0 1.0 0.0 103 KB

Using Google Maps API (v3) with Rails (5.2). Examples of using Static API and Javascript API, how to place a marker and how to update the marker position when we change a form input value. And finally how to update the input value by dragging the marker. All of this without using any gems.

Home Page: https://medium.com/@pjbelo/using-google-maps-api-v3-with-rails-5-2-b066a4b2cf14

Ruby 70.33% JavaScript 7.60% CSS 4.45% HTML 17.62%

gmaps-rails-example's Introduction

Using Google Maps API (v3) with Rails (5.2)

Step-by-Step Tutorial

intro image

In this tutorial we'll talk about how to use Google Maps API with Rails. We'll see some examples of using Static API and Javascript API, how to place a marker and how to update the marker position when we change a form input value. And finally how to update the input value by dragging the marker. All of this without using any gems.

Level: beginner

Pre requisites: basic knowledge of Rails and Javascript

Please visit the link to view tutorial on Medium:

https://medium.com/@pjbelo/using-google-maps-api-v3-with-rails-5-2-b066a4b2cf14

You can check the commit history for the different code versions.

To use this App you must setup your Google Maps API Key using rails credentials with the name: google_maps_api_key

Please feel free to contact. I'll be glad to help if I can :-)

Cheers,

Paulo

gmaps-rails-example's People

Contributors

dependabot[bot] avatar pjbelo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.