                     zoom: true
                     draw_marker: true
             else if model.get('object_type') == 'service'
-                @service_tree.show_service(model)
+                @parent.add_service_points model
 
         show_details: (unit, opts) ->
             if not opts


        toggle_element: ($target_element) ->
            service_id = $target_element.parent().data('service-id')
            root_id = $target_element.parent().data('root-id')
            unless @selected(service_id) is true
                service = new models.Service id: service_id
                service.fetch
                    success: =>
                        @app_view.add_service_points(service, $target_element.get(0))
                        #app.commands.execute 'addService', service
            else
                @app_view.unselect_service service_id

                    zoom: true
                    draw_marker: true
            else if data.object_type == 'service'
                @parent.add_service_points new models.Service(data)

        show_search_result: (model) ->
            if model.get('object_type') == 'unit'
