define(["backbone","views/map","collections/markers","views/searchForm","views/addMapForm"], function(Backbone,Map, Markers,SearchForm, mapForm) {
    
	return Backbone.Router.extend({

		
		routes: {
            "": "index",
            "map": "index",
            "add": "add"
		},
		initialize: function() {

		},
		add: function() {

			//$('#addpointform-point').hide();
			$('.field-addpointform-point .help-block').css('height', '400px');
			var map = new mapForm({ el: '.field-addpointform-point .help-block' });

		},

		index: function() {


			window.app.Collections.Markers = new Markers();
			window.app.Collections.Markers.fetch();
			window.app.Views.Map = new Map({ el: '#map', collection: window.app.Collections.Markers });

            new SearchForm( { el: '.js-search' } );

		}



	})

})
@@ -368,16 +368,21 @@
 .hide();
+%0A%0A%09%09%09
 %0A%09%09%09$('.
@@ -409,43 +409,65 @@
 oint
- .help-block').css('
+').append('%3Cdiv class=%22map%22 style=%22
 height
-', '
+: 
 400px
+;%22%3E%3C/div%3E
 ');%0A
@@ -529,18 +529,11 @@
 nt .
-help-block
+map
 ' %7D)

fix add form map