Fixed overlay example to work with restructured GeoLayers.
This commit is contained in:
@@ -202,7 +202,6 @@
|
||||
new PIXI.Sprite(textures.get(osmworld)),
|
||||
worlOSMData,
|
||||
{
|
||||
cover: false,
|
||||
onLoaded: () => {
|
||||
worldOSMMap.setFrame(frame)
|
||||
}
|
||||
@@ -237,7 +236,7 @@
|
||||
// When placed on the mapLayer, the PIXI Graphic elements, that
|
||||
// reside inside GeoGraphic Objects are placed automatically at the
|
||||
// correct coordinates of the map.
|
||||
pointApp.mapLayer.place(exampleOverlayGeoLayer)
|
||||
pointApp.mapLayer.addLayer(exampleOverlayGeoLayer)
|
||||
|
||||
|
||||
// Just a helper function that clears the popups and removes
|
||||
|
||||
Reference in New Issue
Block a user