GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
Map Marker
Map Marker
Iniciado por Mister RUAN, abr., 18 2017 3:10 PM - 1 resposta
Conecte-se…
Mister RUAN
#1
Membro registado
208 mensagems
Popularité : +1 (1 vote)
Publicado em abril, 18 2017 - 3:10 PM
Good Day
Is there a way to add a marker on the map without the Lat & Long info. I want it to add a marker from only the address and by doing that return the LAT & LONG. Tried using MapAddMarker but needs LAT & LONG.
Thanks
Ruan
Denunciar
0
0
Mister RUAN
#2
Membro registado
208 mensagems
Popularité : +1 (1 vote)
Publicado em abril, 19 2017 - 10:42 AM
I managed to get this right doing this.
MyZoom
is int
=
12
Latitude
,
Longitude
are reals
Localization
is gglCoordinate
MyPosition
is geoPosition
Localization
=
GglAddressToCoordinates
(
"12 William Nicol Drive, Sandton"
)
Latitude
=
Localization
..
Latitude
Longitude
=
Localization
..
Longitude
MyPosition
..
Latitude
=
Latitude
MyPosition
..
Longitude
=
Longitude
MyMarker
is Marker
MyMarker
..
Position
=
MyPosition
MapAddMarker
(
MAP_
NoName3
,
MyMarker
)
MapDisplayPosition
(
MAP_
NoName3
,
MyPosition
)
MAP_
NoName3
..
Zoom
=
MyZoom
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto