WordPress.org

Ready to get started?Download WordPress

Forums

Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)
[resolved] Icon not showing on map (9 posts)

  1. Olivier Fehr
    Member
    Posted 1 year ago #

    I am using the latest version of the plugin. The icon (any icon) shows ok on my German, Russian and French blog, but not on my Persian blog.
    The map and settings are the same on all blogs, so I am not sure were the problem is coming from - only difference I can see is Persian is Right-to-Left (rtl)... I didn't find any mention of rtl support in FAQ and documentation.

    http://wordpress.org/extend/plugins/leaflet-maps-marker/

  2. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    can you please provide the URL of your Persian blog? As it seems to be a separate blog like your German, Russian or French one - have you followed the steps from http://mapsmarker.com/readme-first ? If configurations are different, it could also be that there is a plugin or theme conflict with the Perisan blog.

    BTW: it would be great if you could help with the Persian translation of the plugin at http://translate.mapsmarker.com/projects/lmm - you would just need to register there and could start translating immediately via a web based form ;-)

  3. Olivier Fehr
    Member
    Posted 1 year ago #

    Here are some details: The theme is Twenty Eleven. The plugins are the same for all blogs (4 active), except for the Persian blog, which has the wp-jalali plugin installed (this is for persian date and calender stuff). I deactived it to see if that helps, but icons still don't show.

    I performed some additional tests:
    Zoom is set to 7, icon does not show. Zooming in a few times makes the icon show (some times), but not at the right position.

    Here is a link to the post in question (I'll give you the short link, because the long one is a mess):
    http://wp.me/p2W1AY-u

    Here is the German version of the same post:
    http://wp.me/p2W1Bu-R

    I performed another test with the Uyghur version of WordPress (also left to right) and a different theme, with the same result. There I only have two active plugins.

    As for the translation. I have already thought about that. Do I need a login for that, or can I use the wordpress one?

  4. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Parvaneh,
    strange - I just checked your sites. On the Persion site, the icon doesnt show up on normal view, but if you open the map in fullscreen view, the icons is displayed. I first thought it might be due to the Persian characters used but then copied marker name and popuptext on my test site and icons showed up without problem. What I havent tested yet but will do soon is RTL (there is a RTL tester plugin for that). But I doubt that this is the problem as the maps work in fullscreen mode - anyway will let you know if I find anything here.
    Is there anything special for the Persian site? has it been moved for example recently from another hoster? And is the blog on the same host as the other ones? Any hint would help as honestly I currently dont have a clue why.

    Concerning adding a Persian translation: you would have to register here: http://www.mapsmarker.com/wp-login.php?action=register&redirect_to=http%3A%2F%2Ftranslate.mapsmarker.com%2Fprojects%2Flmm - I will then grant your user the rights to add new and approve existing translations (by logging in at http://translate.mapsmarker.com/projects/lmm first). Would be great if you could help with the Persian translation - a backlink to one of your sites would be of course added to all prominent places (readme.txt, backend, changelog, wordpress plugin repository & mapsmarker.com)
    best regards,

    Robert

  5. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    Hi again,
    I just checked my demo site with the RTL test plugin & got the same error as you. Will try to find out why icons are not displayed on RTL sites and will fix this in v3.1 - please be patient!
    regards,
    Robert

  6. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    Hi again,

    I think I found and fixed this issue: there is a current RTL bug in leaflet 0.45 I am using and which will be fixed with leaflet 0.5. I backported this fix and hotfixed it for the current 3.0 release.

    Please download this file: http://current.mapsmarker.com/wp-content/plugins/leaflet-maps-marker/leaflet-dist/leaflet.css
    and overwrite it on your Persian site in your plugin folder.

    On my test site it worked. Please confirm, if it also works for you.
    Thanks

    Robert

  7. Olivier Fehr
    Member
    Posted 1 year ago #

    I reinstalled the plugin and it works fine now. Many thanks for the quick solution.

    Just one other small request or question. Is there any way to supply an URL to a KML file instead of giving an address. The European Meditereanean Seismological Centre supplies such files and I couldn't find a way to include them with this plugin. If it's in the docu, just point me to it.

    Thanks for the great plugin.

  8. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    thats great to hear!

    ad KML: import is currently not possible - it is a feature on the roadmap but with no specific date yet...

  9. RobertHarm
    Member
    Plugin Author

    Posted 1 year ago #

    BTW: I already added the Persian translation set here ;-) http://translate.mapsmarker.com/projects/lmm/fa/fa_IR

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic