don't get crazy with that map, it use an old gmaps API, I'm going to rewrite it
to use a new api soon...I will try to load your icons then.

davemds

2010/9/9 Enlightenment SVN <[email protected]>:
> Log:
>  argh. why doesn;'t it work (yes - if ound a booboo). disable for now.
>
>
> Author:       raster
> Date:         2010-09-08 17:05:42 -0700 (Wed, 08 Sep 2010)
> New Revision: 52007
>
> Modified:
>  trunk/web/www/p/contact/devsmap/en-body
>
> Modified: trunk/web/www/p/contact/devsmap/en-body
> ===================================================================
> --- trunk/web/www/p/contact/devsmap/en-body     2010-09-08 23:59:07 UTC (rev 
> 52006)
> +++ trunk/web/www/p/contact/devsmap/en-body     2010-09-09 00:05:42 UTC (rev 
> 52007)
> @@ -108,12 +108,13 @@
>            {
>                 if( file_exists("$cvs_dir/$file/icon-map.png") )
>                 {
> -                   echo "icon_dev_$file.image = 
> \"http://download.enlightenment.org/devs/$file/icon-map.png\";\n";;
> -                   echo "icon_dev_$file.shadow = 
> \"http://labs.google.com/ridefinder/images/mm_20_shadow.png\";\n";;
> -                   echo "icon_dev_$file.iconSize = new GSize(22, 29);\n";
> -                   echo "icon_dev_$file.shadowSize = new GSize(22, 20);\n";
> -                   echo "icon_dev_$file.iconAnchor = new GPoint(11, 29);\n";
> -                   echo "icon_dev_$file.infoWindowAnchor = newGPoint(11, 
> 1);\n";
> +#                    echo "var icon_dev_$file = new GIcon();\n";
> +#                    echo "icon_dev_$file.image = 
> \"http://download.enlightenment.org/devs/$file/icon-map.png\";\n";;
> +#                    echo "icon_dev_$file.shadow = 
> \"http://labs.google.com/ridefinder/images/mm_20_shadow.png\";\n";;
> +#                    echo "icon_dev_$file.iconSize = new GSize(22, 29);\n";
> +#                    echo "icon_dev_$file.shadowSize = new GSize(22, 20);\n";
> +#                    echo "icon_dev_$file.iconAnchor = new GPoint(11, 
> 29);\n";
> +#                    echo "icon_dev_$file.infoWindowAnchor = newGPoint(11, 
> 1);\n";
>                 }
>             }
>         }
> @@ -158,7 +159,8 @@
>                  $lon = floatval($Coords[1]);
>                   if( file_exists("$cvs_dir/$file/icon-map.png") )
>                   {
> -                     echo 
> "addDeveloperMarker($lat,$lon,'icon_dev_$file','$IRC','$Name','$Location','$EMail','$WWW','$Managing','$Contributing','$Group','$Platform');\n";
> +#                     echo 
> "addDeveloperMarker($lat,$lon,'icon_dev_$file','$IRC','$Name','$Location','$EMail','$WWW','$Managing','$Contributing','$Group','$Platform');\n";
> +                    echo 
> "addDeveloperMarker($lat,$lon,'icon_green','$IRC','$Name','$Location','$EMail','$WWW','$Managing','$Contributing','$Group','$Platform');\n";
>                   }else
>                   {
>                     echo 
> "addDeveloperMarker($lat,$lon,'icon_green','$IRC','$Name','$Location','$EMail','$WWW','$Managing','$Contributing','$Group','$Platform');\n";
> @@ -216,8 +218,8 @@
>
>       var point = new GLatLng(lat, lon)
>       if (icon == "icon_red") var marker = new GMarker(point, {icon: 
> icon_red});
> -      elseif (icon == "icon_green") var marker = new GMarker(point, {icon: 
> icon_green});
> -      else var marker = new GMarker(point, {icon: eval("icon")});
> +      else if (icon == "icon_green") var marker = new GMarker(point, {icon: 
> icon_green});
> +      else var marker = new GMarker(point, {icon: eval(icon)});
>       marker.tooltip = '<div class="tooltip"><nobr>'+nickname+'</nobr></div>';
>       GEvent.addListener(marker, "click", function() {
>             marker.openInfoWindowHtml(html);
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> enlightenment-svn mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to