WordPress.org

Ready to get started?Download WordPress

Forums

WP Flexible Map
[resolved] Tiff layer not working (6 posts)

  1. paulvern
    Member
    Posted 1 year ago #

    First of all thank you for this plugin. I think it's the most useful google maps plugin for WordPress.
    I've added a couple of vector kml to my basemap.
    Now I'm trying to add a kml that loads a tif overlay. It doesn't work.
    Is it possible at all?
    Regards.

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

  2. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    This plugin uses the Google Maps api to show maps in a browser, and browsers don't handle TIFF images. You need to convert the TIFF to a PNG (or JPEG) and use that in your KML file instead.

    http://stackoverflow.com/q/4630868/911083

  3. paulvern
    Member
    Posted 1 year ago #

    Still doesn't work.
    This is my code:

    <dl title="googlemap;w:700;h:600">
    <dt>Center of map</dt>
    <dt>sovraimpresso</dt>

    The kml works on google earth. I transformed both to jpg and png but still doesn't show up.

  4. paulvern
    Member
    Posted 1 year ago #

    Still doesn't work.
    This is my code:

    <dl title="googlemap;w:700;h:600">
    <dt><a href="http://maps.google.com/maps?q=Forli,+Italy&hl=en&ie=UTF8&ll=44.216171,12.042389&spn=0.089936,0.154324&sll=-23.529592,-46.630096&sspn=0.003595,0.004823&oq=forli,&t=m&hnear=Forli,+Province+of+Forl%C3%AC-Cesena,+Emilia-Romagna,+Italy&z=13">Center of map</a></dt>
    <dt><a title="kml" href="http://paulvern.kodingen.com/benzdic.kml">sovraimpresso</a></dt>

    The site is at http://paulvern.kodingen.com/DatiQA/?page_id=73. The map on the bottom should show an overlayed jpg map.

    The kml works on google earth. I transformed both to jpg and png but still doesn't show up.

  5. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    Google Maps API doesn't seem to like the gx:LatLonQuad element. Using the LatLonBox element instead, it works:

    <LatLonBox>
        <north>44.2505923908037</north>
        <south>44.1826752080822</south>
        <east>12.1025091657406</east>
        <west>11.978766601043</west>
    </LatLonBox>

    cheers,
    Ross

  6. paulvern
    Member
    Posted 1 year ago #

    Thank you. It works now! Sadly I suppose I still can't have a partially transparent png image as in google earth but that is another story...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.