Permalink
Browse files

Making XML valid, making map backgrounds transparent by default

  • Loading branch information...
Tom MacWright
Tom MacWright committed Jun 10, 2010
1 parent f0b482b commit 560290dd20f10877a184cebf1bc3ea6c0b4d131d
Showing with 2 additions and 2 deletions.
  1. +1 −1 views/stylewriter-document.tpl.php
  2. +1 −1 views/stylewriter-rule.tpl.php
@@ -7,7 +7,7 @@
?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
-<Map bgcolor="#000FFF" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null">
+<Map bgcolor="transparent" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null">
<Style name="WorldBorders">
<?php echo $rules; ?>
</Style>
@@ -10,7 +10,7 @@
*/
?>
<Rule>
- <Filter>[<?php echo $join_field_name; ?>] &eq; "<?php echo $join_field_value; ?>"</Filter>
+ <Filter>[<?php echo $join_field_name; ?>] = '<?php echo $join_field_value; ?>'</Filter>
<PolygonSymbolizer>
<CssParameter name="fill"><?php echo $color; ?></CssParameter>
</PolygonSymbolizer>

0 comments on commit 560290d

Please sign in to comment.