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.6.0 (2009-07-26)

  • Feature: Updated text to latest packages.

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.6.0.tar.gz (55.0 kB view details)

Uploaded Source

File details

Details for the file keas.googlemap-0.6.0.tar.gz.

File metadata

File hashes

Hashes for keas.googlemap-0.6.0.tar.gz
Algorithm Hash digest
SHA256 916d79579d4b6da688cadd896e2eb687ab70abadc7d64fb4a503883a1d344bbc
MD5 785ef49fc8c5b136a35deafdedba17de
BLAKE2b-256 842a52785c250cd36f3d5c4c3126dd36b4f97013825c11119c7e040761f944a6

See more details on using hashes here.

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