Page 1 of 1

Failure with Yandex maps creating a new listing

PostPosted: 05 Nov 2017, 02:51
by istok
This failure is only for logged in user as me as admin.

Using Yandex maps when I try to create a new list, system is tahn trying to update the last listing and showing a broken site (without layout).

But for unlogged user it works properly and create a new listing.

Only using open street map is in both cases OK.

Google map is to complicate for me with its APIs and so...

I prefere Yandex but in this case I have to use Openstreet ;o(

Re: Failure with Yandex maps creating a new listing

PostPosted: 05 Nov 2017, 03:07
by istok
I also have done this with Google maps (with API).
The same Problem.
only Open Street works...

Re: Failure with Yandex maps creating a new listing

PostPosted: 08 Nov 2017, 12:01
by andipas
In the file protected/modules/apartments/components/CustomGMap.php

after
Code: Select all

                $inMarker 
.= CHtml::encode($address).'</div></div>';
            }


add the code
Code: Select all

            
            
if (!$title) {
                
$title '';
            }