• Resolved selftrips-ru

    (@selftrips-ru)


    The different Display route for map?
    Draws the route between the points in the same post
    and
    Connect the points with polylines, even if there is not a route between points

    And why

    The route will be draw only between the points associated to the same post.

    ?

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello,

    The routes, are real routes recognized by Google Maps between addresses, the polylines are straight lines between points, even if there is not a route recognized by Google between the addresses of the points.

    The decision to display routes only between points in a same post (or page) was took, because there is no way to identify the order between the posts or pages loaded on the map and we cannot assume a specific order. For example, if the website has three pages:

    Page 1, with the points A and B
    Page 2, with the points C and D
    and the Page 3, with the points E and F

    We cannot assume a connection between B and C or between B and E.

    A possible solution, if you want connect the points of different posts (or pages) is repeat the last point in the next post or page, for example:

    Page 1: F, A and B
    Page 2: B, C and D
    Page 3: D, E and F

    The connection would be only between points in a same post, but visually on the map, all points would be connected and route closed.

    Best regards.

    Thread Starter selftrips-ru

    (@selftrips-ru)

    By date post/page!!!! As options at the least!

    • This reply was modified 6 years, 12 months ago by selftrips-ru.
    Thread Starter selftrips-ru

    (@selftrips-ru)

    and

    The routes, are real routes recognized by Google Maps between addresses, the polylines are straight lines between points, even if there is not a route recognized by Google between the addresses of the points.

    RomeParisNew York
    This is addresses, but no route between Paris-New York
    and in this case is it possible route between RomeParis and line between Paris–New York ?

    • This reply was modified 6 years, 12 months ago by selftrips-ru.
    Thread Starter selftrips-ru

    (@selftrips-ru)

    You mean that for posts there are routes|lines between points/addresses for “inside”post but no between first and last points in different posts?

    • This reply was modified 6 years, 12 months ago by selftrips-ru.
    • This reply was modified 6 years, 12 months ago by selftrips-ru.
    Plugin Author codepeople

    (@codepeople)

    Hello,

    I cannot use the date as a default option, because there different dates related with a post/page: the creation date, the publication, the update date. A post can be published, unpublished, and published again, in whose case the publication date varies, and the route will vary too. Or a post can be created today but scheduled to be published automatically two days after, and the route can vary dependeing of other posts created in the interval.

    If you want connecting Rome-Paris-New York you should select the polyline option, because there is not a route between Paris-New York, unfortunately in the current version of the plugin the option selected affects the complete map, so, the connection between Rome and Paris would be a line too, and not the real route.

    About your question:

    …You mean that for posts there are routes|lines between points/addresses for “inside”post but no between first and last points in different posts?…

    Exactly, however you have an alternative, insert as the last point in the post A the first point in the post B, and visually on the map all points would be connected

    Best regards.

    Thread Starter selftrips-ru

    (@selftrips-ru)

    1. Date – the published date (the user can see)
    1.1 option to select – the creation date, the publication, the update date.
    2.
    If
    post 1 has Rome-Paris (route)
    post 2 has Paris-New New York (line)

    And there is map with post 1 and 2
    then connect the dots only lines?

    Thread Starter selftrips-ru

    (@selftrips-ru)

    It is technically possible to build the routes and lines where the routes are unavailable, on the same map? Will it be implemented in future versions?

    Plugin Author codepeople

    (@codepeople)

    Hello,

    If you want connect points in different posts, and the solution of duplicate some points is not possible in your case, I can offer you a custom coding service through my personal website:

    http://wordpress.dwbooster.com/support

    About combine routes and polylines, I’ll implement this feature, and let you know publishing an entry in this support thread.

    Best regards.

    Thread Starter selftrips-ru

    (@selftrips-ru)

    1.And is it possible specify to connect the dots or not is not in the settings but in the shortcode? There are default settings, but in the shortcode specify to connect the dots or not and how to connect?

    2. Is it possible show only specific points from all posts? for example “hotels”, “gas stations” and so on. No lines or route, but clustering!

    3.http://demos.net-factor.com/cp-google-maps/wp-admin/
    it is possible to make available more functionality
    3.1. Theme installation
    3.2. the appearance editor (in order to check the insert card in the header instead of an image of a specific subject)
    I need to try the “Tempera” theme and have access to the file theme-functions.php this theme . Or to be able to install my own plugins.

    Plugin Author codepeople

    (@codepeople)

    Hello,

    The plugin is only responsible to the map, and does not access or modifies the theme active in your webpage. About to define the map’s settings directly through the shortcode for clustering points, draw routes, display only the points corresponding to posts/pages with specific taxonomies, etc., yes, that’s possible, please, visit the following link to the plugin documentation:

    http://wordpress.dwbooster.com/content-tools/codepeople-post-map#attr

    Best regards.

    Plugin Author codepeople

    (@codepeople)

    Hello,

    I’ve published an update of the plugin to combine routes and polylines.

    Best regards.

    Thread Starter selftrips-ru

    (@selftrips-ru)

    ok.
    what is about

    2. Is it possible show only specific points from all posts? for example “hotels”, “gas stations” and so on. No lines or route, but clustering!

    Plugin Author codepeople

    (@codepeople)

    Hello,

    You can load points on the map based on the taxonomies assigned to the posts/pages where the points were defined. For example, if you have the categories: “hotels”, and “gas stations”, and you want to display on the map only the points that were defined in the posts belonging to the category “gas stations”, you should insert the shortcode with the corresponding attributes:

    [codepeople-post-map cat="gas-stations"]

    Pay attention, it is used the slug of the term and not its name.

    If you want to display only the points on these two categories:

    [codepeople-post-map cat="gas-stations,hotels"]

    To display clusters but not routes:

    [codepeople-post-map cat="gas-stations,hotels" route="0" markerclusterer="1"]

    Best regards.

    Thread Starter selftrips-ru

    (@selftrips-ru)

    No. In post there are points “hotel” and “gas-stations”
    How show only “hotel”?

    Plugin Author codepeople

    (@codepeople)

    Hello @selftrips-ru,

    In the current version of the plugin the taxonomies used for filtering the points on the map are assigned to the posts/pages where the points were defined, but not directly in the points. If you need to define custom attributes in the points for filtering them on the map, would be required customize your copy of the plugin.

    Please, contact me directly through my personal website:

    http://wordpress.dwbooster.com/support

    Best regards.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘The different Display route for map?’ is closed to new replies.