Support » Plugin: Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps) » [Leaflet Maps Marker] Assign Marker to Layer BROKEN

  • Resolved F C

    (@pmagony)


    As of the recent update from 3.6 to 3.8 on this plug-in, the ability to assign markers to layers is not possible during the marker creation process.

    The Assign to Layer drop-down menu does not allow the selection of a custom layer. Clicking the options do not materialize.

    Please advise.

    https://wordpress.org/plugins/leaflet-maps-marker/

Viewing 8 replies - 1 through 8 (of 8 total)
  • please check if the custom layer is defined as a multi-layer-map as direct additions to those are not possible (assign the marker to a sublayer of the multi-layer-map instead)

    Thread Starter F C

    (@pmagony)

    Hi Robert, it is defined as a multi-layer map. We had no issues until the most recent upgrade.

    sorry, but as said before, direct additions of markers to a multi-layer-map are not possible (at least anymore, if I remember correctly, the workflow was optimized in v3.6). This was due to the fact that if you assigned markers to a layer and then turned this layer into a multi-layer-map, the assigned markers would not be displayed.
    Please assign your marker to one of the sublayers of your multi-layer-map instead.

    Thread Starter F C

    (@pmagony)

    If I disable the layer as a multi-layer-map, will that allow me to assign markers to it?

    yes

    Thread Starter F C

    (@pmagony)

    Thanks Robert!

    Thread Starter F C

    (@pmagony)

    By un-checking it, I’ve lost all my markers. But I was able to “re-assign” all markers to the only layer by going to All Markers -> Selecting all of them, and then at the bottom of that view, assigning them to my layer.

    FYI: if you have more than 30 markers, you’re going to need to adjust how many markers are shown on a single page, otherwise you’re only going to assign the first 30 markers and you’ll have to repeat the steps above for each page.

    unchecking the multi-layer-map-checkbox on a multi-layer-map will not remove the layer a single marker map is assigned to! you can always readable this checkbox. If you want to assign multiple markers to a layer, you can also use the tools page. or you change in settings / misc how many markers should be displayed on the “list all markers” page

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Leaflet Maps Marker] Assign Marker to Layer BROKEN’ is closed to new replies.