FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 25
→
Wx - Exemplo Google Maps
Wx - Exemplo Google Maps
Débuté par adrianoboller, 31 aoû. 2015 23:27 - Aucune réponse
Connectez-vous…
adrianoboller
#1
Membre enregistré
3 657 messages
Popularité : +175 (223 votes)
Posté le 31 août 2015 - 23:27
//Google Maps
GoogleId is
string
=
"Google Maps"
PontoMapa is
gglMapParameter
CoordMapa is
gglCoordinate
PontoMapa
..
Path
..
Color
=
LightYellow
PontoMapa
..
Path
..
Thickness
=
6
PontoMapa
..
Path
..
Opacity
=
100
// monta o vetor de pontos Google Maps
FOR EACH ROW i OF TblRota
CoordMapa
..
Latitude
=
ColLatitude
CoordMapa
..
Longitude
=
ColLongitude
ArrayAdd
(
PontoMapa
..
Path
..
Point
,
CoordMapa
)
END
PontoMapa.Format
=
gglPNG32
// mostra o mapa com a rota na tela
ImgMapa
=
GglGetStaticMap
(
GoogleId
,
40.6423
, -
73.7959
,
12
,
600
,
600
,
gglHybrid
,
PontoMapa
)
Signaler
0
0
→ Revenir à WINDEV 25
WINDEV 25
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