<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/gmap-module/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/gmap-module/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 16 Jun 2012 18:07:47 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gmap-module/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>OpenStreetMap integration</title><link>https://sourceforge.net/p/gmap-module/bugs/31/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I prefer to use OpenStreetMaps for their better mapping in some areas.  To make this work I changed:&lt;br /&gt;
function load_map_{$block.map.MiniMap.blockNum}() {ldelim}&lt;br /&gt;
if (GBrowserIsCompatible()) {ldelim}&lt;br /&gt;
var copyOSM = new GCopyrightCollection("&amp;lt;a href=\"http://www.openstreetmap.org/\"&amp;gt;OpenStreetMap&amp;lt;/a&amp;gt;");&lt;br /&gt;
copyOSM.addCopyright(new GCopyright(1, new GLatLngBounds(new GLatLng(-90,-180), new GLatLng(90,180)), 0, " "));&lt;/p&gt;
&lt;p&gt;var tilesMapnik     = new GTileLayer(copyOSM, 1, 17, {ldelim}tileUrlTemplate: 'http://tile.openstreetmap.org/{ldelim}Z{rdelim}/{ldelim}X{\
rdelim}/{ldelim}Y{rdelim}.png'{rdelim});&lt;br /&gt;
var tilesOsmarender = new GTileLayer(copyOSM, 1, 17, {ldelim}tileUrlTemplate: 'http://tah.openstreetmap.org/Tiles/tile/{ldelim}Z{rdelim}/\
{ldelim}X{rdelim}/{ldelim}Y{rdelim}.png'{rdelim});&lt;/p&gt;
&lt;p&gt;var mapMapnik     = new GMapType([tilesMapnik],     G_NORMAL_MAP.getProjection(), "Mapnik");&lt;br /&gt;
var mapOsmarender = new GMapType([tilesOsmarender], G_NORMAL_MAP.getProjection(), "Osmarend");&lt;/p&gt;
&lt;p&gt;var map = new GMap2(document.getElementById("minimap-{$block.map.MiniMap.blockNum}"), {ldelim} mapTypes: [mapMapnik, mapOsmarender] {rdel\
im});&lt;/p&gt;
&lt;p&gt;{*    var map = new GMap2(document.getElementById("minimap-{$block.map.MiniMap.blockNum}"),&lt;br /&gt;
{ldelim}mapTypes:[{if $mapType eq 1}G_NORMAL_MAP{elseif $mapType eq 2}G_SATELLITE_MAP{else}G_HYBRID_MAP{/if}]{rdelim});*}&lt;br /&gt;
{if !empty($block.map.MiniMap.mapCenter)}{* already have a valid mapCenter *}&lt;br /&gt;
map.setCenter(new GLatLng({$block.map.MiniMap.mapCenter}), {$block.map.MiniMap.mapZoom});&lt;/p&gt;
&lt;p&gt;in MiniMap.tpl&lt;/p&gt;
&lt;p&gt;It would be nice if this could make it into upstream!&lt;/p&gt;
&lt;p&gt;cheers,&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tweek</dc:creator><pubDate>Sat, 16 Jun 2012 18:07:47 -0000</pubDate><guid>https://sourceforge.net1292f5575e649eac4b1d88bcf289d21c4a726e27</guid></item><item><title>Album marker color is not used</title><link>https://sourceforge.net/p/gmap-module/bugs/30/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In the settings I have "Use parent album color for items with no color setting" checked. Still, markers get the global default color and not the albums default color.&lt;/p&gt;
&lt;p&gt;Actions:&lt;br /&gt;
- create ablum&lt;br /&gt;
- set marker color in album (and save)&lt;br /&gt;
- add items&lt;/p&gt;
&lt;p&gt;All items show up with global default marker color (green).&lt;/p&gt;
&lt;p&gt;I looked in the database and there is an entry in g2_mapMap for the album : 15670  Color   BLUE    0   1&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Maarten Deen</dc:creator><pubDate>Sun, 09 Jan 2011 14:57:17 -0000</pubDate><guid>https://sourceforge.net5d18d4c5a58ed981cc3b7bdd4458d450b4ed34a4</guid></item><item><title>Album marker color is not used</title><link>https://sourceforge.net/p/gmap-module/bugs/29/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In the settings I have "Use parent album color for items with no color setting" checked. Still, markers get the global default color and not the albums default color.&lt;/p&gt;
&lt;p&gt;Actions:&lt;br /&gt;
- create ablum&lt;br /&gt;
- set marker color in album (and save)&lt;br /&gt;
- add items&lt;/p&gt;
&lt;p&gt;All items show up with global default marker color (green).&lt;/p&gt;
&lt;p&gt;I looked in the database and there is an entry in g2_mapMap for the album : 15670  Color   BLUE    0   1&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Maarten Deen</dc:creator><pubDate>Sun, 09 Jan 2011 14:06:06 -0000</pubDate><guid>https://sourceforge.net894d3a04a19d8a73acf3334876ea805dc7607ceb</guid></item><item><title>module schema doesn't match gallery2 schema</title><link>https://sourceforge.net/p/gmap-module/bugs/28/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I use PostgreSQL as my database instead of MySQL. I found an issue with your schema. For "g_itemid" you use a varchar(11) but every where else in gallery2 it is an integer. This causes issues with PostgreSQL and your WHERE IN (); clauses. I changed your schema to type integer. I had to remove your SUBSTRING lines in mapHelper.class and then your module works with PostgresSQL.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 10 Nov 2009 05:57:05 -0000</pubDate><guid>https://sourceforge.net888700ab9671dddc73858f5e7e85be8b5fdd3c3f</guid></item><item><title>minimap has no setable zoom</title><link>https://sourceforge.net/p/gmap-module/bugs/27/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If I put a minimap on an album, it always starts zoomed out to show the whole planet. This isn't much good, as usually the points in it aren't that spread apart. It should have the option of starting with a zoom that fits everything in, like the regular map does.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robin</dc:creator><pubDate>Sun, 11 Oct 2009 09:12:56 -0000</pubDate><guid>https://sourceforge.net246f4450d07fb1ce8f74e1947a8ffbab4449eeb7</guid></item><item><title>Error related to field itemId</title><link>https://sourceforge.net/p/gmap-module/bugs/26/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In RequestId 1967188, siliconfiend write that field ItemId has changed from int to varchar. I think this can be related too the error I recive when pressing link "Show a google map".&lt;/p&gt;
&lt;p&gt;System Information&lt;br /&gt;
------------------&lt;br /&gt;
Gallery version 2.3&lt;br /&gt;
PHP version     5.2.6-3 apache2handler&lt;br /&gt;
Webserver   Apache&lt;br /&gt;
Database    postgres7 8.3.5 3 8.3.6&lt;br /&gt;
Toolkits    ImageMagick, Thumbnail, SquareThumb, NetPBM, Gd&lt;br /&gt;
Operating system Linux verden 2.6.26-1-amd64 #1 SMP Sat Jan 10 17:57:00 UTC 2009 x86_64&lt;br /&gt;
Browser     Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 &lt;/p&gt;
&lt;p&gt;Google Map Module Version 0.5.8&lt;/p&gt;
&lt;p&gt;This SQL return an error:&lt;br /&gt;
-------------------------&lt;/p&gt;
&lt;p&gt;SELECT g2_mapMap.g_itemId, g2_mapMap.g_value FROM g2_mapMap, g2_AccessSubscriberMap WHERE g2_mapMap.g_field = 'GPS' AND SUBSTRING(g2_mapMap.g_itemId,1,1) &amp;lt;&amp;gt; 'G' AND g2_AccessSubscriberMap.g_itemId = g2_mapMap.g_itemId AND g2_AccessSubscriberMap.g_accessListId in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)   [ (0=&amp;gt;'8614') (1=&amp;gt;'8880') (2=&amp;gt;'8883') (3=&amp;gt;'8884') (4=&amp;gt;'8885') (5=&amp;gt;'8886') (6=&amp;gt;'8888') (7=&amp;gt;'8889') (8=&amp;gt;'8890') (9=&amp;gt;'8891') (10=&amp;gt;'8892') (11=&amp;gt;'8893') (12=&amp;gt;'8894') (13=&amp;gt;'8895') (14=&amp;gt;'8896') (15=&amp;gt;'8897') (16=&amp;gt;'8898') (17=&amp;gt;'8899') (18=&amp;gt;'8900') (19=&amp;gt;'8901') (20=&amp;gt;'8902') (21=&amp;gt;'8903') (22=&amp;gt;'8904') (23=&amp;gt;'9061') (24=&amp;gt;'9153') (25=&amp;gt;'9222') (26=&amp;gt;'9223') (27=&amp;gt;'9224') (28=&amp;gt;'9225') (29=&amp;gt;'9226') (30=&amp;gt;'9227') (31=&amp;gt;'9228') (32=&amp;gt;'9229') (33=&amp;gt;'9230') (34=&amp;gt;'9231') (35=&amp;gt;'9232') (36=&amp;gt;'9233') (37=&amp;gt;'9234') (38=&amp;gt;'9235') (39=&amp;gt;'9236') (40=&amp;gt;'9237') (41=&amp;gt;'9238') (42=&amp;gt;'9239') (43=&amp;gt;'9240') (44=&amp;gt;'9241') (45=&amp;gt;'9242') (46=&amp;gt;'9244') (47=&amp;gt;'9348') (48=&amp;gt;'9349') (49=&amp;gt;'9350') (50=&amp;gt;'9351') (51=&amp;gt;'9352') (52=&amp;gt;'9353') (53=&amp;gt;'9354') (54=&amp;gt;'9355') (55=&amp;gt;'9356') (56=&amp;gt;'9357') (57=&amp;gt;'9358') (58=&amp;gt;'9359') (59=&amp;gt;'9360') (60=&amp;gt;'9361') (61=&amp;gt;'9362') (62=&amp;gt;'9363') (63=&amp;gt;'9364') (64=&amp;gt;'9365') (65=&amp;gt;'9366') (66=&amp;gt;'9367') (67=&amp;gt;'9368') (68=&amp;gt;'9369') (69=&amp;gt;'9370') (70=&amp;gt;'9371') (71=&amp;gt;'9372') (72=&amp;gt;'9373') (73=&amp;gt;'9374') (74=&amp;gt;'9375') (75=&amp;gt;'9376') (76=&amp;gt;'9377') (77=&amp;gt;'9378') (78=&amp;gt;'9379') (79=&amp;gt;'9380') (80=&amp;gt;'9381') (81=&amp;gt;'9382') (82=&amp;gt;'9383') (83=&amp;gt;'9384') (84=&amp;gt;'9385') (85=&amp;gt;'9386') (86=&amp;gt;'9387') (87=&amp;gt;'9388') (88=&amp;gt;'9389') (89=&amp;gt;'9390') (90=&amp;gt;'9391') (91=&amp;gt;'9392') (92=&amp;gt;'9393') (93=&amp;gt;'9394') (94=&amp;gt;'9395') (95=&amp;gt;'9396') (96=&amp;gt;'9397') (97=&amp;gt;'9398') (98=&amp;gt;'9400') (99=&amp;gt;'9457') (100=&amp;gt;'9502') (101=&amp;gt;'9967')]&lt;/p&gt;
&lt;p&gt;Error:&lt;br /&gt;
------&lt;br /&gt;
Warning: pg_query_params() [function.pg-query-params]: Query failed: ERROR: operator does not exist: integer = character varying LINE 10: g2_AccessSubscriberMap.g_itemId = g2_mapMap.g_itemId ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. in /usr/share/php/adodb/drivers/adodb-postgres7.inc.php on line 162&lt;br /&gt;
-1: ERROR: operator does not exist: integer = character varying LINE 10: g2_AccessSubscriberMap.g_itemId = g2_mapMap.g_itemId ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts&lt;/p&gt;
&lt;p&gt;My analysis:&lt;br /&gt;
------------&lt;/p&gt;
&lt;p&gt;It looks like field g2_AccessSubscriberMap.g_itemId of type int and g2_mapMap.g_itemId is of type varhar. This SQL will be valid if it is changed to &lt;/p&gt;
&lt;p&gt;SELECT g2_mapMap.g_itemId, g2_mapMap.g_value FROM g2_mapMap, g2_AccessSubscriberMap WHERE g2_mapMap.g_field = 'GPS' AND SUBSTRING(g2_mapMap.g_itemId,1,1) &amp;lt;&amp;gt; 'G' AND cast(g2_AccessSubscriberMap.g_itemId as varchar) = g2_mapMap.g_itemId AND g2_AccessSubscriberMap.g_accessListId in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) &lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Keep on with this nice module&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">VidarVevik</dc:creator><pubDate>Sun, 01 Mar 2009 21:34:58 -0000</pubDate><guid>https://sourceforge.net483c806b6897d3d3c6ed796db1a7fec07837cc93</guid></item><item><title>Upgrade fails on Postgres 8.1</title><link>https://sourceforge.net/p/gmap-module/bugs/25/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I had some trouble upgrading from an ancient 0.5.?g version to the most recent version (0.5.8) on my Postgres 8.1 backed site. The upgrade failed on any UPDATE query where the table name was used in the SET or WHERE clauses. Removing the table name fixed the problem (see attached patch). For example, I had to use SET [::value] = ... instead of SET [mapMap::value] = ...&lt;/p&gt;
&lt;p&gt;Thanks for all the work that's gone into this module!&lt;/p&gt;
&lt;p&gt;-Steve (one of the original developers)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">HorsePunchKid</dc:creator><pubDate>Sun, 30 Nov 2008 00:28:18 -0000</pubDate><guid>https://sourceforge.neta4d740201e887ea8ee8f710cbbb76acefd6d54a1</guid></item><item><title>Google Maps Thumbnail bar </title><link>https://sourceforge.net/p/gmap-module/bugs/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;With my thumbnails Bar at the top, the filter menu obscured severalthumbnails. See screenshot athttp://come2see.co.nz/gallery2/v/Workings/ThumbnailBarTop.jpg.html?g2_enterAlbum=0&lt;/p&gt;
&lt;p&gt;To see them I moved the thumbnail bar (in Site admin/googlemap/theme) to the bottom. It says "Height for TOP &amp;amp; BOTTOM position, Width for LEFT &amp;amp; RIGHT position" but there is no way to set it to the left and setting to the right does notwork.(It may be hidden under my map) &lt;/p&gt;
&lt;p&gt;While mentioning this -It would be more helpful if the filter menu was in the line above the map,where it says which filter is open, so it does not obscure the map.&lt;/p&gt;
&lt;p&gt;The map on my website is &lt;br /&gt;
&lt;a href="http://come2see.co.nz/gallery2/main.php?g2_view=map.ShowMap&amp;amp;g2_Group=&amp;amp;g2_album=NZ+including+the+Chatham+Islands" rel="nofollow"&gt;http://come2see.co.nz/gallery2/main.php?g2_view=map.ShowMap&amp;amp;g2_Group=&amp;amp;g2_album=NZ+including+the+Chatham+Islands&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Gaynor &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 14 Sep 2008 01:49:57 -0000</pubDate><guid>https://sourceforge.net41273acc01bde4231bb10be510f96ffda7d5a4ed</guid></item><item><title>module fails against recent postgresql</title><link>https://sourceforge.net/p/gmap-module/bugs/23/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I don't know if this is supported against postgresql, but in recent revisions comparisons between varchar and int requires an explicit cast, which breaks this module. &lt;/p&gt;
&lt;p&gt;What I've seen is "SELECT count(g2_mapMap.g_itemId) FROM g2_mapMap WHERE                                                                                                                                     g2_mapMap.g_itemId IN (25,29,34)" which returns an error from the                                                                                                                                     database : "ERROR: IN types character varying and integer cannot be                                                                                                                                   matched".  This happens when attempting to access the gallery home page.                                                                                                                                                                                         &lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Apparently, this can be fixed by casting the query explicitly, i.e.                                                                                                                                  &lt;br /&gt;
"SELECT count(g2_mapMap.g_itemId) FROM g2_mapMap WHERE                                                                                                                                             g2_mapMap.g_itemId::INT IN (25,29,34)", which worked as a query. Unfortunately I have no idea where in the code this would need patched, and what else needs looking at if postgresql is indeed a viable target.&lt;/p&gt;
&lt;p&gt;I guess altering the schema would also fix this, but I don't know the code and have no idea how this would affect it!&lt;/p&gt;
&lt;p&gt;Anyway, hope this helps,&lt;br /&gt;
Eamonn&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eamonn Hamilton</dc:creator><pubDate>Mon, 19 May 2008 15:55:53 -0000</pubDate><guid>https://sourceforge.net5274ba5a28d81178448e90a0b954ac7b195aab66</guid></item><item><title>Write GPS Information onto the EXIF header for the pictures </title><link>https://sourceforge.net/p/gmap-module/bugs/22/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Maintenance task "Write GPS Information onto the EXIF header for the pictures" is not working.  It will always write zeroes to photo exif.&lt;/p&gt;
&lt;p&gt;Here is an example when I manually enter data for a picture&lt;/p&gt;
&lt;p&gt;Islamora Florida gives location 24.975337,-80.553644&lt;br /&gt;
Then I press "Write GPS to EXIF header"&lt;/p&gt;
&lt;p&gt;If I look photo by jhead it shows correct data&lt;/p&gt;
&lt;p&gt;GPS Latitude : N 24d 58m 31.2132s&lt;br /&gt;
GPS Longitude: W 80d 33m 13.12s&lt;/p&gt;
&lt;p&gt;If I do the same for all pictures from maintenance it will write only zeros to exif.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 14 May 2008 08:41:07 -0000</pubDate><guid>https://sourceforge.net08b411ead84b33f0d08df6d25ffc8eee3238420b</guid></item></channel></rss>