Last active
August 4, 2017 22:03
-
-
Save maplinkapi/5214932 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String token = ...//sua chave de acesso aqui | |
// Recupera uma instância | |
InformationWindow informationWindow = InformationWindow.getInstance(map); | |
// Atribui uma mensagem para ser exibida | |
informationWindow.setMessage("Minha mensagem"); | |
// Posiciona num ponto específico | |
informationWindow.setPoint(myPoint); | |
// Exibe o InformationWindow | |
informationWindow.show(); | |
// Centraliza o mapa no mesmo ponto que a caixa de informações | |
map.centerOnPosition(token, myPoint, 16); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment