Creating a URL array for Google Maps -


i have map uses data xml file. call file this.

var xmlfile = 'xml/warnings.xml'; 

then parse variable data so.

 downloadurl(xmlfile, function(data) { 

what know if possible , if correct way create variable multiple urls this...

var xmlfile = 'xml/file1.xml,xml/file2.xmlxml/file3.xmlxml/file4.xml';  

now before asks why. well, data need spread across several xml feeds same place. formats same , parsed if using 1 xml there wouldn't conflicts.

if doing entirely js, you'd have make separate request each xml file. think better approach use server proxy - fire 1 ajax request off server calls function goes , grabs (curl?) these files , sends them down processed.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -