Support » Plugin: Flexible Map » [Plugin: WP Flexible Map] Prevent Infowindow displaying

  • daniish

    (@daniish)


    I am using the WP-Flexible-Map plugin to display KML data and i would like to know how to prevent google-maps markers from displaying an Infowindow!

    Initially, i tried using an iframe with this code to stop it displaying: “iwloc=&” as described here:

    But it didn’t work. From reading other posts, it seems WP might possibly be stripping out some code!

    Now for other reasons, I’ve decided to avoid using an iframe.

    Reading the KML Reference Guide suggests that i should be able to add the following to my KML file to prevent the infowindow being displayed:
    <BalloonStyle><displayMode>hide</displayMode></BalloonStyle>

    I can’t get this working either. Does anyone know how to do it, or have a relevant suggestion?

    Many thanks

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

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

    (@webaware)

    That styling is applicable to Google Earth, but Google Maps API doesn’t follow it.

    There is an option suppressInfoWindows I can provide Google Maps API when I create the map for the KML file, I can add that sometime in the next couple of days if you tell me you want that (it sounds like you might, but your other posts are a little in conflict on this).

    cheers,
    Ross

    Thread Starter daniish

    (@daniish)

    Thanks for getting in touch.

    I’d like to be able to click on markers and have them hyperlink to a relevant WordPress post, without the need for an infowindow.

    If you could implement this I’d be very grateful.

    Plugin Author webaware

    (@webaware)

    Having the placeholder marker click-through to a linked page would require storing a link in KML somewhere for the placeholder, then scanning all placeholders from JavaScript to attach click event handlers for that click-through. I won’t be implementing that, so for now your best option is to put your link in the info window.

    When I get around to implementing the JSON map load, I’ll make sure it can have just tooltips and click-throughs. I reckon I’ll get that done within about a month.

    cheers,
    Ross

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Flexible Map] Prevent Infowindow displaying’ is closed to new replies.