Index: /tools/routingservice/branches/wrs-2.0/data/templates/route/route_openlayers.st
===================================================================
--- /tools/routingservice/branches/wrs-2.0/data/templates/route/route_openlayers.st (revision 299)
+++ /tools/routingservice/branches/wrs-2.0/data/templates/route/route_openlayers.st (revision 300)
@@ -26,5 +26,9 @@
 			
             vector.addFeatures([feature]);
-			map.zoomToExtent(feature.geometry.getBounds());
+			
+			if(feature.geometry)
+				map.zoomToExtent(feature.geometry.getBounds());
+			else
+				map.setCenter(new OpenLayers.LonLat(0, 0), 5);
         }
     </script>
@@ -32,9 +36,9 @@
     <style type="text/css">
         body {
-            margin: 5;
+            margin: 5px;
         }
         #map {
-            width: 800px;
-            height: 600px;
+            width: 600px;
+            height: 400px;
 			border: 1px solid #ccc;
         }
