[Map Module 0.4.10c] Missing thumbnails

Mozambique

Joined: 2005-11-29
Posts: 108
Posted: Sun, 2006-02-26 21:10

This looks good! but.......
When I choose Default Area to show on map, or go to http://www.visitusinmaputo.com/gallery2/main.php?g2_view=map.ShowMap, only a few thumbs show up in the thumbnail bar (two album-thumbs and two photo-thumbs) Choosing any other filter, all thumbs show up.

Moz

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2006-02-27 01:21

The thumbnail bar will now ONLY show what's visible on the map. The regroup marker hides some icons and everything hidden by the regroup marker will not show up on the thumbnail bar.

When you zoom-in/out, the thumbnail bar gets updated.

If it's not done this way ther would be 2 problem:
- Some people will like it the way it is and not the other way (where is how everything)
- If the icon show up in the thumbbar they would have to be non-active if hidden by the regroup (otherwise we get the same behaviour as before (heratic) and when shown turned active again ... I don't know how to do that and it seems pretty complex too :-)

So the choices are as follow:
- Hide thumbs when the markers is not visible on the map because "regrouped" (current)
- Show everything and get some pretty darn heratic behavior (like before)
- Make the thumbnail non active and just show the thumbnails -> hover & click do nothing
- Put some pretty complex code in place to change the behaviour of the thumbnail wether the related markeris visible of not (I'm not even sure it's possible really)

Let me know what you think ? (actually, what does everyone thinks ?)

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

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Mon, 2006-02-27 01:30

Could we (you) put a thumbnail in the bar that represents the regroup
marker such that when clicked will perform the same function
as clicking on the marker itself? I that is too crazy an idea
then I vote for the latest method (as it is).

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2006-02-27 01:37

Hmm I was thinking about that as soon as I got my message written ... kinda like "wait, there is another solution !".

That should be not too difficult, they would show up at the end of the thumbbar (like after the other thumbnails) or at the beginning but it should be "fairly" easy.

Maybe we would need to setup something where those marker regroup actually have a thumnail as well ... but I'm not sure how to go about doing that.

I'll start easy and put a default thumb first :-)
-------------------------
The Termite :-)

 
galmoid

Joined: 2005-11-07
Posts: 364
Posted: Mon, 2006-02-27 01:57

It should be a default thumbnail (I think). Maybe it could be
generated 'on the fly' using whatever regroup marker icon happens
to be configured in Admin?

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2006-02-27 02:11

yeah i'll get it done this way ;)
-------------------------
The Termite :-)

 
Mozambique

Joined: 2005-11-29
Posts: 108
Posted: Mon, 2006-02-27 09:02
Quote:
The thumbnail bar will now ONLY show what's visible on the map. The regroup marker hides some icons and everything hidden by the regroup marker will not show up on the thumbnail bar.

I see, Zooming in "opens" more thumbnails.... just thought all thumbs would show up in Default Map.........

You did a great job as usual. Uploaded new images today, and didn't find any bugs yet. Though, I've problems with IE. All the way since the first version of this module there has been aproblem loading the map in IE on my system. Sometimes in FF, I got a message "Script busy or not responding...." Map doesn't load until I click "Continue". In IE, I do not get this message, and no map loading...or it takes ages to load....

Moz :)

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2006-02-27 13:56
Mozambique wrote:
Though, I've problems with IE. All the way since the first version of this module there has been aproblem loading the map in IE on my system.

Well you know what I think about IE :-). More seriously, you are using the PGtheme and it's rewriting some of the routine that are needed for the google map to work right. I really have no clue why this is working in FF but I know that that's where "some " of the problems lies.

I put that work around in the codex to avoid the code to run when the google map is shown but there might be some other things still causing troubles.

I think I need to look at IE more seriously. I usually do all te dev and testing with FF, I check at the very end that I can display the map and go to the admin panle with IE. If I added some functionality i also try them but nothing real serious, I need to make an actual test plan :)

See you !