0

I've got a map where I integrate spatial point data from an ArcGIS Server. Now I want a popup triggered via a click on the point. I know how everything works and the popup is displayed.

But I've got the problem that some of the source's columns names are using German special characters (ü,ä,ö).

That leads to a strange behaviour when displaying the popup; instead of the data it shows the column's name. So how could I change the code's column tag to get the right information?

The code is published under this JSFiddle.

Any help is welcome.

BR

1 Answer 1

1

an explanation of the cause of the problem can be found here.

Because L.Util.template only supports a limited characterset, the recommended solution is to use a more robust templating solution like Underscore, Lodash or Handlebars in situations like this.

2
  • Okay, I understand the problem. But how should I build it into my JSFiddle? I added the lodashjs resources already in the JSFiddle.
    – hoge6b01
    Commented Feb 11, 2015 at 15:09
  • I got it. Can be found here
    – hoge6b01
    Commented Feb 11, 2015 at 16:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.