Skip to content

Instantly share code, notes, and snippets.

View apkostka's full-sized avatar

Andrew Kostka apkostka

View GitHub Profile
@apkostka
apkostka / GJMap Wrapper
Created June 5, 2013 16:15
Wrapper for Google maps that creates markers from a JSON list. Relies on the google maps API (http://maps.googleapis.com/maps/api/js?sensor=false&v=3&language=en). Sample format is given for JSON objects.
var poi = [
{
name: 'name',
address: 'address',
phone: 'phone',
lat: 0.000,
lng: -0.000,
category: 'category',
icon: 'path/to/icon'
}