Skip to content

Have been going through google maps javascript API v3 and this is just a demo of how to display user given variable coordinates on google map.

Notifications You must be signed in to change notification settings

sshehryar/gmaps_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Maps Javascript Api v3 Demo App

This App demonstrates how to initialize and play with coordinates (Longitude, Latitude) on google maps using google maps API v3, and without using any Ruby Gems.

It consists of just an html view supported by a controller and no model is generated since use of database with this application was not intended.

  • Ruby version

This Application uses Ruby 2.1.2p95 and Rails 4.1.2.

  • System dependencies

Basic gem bundle is enough to run this app. However since we’re not using any database, following command was executed:

$rails new gmap_demo –skip-active-record

  • Configuration

Rails welcome page replaced with the main view page (gmap.html.erb) by adding: match “/” , to: “map_page#gmap”, via: :GET to the routes.rb file.

About

Have been going through google maps javascript API v3 and this is just a demo of how to display user given variable coordinates on google map.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published