Skip to main content

Integration of Google Maps with Zope 3

Project description

Zope 3 Google Map Integration

Introduction

The keas.googlemap package provides an easy way to bring google maps into your zope 3 applications. Some of the features of keas.googlemap are:

  • Look up geocodes (latitude and longitude coordinates) for any query string

  • Manage Google Map API keys for multiple domains

  • Sort geocodes by distance using the haversine function

  • Python representation of a google map that will render all the necessary javascript to display the map, including geocode markers.

Demo

See for yourself what keas.googlemap is capable of by running the demo. To run the demo, type the following commands:

Download the source from the Zope subversion repository:

$ svn co svn://svn.zope.org/repos/main/keas.googlemap/trunk keas.googlemap
$ cd keas.googlemap

Run the bootstrap.py and buildout scripts:

$ python bootstrap.py
$ ./bin/buildout

Start the demo server:

$ ./bin/demo fg

You should now be able to go http://localhost:8080 and see a google map with options for how the google map should be displayed.

Live Demo

If you are too lazy to try out the demo yourself, you can also see it running at http://demo.carduner.net/keas.googlemap/

CHANGES

Version 0.5.1 (2008-11-07)

  • Bug: Fix error with non-lating geocode queries.

  • Feature: You can now do:

    <script
    tal:replace="provider:keas.googlemap.browser.interfaces.IJavaScript"
    />

    and magically get all the necessary javascript viewlets to use the google map.

  • Feature: marker now has a popupOnLoad attribute that can be set to True to get marker’s info window displayed when page is loaded, not only when marker is clicked. Note that only one marker can have popupOnLoad == True.

Version 0.5.0 (2008-07-28)

  • Initial Release

  • Look up geocodes (latitude and longitude coordinates) for any query string

  • Manage Google Map API keys for multiple domains

  • Sort geocodes by distance using the haversine function

  • Python representation of a google map that will render all the necessary javascript to display the map, including geocode markers.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keas.googlemap-0.5.1.tar.gz (54.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page