Adding Polylines to WordPress Google Map.
In this section you will learn how to add polylines to your WordPress Google Map.
Polylines is a shape created using multiple vertexes where each edge is marked with a marker. You can define the color and widths of the lines used for this overlay. Based on the number of used vertexes, the polyline can be a set of from two up to any number of lines. In case you want to change one of the edges of the shape, you can click on the marker, the vertex will be removed and you can create a new one. In addition overall created shape and its markers are draggable and you can move them within the map to change the shape or its location.
Title. You can provide a title for the polyline overlay. The title will be included in Information window of the shape.
Link. You can link polyline overlay to any URL, so that when site visitor hits the shape they will be redirected to mentioned URL. The link will be opened in a new window.
Data. Here you can either provide the longitude and latitude values for all included edges or use the markers to create the shape.
Show markers. Choose whether to display the marker, which are at the edges of the polyline overlay or not.
Enable Info Window. In some cases (e.g. you don’t want to display markers or you want the user to learn more about the location using URL redireciton only) you can disable Information window here.
Line color and styles. Choose the color and widths for the edges (line) by default and when hovered.
Published. Choose whether to publish the polyline overlay or leave it for the further publishing.
When all settings are set up, press Add Polyline button. The created polyline overlay will appear below the map within Polylines tab: here you will have the option to filter, duplicate, edit and delete polylines.