So this button would be on the map or in the info window? Or both?
Should this button/link take the user to just the default zoom at the same coordinates or the push pin coordinates?
Should I change the behavior of the middle button to "go to default zoom and location"?
Lots of ways to do this I just want the correct behavior.
Dave
If you find your self in the middle of Amazona jungle at zoom level 0.0, you probably want an overview.
Changeing the behavior of the middle button (or adding a button) would be great. This button could take you back to "start map", that is default zoom and center. (I use Auto Center and Auto Zoom)
Could probably use Album:Gallery filter for this button?
Termitenshort
Joined: 2005-10-09
Posts: 1894
Posted: Thu, 2005-12-22 13:25
floridave wrote:
Is there some 'reverce' geocoding code about? I want to pass a lat, long and get a city/town or airport. Unless sombody knows how to pass lat/long to weather.com?
Dave
I can write something up in that regards, should be the same deals as the geocoding ;)
Termitenshort
Joined: 2005-10-09
Posts: 1894
Posted: Thu, 2005-12-22 13:31
I have found very weird bugs with Filter Album: XYZ and using the % for the map sizes ... It seems that it's not recalculating the zoom. I should get that fixed soon.
Quick Note: I will not be coding until the 26th of december ... holidays :D
I hope you all have an MERRY CHRISTMAS time and once again
THANKS FOR YOUR SUPPORT !!!!!!
-------------------------
The Termite
The last one looks easy to implement but only does the US. I will look at the others as well.
Some others I have seen require $$ ( I will not go that route)
Dave
LFrank
Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2005-12-22 15:51
galmoid, termitenshort - upgraded to 4.7 without problems
This may sounds like an inane question, but i installed the Google Map module and everything seems fine. But when I set up an album, the marker appears on the Google Map...but there is no balloon and no apparent navigation to the particular album from the map. What am I doing wrong?
Termitenshort wrote:
that sounds weird ... ddo you have any error in the javascript console ? Which template for the infowindow are you using ?
Can we have a link to the map maybe to troubleshoot ?
It works for me in IE and FF on windows2k. It is quite slow to render and when you click the thumb in th einfo window it is slow to go to the album/photo.
Dave
Radley
Joined: 2005-12-22
Posts: 6
Posted: Thu, 2005-12-22 16:36
Radley wrote:
This may sounds like an inane question, but i installed the Google Map module and everything seems fine. But when I set up an album, the marker appears on the Google Map...but there is no balloon and no apparent navigation to the particular album from the map. What am I doing wrong?
Termitenshort wrote:
that sounds weird ... ddo you have any error in the javascript console ? Which template for the infowindow are you using ?
Can we have a link to the map maybe to troubleshoot ?
It works for me in IE and FF on windows2k. It is quite slow to render and when you click the thumb in th einfo window it is slow to go to the album/photo.
Dave
Okay, the plot thickens..it works in the Matrix theme but not the PG theme...as anyone solved this one?
floridave
Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2005-12-22 17:16
Radley wrote:
Okay, the plot thickens..it works in the Matrix theme but not the PG theme...as anyone solved this one?
galmoid, termitenshort - upgraded to 4.7 without problems
Merry Christmas & a Happy new Year
Lutz
Great. Thank You. Likewise.
dotnature
Joined: 2005-10-26
Posts: 224
Posted: Thu, 2005-12-22 18:10
Floridadave I put it in the wiki last week, http://www.weatherbonk.com is a good example you can see how they get weather data, you can basically just click anywhere and get weather data, but it seems they are not using long/lat but getting data from nearest city/town that your click is near. After some clicking around I noticed it will ignore a lot of towns and take the nearest one with actual weather data
Im not sure if weatherbonk is doing that or the weather api's it uses but someone is taking the long/lat and associating it with nearest city with weather.. After some reading it seems like weather.com, weatherunderground and accuweather have the most acuurate and comprehensive data.
And I ended up dropping PG theme, it looks great but was a bit heavy for my liking.
have a nice holiday termite
floridave
Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2005-12-22 18:30
I have looked at weatherbonk and as you said it looks like they take the closest town. Not the closest town that has data but the closest town that they have a push pin for. This would not work well as you would have to have a list of places with weather data when you add a photo. Not a very good way.
I think thay also have a arrangment ($$$) with weather.com as well to have some extras that perhaps the average (no$$$) does not get.
I have also seen others but I think the best bet is to get some reverce geocode and give that code the lat/long and have it give you a name and then that name can be given to weather.com and then we can format the xml that they spit back
OK I have found a reverse geocode for Canada: http://geocoder.ca/?api=1
you pass a lat/long and it gives you xml with postcode that can be passed to a weather provider.
Ya this might not be as easy as originally thought, maybe for just us/canada but a lot services I found charge quite a bit of money some well over 1k$, the best one I found does 24 countries for 50$ a month.
I also came across this which is interesting, guy made his on sql geocode server (5gigs data I think)for US so he dint have to rely on a free service http://www.johnsample.com/articles/GeocodeWithSqlServer.aspx
Hi to everyone developing this module, I've been using the module since it was a theme, and am amazed at the pace of development, good work guys.
I seem to be having a few problems with my installation, and I can't quite figure out whats going on. I think its somthing to do with the URLs that the module creates; the gallery installation is in the /images/ directory in my webspace, if anyone could take a look and help me out, I'd really appreciate it.
Hi to everyone developing this module, I've been using the module since it was a theme, and am amazed at the pace of development, good work guys.
I seem to be having a few problems with my installation, and I can't quite figure out whats going on. I think its somthing to do with the URLs that the module creates; the gallery installation is in the /images/ directory in my webspace, if anyone could take a look and help me out, I'd really appreciate it.
The last person who had this same issue was due to Routes previously added.
Did you upgrade the map-module from an earlier build and did you previously have routes? If so, delete all your routes and recreate them.
amentges
Joined: 2005-11-02
Posts: 25
Posted: Fri, 2005-12-23 02:37
Probably not the right place to ask but if someone could answer or poitn me in the right direction. I wanted to have a drop down list of countries and when you click on the country it would zoom into that part of the map. Because the global map just has too many points on it that I have added markers and its a bit overwhelming, if anyone has an idea how I would appreciate it Thanks.
Probably not the right place to ask but if someone could answer or poitn me in the right direction. I wanted to have a drop down list of countries and when you click on the country it would zoom into that part of the map. Because the global map just has too many points on it that I have added markers and its a bit overwhelming, if anyone has an idea how I would appreciate it Thanks.
Create filters.
'Site Admin'/'Google Map'/'Legend/Filter management'
Make a filter for each area with coordinates in the center
of each area of interest.
heydecke
Joined: 2005-09-23
Posts: 5
Posted: Fri, 2005-12-23 11:18
Swordfish.... thanks so much, as you said, I deleted the routes and the map shows again.
Keep up the good work
amentges
Joined: 2005-11-02
Posts: 25
Posted: Fri, 2005-12-23 15:39
Thanks I have created the filters how do i access them. I couldnt find anything in the documentation. Thanks for the help
galmoid
Joined: 2005-11-07
Posts: 364
Posted: Fri, 2005-12-23 16:08
amentges wrote:
Thanks I have created the filters how do i access them. I couldnt find anything in the documentation. Thanks for the help
I would guess, in your case, you are not seeing the drop down
list, maybe, because of the theme you are using? I use matrix
and have no experience with anything else. See the pic (attached).
is it possible to apply the map to one particular sub-album then have the sub-albums under that on the map? if it is i cant seem to figure it out, but it looks like it might not be possible
liaj
Joined: 2004-04-21
Posts: 112
Posted: Sat, 2005-12-24 04:34
another quick question...is it possible to put the icon legend below the map instead of right or left? im having problem with the map overlapping the legend box after if fully loads(im not useing a sidebar)...any ideas
floridave
Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2005-12-24 06:00
liaj wrote:
is it possible to apply the map to one particular sub-album then have the sub-albums under that on the map? if it is i cant seem to figure it out, but it looks like it might not be possible
You can try the map theme as it is album based. or Don't add coordinates to the other albums.
If you want this in permissions then add this request to the wiki.
There is a similar request for sub-albums in the wiki.
Quote:
Add the grouping feature
Multiple maps per Gallery, e.g. a Map block (templates/blocks/)
Define which albums / items should be shown on a map
Multiple maps -> define which items / albums to show on which map
Perhaps you can add some more detail the that request.
liaj
Joined: 2004-04-21
Posts: 112
Posted: Sat, 2005-12-24 15:08
any idea where to get the theme? it seems the original download from the gallery2 download page is missing.
Opinions for a new feature:
See: http://gallery2.ca/map_bounds.php
when using the filters, prevent the users from zooming in/out or panning beyond the scope of the filter.
I would put some extra fields (max/min zoom & max/min latitude longitude) in the filter management admin page.
Opinions for a new feature:
See: http://gallery2.ca/map_bounds.php
when using the filters, prevent the users from zooming in/out or panning beyond the scope of the filter.
I would put some extra fields (max/min zoom & max/min latitude longitude) in the filter management admin page.
That was on page 18 I have had a few speeps since then!
So i guess you are +1 for my idea or would you like it to be global and not just on the filters?
lond
Joined: 2005-06-27
Posts: 25
Posted: Sun, 2005-12-25 09:43
MERRY CHRISTMAS and thx for all help.
//lond
Termitenshort
Joined: 2005-10-09
Posts: 1894
Posted: Sun, 2005-12-25 19:08
liaj wrote:
is it possible to apply the map to one particular sub-album then have the sub-albums under that on the map? if it is i cant seem to figure it out, but it looks like it might not be possible
Hello, if you are using the map module versio 0.4.7, there is filters created that should show only a specific album or sub-album.
In Admin-Panel Filter/Legend, you have a checkbox for "Show Album Filters". After that in the filter box (by the map) you should see all of your album with GPS item in them.
Selecting one would go to "main.php?g2_view=map.ShowMap&g2_album=baneofthealbum" and show only the item in the album selected as well as the sub-albums
I have found that weird behaviour lately with this feature so if it doesn't work right..... I'm trying to fix some of the bug I've created
Termitenshort
Joined: 2005-10-09
Posts: 1894
Posted: Sun, 2005-12-25 19:10
liaj wrote:
another quick question...is it possible to put the icon legend below the map instead of right or left? im having problem with the map overlapping the legend box after if fully loads(im not useing a sidebar)...any ideas
I'm adding this for the next release (put the blocks on top of on the bottom)
See you
Termitenshort
Joined: 2005-10-09
Posts: 1894
Posted: Sun, 2005-12-25 19:15
Radley wrote:
Okay, the plot thickens..it works in the Matrix theme but not the PG theme...as anyone solved this one?
I remember that dotnature was having similar issues and we ended up giving up as he didn't want to use that theme anymore
The thing is there is a lot of javascript with the PG theme and it seems to interfere a little with the map operation. I haven't got the theme to work on this Machine so when I get to use my other machine I will look at trying to fix this as well
Termitenshort
Joined: 2005-10-09
Posts: 1894
Posted: Sun, 2005-12-25 23:37
I've found a couple bugs:
- When an album was selected in the filter list it was doing the AutoCenter but not the Autozoom if you had % in the map size ...
- The Album list was messed up in some cases (it should automaticaly populate it using the items, but it was only using 1 list ...)
- When a routes was edited but not saved, it would be then be there twice.
Also corrected:
- Galmoid's finding about the size of the <select> element in the Filter Block
- Single item javascript error
So I corrected those as well as the bug found by galmoid and I prepared the way for the groups (there is nothing done in the frontend, but the back end is pretty much ready)
I would like more infos on this:
* Show markers in GxMagnifier Actually it seems to do random stuff when you chose to display the markers in the GxMagnifier. Observed problems when turning it on:
o The docked GxMagnifier doesn't use the zoomlevel set in the admin
o The map shows no markers at all
o Disabling the option doesn't seem to restore the state before... I had to completely disable the GxMagnifier and then enable it again to have the settings from before.
I can't reproduce it
Here ya go
-------------------------
The Termite
Termitenshort
Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-26 01:02
Tracklog Adventure
I have added a paramters in my tracklog tracing tool that reduces the amount of decimal numbers. When tracing the mother I can reduce by 3 decimal which gives me: Number of Polylines: 268 - Number of Points: 46221 .
=> this traces without issues and work great
The next one up (reducing by 2 decimal only) gives this: Number of Polylines: 411 - Number of Points: 115252
And display the "error message" this script is taking a while do you want to stop it ? When you say no, it continues on and trace the all thing correctly. It's the same behaviour if you choose to reduce by 1 decimal or none
There is a HUGE gap between reducing 2 decimals and 3 decimals so I need to figure out something else
--- keep you all posted
-------------------------
The Termite
floridave
Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2005-12-26 06:19
In regards to this post: http://gallery.menalto.com/node/32642?from=1450#comment-158041
I suggest that we change the images to .gif from .png.
There is no transparency and the .png fix for IE needs to have height and width tags.
I think it is just easy to change to .gif images.
I have found the limit for IE to display a tracklog (somewhat)
it's between Number of Polylines: 170 - Number of Points: 60388 and Number of Polylines: 182 - Number of Points: 66297
This means I will code the limit to be 50k (to have some breathing room)
So I now need to find some algorithm to reduce the tracklogs and this should be an all set feature for the next release
If anyone have some idea it would help greatly . I'll be looking around on the net in case I find something.
-------------------------
The Termite
Termitenshort
Joined: 2005-10-09
Posts: 1894
Posted: Mon, 2005-12-26 06:29
floridave wrote:
In regards to this post: http://gallery.menalto.com/node/32642?from=1450#comment-158041
I suggest that we change the images to .gif from .png.
There is no transparency and the .png fix for IE needs to have height and width tags.
I think it is just easy to change to .gif images.
Dave
I dunno what post is that but we sure can transform the image to .gif
Tracklog ... more & more ....
So I now need to find some algorithm to reduce the tracklogs and this should be an all set feature for the next release
If anyone have some idea it would help greatly . I'll be looking around on the net in case I find something.
-------------------------
The Termite
I ran across this awhile back. The code used (see bottom of page) is
written in 'ruby'; but, maybe you can get some ideas.
galmoid
Joined: 2005-11-07
Posts: 364
Posted: Mon, 2005-12-26 23:54
floridave wrote:
That was on page 18 I have had a few speeps since then!
So i guess you are +1 for my idea or would you like it to be global and not just on the filters?
Both, if possible and not too much effort; otherwise, just on
the filters.
If at all possible, it would be nice if the dreaded over-zoomed
warning/error is -never- able to show it's ugly little text.
galmoid
Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-27 00:00
0.4.7b
Does anybody, other than myself, find that Route filtering only seems to
work when selecting the last listed route filter? I have created four
identical route filters and always get a "hacking" error when selecting
any but the last. At first, these routes -were- all different. The error is
what led me to making them all identical. The names, of course, are
different.
galmoid
Joined: 2005-11-07
Posts: 364
Posted: Tue, 2005-12-27 01:40
0.4.7b
More about route filters . . .
It appears that route filters that contain an apostrophe in
the name are stored in the database with the apostrophe
escaped by a backslash. I do not know if this is necessary; but,
I see other items in the database (not related to map) that have
apostrophes are not stored this way. If it is actually necessary
to store the route names this way, I think the backslash needs to
be stripped from the name prior to displaying the name. This
would need to be done in both the drop-down list of filters and
on the page above the map when the filter is being used.
The above may be true for other "special?" characters . . . I have
not checked any.
Termitenshort
Joined: 2005-10-09
Posts: 1894
Posted: Tue, 2005-12-27 04:46
galmoid wrote:
0.4.7b
Does anybody, other than myself, find that Route filtering only seems to
work when selecting the last listed route filter? I have created four
identical route filters and always get a "hacking" error when selecting
any but the last. At first, these routes -were- all different. The error is
what led me to making them all identical. The names, of course, are
different.
Yes I have the same I never had triedn that before . I also have the issue with the backlash for Routes, filter, legend etc ...
I'm not sure when the characters get escaped but there shoud no need for it.
I'll be looking at that. I think I know why it's happening
Posts: 108
If you find your self in the middle of Amazona jungle at zoom level 0.0, you probably want an overview.
Changeing the behavior of the middle button (or adding a button) would be great. This button could take you back to "start map", that is default zoom and center. (I use Auto Center and Auto Zoom)
Could probably use Album:Gallery filter for this button?
Posts: 1894
I can write something up in that regards, should be the same deals as the geocoding ;)
Posts: 1894
I have found very weird bugs with Filter Album: XYZ and using the % for the map sizes ... It seems that it's not recalculating the zoom. I should get that fixed soon.
Quick Note: I will not be coding until the 26th of december ... holidays :D
I hope you all have an MERRY CHRISTMAS time and once again
THANKS FOR YOUR SUPPORT !!!!!!
-------------------------
The Termite
Posts: 27300
The last one looks easy to implement but only does the US. I will look at the others as well.
Some others I have seen require $$ ( I will not go that route)
Dave
Posts: 1023
galmoid, termitenshort - upgraded to 4.7 without problems
Merry Christmas & a Happy new Year
Lutz
Gallery version=2.0.2+ core 1.0.10
PHP version=5.1.1 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Database=mysql 5.0.16-nt-log
Gallery-URL=http://lf-photodesign.de
Posts: 6
No Javascript error...I'm using the PG theme...are's the link - http://www.raddimages.com/gallery/main.php?g2_view=map.ShowMap
Thanks for the help
Posts: 6
No Javascript error...I'm using the PG theme...are's the link - http://www.raddimages.com/gallery/main.php?g2_view=map.ShowMap
Thanks for the help
Posts: 27300
It works for me in IE and FF on windows2k. It is quite slow to render and when you click the thumb in th einfo window it is slow to go to the album/photo.
Dave
Posts: 6
Correction there is a JavaScript error when doubling clicking the marker ....
Posts: 6
Okay, the plot thickens..it works in the Matrix theme but not the PG theme...as anyone solved this one?
Posts: 27300
Same with dotnature:
http://www.schwartzplace.com/gallery2/main.php?g2_view=map.ShowMap
I thought that was solved
http://gallery.menalto.com/node/32642?from=1050#comment-154366
and the few replies after that post..
perhaps file a bug on the Wiki so we can track it.
Dave
Posts: 364
Minor item . . .
In blocks/map.tpl there needs to be a style tag to make it pretty.
Is now:
<select onchange="{literal}if (this.value).......
Suggest:
<select style="width:100%;" onchange="{literal}if (this.value).......
My select box ran under the map slightly.
Posts: 364
Great. Thank You. Likewise.
Posts: 224
Floridadave I put it in the wiki last week, http://www.weatherbonk.com is a good example you can see how they get weather data, you can basically just click anywhere and get weather data, but it seems they are not using long/lat but getting data from nearest city/town that your click is near. After some clicking around I noticed it will ignore a lot of towns and take the nearest one with actual weather data
Im not sure if weatherbonk is doing that or the weather api's it uses but someone is taking the long/lat and associating it with nearest city with weather.. After some reading it seems like weather.com, weatherunderground and accuweather have the most acuurate and comprehensive data.
check out http://www.weather.com/services/xmloap.html
http://netweather.accuweather.com/adcbin/netweather/netweather_index.asp
woops sry for repetition didnt see above posts
And I ended up dropping PG theme, it looks great but was a bit heavy for my liking.
have a nice holiday termite
Posts: 27300
I have looked at weatherbonk and as you said it looks like they take the closest town. Not the closest town that has data but the closest town that they have a push pin for. This would not work well as you would have to have a list of places with weather data when you add a photo. Not a very good way.
I think thay also have a arrangment ($$$) with weather.com as well to have some extras that perhaps the average (no$$$) does not get.
I have also seen others but I think the best bet is to get some reverce geocode and give that code the lat/long and have it give you a name and then that name can be given to weather.com and then we can format the xml that they spit back
Dave
____________________________________________________
Gallery Frames / Mods || G1 Test Gallery
Posts: 27300
OK I have found a reverse geocode for Canada:
http://geocoder.ca/?api=1
you pass a lat/long and it gives you xml with postcode that can be passed to a weather provider.
Now to find one for about ~200 more countries
Dave
____________________________________________________
Gallery Frames / Mods || G1 Test Gallery
Posts: 224
Ya this might not be as easy as originally thought, maybe for just us/canada but a lot services I found charge quite a bit of money some well over 1k$, the best one I found does 24 countries for 50$ a month.
I also came across this which is interesting, guy made his on sql geocode server (5gigs data I think)for US so he dint have to rely on a free service http://www.johnsample.com/articles/GeocodeWithSqlServer.aspx
Posts: 27300
I just saw that one as well. It looks promising.
Now that hard part.......
____________________________________________________
Gallery Frames / Mods || G1 Test Gallery
Posts: 5
Hi to everyone developing this module, I've been using the module since it was a theme, and am amazed at the pace of development, good work guys.
I seem to be having a few problems with my installation, and I can't quite figure out whats going on. I think its somthing to do with the URLs that the module creates; the gallery installation is in the /images/ directory in my webspace, if anyone could take a look and help me out, I'd really appreciate it.
http://www.heydecke.co.uk/images/main.php?g2_view=map.ShowMap
cheers
oh... I'm using version 0.4.7
Posts: 388
The last person who had this same issue was due to Routes previously added.
Did you upgrade the map-module from an earlier build and did you previously have routes? If so, delete all your routes and recreate them.
Posts: 25
Probably not the right place to ask but if someone could answer or poitn me in the right direction. I wanted to have a drop down list of countries and when you click on the country it would zoom into that part of the map. Because the global map just has too many points on it that I have added markers and its a bit overwhelming, if anyone has an idea how I would appreciate it Thanks.
http://mentges.net/wp-gallery2.php?g2_view=map.ShowMap
Posts: 364
Create filters.
'Site Admin'/'Google Map'/'Legend/Filter management'
Make a filter for each area with coordinates in the center
of each area of interest.
Posts: 5
Swordfish.... thanks so much, as you said, I deleted the routes and the map shows again.
Keep up the good work
Posts: 25
Thanks I have created the filters how do i access them. I couldnt find anything in the documentation. Thanks for the help
Posts: 364
I would guess, in your case, you are not seeing the drop down
list, maybe, because of the theme you are using? I use matrix
and have no experience with anything else. See the pic (attached).
Posts: 25
Thanks, and i think i figured it out
http://mentges.net/gallery2/main.php?g2_view=map.ShowMap&g2_filter=UnitedStates
Posts: 112
is it possible to apply the map to one particular sub-album then have the sub-albums under that on the map? if it is i cant seem to figure it out, but it looks like it might not be possible
Posts: 112
another quick question...is it possible to put the icon legend below the map instead of right or left? im having problem with the map overlapping the legend box after if fully loads(im not useing a sidebar)...any ideas
Posts: 27300
You can try the map theme as it is album based. or Don't add coordinates to the other albums.
If you want this in permissions then add this request to the wiki.
There is a similar request for sub-albums in the wiki.
Perhaps you can add some more detail the that request.
Posts: 112
any idea where to get the theme? it seems the original download from the gallery2 download page is missing.
Posts: 112
never mind i found it...maby someone should fix think here http://codex.gallery2.org/index.php/Gallery2:UserContributions
Posts: 27300
Try:
http://codex.gallery2.org/index.php/Gallery2:Themes:Map
I fixed the link as well
Dave
____________________________________________________
Gallery Frames / Mods || G1 Test Gallery
Posts: 27300
Opinions for a new feature:
See: http://gallery2.ca/map_bounds.php
when using the filters, prevent the users from zooming in/out or panning beyond the scope of the filter.
I would put some extra fields (max/min zoom & max/min latitude longitude) in the filter management admin page.
Good / bad? Opinions?
Dave
_____________________________
Gallery Frames / Mods || G1 Test Gallery
Posts: 364
Harkens back to one of my previous posts: Here...
Posts: 27300
That was on page 18 I have had a few speeps since then!
So i guess you are +1 for my idea or would you like it to be global and not just on the filters?
Posts: 25
MERRY CHRISTMAS and thx for all help.
//lond
Posts: 1894
Hello, if you are using the map module versio 0.4.7, there is filters created that should show only a specific album or sub-album.
In Admin-Panel Filter/Legend, you have a checkbox for "Show Album Filters". After that in the filter box (by the map) you should see all of your album with GPS item in them.
Selecting one would go to "main.php?g2_view=map.ShowMap&g2_album=baneofthealbum" and show only the item in the album selected as well as the sub-albums
I have found that weird behaviour lately with this feature so if it doesn't work right..... I'm trying to fix some of the bug I've created
Posts: 1894
I'm adding this for the next release (put the blocks on top of on the bottom)
See you
Posts: 1894
I remember that dotnature was having similar issues and we ended up giving up as he didn't want to use that theme anymore
The thing is there is a lot of javascript with the PG theme and it seems to interfere a little with the map operation. I haven't got the theme to work on this Machine so when I get to use my other machine I will look at trying to fix this as well
Posts: 1894
I've found a couple bugs:
- When an album was selected in the filter list it was doing the AutoCenter but not the Autozoom if you had % in the map size ...
- The Album list was messed up in some cases (it should automaticaly populate it using the items, but it was only using 1 list ...)
- When a routes was edited but not saved, it would be then be there twice.
Also corrected:
- Galmoid's finding about the size of the <select> element in the Filter Block
- Single item javascript error
So I corrected those as well as the bug found by galmoid and I prepared the way for the groups (there is nothing done in the frontend, but the back end is pretty much ready)
I would like more infos on this:
I can't reproduce it
Here ya go
-------------------------
The Termite
Posts: 1894
Tracklog Adventure
I have added a paramters in my tracklog tracing tool that reduces the amount of decimal numbers. When tracing the mother I can reduce by 3 decimal which gives me:
Number of Polylines: 268 - Number of Points: 46221
.=> this traces without issues and work great
The next one up (reducing by 2 decimal only) gives this:
Number of Polylines: 411 - Number of Points: 115252
And display the "error message" this script is taking a while do you want to stop it ? When you say no, it continues on and trace the all thing correctly. It's the same behaviour if you choose to reduce by 1 decimal or none
There is a HUGE gap between reducing 2 decimals and 3 decimals so I need to figure out something else
--- keep you all posted
-------------------------
The Termite
Posts: 27300
In regards to this post:
http://gallery.menalto.com/node/32642?from=1450#comment-158041
I suggest that we change the images to .gif from .png.
There is no transparency and the .png fix for IE needs to have height and width tags.
I think it is just easy to change to .gif images.
Dave
____________________________________________________
Gallery Frames / Mods || G1 Test Gallery
Posts: 1894
Tracklog ... more & more ....
I have found the limit for IE to display a tracklog (somewhat)
it's between
Number of Polylines: 170 - Number of Points: 60388
andNumber of Polylines: 182 - Number of Points: 66297
This means I will code the limit to be 50k (to have some breathing room)
So I now need to find some algorithm to reduce the tracklogs and this should be an all set feature for the next release
If anyone have some idea it would help greatly . I'll be looking around on the net in case I find something.
-------------------------
The Termite
Posts: 1894
I dunno what post is that but we sure can transform the image to .gif
Posts: 27300
OOOOps:
http://gallery.menalto.com/node/32642?from=1450#comment-158041
Posts: 364
I ran across this awhile back. The code used (see bottom of page) is
written in 'ruby'; but, maybe you can get some ideas.
Posts: 364
Both, if possible and not too much effort; otherwise, just on
the filters.
If at all possible, it would be nice if the dreaded over-zoomed
warning/error is -never- able to show it's ugly little text.
Posts: 364
0.4.7b
Does anybody, other than myself, find that Route filtering only seems to
work when selecting the last listed route filter? I have created four
identical route filters and always get a "hacking" error when selecting
any but the last. At first, these routes -were- all different. The error is
what led me to making them all identical. The names, of course, are
different.
Posts: 364
0.4.7b
More about route filters . . .
It appears that route filters that contain an apostrophe in
the name are stored in the database with the apostrophe
escaped by a backslash. I do not know if this is necessary; but,
I see other items in the database (not related to map) that have
apostrophes are not stored this way. If it is actually necessary
to store the route names this way, I think the backslash needs to
be stripped from the name prior to displaying the name. This
would need to be done in both the drop-down list of filters and
on the page above the map when the filter is being used.
The above may be true for other "special?" characters . . . I have
not checked any.
Posts: 1894
Yes I have the same I never had triedn that before . I also have the issue with the backlash for Routes, filter, legend etc ...
I'm not sure when the characters get escaped but there shoud no need for it.
I'll be looking at that. I think I know why it's happening