Skip to content
Snippets Groups Projects
Commit c2295f5f authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Added height property

parent e70d7c44
Branches
No related tags found
No related merge requests found
......@@ -15,14 +15,17 @@
<h1>Let's say this is the EuroWheat web page</h1>
<p>What you do is that you include the following code in your HTML</p>
<code>
&lt;div id="nordicSeptoriaMapContainer" style="width:800px;" data-language="dk"&gt;&lt;/div&gt;<br/>
&lt;div id="nordicSeptoriaMapContainer" style="width:800px;" data-language="dk" data-mainmap-height="700px;"&gt;&lt;/div&gt;<br/>
&lt;script id="nordicSeptoriaMapScript" type="text/javascript" src="{{settings.VIPSLOGIC_PROTOCOL}}://{{settings.VIPSLOGIC_SERVER_NAME}}/public/nordic_septoria_map/nordic_septoria_map.js"/&gt;&lt;/script&gt;
</code>
<p>Then the application will look like this</p>
<div id="nordicSeptoriaMapContainer" style="width:800px;" data-language="dk"></div>
<script id="nordicSeptoriaMapScript" type="text/javascript" src="{{settings.VIPSLOGIC_PROTOCOL}}://{{settings.VIPSLOGIC_SERVER_NAME}}/public/nordic_septoria_map/nordic_septoria_map.js"/></script>
<!--script id="zymoGridMapScript" type="text/javascript" src="http://restclienthtml/public/nordic_septoria_whs/nordic_septoria_whs.js"/></script-->
<p>If you omit the style attribute, the application will fill all available space</p>
<p>If you omit the data-language attribute, the default language (en) will be used. Currently supported languages are no, dk and en. </p>
<ul>
<li>If you omit the style attribute, the application will fill all available space</li>
<li>If you omit the data-language attribute, the default language (en) will be used. Currently supported languages are no, dk and en. </li>
<li>If you omit the data-mainmap-height attribute, the main map's heigth will be 450px</li>
</ul>
</body>
</html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment