Plugin Author
Joe
(@morehawes)
Hi @waimek,
Thanks for reaching out. To confirm, are you talking about GeoJSON “properties” which are stored like my_property here?:
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [125.6, 10.1]
},
"properties": {
"my_property": "Some content here"
}
}
If that is the case currently Waymark ignores these and does not import them.
Are you asking for them to be imported and then then display in the Info window/bubble when clicking? If so, could you provide a sample file, or more details about the kind of data stored in these properties and how you would like them displayed?
Cheers,
Joe
Thread Starter
waimek
(@waimek)
Hello,
You perfectly understood what i want to do.
Here is a sample:
{
“type”: “Feature”,
“geometry”: {
“type”: “Point”,
“coordinates”: [125.6, 10.1] },
“properties”: {
“AuthorizationOwner”: “Mr XXX” ,
“AuthorizationDate”: “10/02/2022”,
“EndDate”: “10/03/2023”
“AuthorizationNumber”: “12344”
}
}
There are some more fields, but display these could be a good first step for my Map.
The best for me should be to display it on hover in a bubble (replacing the property key by a pretty string)
Regards
Plugin Author
Joe
(@morehawes)
Hi @waimek,
I have just added the ability to do this in the latest release (v0.9.28).
You can now read GeoJSON feature properties when importing from file by adding them in Waymark Settings > Overlays > Properties. If Waymark finds data for these properties it will be added to the Overlay description when it is imported.
Please let me know if you encounter any issues.
Cheers,
Joe