Wasn't it sreejith R who wrote:
>Hello Williams,
>
>In your example only one xml file is used for creating markers of
>different category.
>But I have to create two sets of markers from two php files and I am
>loadind lat and long from two different tables for creating markers.Can
>you find any solution ?

Load both XML files at the start, and set your marker.mycategory value
according to which file you loaded it from.

So where I have
   var category = markers[i].getAttribute("category");
   var marker = createMarker(point,name,html,category);
You could have
   if (url == "file1.url") {
     var marker = createMarker(point,name,html,"one");
   } else {
     var marker = createMarker(point,name,html,"two");
   }

-- 
Mike Williams
http://econym.org.uk/gmap



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to