Code Monkey home page Code Monkey logo

maps's Introduction

Maps

Repsitory hosting files to create territory maps & download the images by using the Maps Static API from the Google Maps Platform.

TODO

  • make requests to static map via google maps library
  • ensure maps library outputs image file
  • read in kml file & parse data
  • write unit tests
  • add additional config (like default sizing of images & zoom) into config.json
    • add size and zoom level for example

Requirements

You need an API Key and a Digital Signature

Take your API Key and create a directory in your home named ~/.maps. Then place your API key in a json file named config.json. The full path should resemble ~/.maps/config.json.

The JSON file should resemble:

{
    "api_key": "myapikey1234"
}

Install

There are a couple different methods to install maps.

Preferred methods

  • Via go (recommended): go install github.com/adrielp/maps
  • Via brew: brew install adrielp/tap/maps (Mac / Linux)

Mac/Linux during local development

  • Clone down this repository and run make install

Windows

There's a binary for that, but it's not directly supported or tested because #windows

Getting Started

Prereqs

Instructions

  • Clone down this repository
  • Run commands in the Makefile like make build

maps's People

Watchers

Adriel Perkins 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.