pbasmo has released a new plugin named Geodata for cpg 1.5.x
What it does:
-------------
Displays :
- a map (from Google Maps API V3) to localize the place of 1 picture by inserting a button on displaypicture;
- a map (from Google Maps API V3) to localize all pictures of album by inserting a link at the top of list of thumbs;
All positions are saved as "Latitude" and "Longitude" sent by Google Maps.
This plugin has been created for cpg1.5.x.
This plusgin use last version Google Maps API (V3)
=========================================================================
How to install:
---------------
* Unzip
* Upload the 'geodata' folder into Coppermine's plugins folder
* Go to plugin manager page and install it
How to configure:
-----------------
* Use configuration button in the plugin manager
They are 2 things to configure :
- inserting a new "geodata" button in the navigation bar on the intermediate picture page (in admin mode you can insert or edit the location datas of the picture, and in visitor mode, it inform the guest if the picture is located on a google map);
- optional use of the Enlargeit plugin to show the original picture from the album général map (if the Enlargeit plugin is installed of course
Credits:
--------
This plugin is written by Pierre Basmoreau and based :
- on the "flf_histotag" by lounglizard;
- and my own contribution on the "flf_histotag" (
http://forum.coppermine-gallery.net/index.php/topic,63486.msg334444.html#msg334444)
Don't try to contact the plugin author for support - post on the board publicly instead.
=========================================================================
Use
In admin mode
Only the admin mode allow to locate a picture an a map.
On the intermediate picture navigation bar, click on the new "geodata" button.
A new window will open on a Google map with default datas, or withe the latest coordinates, and the actual thumbnail.
A left click is used to position the marker on the map.
Click on the "Save" button to save the picture location
Repeat this for all pictures you want to locate from the album
To remove the coordinates of an image, click on "Delete". The image will not be displayed in the map.
Visitor mode
The new button in the navigation bar of the intermediate image will take two forms depending on whether the image is localized or not.
In the first case, the visitor can see the card with the matching tag. By clicking on the marker, we obtain the latitude and longitude coordinates.
In all modes
From the first image located, a link "Google Maps" is present in the thumbnail view.
It allows you to see a global map with markers of all the located images .
To the right of the general map, thumbnails of the located images .
Clicking on a thumbnail, the marker will display a tooltip of the same image.
By clicking the tooltip can display the image full size with or without the plugin EnlargeIt (depending on configuration).
UninstallingThe plugin can be uninstalled from the plugin manager.
you must confirm the deletion or not of the table of the already localized pictures (no by default) and the configuration informations.
In case of reinstallation , the already present table is not affected.
langage filesThis plugin is avaible in english and in french, feel free to translate it in your language and to share your translation with the community
The plugin is installed on pbasmo's site
http://pierre.basmoreau.free.fr/album/index.php?file=geodata/map_album&aid=30Thank's to him for sharing this plugin
It will be added on the SVN