Google Maps + Gallery

djrm2
djrm2's picture

Joined: 2005-10-04
Posts: 54
Posted: Tue, 2005-11-01 22:23
Quote:
2) Would it be possible to allow for routes? I often have albums that refer to a tour (a hiking tour or trip through multiple coutries) rather than one location. I would find it great if it were possible to put a set of coordinates that are shown as a marker on the first coordinate, then line segments connecting all the coordinates in order, and finally a second marker at the last coordinate. Does the google api allow for this? Would it be difficult to implement?

Would any of these features also be useful to anybody else?

I used to have access to a web site which allowd upload of pictures and GPS tracks, marrying the two togeather to produce a clickable image map showing locations with links to photographs. It would be wonderful if the google maps module could be expanded to have this functionality. Unfortunateley the maping available for my purposes is not quite detailed enough for this to be really useful to me, but the idea is great. Freely available high resolution maps of unpopulated countryside are not available for the UK.

I use the OziExplorer program to examine my GPS track log files, there a useful utility to match date/time of photographs to locations on a GPS track, it is called OziPhotoTool. Going slightly off topic a databese of locations referenced by the google map module would also be useful.

Regards Dave.

 
TheGoOse
TheGoOse's picture

Joined: 2002-12-31
Posts: 50
Posted: Tue, 2005-11-01 22:45
Termitenshort wrote:
I have tried to gather the sizes of the markers in a different way, you just need the enclosed ShowMap.inc file, overwrite the existing and please let me know if it works better for you guys...

It's working perfect now. Thx :)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-11-01 23:13
djrm2 wrote:
The practice of updating download archives is, at best, confusing, is there a CVS database for the google map module?
Use of a revion control system would help users to see the diffs on new and updated modules.
Please accept this as an attempt at constructive criticism.
hth Dave.

You are right ... I just didn't want to have downloadable module with errors. I'm gonna try to setup a CSV on my linux box, it should be much better :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-11-01 23:24
igrcic wrote:
Quote:
Maybe you can try doing a "maintenance -> delete template cache"
You seem to have a problem with 2 different templates being used, the normal template has a dropdown
for the control type and not a radio anymore. Also there is a bunch more option than just "small/large/none"
Let us know if it fixes your problems

Stupid me, forgot to do that :) I usually do it. Everything works OK now, but I have some weird error now,
the map height is only 40-50px ?? Im attaching the picture.....

Actually I have had that issue as well and I think it was because of a bad download ... I've transfered the module from one computer to the other and had that same behaviour.
You should try and download the 0.3.2b again to see if it resolve your issue.

sorry for the inconvenience

--------------------------
The Termite :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-11-01 23:28

I like those 2 new features request, For the first one I believe it's similar to the one that "categorize" the albums/photo to display them depending on a click of a button but goes 1 step further ...

It might be an intersting idea to think how to implement that. I see it do-able but somewhat triky.

The second feature is cool, I myself have 2 trips that I would love to have joint as a "route", I'm not exactly sure how to accomplish that. The API allows for overlay that can be lines between points and even arrow.
A route could be of a certain color, the trick is to select the albums that are part of that route ....

I'm gonna think those out but it seems very interesting to add in the todo list.

-------------------------
The Termite :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-11-01 23:37

I'm gonna start with an idea on the "ROUTE" feature and leave it up to you guys if you think it's good:

On the AdminPanel, I add a "Route management" Tab.

On this tab, you get a list of all the existing routes (if there is any) with 3 button next to them (delete, edit route, edit settings)

Delete: remove the route
Edit route: add album/photos with GPS coordinate to the route
Edit settings: change the color of the route and put an arrow or not (if possible)

When you add/edit a route it display a list of all the item with GPS coordinate like this:

Albums
Albm1 name1/decr1 checkbox textfield
Albm2 name2/decr2 checkbox textfield
Albm3 name3/decr3 checkbox textfield

Photos
Pic1 name1/decr1 checkbox textfield
Pic2 name2/decr2 checkbox textfield
Pic3 name3/decr3 checkbox textfield

All the item in the route are checked and a number in the textfield define the order from 0 to X

This route setup basicaly will define a set of lines that would connect the GPS point together

This seems like a good start, realisation should be not difficult.

-------------------------
The Termite :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-11-01 23:48

For the grouping feature aka multiple map aka submaps aka othernames as well ... This feature can be achieve in many different way but it all depends on the final goal.

So far I know this:
- Some users want a way to limit the amount of markers displayed (like groups) and all the different maps share the same settings
- Some users want multiple map each with their own settings
- Some users want map with submap with different possible settings everywhere
- etc ....

Well I guess one can see that this can become hairy and I'm not even sure where to start :) :) :)

I would be glad to add this feature (I'm in a coding spree I think) but it's a matter of making the goal clear so that I can start somewhere :)

please help :D

-------------------------
The Termite :-)

 
djrm2
djrm2's picture

Joined: 2005-10-04
Posts: 54
Posted: Tue, 2005-11-01 23:51

wrt The Route feature,

I would like to see a facility to upload a route, i.e a list of co-ordinates, and for the module to then associate the route with the photos in gallery and to then show pushpins to pictures located on the route.

To do this a nearby funcion would need to be written and the feature would rely on photos already having co-ordinates available. This is where the Exif data in the photo would be useful.

One nice feature to add would be scaling of the map to encompass the whole route area and to show just the photos of that area.

The whole thing is perhaps outside the scope of gallery but I would like it nevertheless. I'll give the idea more thought, but thats my starter for ten, goodnight.

Regards, Dave.

ps, wrt the various formats of location data here is a link to a freeware utility to convert between them: http://www.gpsbabel.org/

 
chrisvdb

Joined: 2005-10-29
Posts: 13
Posted: Tue, 2005-11-01 23:54
Termitenshort wrote:
I like those 2 new features request, For the first one I believe it's similar to the one that "categorize" the albums/photo to display them depending on a click of a button but goes 1 step further ...

It might be an intersting idea to think how to implement that. I see it do-able but somewhat triky.

Yes, it's far from trivial... it combines at least three new features:
1) limiting the albums/photos that you want to see on a certain map (through something similar as what I suggested)
2) having more than 1 map with per map settings
3) allowing (other) maps in addition to albums/photos on a map

I think 1) is probably the start as this would be useful in itself (I might want to tag all my pictures but show only a selection on my map). 2) is probably a very big change of the current module... 3) on the other hand should be ok when 2) is working, right?

All in all a lot of development work, I'm afraid, but the result would be cool!

Termitenshort wrote:
The second feature is cool, I myself have 2 trips that I would love to have joint as a "route", I'm not exactly sure how to accomplish that. The API allows for overlay that can be lines between points and even arrow.
A route could be of a certain color, the trick is to select the albums that are part of that route ....

I imagined it really simple... in addition to GPS (x,y) which is interpreted as a point/location, GPS (x1,y1),(x2,y2),...,(xn,yn) is also allowed which is interpreted as a route from (x1,y1) to (xn,yn) via (xi,yi). Or a new custom tag ROUTE or so.

Cheers,
Chris.

 
jcampbell1

Joined: 2005-10-26
Posts: 8
Posted: Wed, 2005-11-02 01:14

This is my first post, and I just got the Map Module working. I must admit, I have had some issues late last night, but it is working today. Huge thanks to Termite and the rest of the crew that has been working on this.

I am somewhat of a programming hack, and below are the features that I am planning on implementing. Any advise is welcome.
- My setup is behind NAT without without loobback, and so the API key doesn't work with both my jcampbell.no-ip.com address and with 192.168.0.4. ... just thought of something... change the hosts file. I'll see if that works.
- Add support for a geocoder. Basically just add an address custom field, and a button from the map configuration menu that auto inputs the GPS coordinates based on the address field and the query result from a geocoder.
- Implement some functions to automate the sizing and zoom levels. It should be possible to calculate the center of all of the GPS coordinates and auto center the map. I would also like to be able to auto set the zoom so the furthest away point is in the map window. I'll try and keep the code pretty modular.

Thanks again for the hard work!

rgds,
john

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2005-11-02 03:44

I have decided that it wouldn't be very difficult to add the ROUTE feature so I'm gonna implement something and we'll see how it turns out :-)

I should have something for you guys to look at sometime sunday (i'm gonna be busy in the newxt few days with work)

Cya
-------------------------
The Termite :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2005-11-02 03:57

Also here is the TODO LIST that we can all work from :-)

- Add more option to the admin panel to customize GxMagnifier (2nd Zoom window docked) Termite
- Add the creation of the icon with characters using the default UTF characters set Termite
- Maybe add a section where you select if you want all the characters or not or no characters. Termite
- Add a theme feature to choose the window styles Termite
- Add posibility to create a legend Termite
- Maybe another idea would be to have the "zoom in" map on a second TAB in the infowindow ? (it seems pretty easy to accomplish) Termite
- Add a "route" feature Termite
- Add the posibility to use % for map Height and width (almost done) Termite
- Add support for a geocoder (GPS coord from address) jcampbell1
- AutoZoom and AutoCenter for the map to show all available marker jcampbell1
- Ability to autopopulate the custom GPS field based on EXIF tags for photos
- Add the grouping feature
- Add possibility of different maps with different settings for each
- Add submap links
- Open for more?

Just so we have a base to see the future developments :) and also daaaamn I have some work to do...

-------------------------
The Termite :-)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2005-11-02 04:33
jcampbell1 wrote:
- Implement some functions to automate the sizing and zoom levels. It should be possible to calculate the center of all of the GPS coordinates and auto center the map. I would also like to be able to auto set the zoom so the furthest away point is in the map window. I'll try and keep the code pretty modular.

Welcome to Gallery and this module/theme. I see you have been "tasked" by Termitenshort :

Quote:
- Add support for a geocoder (GPS coord from address) jcampbell1
- AutoZoom and AutoCenter for the map to show all available marker jcampbell1

I would like this feature as well. perhaps a setting in the admin page that says "auto center" next to the coordinates we have now?

There is some code floating around for doing this as well as something similar....Take a look at http://www.toeat.com/ they have 50 markers on the first page....zoom in on a state. Then as you get closer and closer you get more detail in the map as well as more detail in the restaurants. This is cool. The type of marker changes as the Group of restaurants changes from a group to individual sites. I think that albums and the content of the albums (photos) could be done this way.
There is some discussion on the google maps API group on this very feature.

On another note:
We have to remember this is "your photos on your web site". I don't think that this module should become a geocoding module. I like the idea of it queering a geocoder...

Is anybody working on the map Theme or has this been lost?

Dave

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2005-11-02 04:52

Insparation for tracks:
http://www.ovationmarketing.com/MapMaker.asp

Dave

____________________________________________________
Gallery Frames / Mods || G1 Test Gallery

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2005-11-02 05:11
floridave wrote:
Insparation for tracks:
http://www.ovationmarketing.com/MapMaker.asp

Dave

____________________________________________________
Gallery Frames / Mods || G1 Test Gallery

Thanks that will help :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2005-11-02 05:13
floridave wrote:
I see you have been "tasked" by Termitenshort :

It's more volonteering ;)

jcampbell1 wrote:
I am somewhat of a programming hack, and below are the features that I am planning on implementing. Any advise is welcome.

lol

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2005-11-02 05:24

I was thinking of the all idea about grouping and submaps and possibility of having multiple maps and so on ...

Well I think I have a potential candidate for a solution :-)

How about we create a "group" feature that let you select all the settings as they currently have in the AdminPanel.

So we have something like GroupName / MapSettings / Members / GPS coordinate / Marker Color / Zoom Level / Thumbnail

Then the Group themselves can be represented on the Map as they have GPS coord and thumbnail and so on ...
Members of each groups can be photos,albums, and/or groups that have GPS coordinate populated

It will then be possible to have something that would (via a different URL) display only the markers of a group and "cascade" to subgroups.

This seems ok to implement the only problem that I see is that the "GROUP" information need to be stored someplace. I think it is time for this module to have it's own table in the database. it would also simplify some of the things already done using file based storage :$

What do you think ?

-------------------------
The Termite :-)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2005-11-02 05:39

One last thing (and then I go to sleep promise):

If we think it's too adventurous to create a table in the database just for this modu;e, we can probably have the information stored in an Array directly in the module parameters.

Just a thought
-------------------------
The Termite :-)

 
igrcic
igrcic's picture

Joined: 2005-04-19
Posts: 78
Posted: Wed, 2005-11-02 09:27

small bug :|
People icon in basemarkers is named People.png with big P, instead of small p.
guess ur doing development of module on windowz :)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2005-11-02 13:01
igrcic wrote:
small bug :|
People icon in basemarkers is named People.png with big P, instead of small p.
guess ur doing development of module on windowz :)

?? I don't have a people icon ... all of mine have lowercase letters ... Also when the basemarkers are utilized to create the markerset, it gather the name from the filesystem so it shouldn't matter what the case is ?

maybe I didn't understand the problem correctly ?

 
igrcic
igrcic's picture

Joined: 2005-04-19
Posts: 78
Posted: Wed, 2005-11-02 13:31

hmmm.....i dont have it either now. but i had error saying that cant find People.png never mind its ok now :) but i still have some bigletters there :)

anyway there is something fishy with markers sizes, when i select 50% or 200% it doesnt listen to me, but only when i write manually in boxes, like 12x24

 
amentges

Joined: 2005-11-02
Posts: 25
Posted: Wed, 2005-11-02 21:47

I hate to be the one jumping into this project late into the game it seems yet i'm having a real hard time getting this working correctly. The last 3-4 hours I have start reading the forum from page one on and have ran into a million road blocks it seems. (Mostly IE not downloading things correctly). However the point that I am at right now is I have the latest map module installed, along with the map theme however my understanding is this will not work. So I added the custom form fields and the GPS field is avaliable when I go to edit pictures. I have put in cordinates yet I don't know where to look to see the map to see if it comes up!. Been driving me crazy. I have the API key tested the html that google gives everything is working in that since yet I don't know where to get the map at. As for right now I'm just using the Matrix theme, also I am using netpbm and not ImageMagic (because of my host) and was wondering if I'm going to run into marker problems due to this. Thanks for any help direction that people can provide.

 
gbo
gbo's picture

Joined: 2005-10-06
Posts: 24
Posted: Wed, 2005-11-02 22:36
amentges wrote:
I have put in cordinates yet I don't know where to look to see the map to see if it comes up!. Been driving me crazy.

Hi,

Have you tried to reach the map module with :

[your_domain_name]/main.php?g2_view=map.ShowMap

If you could provide your gallery site it could be useful.

HTH

________________
Gil
My Gallery http://mesphotos.fontismedia.com/

 
amentges

Joined: 2005-11-02
Posts: 25
Posted: Wed, 2005-11-02 22:41

Thanks for the quick response

I actually just got it working

http://mentges.net/gallery2/main.php?g2_view=map.ShowMap

However the grayish spot next to north america is a photo I added, yet i think the markers are jacked up, i use netpbm thus can't create them. I copied them from a previously posted zip folder but still a little wierd.

 
gbo
gbo's picture

Joined: 2005-10-06
Posts: 24
Posted: Wed, 2005-11-02 22:57

OK here is what I found
photoIcon.image = "/gallery2/images/map//marker_default.png";
photoIcon.shadow = "/gallery2/modules/map/basemarkers/marker_shadow.png";

1) marker_shadow is displayed correctly, to see the shadow you should switch to Carte view in the map module

2)Could you check if the path is correct above it seems that one folder is missing between the // (probably basemarkers), a quick workaround will be to move or copy marker_default.png in the following folder /gallery2/images/map/ just to check if it works.

_________________
Gil
My Gallery http://mesphotos.fontismedia.com/

 
samkuhn2

Joined: 2004-04-13
Posts: 60
Posted: Wed, 2005-11-02 23:00
 
conorboyd

Joined: 2005-03-29
Posts: 166
Posted: Wed, 2005-11-02 23:44

I'm really keen to try this module, and have downloaded the 0.3.2 version listed on this thread.

It seems to install fine, and I have Google Map listed in Site Admin.

However, when I click on that link, I just get served a blank page.

Can anybody point me in the right direction to fix this?

Many thanks,

Conor

Gallery version = 2.0 core 1.0.0
PHP version = 4.3.11 apache
Webserver = Apache/1.3.33 (Unix) PHP/4.3.11 FrontPage/5.0.2.2623 mod_throttle/3.1.2 mod_ssl/2.8.22 OpenSSL/0.9.7d
Database = mysql 4.0.20
Toolkits = Exif, Gd, ImageMagick, NetPBM, Thumbnail
Operating system = FreeBSD unix11.hsphere.cc 4.11-STABLE FreeBSD 4.11-STABLE #0: Wed Aug i386
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Thu, 2005-11-03 01:45
igrcic wrote:
hmmm.....i dont have it either now. but i had error saying that cant find People.png never mind its ok now :) but i still have some bigletters there :)

anyway there is something fishy with markers sizes, when i select 50% or 200% it doesnt listen to me, but only when i write manually in boxes, like 12x24

I'm gonna take a look at this. it does seem very fishy :). Do you have an example of what size you are getting instead of what you get ?

I think I know what the issue is but i need to verify with you. I'll be looking at it tomorrow otherwise

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Thu, 2005-11-03 01:51
conorboyd wrote:
I'm really keen to try this module, and have downloaded the 0.3.2 version listed on this thread.

It seems to install fine, and I have Google Map listed in Site Admin.

However, when I click on that link, I just get served a blank page.

Can anybody point me in the right direction to fix this?

Jeez that's new !! I didn't know this could be possible :). i didn't ANY test on an SSL server and it "might" be the cause for the issue but other than that I have a hard time thinking about what could go wrong at this point ....

- Is your install of gallery any different than the standard ones ?
- Can you provide a link to your AdminPage with some credential (Private Message - I won't break anything, promised)

I guess it's pretty weird but I want to get to the bottom of it :D

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Thu, 2005-11-03 01:55
amentges wrote:
Thanks for the quick response

I actually just got it working

http://mentges.net/gallery2/main.php?g2_view=map.ShowMap

However the grayish spot next to north america is a photo I added, yet i think the markers are jacked up, i use netpbm thus can't create them. I copied them from a previously posted zip folder but still a little wierd.

This is what I get from your source file (which is ok):
/gallery2/images/map//marker_GREEN.png

As I recall, the file in the zip provided in one of the thread had color name in lowercase (i.e.: marker_green.png)

So i believe for them to work you would have to rename the files one by one manually.

-> In the next version of the module I will provide a folder of markers ZIPPED ready to be used for people that do not have ImageMagick handy (until I figure out a GOOD way to use other toolkits)

Cya
------------------------
The Termite :-)

 
marsape

Joined: 2005-10-29
Posts: 2
Posted: Thu, 2005-11-03 04:09

First I want to say.. This module rocks..
I have it installed here http://www.marsalli.net/modules/pnGallery2/gallery2/main.php?&func=main&g2_view=map.ShowMap works great..

Also I have gallery embedded in Postnuke 7.6 http://www.marsalli.net/index.php?module=pnGallery2&func=main works..

Although when I call the Map module from with in PostNuke it says page cannot be displayed?
Note: prior to inserting the google key I could see the page (Missing the map) and the warning.
http://www.marsalli.net/index.php?module=pnGallery2&func=main&g2_view=map.ShowMap

Unfortunately.. I only know enough to be dangerous to my self..
any direction would be helpful

P

 
amentges

Joined: 2005-11-02
Posts: 25
Posted: Thu, 2005-11-03 05:08

Well I finally thought I had the markers worked out, yet still screwy. Regular picture markers work fine, however if I do a marker for an album it just shows the shadow. If anyone has any clue on this one I would love to here it. Also is the map provided for cordinates off for anyone else? Every time I choose a cordinate (trying egypt) it picks some where in the middle of africa or in turky. Any Advice

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Thu, 2005-11-03 05:14

WoW! Been gone awhile and see this module is taking on a life of its own :-).
I upgraded from 0.3.0 to the latest map-module and aside from the infamous Microsloth 'Operation Aborted', I can't display error page crap which I had to change around my hack for WordPress; it all worked quite smoothly. Haven't yet exercised all the code paths but did notice the default magnify icon is off center and when I tried one of the custom controls (Orange) the new controls are way off center; clear to the upper leftmost side of my site (see attached screenshot). Likely due to my Embedded G2 and both these off-center faults are the same in IE6 and Firefox.
Good work Termite!!

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Thu, 2005-11-03 05:27
marsape wrote:
First I want to say.. This module rocks..
I have it installed here http://www.marsalli.net/modules/pnGallery2/gallery2/main.php?&func=main&g2_view=map.ShowMap works great..

Also I have gallery embedded in Postnuke 7.6 http://www.marsalli.net/index.php?module=pnGallery2&func=main works..

Although when I call the Map module from with in PostNuke it says page cannot be displayed?
Note: prior to inserting the google key I could see the page (Missing the map) and the warning.
http://www.marsalli.net/index.php?module=pnGallery2&func=main&g2_view=map.ShowMap

Unfortunately.. I only know enough to be dangerous to my self..
any direction would be helpful

P

marsape,

Your map page displays just fine in Firefox. So you have the same issue as I did even though I'm using WordPress. I'm not familar with Postnuke but I'm betting the same (or similar) fix I use would work for you. For the latest map-module here's what I had to do in order for the map to display in IE:

Edit ShowMap.tpl and after line 26 add these closing tags,
</div>
</td>
</tr>
</table>

AND at the very end

</div>
</td>
</tr>
</table>
<!-- #gsContent -->

Let me know if this works or not.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2005-11-03 05:41
swordfish wrote:
Haven't yet exercised all the code paths but did notice the default magnify icon is off center and when I tried one of the custom controls (Orange) the new controls are way off center; clear to the upper leftmost side of my site (see attached screenshot). Likely due to my Embedded G2 and both these off-center faults are the same in IE6 and Firefox.

The custom controls are positioned with code in the /templates/controls/*/contorl.inc They "should" position relitive the map <DIV> but I guess in a embedded enviroment there might be some issues. Like a missing closing </div>

Dave

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2005-11-03 05:45

swordfish
I also noticed that the path is most likly wrong for the transparent .png IE fix using the pngbehavior.htc file.

Dave

____________________________________________________
Gallery Frames / Mods || G1 Test Gallery

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Thu, 2005-11-03 06:41
floridave wrote:
swordfish
I also noticed that the path is most likly wrong for the transparent .png IE fix using the pngbehavior.htc file.

Dave

____________________________________________________
Gallery Frames / Mods || G1 Test Gallery

I fixed the png issue by appending /gallery2 to the header.tpl and pngbehavior.htc files.

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Thu, 2005-11-03 06:53
floridave wrote:
swordfish wrote:
Haven't yet exercised all the code paths but did notice the default magnify icon is off center and when I tried one of the custom controls (Orange) the new controls are way off center; clear to the upper leftmost side of my site (see attached screenshot). Likely due to my Embedded G2 and both these off-center faults are the same in IE6 and Firefox.

Quote:
The custom controls are positioned with code in the /templates/controls/*/contorl.inc They "should" position relitive the map <DIV> but I guess in a embedded enviroment there might be some issues. Like a missing closing </div>

Dave

Ah, I see how the position is controlled now. Oh, what a pain this is going to be as I'll have to experiment in changing each and every padleft/top. Do you know of a simple way to get the icon positions centered correctly?

 
gilrim

Joined: 2005-08-28
Posts: 32
Posted: Thu, 2005-11-03 12:11

hum... I might be an idiot, but I'm unable of figuring out where to enter the gps coordinates for albums... I've been following this thread closely since it started, but haven't gotten abour to asking this yet.. Anyways: entering coordinates for images is just to Edit Photo->Custom Fields->GPS... What's the equivalent for albums?

 
gbo
gbo's picture

Joined: 2005-10-06
Posts: 24
Posted: Thu, 2005-11-03 12:53
gilrim wrote:
I'm unable of figuring out where to enter the gps coordinates for albums... I've been following this thread closely since it started, but haven't gotten abour to asking this yet.. Anyways: entering coordinates for images is just to Edit Photo->Custom Fields->GPS... What's the equivalent for albums?

Edit Album->Custom Fields->GPS ;-)

_________________
Gil
My Gallery http://mesphotos.fontismedia.com/

 
gilrim

Joined: 2005-08-28
Posts: 32
Posted: Thu, 2005-11-03 14:02

hmm... think my problem is that I've been upgrading from the theme version to the module based one after. thus, I've got the GPS field defined as a photo field, whilst it probably shold've been a common field.. Changed type to Common, and it now appeares on all items :)

 
bklocke

Joined: 2005-11-03
Posts: 2
Posted: Thu, 2005-11-03 14:15

Post is obsolete and can be deleted

Quote:
Hi,
i've got some problems with GoogleApiKey.
the way LarryDoliver described, doesn't seems to work. i tried to get it work with custom field in the album, but there is still the java error message saying that this key is registered for another side.

Here're some information:

url: http://gallery.bklocke.de
url to the album: http://gallery.bklocke.de/fotokarte
google api key: ABQIAAAAHCkVUsWp69X35StJ-8vZfxTenGRBfX7_Mt4ofklO8K3-qD865RQfLM1xQqNOAW3R694oqjJOhDpk2Q

gallery version: 2.0.1
theme version: 1.0.2

thanks for your efforts

bklocke

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2005-11-03 14:31
swordfish wrote:
Ah, I see how the position is controlled now. Oh, what a pain this is going to be as I'll have to experiment in changing each and every padleft/top. Do you know of a simple way to get the icon positions centered correctly?

I did not have to redo them:
http://gallery2.ca/wordpress/wp-gallery2.php?g2_view=map:ShowMap

Like I said it _should_ position relitive the the map <div>
It does not work in IE but FF works.

Dave

 
FOBioPatel
FOBioPatel's picture

Joined: 2004-07-25
Posts: 26
Posted: Thu, 2005-11-03 17:19

i wish this module was checked in to CVS on sourceforge, and then followed the nightly builds based approach used in developing gallery. then we can all move forward with the same version, this is going to stop a lot of people from falling behind and then asking for support on old versions. thoughts?

 
marsape

Joined: 2005-10-29
Posts: 2
Posted: Thu, 2005-11-03 17:58

Swordfish,

It now works just like Downtown.. ;) Thanks for your help..
http://www.marsalli.net/index.php?module=pnGallery2&func=main&g2_view=map.ShowMap works!

I am going to ask in the PostNuke forum about making a "block" to call out just the map..
That added to a tabbed center block would be nice... http://www.marsalli.net/

PM

 
FOBioPatel
FOBioPatel's picture

Joined: 2004-07-25
Posts: 26
Posted: Thu, 2005-11-03 20:08

I can't see the Map...

http://fobiopatel.com/photos/main.php?g2_view=map.ShowMap

Can someone help? My Instant Messenger is FOBioPatel on any of the major IM networks. Thanks!

I am using the following files with the 3.0.2 version of the module. I tried doing maintenance and switching to stock-large... still no map. Ideas?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2005-11-03 21:41
FOBioPatel wrote:
I can't see the Map...

http://fobiopatel.com/photos/main.php?g2_view=map.ShowMap

Looking at your source

           var DefaultalbumIcon = new GIcon();
           DefaultalbumIcon.image = "http://www.responsiveweb.com/com/applications/gallery2/images/map//marker_YELLOW.png";
           DefaultalbumIcon.shadow = "http://www.responsiveweb.com/com/applications/gallery2/modules/map/basemarkers/marker_shadow.png";
           DefaultalbumIcon.iconSize = new GSize(,);

it looks like it is not seeing the icons. A few posts back had a zip file with icons. Try that.

I think we need more error detection on the icon creation script or abandon it altogether and include all the icons and not create them on the fly.

Dave

 
FOBioPatel
FOBioPatel's picture

Joined: 2004-07-25
Posts: 26
Posted: Thu, 2005-11-03 22:00

Good sleuthing! I had created a set of Markers named "Markers". The path should therefore be:

DefaultalbumIcon.image = "http://www.responsiveweb.com/com/applications/gallery2/images/map/Markers/marker_YELLOW.png";

but instead we are seeing:

DefaultalbumIcon.image = "http://www.responsiveweb.com/com/applications/gallery2/images/map//marker_YELLOW.png";

I will redo it without a name, lets see if that works.

 
FOBioPatel
FOBioPatel's picture

Joined: 2004-07-25
Posts: 26
Posted: Thu, 2005-11-03 22:13

Ok, making Markers without a name does not work. It appears that {$map.useMarkerSet} in my ShowMap.tpl file is not pulling anything out... The other variables like {$map.gallerybase} seem to work fine. (I suspected this had something to do with my register-globals being OFF, but since {$map.gallerybase} works - I know this is not it.)

what i did:
I created a 'local' folder and replaced my {$map.useMarkerSet} with Markers, and the links to the Markers works fine.

There is still no dice with the map. It won't show.

 
FOBioPatel
FOBioPatel's picture

Joined: 2004-07-25
Posts: 26
Posted: Thu, 2005-11-03 22:28

Even though mine was a fresh 3.0.2 installation, using the 3.0.1 ShowMap.tpl was a successful endeavor for me. It still did not read the name of my 'Marker' as in the above post. I had to remove the variable and enter it manually. I'm very amused right now, looking forward to the newer versions!