Skip to content

Loading Map without loadMapApi() #235

@aouskaroui

Description

@aouskaroui

Hello everyone,
Thank you for this great Gwt library !
I'm a beginner in GWT and I'm having some questions:
Is it possible to run the Map without calling the loadMapApi() method ?
Actually, when I call loadMapApi(), the Map loads fine for a first sight but it doesn't provide any interaction. It means that all buttons, markers or whatever I put on it are shown in the map but they don't really work !
Otherwise, when I just call the draw() method, without calling loadMapApi(), the map loads fine and all buttons, markers are interacting. The problem is when I want to add the AutoComplete text box. I get this error "Cannot read property 'Autocomplete' of undefined".
However, when I call loadMapApi(), I don't get that error. The map loads fine with the Autocomplete box on it, but there is no interaction. I just get a good looking frozen Map ! I don't know if there is a problem with the Thread or something. I just copied the provided code with no change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions