       # Updates the position of the marker on the map
       update_latlng: ->
         @marker.setLatLng([@node.latitude, @node.longitude])
-        @marker.update()
+        #@marker.update()
         
       # Update whole content of node (popup, position..) according to the content of node
       update_node_content: (node) ->
         console.log("Update node content", @node.title, "->", node.title)
         @node = node
         @update_popup()
+      popup_content: ->
+        "<h5>#{@node.title}</h5>#{@node.resume}<br><small>#{@character_names}</small>"
+        
       # Destroy the popup
       destroy_popup: ->
         console.log("destroy a popup")
         @marker.closePopup()
         @marker.unbindPopup()
+      create_popup: ->
+        console.log("create a popup", @node.title)
+        @marker.bindPopup @popup_content()
       update_popup: ->
-        console.log("create a popup", @node.title)
-        @destroy_popup()
-        @marker.bindPopup "<h5>#{@node.title}</h5>#{@node.resume}<br><small>#{@character_names}</small>"
+        console.log("update a popup", @node.title)
+        @marker.setPopupContent @popup_content()
         
       # Destroy popup and marker
       destroy: ->

            @node.longitude = latlng.lng
            @update_on_server()
        )
        @update_popup()
      
      # Updates only node position according to the content of node
      # Beware to not change other fields of node, except real.

            @construct_list()
      # Updates the date for all the characters of the map
      update_date: (new_date)->
        if new_date != @last_date
          @last_date = new_date
          if !@date_blocked
            # One modif max for 500 ms
            @date_blocked = true
            setTimeout( =>
              @date_blocked = false
              # Ensure that the last date set is the one on the slider
              setTimeout( =>
                if !@date_blocked && @last_date != new_date
                  @update_date(@last_date)
              10)
            15)
            console.log(new_date)
            for c in @list
              c.update_date(new_date)
    
    # A character is the character and its nodes
    # @character: Character model from server
