open and bring focus to geocode search box

I just started using mapbox. I’d like to know if I can open (via javascript) the search box field there. Additionally, can I set focus to it?

enter image description here

radpin Asked on August 16, 2015 in No Category.

This question was posted in Stack Exchange

Show some code please

on August 16, 2015.
Add Comment
  • 1 Answer(s)

    Add autofocus to the input element

    Answered on August 16, 2015.
    Add Comment

    Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.