Page 1 of 1

is there a way to set the default marker of the google map component to invisible using js?

Posted: Fri Jun 07, 2013 10:45 am
by Dimitris Monastiriotis

I have tried using Appery('marker_name').attr('rendered', false);

but that does not do it


is there a way to set the default marker of the google map component to invisible using js?

Posted: Fri Jun 07, 2013 11:23 am
by Maryna Brodina

Hello! No, there is no way to do that using JS. You can only uncheck it in builder.


is there a way to set the default marker of the google map component to invisible using js?

Posted: Sun Jun 16, 2013 9:11 am
by Dimitris Monastiriotis

Yes you can, if you find the list's name that is produced automatically to keep the marker the code below renders it invisible.

setAttribute_('j_74', 'showLocationMarker', 'false');
$('[id=j_74]').refresh();

well chaffed about it it bugged me for ages. So this is the answer if anyone was looking for it


is there a way to set the default marker of the google map component to invisible using js?

Posted: Mon Jun 17, 2013 1:50 am
by Illya Stepanov

Thank you for sharing Dimitris!