Forums

Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)
[Plugin: Leaflet Maps Marker] Drawing Polylines (4 posts)

  1. bivisual
    Member
    Posted 11 months ago #

    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/

  2. RobertHarm
    Member
    Plugin Author

    Posted 11 months ago #

    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

  3. Thomas S. Butler
    Member
    Posted 8 months ago #

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

  4. RobertHarm
    Member
    Plugin Author

    Posted 8 months ago #

    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

Reply

You must log in to post.

About this Plugin

About this Topic