OS Property support center

How do I have the colored map as the default map ?

  • Gerry Na
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 year 5 days ago #168330 by Gerry Na

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

More
1 year 4 days ago #168334 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic How do I have the colored map as the default map ?
Hi Gerry,
Actually, in property details page, we have customized style for Google map. You can modify function
"loadGoogleMapDetails" in file root -> components -> com_osproperty -> helpers -> googlemap.lib.php
map.mapTypes.set('map_style', styledMap);
change to
//map.mapTypes.set('map_style', styledMap);
Thanks
Dam

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

Moderators: Dang Thuc DamNguyen Phu Quan