<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[IMPORTANT INFORMATION — Distribution map]]></title>
		<link>https://forums.nbn.org.uk/viewtopic.php?id=1888</link>
		<atom:link href="https://forums.nbn.org.uk/extern.php?action=feed&amp;tid=1888&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Distribution map.]]></description>
		<lastBuildDate>Wed, 22 Dec 2010 09:54:24 +0000</lastBuildDate>
		<generator>PunBB 1.4.6</generator>
		<item>
			<title><![CDATA[Re: Distribution map]]></title>
			<link>https://forums.nbn.org.uk/viewtopic.php?pid=8209#p8209</link>
			<description><![CDATA[<p>Many thanks Daniel. I have created a Wiki page here for starters:<br />http://code.google.com/p/indicia/wiki/distribution_map_1_standalone</p><p>Best Wishes</p>]]></description>
			<author><![CDATA[null@example.com (johnvanbreda)]]></author>
			<pubDate>Wed, 22 Dec 2010 09:54:24 +0000</pubDate>
			<guid>https://forums.nbn.org.uk/viewtopic.php?pid=8209#p8209</guid>
		</item>
		<item>
			<title><![CDATA[Re: Distribution map]]></title>
			<link>https://forums.nbn.org.uk/viewtopic.php?pid=8098#p8098</link>
			<description><![CDATA[<p>Ok, I managed it myself. Here is an example (perhaps for the wiki)<br /></p><div class="codebox"><pre><code>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot;&gt;
    &lt;head&gt;
        &lt;title&gt;Occurence Map&lt;/title&gt;
        &lt;link rel=&quot;stylesheet&quot; href=&quot;demo.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot;/&gt;
        &lt;link rel=&quot;stylesheet&quot; href=&quot;../../media/css/default_site.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot;/&gt;
        &lt;?php
        include &#039;../../client_helpers/data_entry_helper.php&#039;;
        require &#039;data_entry_config.php&#039;;
        require &#039;../../client_helpers/prebuilt_forms/distribution_map_1.php&#039;;
        
        echo data_entry_helper::dump_header(); ?&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;div id=&quot;wrap&quot;&gt;
            &lt;h1&gt;Occurence Map&lt;/h1&gt;
            &lt;?php
            echo iform_distribution_map_1::get_form(array(
                &#039;website_id&#039; =&gt; $config[&#039;website_id&#039;],
                &#039;taxon_list_id&#039; =&gt; &#039;5&#039;,
                &#039;map_centroid_lat&#039; =&gt; &#039;54&#039;,
                &#039;map_centroid_long&#039; =&gt; &#039;13&#039;,
                &#039;map_zoom&#039; =&gt; &#039;8&#039;,
                &#039;show_all_species&#039; =&gt; &#039;true&#039;,
                &#039;wms_feature_type&#039; =&gt; &#039;indicia:detail_occurrences&#039;,
                &#039;map_width&#039; =&gt; &#039;900&#039;,
                &#039;map_height&#039; =&gt; &#039;600&#039;,
                &#039;preset_layers&#039; =&gt; array(
                    &#039;openlayers_wms&#039; =&gt; &#039;0&#039;,
                    &#039;virtual_earth&#039; =&gt; &#039;0&#039;,
                    &#039;google_hybrid&#039; =&gt; &#039;5&#039;,
                    &#039;google_physical&#039; =&gt; &#039;0&#039;,
                    &#039;google_streets&#039; =&gt; &#039;0&#039;,
                    &#039;google_satellite&#039; =&gt; &#039;8&#039;)
            ));
            echo data_entry_helper::dump_javascript();
            ?&gt;
        &lt;/div&gt;
    &lt;/body&gt;
&lt;/html&gt;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (daniel.vergien)]]></author>
			<pubDate>Mon, 06 Dec 2010 17:38:43 +0000</pubDate>
			<guid>https://forums.nbn.org.uk/viewtopic.php?pid=8098#p8098</guid>
		</item>
		<item>
			<title><![CDATA[Re: Distribution map]]></title>
			<link>https://forums.nbn.org.uk/viewtopic.php?pid=7974#p7974</link>
			<description><![CDATA[<p>Hi,<br />I&#039;m having problem building a distribution map using client_helpers/prebuilt_forms/distribution_map_1.php. <br /></p><div class="codebox"><pre><code>&lt;?php
echo iform_distribution_map_1::get_form(array(&#039;taxon_list_id&#039;=&gt;&#039;5&#039;, 
                                                &#039;show_all_species&#039;=&gt;&#039;true&#039;,
                                                &#039;wms_feature_type&#039;=&gt;&#039;indicia:detail_occurrences&#039;,
                                                &#039;map_width&#039;=&gt;&#039;500&#039;,&#039;map_height&#039;=&gt;&#039;500&#039;
)); ?&gt;</code></pre></div><p>But this gives me just a web page with an emtpy 500x500 px white area.</p><p>The geoserver should work, since I can visualize the data from detail_occurrences via openlayers by hand.</p><p>Is there somewhere an example how to use this? A complete minimal page would be nice, since my php knowledge is quite limited ;)</p><p>Regards</p><p>Daniel</p>]]></description>
			<author><![CDATA[null@example.com (daniel.vergien)]]></author>
			<pubDate>Sat, 20 Nov 2010 19:23:26 +0000</pubDate>
			<guid>https://forums.nbn.org.uk/viewtopic.php?pid=7974#p7974</guid>
		</item>
	</channel>
</rss>
