GMaps PHP version 1.5

There is a new version of GMapEZ that brings with it some new features, I've implimented some of these into GMaps PHP.

As you can see from the screenshot above the map now supports varying sizes of markers, the small ones are good for maps with lots of points but obviously they do not support any kind of text on the marker.

To activate mini icons for a specific type of point you need to edit your config file:

[types]
visit = orange mini
transit = blue
lived = green

The above configuration snipped will make any points of type visit to be small markers.

The other change in this version is simply a little mouse-over window that will show the title of any point when you hover over it, activating this feature does not require any config changes.

These features will only be available to you if your config file points to the latest version 2 of GMapEZ:

[misc]
gmapez=http://bluweb.com/chouser/gmapez/gmapez-2.js

There is one more feature in GMapEZ 2.2 that I did not include in this release, it supports tabbed popup windows, if anyone need these please drop me a line and I'll look at including them.

GMapEZ also supports drawing lines, I may include support for these if there are demand for it, personally I don't need them but if someone does, leave a comment here and I'll keep it in mind for the next release.

Upgrading from 1.4 to 1.5 is really simple, simply replace the gmap.inc.php from your site with the one in the tarball below. Then make the optional config change above if you'd like mini icons.

As always you can get the latest version at http://www.devco.net/code/gmapsphp-current.tgz and full documentation can be found on my Wiki

Leave a comment

Recent Entries

  • flashpolicyd 2.0

    I wrote a multi threaded server for Adobe Flash Policy requests, some background from Adobe:Since policy files were first introduced, Flash Player has recognized /crossdomain.xml...

  • Adventures with Ruby

    Some more about my continuing experiences with ruby, in my last post I saidthe language does what you'd expect and as you'll see in my...

  • New programming language of choice - Ruby

    I have fallen out of love with Perl some time ago, I cannot point to one specific thing about it that put me off, I...

  • On working from home

    I've not been posting much here, work has been incredibly manic the last while, especially I need to still finish off my SSO posts with...

  • Rework of puppet facts for /etc/facts.txt

    Previously I blogged a custom fact that reads /etc/facts.txt to build up some custom facts for use in Puppet manifests, well I've since learned a...

Close