I added one more draw button in draw widget for add text graphic on map.
My requirement is user will click on Add Text Draw tool and then click on Map, When user click on Map open the dialog.
I have added HTML template "TextGraphics.html" in Draw widgets templates folder
UI of the TextGraphics.html is below.
User will enter text and chose color(Red, Black) from drop down and when click on save button get values of textbox and drop down selected value and add text on Map.
I want to display "TextGraphics.html" templates when user click on Map. How do I call this template HTMLpage and get user input values of textbox and dropdown selected value when You click on Save button.
Hi,
I added one more draw button in draw widget for add text graphic on map. My requirement is user will click on Add Text Draw tool and then click on Map, When user click on Map open the dialog.
I have added HTML template "TextGraphics.html" in Draw widgets templates folder UI of the TextGraphics.html is below.
User will enter text and chose color(Red, Black) from drop down and when click on save button get values of textbox and drop down selected value and add text on Map.
I want to display "TextGraphics.html" templates when user click on Map. How do I call this template HTMLpage and get user input values of textbox and dropdown selected value when You click on Save button.
HTML Templates code is below:
Code for Add Text graphics Draw tool button is:
Thanks,