Maps covered with WordPress OSM Plugin V 3.5.2

With the latest WP OSM Plugin  version some new tiles have been added, you can choose these maps in the shortcode generator. Have fun to add them to your site!
<OpenCycleMap> <= API key
<pioneer> <= API key
<LandScape> <= API key set
<Outdoor> <= API key set
<Stamen Watercolor>
<Stamen Toner>
<Spinal Map>


Posted in Allgemein, announcement

WP OSM Plugin – free mapping solution based on state of the art technology

Within the last weeks there have been several requests regarding the new WP OSM Plugin shortcode osm_map_v3 and the differences to osm_map. So it’s time for a more detailled answere which needs some background information. All mapping plugings are ususally structured like this:

  1. there are map data wich should be displayed (OpenStreetMap, Bin, GoogleMaps, …)
  2. there are software components to display map data (OpenLayers, Leaflet, GoogleAPI, …)
  3. there is additional functionality added by the mapping plugin (show geotagged posts, shortcode generator, …)

The responsibility for 1.) is handed over to blog admin / author, the maps differ a lot in the license and that’s way many people choose OpenStreetMap for commercial and non commercial sites.

The point 2.) is quite important for the compatibility of your map on different browsers / devices. A lot of mapping plugins integrate software components which are five years old or even older … especially in the last years this part changed a lot because of mobile devices. WP OSM Plugin V3.5.1 with argument osm_map_v3  integrates OpenLayers 3.10.1 which was released in October 2015.

The point 3.) is mainly the added value by the plugin development team.

WP OSM Plugin provides two shortcodes to integrate maps, it’s like a “two in one plugin”. The osm_map shortcode ist based on OpenLayers 2 technology (point 2.) which is not state of the art anymore but still works. The new osm_map_v3 uses a mapping software which is the state of the art OpenLayers 3 and was released 1 month ago.
osm_map_v3 is a new and seperate development and because of limitted resource, the maintenance os WP OSM Plugin is limitted to osm_map_v3. Also new features, like fullscreen map button <=> is only implemented in osm_map_v3!

osm_map_v3 focuses on mobile devices, performance and simplicity

The arguments to be used with osm_map_v3 changed compared to osm_map. Mostly the shortcode is autogenerated with the WP OSM Plugin shortcode generator when you edit the post, but if you want just manually change it, you might want to know the relation within the table at the end of the article.

A map with all geotagged posts has got this osm_map_v3 shortcode:

[*osm_map_v3 map_center="52.795,23.51" zoom="3" width="75%" height="300" tagged_type="post" marker_name="wpttemp-yellow.png" control="fullscreen" map_border="thin solid grey"]

Improvement needs your feedback

You should update your osm_map shortcode to osm_map_v3 shortcode to make sure your readers see want you want them to see – on different devices with different features and high performance.

For further improvements we want to know which shortcode you use – please leave a comment to this article with your shortcode.

WP OSM Plugin shortcode table:

osm_map osm_map_v3 comment
lat map_center lat and lon are compined in one argument
lon -“-
kml_file file_list filetype is recognized by osm plugin.
kml_file_list file_list -“-
gpx_file file_list -“-
gpx_file_list file_list -“-
control control not fully supported
kml_colour file_color_list color is automatically related to gpx or kml files
gpx_colour file_color_list -“-
gpx_colour_list file_color_list -“-
width width
height height
map_border map_border -“-
import tagged_type import and post_type is combined to one
post_type -“-
zoom zoom
marker_name marker_name
type type -“-
zoom zoom -“-
map_border map_border -“-
marker marker_latlon -“-
marker_height *** not supported yet
marker_width *** not supported yet
marker_focus *** not supported yet
marker_routing *** not supported yet
import_osm_cat_excl_name *** not supported yet
import_osm_cat_incl_name *** not supported yet
import_osm_line_width *** not supported yet
import_osm_line_color *** not supported yet
import_osm_line_opacity *** not supported yet
theme not supported anymore
marker_file not supported anymore
Posted in tutorial

WordPress OpenStreetMap Plugin with fullscreen released

After a break during summer a new release of WP OSM Plugin is released. Here are the features:

  • Fullscreen map in your blog (via this button in the map [] )
  • fix of “undefined” marker at widgets
  • fix of missing marker in the widget at some installations
  • latest OpenLayers version (V10.1)

Get the butten for the fullscreen like this:

[*osm_map_v3 map_center="42.124,15.501" zoom="12" width="100%" height="450" marker_latlon="42.11981,15.50389" marker_name="mic_green_pinother_02.png" control="fullscreen"]

Click on this button in the map to get fullscreen:

And use this argument in your shortcode:


Looking forward your feedback:



Posted in announcement

FullScreen Map in WordPress with WP OSM Plugin

After quite a long time we are going to release WordPress OSM Plugin 3.4 in October. One of the new features is the fullscreen map:

You get a new button in your map to get the fullscreen map, just click on it in the map!


Just let us know on our new hanblog – facebook site, if you like this feature.


Posted in Allgemein
Tags: , , , , ,

WordPress OpenStreetMap Plugin OSM is now on facebook

It took some time, but you can find a site for the WordPress OpenStreetMap Plugin now also on facebook. It’s not perfectly prepared yet – but started. Feel free to give us a like to show it should continue:

WordPress OpenStreetMap Plugin on facebook

Posted in Allgemein

Translations for WordPress OpenStreetMap / OpenSeaMap Plugin

The latest version of WordPress OSM Plugin brings two topics which were driven by Marc:

  • French translations
  • moving icon when you zoom in / out

Thanks a lot to Marc.

Posted in announcement
Tags: , , , , , ,

WordPress OpenStreetMap / OpenSeaMap Plugin OSM V3.3 released

The latest version of WP OSM Plugin focused on changing technology to cover features of mobile devices and simplify the shortcode. Features of the latest versions are:

  • display KML files with osm_map_v3 shortcode
  • Possibility to disable ajax by define
  • Set your preferred location for geotagger as define
  • Update to OpenLayers 3.5

Display KML files with osm_map_v3 shortcode

The shortcode of the WP OSM Plugin detects the filetype of GPX and KML file:

GPX-file in OpenSeaMap:
[*osm_map_v3 map_center="52.628,5.291" zoom="9" type="OpenSeaMap" width="75%" height="330" file_list="../../../../wp-content/uploads/osm_map/OpenStreetMap_GPX_red.gpx"]
<=remove the “*”
KML-file in OpenStreetMap:
[*osm_map_v3 map_center="38.713,-9.136" zoom="16" width="75%" height="300" map_border="thin solid orange" theme="ol_orange"  file_list="../../../../wp-content/uploads/osm_map/OSM_01_red.kml, ../../../../wp-content/uploads/osm_map/OSM_01_black.kml" file_color_list="red,black"]
<=remove the “*”

Possibility to disable ajax by define

It has been reported that some user got the error:
You don't have permission to access /wp-admin/post.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

There are many possible reasons, most time it’s related to the .htaccess file. We do not want to make any security advices, but we provide a define to disable ajax for WP OSM Plugin only:

  1. go to the folder wp-content/plugins/osm
  2. open file osm-config-sample.php
  3. change and save
      // replace >True< with >False< if you want to disable it
      define (“OSM_enable_Ajax”, True);
      // replace >True< with >False< if you want to disable it
      define (“OSM_enable_Ajax”, False);
Important: This setting is deleted after WP OSM Plugin update. You have to reset it after update!

Set your preferred location for geotagger as define

You can also preset the start location of the maps in geotagger and shortcode generator. Eg to set it for Hamburg:
  1. go to the folder wp-content/plugins/osm
  2. open file osm-config-sample.php
  3. change and save
      // change them for shortcode generatgor & geotagger
      // to your location
    define (“OSM_default_lat”, 48.856614);
      define (“OSM_default_lon”, 2.352222);
      // change them for shortcode generatgor & geotagger
      // to your location
    define (“OSM_default_lat”, 53.551085);
    define (“OSM_default_lon”, 9.993682);
Let us know which feature you want next – here.
Posted in announcement
Tags: , , , , , ,

Preview: WordPress OpenStreetMap Plugin OSM with OpenLayers 3 for GPX with Waypoints

WordPress 4.2 will be released very soon and the WP OSM Plugin is prepared quite well and will release with V3.2 by the end of next week. Main work of the last weeks is to bring whole functionality to OpenLayers 3 library and improve performance and usability.

Handling of KML and GPX files will be improved and GPX files also support waypoints. A map with 3 GPX files and 2 waypoints in each of them will be integrated with this shortcode:

[*osm_map_v3 map_center="52.862,5.437" zoom="9" width="100%" height="500" map_border="medium solid blue" file_list="../../../../wp-content/uploads/osm_map/OpenStreetMap_GPX_red.gpx,../../../../wp-content/uploads/osm_map/OpenStreetMap_GPX_green.gpx,../../../../wp-content/uploads/osm_map/OpenStreetMap_GPX_blue.gpx" file_color_list="red,green,blue"]

This shortcode generates the following map. Click on the waypoints to get the names:

> Let us know if you want to make Beta-tests! <



Posted in announcement
Tags: , , ,