OS Property support center

SOLVED !!! Google Maps Circle too big

More
6 years 4 months ago - 6 years 4 months ago #106632 by Peter
Hi.
The circle on the map, showing the property location (area), is too big.

How can I make it smaller ?

Thanks
Last edit: 6 years 4 months ago by Mr. Dam.

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #106633 by Mr. Dam
Replied by Mr. Dam on topic Google Maps Circle too big
Hi Peter,
Can you please send me the screenshot of your Map circle?
Thanks
Dam

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #106634 by Peter
Replied by Peter on topic Google Maps Circle too big
Thanks, here it is
Attachments:

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #106685 by Mr. Dam
Replied by Mr. Dam on topic Google Maps Circle too big
Hi Peter,
Can you please go to OS Property Configuration > Tab: General > Field: Zoom level and let me know current Zoom level of your Google Map?
Thanks
Dam

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #106689 by Peter
Replied by Peter on topic Google Maps Circle too big
Its 14
Peter

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #106692 by Mr. Dam
Replied by Mr. Dam on topic Google Maps Circle too big
Hi,
Please open file: root > components > com_osproperty > helpers > googlemap.lib.php
Find:
Code:
$population = 150;
and replace by
Code:
$population = 100;
Then, please recheck the circle to see it is smaller than before?
Thanks
Dam
The following user(s) said Thank You: Peter

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #106693 by Peter
Replied by Peter on topic Google Maps Circle too big
I have not changed yet, but now it looks like this, with exact location


Attachments:

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #106694 by Peter
Replied by Peter on topic Google Maps Circle too big
What I want is the circle, but smaller.
I dont want to show the exact location.

How can I do this ?

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #106695 by Mr. Dam
Replied by Mr. Dam on topic Google Maps Circle too big
Hi Peter,
When value of field: Show Address is Yes, the property will be shown in exact position. When you select No, the circle will be shown.
Thanks
Dam
The following user(s) said Thank You: Peter

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #106710 by Peter
Replied by Peter on topic Google Maps Circle too big
Hi again Dam.
I now changed the file googlemap.lib.php, found the
Code:
$population = 150;
, in 9 places.

I can now change the size of the circle.

Thanks for your help.

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan