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