FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
Google maps with AWP
Google maps with AWP
Iniciado por Giselle, 19,may. 2016 16:51 - No hay respuesta
Conéctese…
Giselle
#1
Publicado el 19,mayo 2016 - 16:51
I had initially developed a site of the type Dynamic webdev. After realizing that for internet sites I need to use dynamic AWP or Dynamic PHP I changed the type to DYNAMIC AWP.
I use the following code
gGlParameters is
gglMapParameter
gr
Latitude
,
gr
Longitude
are
reals
gLocalization is
gglCoordinate
M1 is
gglMarker
// Retrieve the Longitude and Latitude of a physical address
gLocalization
=
GglAddressToCoordinates
(
s
Address
)
gr
Latitude
=
gLocalization
..
Latitude
gr
Longitude
=
gLocalization
..
Longitude
// Create the marker for this address
M1
..
Latitude
=
gr
Latitude
M1
..
Longitude
=
gr
Longitude
M1
..
Color
=
0x0000FF
M1
..
Size
=
gglSmall
Add
(
gGlParameters
..
Marker
,
M1
)
// Display the address in an Image control
IMG_
MAP
=
GglGetStaticMap
(
gr
Latitude
,
gr
Longitude
,
n
MyZoom
,
IMG_
MAP
..
Width
,
IMG_
MAP
..
Height
,
gglRoadmap
,
gGlParameters
)
The parameters for the GglGetStaticMap in debug mode shows the correct latitude, longtitude. When I save the image from the image control IMG_MAP, I even receive a good image. It just does not dynamically display. Is there something that I am missing?
How can I load the image received from the GglGetStaticMap function onto the image control?
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto