Skip to content

chris-schmitz/Mapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mapper

mapper demo

This is a demo file I'm using to prototype the interaction between a vue.js app and a google map instance.

Mockup

The mockup I put together to rough out the base idea of the Mapper demo can be found here on draw.io. (Note that you will need a google account to access the mockup because it's source is stored in google drive).

Also note that not all features of the mockup were implemented. I started building it out and then realized after building a bit that I actually wanted to interact with google places and not just geocode addresses. It was still a worthwhile exploration, but I only wanted to take it as far as geocoding and then leave it there.

Prerequisites

To launch this project you'll need Node.js installed. This will install both Node and npm.

You will also need to generate your own google maps API key. Please refer to the google maps javascript instructions for generating an API key. Once you have your key, open the file:

src/app/Mapper/map.vue

In this line of code replace the 'YOURGOOGLEAPIKEYHERE' with your API Key:

GoogleMapsLoader.KEY = 'YOURGOOGLEAPIKEYHERE';

Install and Launch

To get this project up and running:

  • Clone the repo to your computer, open a terminal, and cd into the root:

      cd ~/Desktop
      git clone https://github.com/chris-schmitz/Mapper.git Mapper
      cd Mapper
    
  • Install the project dependencies using npm (installed when you install node):

      npm install
    
  • Start the default task in gulp (installed when you run npm install):

      ./node_modules/.bin/gulp
    
  • In your terminal you should see the url for the server that this project starts:

    mapper launched

About

A prototype to demo the interactions between a vue.js app and a google map instance.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages