We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ca599d6 + 0f79530 commit cab2f01Copy full SHA for cab2f01
02 - Web UI Template/CognitiveSearch.UI/wwwroot/js/results.js
@@ -60,6 +60,18 @@ function AuthenticateResultsMap(results) {
60
}
61
});
62
63
+ //Wait until the map resources are ready.
64
+ resultsMap.events.add('ready', function () {
65
+
66
+ /* Construct a zoom control*/
67
+ var zoomControl = new atlas.control.ZoomControl();
68
69
+ /* Add the zoom control to the map*/
70
+ resultsMap.controls.add(zoomControl, {
71
+ position: "bottom-right"
72
+ });
73
74
75
AddMapPoints(results);
76
77
return;
0 commit comments