Index: trunk/src/inc/KMLFile.class.php
===================================================================
--- trunk/src/inc/KMLFile.class.php	(revision 7700)
+++ trunk/src/inc/KMLFile.class.php	(revision 7702)
@@ -5,8 +5,4 @@
  * Purpose: Creating of editing KML files
  */
-
-define('PLACEMARK_GREEN', 'http://www.google.com/intl/en_us/mapfiles/ms/micons/green-dot.png');
-define('PLACEMARK_ORANGE', 'http://www.google.com/intl/en_us/mapfiles/ms/micons/orange-dot.png');
-define('PLACEMARK_RED', 'http://www.google.com/intl/en_us/mapfiles/ms/micons/red-dot.png');
 
 class KMLFile {
@@ -82,7 +78,7 @@
 		}
 
-		$toString = str_replace('%PLACEMARK_GREEN%', PLACEMARK_GREEN, $toString);
-		$toString = str_replace('%PLACEMARK_ORANGE%', PLACEMARK_ORANGE, $toString);
-		$toString = str_replace('%PLACEMARK_RED%', PLACEMARK_RED, $toString);
+		$toString = str_replace('%PLACEMARK_GREEN%', $config['placemark_green'], $toString);
+		$toString = str_replace('%PLACEMARK_ORANGE%', $config['placemark_orange'], $toString);
+		$toString = str_replace('%PLACEMARK_RED%', $config['placemark_red'], $toString);
 		$toString = str_replace('%CONTENT%', $placemarkString, $toString);
 
