Skip to content

A fork of gmm-up focused on generating single file google map apps with python

Notifications You must be signed in to change notification settings

Permafacture/pygmaps-ng

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pygmaps-ng

Create stand alone google maps data visualizations.

Data is grouped into datasets of points, lines and complex polygons, which are grouped into Apps. Visibility of data sets and groups of data sets (apps) can be toggled.

Installation:

pip can install this pygmaps_ng into a virtual env or system wide

$ pip install -e git+https://github.com/Permafacture/pygmaps-ng.git#egg=pygmaps_ng

Usage Example:

from pygmaps_ng import *

mymap = Map()
app1 = App('test1',title="Test #1")
mymap.apps.append(app1)

dataset1 = DataSet('data1', title="Point test" ,key_color='FF0088')
app1.datasets.append(dataset1)

pt = [40.7,-74.0]
dataset1.add_marker(pt ,title="click me",color="000000",text="<a href='http://en.wikipedia.org/wiki/New_York'>New York!</a>")

mymap.build_page(center=pt,zoom=14,outfile="NYC.html")

About

A fork of gmm-up focused on generating single file google map apps with python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 57.5%
  • Python 34.8%
  • JavaScript 7.3%
  • CSS 0.4%