+ if ( nominatim_result.outlinestring ){
+ var outline = omnivore.wkt.parse(nominatim_result.outlinestring);
+ map.addLayer(outline);
+ map.fitBounds(outline.getBounds());
+ } else {
+ map.setView([nominatim_result.lat,nominatim_result.lon],10);
+ }
+
+