PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Map Error on click
Map Error on click
Iniciado por Ruan, 21,may. 2015 14:27 - 1 respuesta
Miembro registrado
214 mensajes
Publicado el 21,mayo 2015 - 14:27
Good day

I am using the Map on my site and it works great, Ijust cannot get this to work:

ProcMarkerClick(MyMark is Marker)

ToastDisplay(StringBuild("Position: %1 N, %2 E ", MyMark..Position..Latitude, ...
MyMark..Position..Longitude))


This is the error I get:

Warning : The 'ProcMarkerClick' procedure is allowed in AJAX but no call to AJAX was detected. Check whether the procedure is dynamically used in AJAX.
PAGE_SERVICE.PROCEDURE.ProcMarkerClick, Local Procedure, line 13, column 11

What am I doing wrong?

Thanks
Publicado el 21,mayo 2015 - 20:03
Hi Ruan

this is not an error, it's a warning telling you that you checked the
AJAX mode for that server procedure, but that the compiler doesn't find
any ajax call (ie ajaxexecute or ajaxexecuteasynchronous)

So, either call it, or uncheck the AJAX mode

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Already there: WXShowroom.com, WXReplication (open source)
Coming soon: WXEDM (open source)
More information on http://www.fabriceharari.com


On 5/21/2015 6:27 AM, Ruan wrote:
Good day

I am using the Map on my site and it works great, Ijust cannot get this
to work:

ProcMarkerClick(MyMark is Marker)

ToastDisplay(StringBuild("Position: %1 N, %2 E ",
MyMark..Position..Latitude, ...
MyMark..Position..Longitude))


This is the error I get:

Warning : The 'ProcMarkerClick' procedure is allowed in AJAX but no
call to AJAX was detected. Check whether the procedure is dynamically
used in AJAX.
PAGE_SERVICE.PROCEDURE.ProcMarkerClick, Local Procedure, line 13,
column 11

What am I doing wrong?

Thanks