Improved doctests.
This commit is contained in:
@@ -508,6 +508,12 @@ export default class Overlay {
|
||||
maxWidth: 350
|
||||
})
|
||||
|
||||
|
||||
if (geographics.map) {
|
||||
const scale = 1 / geographics.map.scatter.scale
|
||||
popup.scale.set(scale, scale)
|
||||
}
|
||||
|
||||
popup.position.set(
|
||||
geographics.graphics.position.x - popup.width / 2,
|
||||
geographics.graphics.position.y - popup.height - 20
|
||||
|
||||
Reference in New Issue
Block a user