Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I downloaded the tutorial and it doesn't load properly due to the map icons. The link for them is dead. You will need to download your own icons. The icons used in the map can be obtained from <a href="http://www.visual-case.it/cgi-bin/vc/GMapsIcons.pl" rel="nofollow noreferrer"><strong>Visual Case</strong></a> by clicking and saving. </p> <pre><code>var customIcons = { restaurant: { icon: 'icons/restaurant.png', shadow: 'icons/restaurant_shadow.png' }, bar: { icon: 'icons/bar.png', shadow: 'icons/bar_shadow.png' } }; </code></pre> <p>As commented check you are generating valid XML from <code>SCOTAxml.php</code>.</p> <p><strong>EDIT</strong></p> <p>This is the XML file generated from tutorial as shown in browser.</p> <pre><code>&lt;markers&gt; &lt;marker name="Frankie Johnnie &amp; Luigo Too" address="939 W El Camino Real, Mountain View, CA" lat="37.386337" lng="-122.085823" type="bar"/&gt; &lt;marker name="Amici's East Coast Pizzeria" address="790 Castro St, Mountain View, CA" lat="37.387138" lng="-122.083237" type="restaurant"/&gt; &lt;/markers&gt; </code></pre> <p>I notice you are passing parameters (lat,lng &amp; distance) which are not required in <code>phpsqlajax_genxml.php</code>. This would indicate to me that you are mixing the tutorial <a href="https://developers.google.com/maps/articles/phpsqlsearch_v3?hl=en" rel="nofollow noreferrer"><strong>Creating Store Locator</strong></a> with the one you indicated above.</p> <p><img src="https://i.stack.imgur.com/iXvhd.jpg" alt="Map"></p> <p><strong>EDIT 2</strong></p> <p>To output XML content from PHP file the content-type header has to be set. This is so that the browser knows that the output content from PHP file is XML instead of default content-type header (text/html).</p> <pre><code>//Set content-type header for XML header("Content-type: text/xml"); </code></pre> <p><strong>EDIT 3</strong> the icon page on visual-case has been moved here: <a href="http://www.lass.it/Web/viewer.aspx?id=4" rel="nofollow noreferrer">http://www.lass.it/Web/viewer.aspx?id=4</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload