You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I wanted to use the turorial snippet osmb.on('pointerup', e => { if (e.target) { osmb.highlight(e.target.id, '#f08000'); } else { osmb.highlight(null); } });
but it doesnt work i doesnt get the target when i click on a building
Below is the code snippet
`
var osmb = new OSMBuildings({
container: "map",
position: { latitude: 49.194713, longitude: 8.113354 },
zoom: 16,
minZoom: 15,
maxZoom: 20,
tilt: 80,
effects: ['shadows'],
});
Hi,
I wanted to use the turorial snippet
osmb.on('pointerup', e => { if (e.target) { osmb.highlight(e.target.id, '#f08000'); } else { osmb.highlight(null); } });
but it doesnt work i doesnt get the target when i click on a building
Below is the code snippet
`
var osmb = new OSMBuildings({
container: "map",
position: { latitude: 49.194713, longitude: 8.113354 },
zoom: 16,
minZoom: 15,
maxZoom: 20,
tilt: 80,
effects: ['shadows'],
});
The text was updated successfully, but these errors were encountered: