Marker icons can't display

  • silexmultimedia
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #5344 by silexmultimedia
Marker icons can't display was created by silexmultimedia
I’ve run into this problem where my markers don’t show up on my map.

Even when I go into the admin, I get an image not found icon.

Also, when trying to open the icon link directly I get an error that the file can’t be found.
villest-tite.com/j3/administrator/compon...s/icons/default#.png

Other icons in the assets folder show up just fine though.
villest-tite.com/j3/administrator/compon...s/utils/ZhukLogo.png

I emailed my system admin and he tells me it’s because of the # in the file name.

Problem is these seem to be hardcoded in your extension.

Is there a workaround for this ?

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

More
9 years 7 months ago #5348 by Dima
Replied by Dima on topic Marker icons can't display
Hi.

Yes, my icons can contains that symbol (#), but when I create page, I replace it to another (escape it to %23).

for example
villest-tite.com/j3/administrator/compon...icons/default%23.png

will display fine. Ie if you want to show your image and file contains special characters, you have to escape it

Don't forget support my developments: post review in JED , donate , help with translation ;)

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

  • silexmultimedia
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #5349 by silexmultimedia
Replied by silexmultimedia on topic Marker icons can't display
Could this be then that it's caused by the site being in a subfolder (j3) inside the root folder, with a htaccess file to rewrite ?

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

More
9 years 7 months ago #5352 by Dima
Replied by Dima on topic Marker icons can't display
Do you have troubles when you use icons without # symbol? There are a lot other icons

Don't forget support my developments: post review in JED , donate , help with translation ;)

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

  • silexmultimedia
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago - 9 years 7 months ago #5354 by silexmultimedia
Replied by silexmultimedia on topic Marker icons can't display
Nope. Icons without # show up fine. Both in the map rendering and in the admin, while those with a # don't show up neither in the maps, nor in the admin.

In fact, I just solved that problem by making my own icons, which I had to do at some point anyway.

But now that this is solved I think the same problem may be happening to the maps scaling and other controls for example. I can see a bit of garbled stuff where the scaling control is supposed to be located, but no control image. You can see for yourself at

villest-tite.com/votre-municipalite/cartes-de-la-ville
Last edit: 9 years 7 months ago by silexmultimedia. Reason: New information found after more testing

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

More
9 years 7 months ago #5369 by Dima
Replied by Dima on topic Marker icons can't display
Hi.

As for zoom control and etc - look at my docs
wiki.zhuk.cc/index.php?title=Zh_GoogleMa...ontrol_has_bad_shape

I suggest method #3

Don't forget support my developments: post review in JED , donate , help with translation ;)
The following user(s) said Thank You: silexmultimedia

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

Time to create page: 0.154 seconds

Donate


Go to top