Jump to content


Photo

Google Maps for uniGUI


  • Please log in to reply
447 replies to this topic

#441 joseroberto

joseroberto

    Member

  • uniGUI Subscriber
  • PipPip
  • 44 posts

Posted 05 July 2018 - 01:34 PM

Hello, Lema
 
When published, several problems occur in uniGUI version 1.10.0.1466
Here are some examples:
 
"Cannot read property 'getElevationForLocations' of undefined"
 
"Cannot read property 'clearMarkers' of undefined"
 
Could you help me, please?
 
Thank you!

  • 0

#442 bahry

bahry

    Active Member

  • uniGUI Subscriber
  • PipPipPip
  • 71 posts
  • LocationAmman

Posted 10 July 2018 - 12:45 PM

Hello everyone,

 

I just start using uniGMap component and tried the attached example, but it does not work as the provided demo

​I received the following error in the console 

++++++++++++++++++++++++++++++++++++++

Uncaught ReferenceError: GeolocationAPIForm is not defined

    at eval (eval at AjaxSuccess (ext-unicommon-min.js:9), <anonymous>:1:111) 

++++++++++++++++++++++++++++++++++++++

 

ext-unicommon-min.js exist in 'C:\Program Files (x86)\FMSoft\Framework\uniGUI\uni-1.10.0.1471' directory and the desktop demo works fine.

 

Am trying to show the Current location of the Client as soon as he opened the application, but without sucess.

 

Thanks.

 

 

Attached Files


  • 0

#443 joseroberto

joseroberto

    Member

  • uniGUI Subscriber
  • PipPip
  • 44 posts

Posted 13 July 2018 - 04:51 PM

 

Ola lema
 
Quando publicado, vários problemas ocorrem na versão uniGUI 1.10.0.1466
aqui estão alguns exemplos:
 
" Não é possível ler a propriedade 'getElevationForLocations' de undefined "
 
" Não é possível ler a propriedade 'clearMarkers' de indefinido "
 
Você poderia me ajudar por favor?
 
Obrigado!

 

 

problem solved! thank you
 

  • 0

#444 joseroberto

joseroberto

    Member

  • uniGUI Subscriber
  • PipPip
  • 44 posts

Posted 16 July 2018 - 02:32 PM

 

Hello, Lema
 
When published, several problems occur in uniGUI version 1.10.0.1466
Here are some examples:
 
"Cannot read property 'getElevationForLocations' of undefined"
 
"Cannot read property 'clearMarkers' of undefined"
 
Could you help me, please?
 
Thank you!

 

 

problem solved! thank you

  • 0

#445 Alberto vesx

Alberto vesx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 490 posts

Posted 17 July 2018 - 06:25 PM

 

problem solved! thank you

 

hi

How did you solve it?


  • 0

#446 d.bernaert

d.bernaert

    Member

  • uniGUI Subscriber
  • PipPip
  • 42 posts

Posted 18 July 2018 - 11:17 AM

Hi,

 

I'm having a problem.

I've been able to install the component without a problem.

When I create a small sample application, everything works just fine.

Now I'm trying to add it to an existing application and I get the following error when calling Geocoding:

 

Ajax error.

Google is not defined.

 

var geocoder = new google.maps.Geocoder(); geocoder.geocode({"address": "Esdoornstraat 5 Knokke"}, function(results, status) {   if (status == google.maps.GeocoderStatus.OK) {     ajaxRequest(O888, "Geocoder", ["lat="+results[0].geometry.location.lat(), "lng="+results[0].geometry.location.lng() ]); gm_O888.panTo( results[0].geometry.location );    } else {     ajaxRequest(O888, "Geocoder", ["Geocoder failed due to: " + status]);     }   } );

 

Any idea?

 

Thx,

Dominique


  • 0

#447 joseroberto

joseroberto

    Member

  • uniGUI Subscriber
  • PipPip
  • 44 posts

Posted 18 July 2018 - 11:55 AM

hi

How did you solve it?

 

Hi

 

TUniGUIServerModule

 

add

 

UniServerModule.CustomFiles.Clear;

UniServerModule.CustomFiles.add('css/uniGmap.css');

UniServerModule.CustomFiles.add('js/markerclusterer.js');
UniServerModule.CustomFiles.add('js/markerwithlabel_packed.js');

  • 0

#448 Marlon

Marlon

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 371 posts
  • LocationNova Mutum - MT - Brasil

Posted 18 July 2018 - 12:08 PM

Hi,

 

I'm having a problem.

I've been able to install the component without a problem.

When I create a small sample application, everything works just fine.

Now I'm trying to add it to an existing application and I get the following error when calling Geocoding:

 

Ajax error.

Google is not defined.

 

var geocoder = new google.maps.Geocoder(); geocoder.geocode({"address": "Esdoornstraat 5 Knokke"}, function(results, status) {   if (status == google.maps.GeocoderStatus.OK) {     ajaxRequest(O888, "Geocoder", ["lat="+results[0].geometry.location.lat(), "lng="+results[0].geometry.location.lng() ]); gm_O888.panTo( results[0].geometry.location );    } else {     ajaxRequest(O888, "Geocoder", ["Geocoder failed due to: " + status]);     }   } );

 

Any idea?

 

Thx,

Dominique

 

Hi Dominique,
 
In case you are interested you may be looking at my components:
 

Attached Files


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users