Changeset 38766
- Timestamp:
- 2024-02-22T14:53:37+13:00 (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/js/map-scripts.js
r36027 r38766 495 495 496 496 /* Given a doc, removes all its shapes doc.shapes from the map _map */ 497 function removeMarkersFromMap(doc) { 497 function removeMarkersFromMap(doc) { 498 if (doc.shapes) { 498 499 for(var i = 0; i < doc.shapes.length; i++) { 499 500 var shape = doc.shapes[i]; 500 501 shape.setMap(null); 501 502 } 503 } 502 504 } 503 505
Note:
See TracChangeset
for help on using the changeset viewer.