Richie

Results 22 comments of Richie

For this task, it think we'll need to know when the image has been placed on the map First we need a way to know if the map has been...

``` function isMapPlaced: // code to check if the map is placed get spinning icon element from DOM set spining icon element display to hidden add an event listener to...

There might be better implementation for this tho, suggestions are welcomed

perfect, we can add the click listener here, we also need to find a way to check if the image has been placed

I think knowing when the image has been placed would be the main issue, we can handle the rest with a simple logic

One question, how are the Images placed on the map, i mean what is the process it goes through. Do we just get the image, then position then add a...

Good idea, correct me if i'm wrong, so currently the plan is to - Add an click event listener for the `place on map` buttons - Add an onload event...

I was thinking about the event listener to check if the image has been added, i saw something about Mutation event, we can use this to check if a node...

> The code for the click event is already there. the highlighted areas could be a simple fix: > > document.addEventListener("click", (event) => { if (event.target.classList.contains('place-button')) { `// render spinner`...

Alright @jywarren