-
Zh GoogleMap
-
Component
-
Popup text from geojson-file
Popup text from geojson-file
-
Pleppo
-
Topic Author
-
Offline
-
Senior Member
-
Less
More
-
Posts: 41
-
Thank you received: 0
-
-
-
-
3 years 2 months ago #14199
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.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
3 years 2 months ago - 3 years 2 months ago #14201
by Dima
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
Last edit: 3 years 2 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
-
Less
More
-
Posts: 41
-
Thank you received: 0
-
-
-
-
3 years 2 months ago #14202
by Pleppo
oh,
right the word "name" must be written in lower case.
Please Log in or Create an account to join the conversation.
-
Zh GoogleMap
-
Component
-
Popup text from geojson-file
Time to create page: 0.089 seconds