WordPress.org

Ready to get started?Download WordPress

Forums

Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)
[resolved] [Plugin: Leaflet Maps Marker] Added a Layer - Markers not showing (17 posts)

  1. Thomas S. Butler
    Member
    Posted 2 years ago #

    The marker show up as assigned to the layer, but they don't appear on the map... am I missing something here? BTW, awesome work on the plugin!

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

  2. RobertHarm
    Member
    Plugin Author

    Posted 2 years ago #

    First you have to create a layer, then create a marker and assign it to the layer. Then insert the shortcode in the post or page where you want the map to appear (e.g. by adding [mapsmarker layer="1"] )

    Please note, that for layers the layer center also has to be set. Default layer center is Vienna/Austria. If you add e.g. a marker in New York, the layer also has to be set to New York to show the assigned marker.

    Hope this helps.

    BTW: if you like the plugin, I´d very much appreciate a rating on WordPress.org ;-)

  3. Thomas S. Butler
    Member
    Posted 2 years ago #

    Forget it. It was a plugin conflict.

  4. Thomas S. Butler
    Member
    Posted 2 years ago #

    Wow! Thanks for the quick response! I will rate you for sure! When the project rolls, we'll be sure to donate too!

  5. Thomas S. Butler
    Member
    Posted 2 years ago #

    One more quick question. Is it possible to have other layers or collection of markers to hide/show on a given layer? Is there a way to dynamically add and remove markers from a layer by using a query?

  6. RobertHarm
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks :-)

    Concerning your question about mass action (like deleting more layers at once or removing them from a layer): this is planned for a future release for the backend. If you use phpmyadmin you can always directly edit more markers at once with SQL statements. The following statement for example will unassign all markers from layer ID 1 to layer ID 0 (= invisible layer containing all unassigned markers):

    UPDATE wp_leafletmapsmarker_markers SET layer = 0 WHERE layer = 1

    When you want to delete all markers from layer ID 0 instead of assigning any layer to these markers, you can do this on the layer edit screen by pressing the button "Delete layer AND all assigned markers" or use the following SQL statement:

    DELETE FROM wp_leafletmapsmarker_markers WHERE layer = 1

  7. RobertHarm
    Member
    Plugin Author

    Posted 2 years ago #

    BTW: can you please tell me which plugin caused a conflict? I would like to check if there´s anything I can do to prevent this automatically. Normally there shouldnt be any function conflicts for example as my plugin uses unique function names...

  8. hiperterminal
    Member
    Posted 2 years ago #

    Hi

    Google Analytics for WordPress caused a conflict.

    Awesome plugin Robert!

  9. Thomas S. Butler
    Member
    Posted 2 years ago #

    Oh, didn't mean to leave you hanging! The plugin conflict is nothing to worry about. Turned out to be a "custom job" plugin that is not publicly available. I got the map going... if you want to check it out (still a work in progress) http://dev.metrodeliverypool.com/map/ Great plugin!!!

  10. RobertHarm
    Member
    Plugin Author

    Posted 2 years ago #

    Ad plugin conflict with Google Analytics: I took a look into Google Analytics files but didnt find out, why my plugin is not working if Google Analytics plugin is also active.

    So I wrote a new post in the support forum - I hope that the plugin author Yoast can help.

    If anyone else has an idea what I could to solve this problem, please let me know!

  11. RobertHarm
    Member
    Plugin Author

    Posted 2 years ago #

    just released v1.2 which fixes the conflict with Google Analytics for WordPress

  12. Ralf Heinrich
    Member
    Posted 2 years ago #

    Unfortunetly the conflict is not resolved, Robert. Or it is back.

    I am using v1.9 and I had the same problem. However, deactivating the Google Analytics plugin solved the problem and made the markers appearing.

    Beside from that: Great job! :)

  13. RobertHarm
    Member
    Plugin Author

    Posted 2 years ago #

    are you sure that GA for WordPress v4.2.4 from Joost is causing this error? I use this version out of the box on one of my test sites and maps do show up with v1.9. Did you make any special configuration?

    BTW: it would be great if you could vote for the plugin on WordPress.org ;-)

  14. Ralf Heinrich
    Member
    Posted 2 years ago #

    Oh, okay... I am using the plugin from Aaron D. Campbell:
    bluedogwebservices.com/wordpress-plugin/wp-google-analytics/

    I will definitely check for the voting!

  15. RobertHarm
    Member
    Plugin Author

    Posted 2 years ago #

    puh - thankfully not this bug again :-)

    can you give me the link to your plugin so that I can check if i can fix this incompability on my side or have to contact the author.
    thanks (also for the voting ;-)
    Robert

  16. RobertHarm
    Member
    Plugin Author

    Posted 2 years ago #

    Hi again,
    I checked the plugin and would highly recommend switching to Joosts plugin as the devlopment of WP-Google-Analytics seems to be abandoned (last update 860 days ago & tested only up to WP 2.9.2).
    Regards,
    Robert

  17. Ralf Heinrich
    Member
    Posted 2 years ago #

    You are correct, Robert. It is a better idea to switch to a more up to date plugin... which I just did, and happily... it all works smoothly together. Thanks. :)

    Have a good one!

    Best,
    - Ralf

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic