WordPress.org

Ready to get started?Download WordPress

Forums

WP Flexible Map
[resolved] Static map (4 posts)

  1. sfacets
    Member
    Posted 2 years ago #

    Is it possible to display a static version of the KML map with this plugin?

    http://wordpress.org/extend/plugins/wp-flexible-map/

  2. webaware
    Member
    Plugin Author

    Posted 2 years ago #

    I'm not sure what you mean by static. Do you mean, stop people from being able to pan and zoom? If so, then you can do that by disabling the pan and zoom controls, and disabling draggable panning and double-click zoom:

    hidepanning=true hidezooming=true draggable=false dblclickzoom=false

    If you have descriptions on your map markers, they'll still be able to click on the marker and get the infowindow which will move the map. If you really need a static image, maybe you should crop a screengrab of the map.

  3. sfacets
    Member
    Posted 2 years ago #

    I mean like:

    https://developers.google.com/maps/documentation/staticmaps/

    http://maps.googleapis.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=13&size=600x300&maptype=roadmap
    &markers=color:blue%7Clabel:S%7C40.702147,-74.015794&markers=color:green%7Clabel:G%7C40.711614,-74.012318
    &markers=color:red%7Ccolor:red%7Clabel:C%7C40.718217,-73.998284&sensor=false

    so just a fixed end result/image.

  4. webaware
    Member
    Plugin Author

    Posted 2 years ago #

    That's a static image; you can use a simple image tag to add that to a page, no plugin required. Just copy the link, add/edit a page in WordPress, and add the image -- see the tutorial page. Just be sure to pick From Url and paste your URL in there.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags