Add New button on Map bar

GladRacer4 years ago

I recently started using your code, and I wanted to add a new button, in the area of the map bar. But when inspecting in the browser, I have not been able to find the html file, where the structure of the buttons are.

Anton Tananaev4 years ago

It's all in JavaScript code. UI is generated dynamically.

GladRacer4 years ago

ohh yes, I realized later, thank you very much for answering, it is the first time that I use only javascrit. I may ask you again another time. Hahaha thanks

GladRacer4 years ago

hello again, I managed to add the button in the area of the map bar. But I can't find and put the same function of adding, so that I get the fields and be able to modify them and put other fields. In what part of the code do you have the fields?. In the models or you have some other one out there.

Cristian2 years ago

GladRacer How did you add the button on the map? I'm trying the same thing and I haven't succeeded