WordPress.org

Ready to get started?Download WordPress

Forums

WP Flexible Map
Complex Polygon Support (8 posts)

  1. mpeterson
    Member
    Posted 1 year ago #

    I have a complex polygon that I'm trying to display on my map; it consists of inner & outer boundaries in the kml code. Does WP Flexible Map support this, or am I doing something wrong? The map displays, but not with the perimeter I expect.

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

  2. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day, the plugin doesn't handle KML itself, it merely loads the files via the Google Maps API. See here for the limitations the API has with KML:

    https://developers.google.com/kml/documentation/mapsSupport

    cheers,
    Ross

  3. mpeterson
    Member
    Posted 1 year ago #

    Strange - when I open the KML file in Google Earth, it displays correctly. If I upload the KML to a Fusion Table, it displays correctly.

    It does not seem to display correctly within the WP Flexible Map KML. Perhaps I am doing something wrong.

  4. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    OK, if you can get it working OK that way, maybe you can import it to Google Maps and display from there. See this thread:

    http://wordpress.org/support/topic/plugin-wp-flexible-map-embeding-kml-directly-from-google-maps?replies=4

  5. mpeterson
    Member
    Posted 1 year ago #

    To simplify things, I uploaded another KML file that contained nothing more than a single placemark, and even that won't display correctly. The label for the icon is blank, even though it is labelled in the KML.

    The plugin isn't following the <lookat> parameters either, so the zoom level is incorrect in the map.

    Is the plugin not capable of displaying the name or label by default from a KML file?

    Thanks for your help!

  6. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    As per my first reply, it's the Google Maps API that is restricting you. However, are you saying that you can load your map into a Fusion Table and everything works OK? If so, maybe it's time I added a way to load a map from a Fusion Table...

  7. GeoSkye37
    Member
    Posted 1 year ago #

    Hi there Iv remapped the world to follow a system that runs alongside a project I'm working on they've all been reworked what i need to know is.
    1. Can you load kmls form a source ex: wp-content.
    2. Does it display polygon layer
    3. Do they keep elements as mine have tone change to roll over effect and custom balloons, link to File downloads
    4. is there a toggle tab

  8. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day,

    1. KMLs can be anywhere they can be loaded over HTTP from the Internet (i.e. they can't be on a private intranet server as Google's servers need to see them)
    2. I think so, if I understand you; see Raritan Headwaters Watershed Map for example
    3. Per the FAQ, see Google Maps support for KML and KML Elements Supported in Google Maps for details on what is supported
    4. ...? I don't know what that means; can you explain further?

    cheers,
    Ross

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic