Quellcode durchsuchen

Clarify ID requirement for removing hot spots (fixes #1229).

pull/1238/head
Matthew Petroff vor 3 Monaten
Ursprung
Commit
bbf97c88dc
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. +3
    -1
      src/js/pannellum.js

+ 3
- 1
src/js/pannellum.js Datei anzeigen

@@ -3221,7 +3221,9 @@ this.addHotSpot = function(hs, sceneId) {
};

/**
* Remove a hot spot.
* Remove a hot spot. To use this method, the user must create each hot spot
* with a unique ID within a given scene. Behavior for duplicate IDs is
* considered undefined, and hot spots created without an ID cannot be removed.
* @memberof Viewer
* @instance
* @param {string} hotSpotId - The ID of the hot spot


Laden…
Abbrechen
Speichern