Altova Mailing List Archives

Re: Mixing 3 xml-files together showing maps

From: "Tine Müller" <tinem@-----.-->
Date: 12/30/2007 6:13:00 PM

"Martin Honnen" wrote
> Well it looks like the easiest approach is to change that map_data_xml.php 
> code to allow you to fetch marker data for different categories e.g. to 
> allow
>   map_data_xml.php?category=sh&category=sf&category=sb
> then you can simply pass that URL to your readMap function and it should 
> parse out the markers and display them.

Hej Martin

Thanks for trying to help but I'm not sure what to change in 
map_data_xml.php? This it how it looks now:

//Get the variable from the link

// Select all the rows in the markers table
$query="SELECT * FROM manyboxes_alle_folkebiblioteker WHERE category 
='$category' ORDER BY branchname ASC  ";

And I have made this in index.php

theText[13] = "Sjælland - Alle";
xmlfile[13] = "map_data_xml.php?category=sh&category=sf&category=sb";

<a href="javascript:;"
onclick="handleSelected(13);changeText(13)">Evt. ALLE</a>

But when you click on the menu "Sjælland - Evt. ALLE" you see the markers 
from "Bogbusser".

What code shall I change for it to work?



These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.