General
This will render a complete html document where your objects will be displayed as either a list or on a map (user interactive).
url:
http://export.objektvision.se/Objektlista/81FfxqFoaxY1
You have to replace the example export key (b0sn9VroKTw1
)
with your own export key which can be obtained under Extratjänster in Objektvision portal.
Embed
To embed this in to your page you can use this snippet that includes loading a script to help resize the iframe correctly to match the content.
<iframe id="objektvision-objektlista" src="http://export.objektvision.se/Objektlista/81FfxqFoaxY1"></iframe>
<style>
#objektvision-objektlista {
border: none;
width: 100%;
}
</style>
<script src="http://export.objektvision.se/dist/iframeResizer.min.js"></script>
<script>
iFrameResize({ }, '#objektvision-objektlista');
</script>
Url parameters
The following parameters can be supplied to the url above to override the default settings for the list.
Url parameter |
Data type |
Default value |
Description |
openSameWindow |
boolean |
False |
Controls the target attribute of links to objects on objektvision.se |
fontFamily |
string |
Lato |
Controls the font-family css property for the list |
textColor |
string |
#000000 |
Controls the text color css property for the list (use hex color code without #) |
accentColor |
string |
#a4c5c5 |
Controls the accent color css property (hover and active) for the list filter (use hex color code without #) |
pageSize |
int32 |
40 |
Controls the default page size for the list |
showSubType |
boolean |
True |
Show or hide the sub type category of the object |
showDescription |
boolean |
True |
Show or hide the description of the object |
showSize |
boolean |
True |
Show or hide the size of the object |
showPrice |
boolean |
True |
Show or hide the price of the object |
showMap |
boolean |
True |
Show or hide the map above the list |
showBranding |
boolean |
True |
Show or hide agent brandings on objects in the list |
showSubAreas |
boolean |
False |
Show or hide filtering for sub areas list |
headingLevel |
int32 |
2 |
Controls the heading level (<hX>) for the heading on each item in the list |
viewMode |
string |
List |
Sets the default view mode for the list. Avaliable values: List, Grid |