• bivisual

    (@bivisual)


    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://ww.wp.xz.cn/extend/plugins/leaflet-maps-marker/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Robert Seyfriedsberger

    (@harmr)

    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

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

    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.