OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: google map width
#6292
sparada (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
google map width 4 Years ago Karma: 0  
How I change the map Width to 100% in :

category view
Detail view

Thank in advance.
 
Logged Logged  
  The administrator has disabled public write access.
#6301
admin (Admin)
Admin
Posts: 4882
graph
User Offline Click here to see the profile of this user
Re:google map width 4 Years ago Karma: 61  
Hello,

for extend map in Real Estate manager Pro version for Category layout you need open file:
{yours site}/components/com_realestatemanager/realestatemanager.html.php

there are in function: displayHouses
found row:
Code:

<div id="map_canvas" style="width:400px; height:300px; border: 1px solid black; float: left;"></div>


and replace it to
Code:

<div id="map_canvas" style="width:100%; height:300px; border: 1px solid black; float: left;"></div>




for extend map in Real Estate manager Pro version for Detail view you need open file:
{yours site}/components/com_realestatemanager/realestatemanager.html.php

there are in function: displayHouse
found row:
Code:

<div id="map_canvas" style="width:400px; height:300px; border: 1px solid black; float: right;"></div>


and replace it to
Code:

<div id="map_canvas" style="width:100%; height:300px; border: 1px solid black; float: right;"></div>


also you need in yours CSS add so rows:
Code:

div#main table {
width:100%;
}



But first please back up yours files

Thanks,
Ordasoft team
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?