Skip to content
Snippets Groups Projects
Commit 68eda0e4 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

JSdoc types redefined to match properly functionality

parent f708d112
No related branches found
No related tags found
1 merge request!295Resolve "alternative to google maps api way of visualizing maps"
...@@ -183,6 +183,9 @@ MarkerSurfaceCollection.prototype.createSurfaceForDbOverlay = function (element, ...@@ -183,6 +183,9 @@ MarkerSurfaceCollection.prototype.createSurfaceForDbOverlay = function (element,
} }
var map = self.getMap(); var map = self.getMap();
/**
* @type {function[]}
*/
var onclickFunctions = [function () { var onclickFunctions = [function () {
return self.getMap().getTopMap().openInfoWindowForIdentifiedElement(element); return self.getMap().getTopMap().openInfoWindowForIdentifiedElement(element);
}, function () { }, function () {
......
...@@ -126,7 +126,7 @@ AliasSurface.create = function (params) { ...@@ -126,7 +126,7 @@ AliasSurface.create = function (params) {
/** /**
* *
* @param {Alias} params.element * @param {IdentifiedElement} params.element
* @param {AbstractCustomMap} params.map * @param {AbstractCustomMap} params.map
* @param {function|function[]} params.onClick * @param {function|function[]} params.onClick
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment