Popup text from geojson-file

  • Pleppo
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 9 months ago #14199 by Pleppo
Popup text from geojson-file was created by Pleppo
Hello,
I use a geojson file to represent paths.
The paths are displayed correctly on my map.
but no text is displayed in the popup for the respective quadrants.
How can I display e.g. TKnr and name?

many Greetings
F.

  • Please Log in or Create an account to join the conversation.

    More
    3 years 9 months ago - 3 years 9 months ago #14201 by Dima
    Replied by Dima on topic Popup text from geojson-file
    Hi
    I need page with your map and layer.
    Is this file created by yourself or not?

    If you did it manual, try to rename property "Name" to "name", probably it is case sensitive.

    In my code I'll getting 2 properties (which is defined, that I use)
    first check
    layer.feature.properties.popupContent
    then
    layer.feature.properties.name

    Don't forget support my developments: post review in JED , donate , help with translation ;)
    Last edit: 3 years 9 months ago by Dima.
    The following user(s) said Thank You: Pleppo

    Please Log in or Create an account to join the conversation.

    • Pleppo
    • Topic Author
    • Offline
    • Senior Member
    • Senior Member
    More
    3 years 9 months ago #14202 by Pleppo
    Replied by Pleppo on topic Popup text from geojson-file
    oh,
    right the word "name" must be written in lower case.
    :-)

    Please Log in or Create an account to join the conversation.

    Time to create page: 0.166 seconds
    Powered by Kunena Forum