WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Leaflet Maps Marker] Added a Layer – Markers not showing

[Resolved] [Plugin: Leaflet Maps Marker] Added a Layer – Markers not showing

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author RobertHarm
    Participant

    @harmr

    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 πŸ˜‰

    Forget it. It was a plugin conflict.

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

    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?

    Plugin Author RobertHarm
    Participant

    @harmr

    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

    Plugin Author RobertHarm
    Participant

    @harmr

    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…

    hiperterminal
    Member

    @hiperterminal

    Hi

    Google Analytics for WordPress caused a conflict.

    Awesome plugin Robert!

    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!!!

    Plugin Author RobertHarm
    Participant

    @harmr

    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!

    Plugin Author RobertHarm
    Participant

    @harmr

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

    Ralf Heinrich
    Member

    @ralf-heinrich

    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! πŸ™‚

    Plugin Author RobertHarm
    Participant

    @harmr

    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 πŸ˜‰

    Ralf Heinrich
    Member

    @ralf-heinrich

    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!

    Plugin Author RobertHarm
    Participant

    @harmr

    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

    Plugin Author RobertHarm
    Participant

    @harmr

    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

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘[Resolved] [Plugin: Leaflet Maps Marker] Added a Layer – Markers not showing’ is closed to new replies.