             
                 key = data.lat + "," + data.lng
                 if self._locations[key]?
+                    self._locations[key].needToCreatePin = true
                     self._locations[key].onlyOneBusiness = false
                     self._locations[key].businesses[data.id] =
                         id: data.id

        $("#contactlessEnabled").prop("checked", false)
        $("#gasPumpWorking").prop("disabled", false)
        $("#gasPumpWorking").prop("checked", false)
        $("#addBusinessLink").css("display", "inline")
        $("#addNewBusinessLink").css("display", "none")
        $("#getDirectionsLink").css("display", "none")

                        pin_enabled: data.pin_enabled == "true" or data.pin_enabled == true
                        contactless_enabled: data.contactless_enabled == "true" or data.contactless_enabled == true
                        gas_pump_working: data.gas_pump_working == "true" or data.gas_pump_working == true
                        pay_at_table: data.pay_at_table == "true" or data.pay_at_table == true
                        confirmed_location: true
                else
                    view = 
                        edit_disabled: true
