Skip to content

A small project where I try to use Google maps API.

Notifications You must be signed in to change notification settings

krem13/Google_maps_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google maps demo

A small Google maps API app

ScreenShot

Run

NOTE! You have to add node_modules folder to the project and your oun Google API key in the script in src/index.html!

"<script async defer src = 'https://maps.googleapis.com/maps/api/js?key=[YOUR_KEY]&callback=initMap'></script>"


Download or clone the project from git. Change to the folder Google_maps_demo.
To add node_modules run:
npm install
To build and start the server run:
npm start

Open http://localhost:8080 to view the app.

Start new webpack project

I used this to start a new webpack project: https://webpack.js.org/guides/getting-started/

Google Maps API & authentication

https://developers.google.com/maps/documentation/javascript/overview

https://developers.google.com/maps/documentation/javascript/adding-a-google-map#key

To integrate with webpack: https://github.com/philrmass/minimal-google-maps-api

HTTP server setup

I used http-server: https://www.npmjs.com/package/http-server

About

A small project where I try to use Google maps API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published