Page 1 of 1

Map marker not displayed

Posted: Mon May 20, 2019 5:24 pm
by Bostjan
When the image output path is the default "Images" the location map marker is displayed, but when it is custom renamed in "whatever_name" than the marker is blank square as the path to _ggMapPin.png is not found.

Re: Map marker not displayed

Posted: Mon May 20, 2019 7:04 pm
by 360Texas
? is the filename leading underscore "_" ASCI character valid on servers ?

I am sure that on a PC desktop is a valid character.

Re: Map marker not displayed

Posted: Mon May 20, 2019 8:59 pm
by Bostjan
'Whatever_xyz' was only the example, could be also "MickeyMouse" or "donaldduck" ;) Otherwise the character "_" is legit everywhere.

Re: Map marker not displayed

Posted: Mon May 20, 2019 9:02 pm
by Bostjan
I renamed my custom named directory without compiling into "images" and now it displays the map marker. Now I don't see the purpose of creating the custom directory when it is ignored...?

Re: Map marker not displayed

Posted: Tue May 21, 2019 2:03 pm
by Hopki
Hi Bostjan,
I tested this and its working for me!
In my test, I selected the Advanced tab and edited the "Image Output path" to images_two.
On export, I still see my images and I see the images appear in the folder images_two.
And just because I can, I also used "whatever_name" and that worked too.

Can you reproduce what you see using a cut-down project and post it or send it in?
Regards,
Hopki

Re: Map marker not displayed

Posted: Tue May 21, 2019 4:57 pm
by 360Texas
Just a thought:
Filename Embedding the underscore "_" between two words is valid usage like this filename 'myfile_name'.

Some servers read the leading "_" in front of the folder name like '_myfoldername' and will consider that folder as a HIDDEN folder.

Re: Map marker not displayed

Posted: Tue May 21, 2019 9:33 pm
by Bostjan
Hi Martin,
renaming the output directory works fine, that is not the problem when skin GUI is calling images, the exception is that it can not read the "pin marker on the map", that is the default image "_ggMapPin.png ". It can read it only if that image is in the directory "images".

Re: Map marker not displayed

Posted: Tue May 21, 2019 9:42 pm
by Bostjan
To clarify ... the map pin image IS saved to the custom directory but the skin can not read it until it is in "images" directory.

Re: Map marker not displayed

Posted: Tue May 21, 2019 10:25 pm
by Hopki
H Bostjan,
After much experimenting, it only happens with the Leaflet API.
I was using Google API hence why I could not reproduce the problem.
I will bug track :)
Regards,
Hopki

Re: Map marker not displayed

Posted: Wed May 22, 2019 10:56 am
by Bostjan
Sure Leaflet API ... I wasn't aware that people are still using Google maps API.