Title: [Plugin: Leaflet Maps Marker] Drawing Polylines
Last modified: August 20, 2016

---

# [Plugin: Leaflet Maps Marker] Drawing Polylines

 *  [bivisual](https://wordpress.org/support/users/bivisual/)
 * (@bivisual)
 * [14 years ago](https://wordpress.org/support/topic/plugin-leaflet-maps-marker-drawing-polylines/)
 * Hello Robert, i have two other questions:
 * 1. leaflet already supports drawing polylines etc. Yet it’s not implemented in
   your Maps Marker plugin. Can you give me a hint on how to use that feature without
   Maps Marker?
    Like where could i hook that in? Should be possible, right?
 * I tried it with one of the examples out of the leaflet documentation but without
   luck:
    lmm_map_56eca13e.addLayer(rectangle); Giving me the error: Can’t find 
   variable: lmm_map_56eca13e So i guess it must be called directly from you mm-
   script?
 * 2. Is it possible to use links in the marker list to open the popups on the map?
 * Thanks!
 * [http://wordpress.org/extend/plugins/leaflet-maps-marker/](http://wordpress.org/extend/plugins/leaflet-maps-marker/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [14 years ago](https://wordpress.org/support/topic/plugin-leaflet-maps-marker-drawing-polylines/#post-2790833)
 * Hi,
 * ad 1: polylines are not supported yet by my plugin – it is on the 2do-list but
   I didnt find the time yet to implement this feature. My plugin uses leaflet 0.3.1
   and I think polyline drawing is only supported from 0.4 upwards – which I plan
   to implement when the stable version is released…
 * ad 2: currently not possible.
    Regards,
 * Robert
 *  [Thomas S. Butler](https://wordpress.org/support/users/opportunex/)
 * (@opportunex)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-leaflet-maps-marker-drawing-polylines/#post-2791078)
 * Nice! Great plugin! You can expect a donation from us when our app is in full
   production. I was just wondering, I have used CloudMade many time and to great
   effect. I am a pretty high-level jQuery/JSON programmer… can I just use CloudMade
   code on top of your layers??? Wouldn’t that be pretty easy to implement???
 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-leaflet-maps-marker-drawing-polylines/#post-2791079)
 * Hi Thomas,
    of course Cloudmade code could be added on top of layers – depending
   on what you want. Problem is that with updates this code would get overwritten.
   If your planned modification would fit other users too, we could think about 
   integrating this into the next version of my plugin 😉 as my code is on github,
   I´d appreciate pull requests of course 😉 regards, Robert

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Leaflet Maps Marker] Drawing Polylines’ is closed to new replies.

 * ![](https://ps.w.org/leaflet-maps-marker/assets/icon.svg?rev=970936)
 * [Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)](https://wordpress.org/plugins/leaflet-maps-marker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-maps-marker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-maps-marker/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-maps-marker/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-leaflet-maps-marker-drawing-polylines/#post-2791079)
 * Status: not a support question