FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
Map Marker
Map Marker
Débuté par Mister RUAN, 18 avr. 2017 15:10 - 1 réponse
Connectez-vous…
Mister RUAN
#1
Membre enregistré
208 messages
Popularité : +1 (1 vote)
Posté le 18 avril 2017 - 15:10
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
Signaler
0
0
Mister RUAN
#2
Membre enregistré
208 messages
Popularité : +1 (1 vote)
Posté le 19 avril 2017 - 10:42
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
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte