You are not logged in.

nidrig

Beginner

  • "nidrig" started this thread

Posts: 26

Location: Switzerland

  • Send private message

1

Thursday, July 18th 2013, 4:10pm

Load spot from external file fails with several spots

Hi,
I'm loading Bing map spots from an external xml file, and it works fine, except if I have more than one spot.

The moment I add a second spot in the xml file, I have a parsing error.

I'm not using numbers in the name.

The syntax in the spot xml file is:

Source code

1
2
3
4
5
6
7
8
9
 <spot name="champa"
          	lat="46.030069" lng="7.114364" heading="270.0"
          	onclick="activatespot();"
          	/>

<spot name="champb"
          	lat="47.030069" lng="6.114364" heading="270.0"
          	onclick="activatespot();"
          	/>


Any idea?

Thanks

Umalo

Professional

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

2

Friday, July 19th 2013, 1:02am

looks fine. Have also added you spots in my map and it is fine. Can you show link to online version or share the code here? Maybe catch is somewhere else!

nidrig

Beginner

  • "nidrig" started this thread

Posts: 26

Location: Switzerland

  • Send private message

3

Friday, July 19th 2013, 10:47am

looks fine. Have also added you spots in my map and it is fine. Can you show link to online version or share the code here? Maybe catch is somewhere else!

Thanks for your help.

I just sent you a PM with the link.