Closed sttawm closed 9 years ago
In GeoJson.js, I'm pretty certain this code will not work on MultiPoints.
MultiPoint
var rescales = { Point: function (o, e, k) { e.setAttribute("transform", "translate(" + o.x + "," + o.y + ")" + k); }, MultiPoint: function (o, e, k) { e.setAttribute("transform", "translate(" + o.x + "," + o.y + ")" + k); } };
It is invoked by:
k = "scale(" + Math.pow(2, tile.zoom - zoom) + ")"; i = -1; n = (features = tile.features).length; while (++i < n) rescale((feature = features[i]).data, feature.element, k); tile.scale = zoom;
Ah, I see. projectPointsForMultiPoint pre-processes multipoints.
projectPointsForMultiPoint
In GeoJson.js, I'm pretty certain this code will not work on
MultiPoint
s.It is invoked by: