Seperate internal and API methods for the map

This commit is contained in:
Tobias Kohr committed 2019-09-24 17:58:56 +02:00
1 parent 66746a61bb
commit d4c1589a01
16 files changed
+86 -53

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ class RenderBox extends Disposable {
endPixel,
[endPixel[0], startPixel[1]]
];
const coordinates = pixels.map(this.map_.getCoordinateFromPixel, this.map_);
const coordinates = pixels.map(this.map_.getCoordinateFromPixelInternal, this.map_);
// close the polygon
coordinates[4] = coordinates[0].slice();
if (!this.geometry_) {