This page is closed, find the new forum here:
>> WordPress OpenStreetMap Plugin Forum <<
By continuing to use the site, you agree to the use of cookies and load data from third parties. more information
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.
I am trying to use the plugin with KML files generated by the android ‘backtitude’ app. Google earth can open them OK, but for some reason, they do not display in the plugin. I have tested with the supplied test kml file. I can get that to work. I am using the http url method for the files. The test kml works, the backtitude ones display no plot. No error is displayed I can see. Is there any way to turn on any debugging etc? A file is here http://pjsmith.me.uk/wp-content/uploads/kml/backitude-daily-kml-12-26-2015.kml. It does seem valid, so not sure why no plots are shown by the plugin. Thanks for any advice. Would love to get this working.
Hello Paul,
tested it:
http://wp-osm-plugin.hanblog.net/forum-test-page/
Just change the icon style in the kml file to a local icon:
FROM:
http://www.gstatic.com/mapspro/images/stock/503-wht-blank_maps.png
TO:
../../../../wp-content/plugins/osm/icons/wpttemp-red.png
Br,
MiKa
Hello,
I’m very happy user of the plugin, but yesterday I updated to version 3.5.5. Unfortunately, since then it isn’t possible for me to publish any blogposts or pages anymore with the plugin activated.
With the plugin activated, I get the following message when trying to edit or publish a blogpost:
Forbidden
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.
When I deactivate the OSM-plugin, it is possible again to publish a blogpost/page again. no problems at all.
Do you have ideas about this? I like the maps very much, so I don’t like it to have them deactivated…
Hello Marcel,
in the plugins/osm directory there is a file called: “osm-config-sample.php”. Can you open it and change:
define ("OSM_enable_Ajax", True)
;to
define ("OSM_enable_Ajax", False);
and let us know if this fixes the problem.
Br, MiKa
Hello MiKa,
That worked out well! After making that change in the file, it is possible again to publish posts and pages again. And the maps on my site are also still working, so problem solved for me.
Thanks and have a great day!
Kind regards,
Marcel
Mika, could you fix this page: http://wp-osm-plugin.hanblog.net/examples/display-a-wms-map/ ? I think the shortcode is missing, maybe was written without the * asterisk.
Hallo Rafael,
danke für den Hinweis, werden wir diese Woche nachziehen.
Br, MiKa
nice job here. merry x-mas ;]
And yes, another thing. The widgets/helpers are not found on the edit screen on custom posts. Only on post and peges. Just for your info.
Thanks again!
Hello again!
I’m one of those that’s keen on getting the tagged_type=”” to be able to use custom post types. It worked in the older version but is needed also in the v3.
Thanks for all you work!!
Marcus
Thank you for the info!
Br, MiKa
Hi,
I can’t see all informations on my map, on my website. Do you know why ? Thank you !
You can see my problem here : https://www.dropbox.com/s/9nzi5rorq27wbpx/Kazam_screencast_OSM.mp4?dl=0
Hi MiKa, do you roughly know, when import=”exif_m” will be supported in osm_map_v3 (or is something like this already implemented)? Would love to see that feature in the new shortcode so that I can change everything to the new version! Thanks a lot! Val
Hello Val,
hope to find some time end of this year … but there are still some other topics with more prio. At least it is fixed that it will be also merged to the new shortcode since we want to get rid of the osm_map shortcode as soon as possible.
Br, MiKa
Trying to use your WordPress Plugin, couple of issues so far, please help:
1) when geo tagging a post/page, coordinates get saved succusfully, but if I refresh the page/post in the editor, tagging widget would not display the current coordinates. Is this a bug or this is normal?
2) I tagged couple of pages, now trying to display them on a single map, and after generating a shortcode and pasting it into the page, I see following when viewing the page:
[OSM-Plugin-Error]:No posts/pages with geotag found!
[OSM-Plugin-Error]:CustomField:
[OSM-Plugin-Error]:PostType:
[OSM-Plugin-Error]:Tagged_Filter: osm_all
What am I doing here wrong? I tried to view pages and posts. I even tried to get rid of _v3, and then map is displayed without red errors, but still nothing on the map.
Hello Dmitri,
add 1.) If you geotag the post / page you will see the selected icon at the place you set. If you refresh the page it is removed and you can reset the the geotag at another place.
add 2.) Can you post the shortcode here. Or even better create a testpage, add the map and also the shortcode with a “*”.
Make sure there is no formatting in your shortcode (eg kursiv “).
Br, Michael
Hi Mika,
I’m testing the v3 shortcode and I miss the mousewheel zoom. I do understand that it can be annoying when scrolling through a page with embedded maps, but if one is interested in a specific map, the zooming is quite handy.
Would it be possible to add a parameter to the shortcode to enable mousewheel zooming if wanted? The shift+drag thing is neither obvious nor well-known, unfortunately.
Also, if the mousewheel zoom could be enabled by default in fullscreen mode, that would be great.
I’d try to look into this and send patches for the above, if you’d accept them for a future version.
T
He Todd,
We will not change osm_map anymore, but since you are the second who is asking for the mouswheel, we will consider it.
Br, MiKa
Hi,
just a quick hack to make (at least the default OpenStreetMap tiles) truly transport-agnostic:
In osm/js/OSM/openlayers/OpenStreetMap.js and osm/js/OL/2.13.1/OpenLayers.js replace the references to http://*.tile.openstreetmap.org with //*.tile.openstreetmap.org. The browser will then use whatever the page uses (https or http).
I hope something like this will make it into the next release. Keep up the great work.
T
trying to replace old map style with new v3 one and failing.
[ * osm_map lat=”50″ lon=”12″ zoom=”3″ width=”100%” control=”scale,mouseposition,scaleline” map_border=”thin solid lightgrey” theme=”dark” marker_name=”mic_photo_icon.png” import=”osm” type=”OpenStreetMap”]
[ * osm_map_v3 map_center=”50,12″ zoom=”3″ width=”100%” map_border=”thin solid lightgrey” control=”fullscreen” theme=”dark” marker_name=”mic_black_camera_01.png” import=”osm”]
The v3 version has a huge ugly “dot” that links to openlayers? Is my code above correct otherwise?
Hi repacing the shortcode is a great idea, you find infos about it here:
http://wp-osm-plugin.hanblog.net/tutorial/wp-osm-plugin-free-mapping-solution-based-on-state-of-the-art-technology/
Let me know if you miss something and I willupdate the article.
Br, MiKa
Now, as Google Maps are not supported anymore [1], might it be possible to include the beautiful Nokia Here Maps [2]?
[1] http://wp-osm-plugin.hanblog.net/display-google-maps/
[2] http://www.here.com
Hi Vantin,
we are going to have a look for an alternaive for those who do not want to use OpenStreetMap.
Br, MiKa
That sounds good. The classic rendering/tiles of OSM are just not very beautiful. In case the layered usage of Nokia Here does not comply with the terms of usage, maybe another service might be used. There is a nice comparison of map tiles here [1,2] and some OSM-based tile services are free for private usage (e.g. [3]). Anyhow – any development towards more beautiful maps is highly appreciated, you’re doing a great job here!
[1] http://mc.bbbike.org/mc/
[2] http://wiki.openstreetmap.org/wiki/Featured_tile_layers
[3] http://www.thunderforest.com/maps/
[2] should be linking to http://wiki.openstreetmap.org/wiki/Tile_servers, sorry…
Starting a new comment as the other is pretty hard to read by now.
Need some help with the osm_map_v3 short code
The code I use is this:
[ * osm_map_v3 map_center=”-34.115,18.445″ zoom=”10″ width=”100%” height=”450″ kml_file=”http://pacura.ru/wp-content/uploads/2015/10/Southern-Peninsula-Drive.kml” map_border=”thin solid black” control=”fullscreen” z_index=”0″ theme=”dark” type=”Mapnik”]
– Apparently in v3 one has to use map-center instead of lon/lat?
– can I keep using kml_file or do I need to use file_list?
– I had to stop using control=scale,scaleline,mouseposition,fullscreen and only stick with fullscreen as I was getting errors, is there a list of possible controls?
– I have replaced the built-in icon which pointed to Google: http://www.gstatic.com/mapspro/images/stock/503-wht-blank_maps.png with a local one: http://pacura.ru/wp-content/plugins/osm/icons/mic_black_pinother_02.png yet I see no markers or routes and
– the output looks really bad, there is a white thick border on top of my map which is due to an empty p-tag
– the full-screen button only maximizes width not height, why would it do that?
See the problem live here: http://pacura.ru/a-locals-drive-down-the-peninsula/
Hello ovidiu,
pls use the shortcode of my first answere: 27. Oktober 2015 um 06:34.
Anyway, I will create an article abute osm_map vs osm_map_v3. To your questions:
* Apparently in v3 one has to use map-center instead of lon/lat?
MiKa: Yes, tried to make it simpler
* Can I keep using kml_file or do I need to use file_list?
MiKa: No, osm_map_v3 is a new shortcode with new arguments.
* I had to stop using control=scale,scaleline,mouseposition,fullscreen and only stick with fullscreen as I was getting errors, is there a list of possible controls?
MiKa: osm_map_v3 is a new implementation. Up to now only fullscreen is implemented, other will follow …
* the output looks really bad, there is a white thick border on top of my map which is due to an empty p-tag
MiKa: Where did you get dis empty p-tag from?
* the full-screen button only maximizes width not height, why would it do that?
MiKa: At the moment it’s limitted to this …
Br, MiK
Oh no, I’m embarrassed. I saw your shortcode but thought that it was meant as a place holder, didn’t realize you were using absolute an path with ..\..\ instead of the full URL.
The empty p-tag is gone, that was a quirk of my editor 🙁 I found an option to disable it: Automatically add paragraphs – unchecked.
Thanks for all the detailed answers and I’m now using your shortcode copy/pasted it. Looks perfect but 2 questions remaining:
– still no icons and I edited the KML file and replaced the default icon which Google Maps had inserted with one of your markers according to the KML example you linked to.
– does the V3 shortcode accept arguments to use another map, preferably Google maps?
Hello ovidiu,
I am not 100% sure, but usually the style has to be defined before it is used. You added the style almost at the very end. Try to place it at the beginning.
Br, MiKa
I’ve moved the styling to the top, still no-go. I then tried the very same file here: http://www.gpsvisualizer.com/ and it displays just fine including icons.
Could you share a link to a sample file which works for you? That way I can test a file you know works on my site, maybe this is some sort of local problem…
Hi,
find your sample on the forum-testpage:
http://wp-osm-plugin.hanblog.net/forum-test-page/
And just get the file from here:
http://wp-osm-plugin.hanblog.net/wp-content/uploads/osm_map/Southern-Peninsula-Drive.kml
Br, MiKa
Thanks a ton! I figured out the difference:
mine uses:
Southern Peninsula Drive
ff3644DB
1.1
../../../../wp-content/plugins/osm/icons/mic_black_pinother_02.png
<![CDATA[$[name]]]>
yours uses:
Southern Peninsula Drive
../../../../wp-content/plugins/osm/icons/wpttemp-yellow.png
0.75
Hi,
I currently use a Google Maps widget – that I would like to replace with yours.
But from what I can see, your widget cannot be simply dragged into a widget area and appear – or have I missed something?
Thanks.
Mike
Hello mike,
to use WP OSM Plugin widget you have to add the widget in your widget area and then, when you write your post/page, you have to set a geolocation. This geolocation will be shown automatically in a widget …
What was your usecase?
Br, MiKa
Anyone able to help with a couple of issues? I also asked about them on the WP dot org forums but there was no response.
1.) http://pacura.ru/map/ Google Physical isn’t loaded, I have to swithc to Satelite then back and it works.
The code used is:
[*osm_map lat=”50″ lon=”12″ zoom=”3″ width=”100%” height=”520″ control=”scale,mouseposition,scaleline” map_border=”thin solid lightgrey” theme=”dark” marker_name=”mic_photo_icon.png” import=”osm” type=”AllGoogle”]
2.) Trying to display a kml file kinda fails.
I tried the following codes:
[*osm_map_v3 map_center=”-34.139,18.412″ zoom=”10″ width=”100%” height=”450″ map_border=”thin solid black” file_list=”http://pacura.ru/wp-content/uploads/2015/10/Southern-Peninsula-Drive1.kml” type=”AllGoogle”]
and
[*osm_map lat=”-34.115″ lon=”18.445″ zoom=”10″ width=”100%” height=”450″ kml_file=”http://pacura.ru/wp-content/uploads/2015/10/Southern-Peninsula-Drive.kml” map_border=”thin solid black” control=”scaleline,mouseposition” z_index=”0″ theme=”dark” type=”Mapnik”]
I tried setting type to AllGoogle with both and it doesn’t work.
Can anyone spot any errors in the above examples?
Looks like the trouble are related to AllGoole … regarding the kml file … did you try:
[osm_map_v3 map_center="-34.115,18.445" zoom="10" width="100%" height="450" map_border="thin solid black" file_list="../../../../wp-content/uploads/2015/10/Southern-Peninsula-Drive.kml" control="fullscreen"]
Post a link if this does not work …
Br, MiKa
Simply not getting this to work 🙁
so I went ahead and published the post, hope we can fix this.
http://pacura.ru/a-locals-drive-down-the-peninsula/
You can see the shortcodes used on the page, please advise how to properly display the kml file with markers. Ideally with Google maps and all the proper controls visible on the map.
Hello ovidiu,
you have to specify the icon for the marker in your kml file. Have a look to the sample page:
http://wp-osm-plugin.hanblog.net/examples/display-kml-file/
br, MiKa
I’ve seen that but this is a kml file exported from Google My Maps – any directions how to include the marker directly there before the export? I’ll read their manual, maybe I’ll figure it out.
Also if you follow my link you can see that my second try with osm_map not that one with osm_map_v3 shows markers but it doesn’t show any map controls.
###edit###
Just realized things are messed up, using Chrome I see map markers and no map controls, with IE I don’t see markers but controls 🙁
oh, btw. when exporting from Google’s My Maps, I can export as KMZ or check the box for this setting: “Export to a .KML file instead of .KMZ (does not include custom icons).”
BUT I don’t have any custom icons.
Any advice on how to proceed?
Hello ovidiu,
I do not know these google tools … looking at the sample you will see that your kml file present routes and placemarks. For placemarks you should define the icon in your kml-file. The address should be also on your own domain …
Thanks, I had tried a search/replace but it seems only the filename for the icon isn’t enough. Will try next with the full domain/path to the icon.
Seign that you don’t know Google Maps, what other tools (ideally free) are there for creating routes and places? Maybe you can add this info in your FAQ?
Hi,
I am working with Viking and wrote some lines here:
http://wp-osm-plugin.hanblog.net/create-a-file-with-multiple-markers/
And you should use the osm_map_v3 tag …
Br, MiKa
Thanks for the Viking pointer.
Just wondering why you didn’t say a word about V3 when I pointed you to my post earlier? I had used both options there, none was working. Since you completely ignored the V3 tag, I deleted it and focused on getting the default one working.
So, ok, I’m back with V3 now and this code:
[ * osm_map_v3 lat=”-34.115″ lon=”18.445″ zoom=”10″ width=”100%” height=”450″ kml_file=”http://pacura.ru/wp-content/uploads/2015/10/Southern-Peninsula-Drive.kml” map_border=”thin solid black” control=”scale,scaleline,mouseposition,fullscreen” z_index=”0″ theme=”dark” type=”Mapnik” ]
is giving me [OSM-Plugin-Error]:Invalid usage of control tag!
Any ideas?
I have successfully replaced all markers inside that file.
Hi,
Are you able to offer some advice regarding icon descriptions. I am using a kml file displayed on my map but the icons are created ok and the name is shown however the descriptions are not.
The kml file opens on google earth ok and the descriptions are shown as expected on there but not when i open the kml file using the openlayers plugin.
Many thanks
Adrian
Hi Adrian,
thanks for your feedback. Pls update to the latest version and let us know if you are still facing difficulties. If you like osm do not forget to rate here: https://wordpress.org/support/view/plugin-reviews/osm
br, mika
Hi Mika,
It works great now. Thank you very much
Kind regards,
Adrian
Hi! The OpenWeather does not work. The map does not show nothing. This problem will be solved? Thank you.
Hey all,
Have have a map using type=”ext” (to use a different tilemap as background layer) and multiple kml files with kml_file_list. But somehow when I use type=”ext” the box for selecting overlays disappears. How do I get this back? When I don’t use type=”ext” I do get it, and also my multiple kml files in there, so I can switch each of them on or off individually.
Now I use OSM Plugin in a second website (the french local currencies website) and wrote an “how-to use OSM on WordPress” page.
http://monnaie-locale-complementaire.net/cartes-osm-dans-wordpress/
Hi Marc,
very nice to see that you have been working on a second page using WP OSM Plugin. I will forward the link on twitter and facebook. If you have some time left, an article on HanBlog.Net about your work with the plugin could be nice. In English or French.
Br, MiKa
Hi MiKa!
I took a look to my site tonight and I saw that all my maps were gone.. the markers are still there but the maps are not
I don’t know whn it happened, I’ve been quite busy in the last months!
I see that the code has changed… “osm_map_v3 map_center” etc..
do I have to update the code in all my map pages? have you got any suggestion on how can I do it?
my central map is here http://www.geonotari.it/osm/
thanks!!!
Hello,
I tried to add a list of markers (containing only one marker for now, but I’ve tried with more than one too), but I couldn’t make it work. Can somebody tell me, what I did wrong?
My osm plugin code looks like this (without the star):
[*osm_map_v3 map_center=”52.795,11.185″ zoom=”5″ width=”100%” height=”450″ marker_file=”http://warmlicht.net/wp-content/uploads/gps_tracks/herbst2015/marker.txt”]
and my marker.txt looks the following:
lat lon title description icon iconSize iconOffset
54.029367 11.545837 Salzhaff Beschreibung http://warmlicht.net/wp-content/uploads/gps_tracks/icons/marina.png 20,20 0,-20
Does anybody see a mistake??
Hallo Daniel,
osm_map_v3 wird txt files nicht mehr unterstützen, empfehle Dir daher entweder KML files oder GPX files zu erzeugen. Wenn Du dennoch txt verwenden willst, dann musst Du den alten Tag osm_map verwenden. Für Dein File sieht das dann wie folgt aus:
http://wp-osm-plugin.hanblog.net/forum-test-page/
Im Text-file war auch noch ein Fehler, einmal war ein Leerzeichen statt einem Tab.
Br, MiKa
Hi Mika,
I really appreciate your plugin and using it a lot. However, currently I’m trying to combine both a KML file and geotagged posts in one map. However, it seems that the geotagged posts still need the old tag (osm_map) and the KML the new tag. Are you aware of this or am I missing something here?
Greetings,
Patrick
Hi Patrick,
you are right, the new tag does not cover it, you could to it with the old one (osm_map), which could combine it or just wait … for an upcoming version.
Br, MiKa
Great plugin. At your convenience, I’m having a little trouble displaying photos in the map. I can get a GPX trail in the map, but not photos. Seems not to pic up the exif data. I got it to work in another post and can’t figure out whats wrong. Code below, thanks for any help!
for the post http://www.nicholasmatcheck.com/honolulu-urban-hike/
15 miles and 50 pictures in urban Hawaii.
On 15 August 2015 I walked through my home, Honolulu, with my Nikon 3300 and a 50mm lens. What a saw was Honolulu’s own mixture: tourists, workers, and homeless; graveyards and mountains; high rises and shacks; stone walls and chicken wire; palm trees and light posts; alleys and highways; streams, sand, and sea.
[osm_map_v3 map_center="21.275,-157.809" zoom="13.5" width="80%" height="400" file_list="http://www.nicholasmatcheck.com/wp-content/uploads/2015/08/honoluluphotowalk1.gpx,http://www.nicholasmatcheck.com/wp-content/uploads/2015/08/honoluluphotowalk2.gpx,http://www.nicholasmatcheck.com/wp-content/uploads/2015/08/honoluluphotowalk3.gpx" type="stamen_toner" file_color_list="blue,blue,blue" import="exif_m" marker_name="mic_photo_icon.png" ]
[gallery size="full" columns="2" ids="176,175,174,173,172,171,170,169,168,167,166,165,164,163,162,161,160,159,158,157,156,155,154,153,152,151,150,149,148,147,146,145,144,143,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128,127"]
Hi nicholas,
at the moment you can not mix exif data and gpx data with osm_map_v3. You could use the old tag (osm_map), but I suggest to wait until this is covered in one of the next versions.
br, MiKa
MiKa,
Thanks for the response, will await the new version.
Best,
Nick
Hi,
Just a quick one, on this example:
http://wp-osm-plugin.hanblog.net/examples/display-gpx-file/
Clicking on waypoint popup shows: Nameundefined
That fixes it in osm/js/osm-v3-plugin-lib.js:
desc_str = features[i].get(“description”);
=> desc_str = ”;
I am on vacation and will check it when I am back for aversion in October. Thanks for your feedback!! Br MiKa
First, many thanks for this excellent plugin. It is the most flexible mapping plugin I have found; most others seem to insist on using Google Maps – the OpenStreetMap maps work better in my application.
I’m having some difficulty with KML files and v3 maps. See the samples on this page here:
http://www.cardinia.co.uk/demo/2015/09/07/osm-test/
The top sample uses osm_map_v3 and the bottom uses the older osm_map. Both use the same KML file, generated by Google Earth.
You will see that in the osm_map_v3, the paddles are displayed at double the size compared to the osm_map. These are Google’s standard map paddles and are made that size for retina displays but usually scaled to 32px on non-retina displays. Is this behaviour intended?
Also, is it possible to style the bubbles which pop up when clicking a paddle? In the osm_map, bubbles use most of the available width but in the osm_map_v3, they are narrow and some of them overflow the height of the map window.
Many thanks.
Hello Mika,
would it be possible to include the map types of stamen toner and stamen terrain in near future? Apparently, stamen toner was supported once, but at the moment it does not work on your example page. And especially the terrain map (http://maps.stamen.com/terrain) is very beautiful.
Thank you for your great work!
Hi Valentin,
thx for feedback. Use the new shortcode osm_map_v3 – I have modified the sample page.
Br, MiKa
Hi MiKa,
Thanks for your reply. Is there a documentation page for osm_map_v3 like http://wp-osm-plugin.hanblog.net/shortcode-arguments/? Does the new shortcode osm_map_v3 already supports stamen terrain? (If not, do you have plans to include it in the future?)
Valentin
map stopped working (at least google physical)
once you switch to google sattelite and back its ok. Any ideas?
Hello ovidiu,
thx for this feedback! Will have a look to it next week.
Br, MiKa
thanks, I would have switched to osm_map_v3 but couldn’t find proper documentation. If there is, please point me there, otherwise I’ll just wait.
I’ve copied the link to my sample map in my profile here if you want to see it live.
Hello,
I like your plugin very much. But I’ve a question. On your GPS-demo page, you can’t click on the route. On my page, you get the name of the route and I don’t like it.
Furthermore, on your demo page and also on my page, if you click an point, you get the name of the point followed by “undefined”. Is it possible to hide that text?
And a third question, is it possible to completely disable clicking the points?
Thanks for your answers.
Jeroen
Hi Jeroen,
this is not well done yet and has to be corrected in one of the next WP OSM Plugin versions … after summertime 😉
Br, MiKa
Hello.
I’ve got problem with placing the circle on map 🙁
my shortcode is:
[osm_map_v3 map_center="50.422,16.621" zoom="9" width="100%" height="350" marker_latlon="50.43961,16.65436" marker_name="mic_black_pinother_02.png" disc_center_list="50.422 16.621" disc_radius_list="2000"]
and i can’t see any circle.
Can You give me any advice to solve this problem?
Hi Pawel,
osm_map_v3 is the new shortcode which does not support circles, yet. Use the old one which is explained here:
http://wp-osm-plugin.hanblog.net/examples/display-circles-in-a-map/
br, MiKa
Hi,
After my previous plugin for displaying gpx-files didn’t work anymore, I’ve tried yours now. For some reason, my gpx-file isn’t shown. Here’s my shortcode:
[*osm_map_v3 map_center=”50.98,5.624″ zoom=”12″ width=”100%” height=”450″ file_list=”http://www.d-eye.be/wp-content/uploads/wandel_20150731.gpx” file_color_list=”blue”]
Am I doing something wrong?
Thanks!
Hi Rudy,
can you create a testpage and post a link here?
Br, MiKa
Hello,
I am trying to display KML data, but it does not appear on the map – what’s gone wrong?
You can see my attempt on the website link above.
Many thanks
Hi Oliver,
can you add the OSM shortcode in the testpage (with an * not to generate a map) and let me see what you did. I tried your kml file here:
http://wp-osm-plugin.hanblog.net/forum-test-page/
br, mika
Pls post the absolut address to your KML file here.
It’s good to be able to show several gpx files.
Is it possible to toggle the display of the files on and off?
Like this example which I built using OpenSpace mapping.
http://compton.parish.hants.gov.uk/about/maps/parish-boundary/
thanks
Adrian
Hello Mika,
NICE PLUGIN! Like using it but I have a problem.
I try to place only waypoints on my map but that is not working. A gpx file with a track is no problem, only the waypoints are not showing up.
Am I doing something wrong? Thanks for any advice.
You can see the map here : http://www.out4trails.be/the-map/
Thanks again for any help!
Peter
Hi Petet,
use new shortcode:
http://wp-osm-plugin.hanblog.net/examples/display-gpx-file/
and do not forget to rate:
https://wordpress.org/support/view/plugin-reviews/osm
br, mika
use osm_map_v3 … br mika
Hi Peter,
http://wp-osm-plugin.hanblog.net/examples/display-gpx-file/
br, MiKa
Hi MiKa,
there is a problem with css: The style rules are too broad and affect items outside the map view. See yourself:
http://datafromsky.com/wp-content/uploads/2015/06/osm_css_breakage.png
In my opinion, selector “li.active a” is too simple for something that has to work together with lots of different code… Actually, looking at the rest of the file, the other rules have similar problems. I would very much like to see all the other rules scoped into the map element in some way.
Thanks for the plugin anyway!
Vladimir
Hi Vladimir,
we will not change osm_map shortcode with old openlayers library anymore but improve new shortcode:
osm_map_v3
css is handled in a better way, too.
br, MiKa
Oh, so that’s how it should be – thanks!
Perhaps the documentation could mention this (_v3) more, but, well, we all know how it is with documentation…
Vladimir
Hi,
Really liking the plugin. I am struggling with 2 things in the gpx/kml openlayers3 option:
1) Seems the map won’t display the CycleMap option. I display the other OpenMaps options and the stamen options too, just not CycleMap.
[*osm_map_v3 map_center=”22.502,59.029″ map_border=”solid thin #F0F0F0″ zoom=”12″ width=”100%” height=”450″ file_list=”../../../../wp-content/uploads/2015/06/wbk_trek.gpx,../../../../wp-content/uploads/2015/06/wbk_downstream_turnoff.gpx,../../../../wp-content/uploads/2015/06/wbk_upstream_turnoff.gpx” file_color_list=”red,red,red” type=”CycleMap”]
Also, is it possible to load a completely different base map? Example: http://www.opencyclemap.org “outdoor” base map?
2) The text generated for the gpx files in the pop up cloud has “undefined” attached to the end. Am I doing something wrong, or can I spec a value for this? You can also see this in your examples (http://wp-osm-plugin.hanblog.net/examples/display-gpx-file/)
Thank you.
Hi Michael,
add 1.) Not yet, could be added if you post more info to the specific map.
add 2.) That’s a bug and will be fixed in the next version (July).
Br, Michael
Thank you for the quick response.
1) To be clear, CycleMap is not a working option for the the kml/gpx maps at the moment?
The information on the outdoor maps can be found here: http://www.thunderforest.com/outdoors/ It’s from the same guy who created the OpenCycleMap. Loading all is options into your plugin might prove beneficial: http://www.thunderforest.com/maps/
At the moment, the klm/gpx base maps offered in the plugin are more geared for city and road purposes, or special aesthetics with stamen. Adding the Outdoor, landscape, and OpenCycleMap would support outdoor users well, and make the options well rounded.
It would also be helpful to have the option for web viewers to toggle different base maps and overlays like it is in the older versions of open layers I see on your site with the “+” button. http://wp-osm-plugin.hanblog.net/examples/display-a-private-map/
2) Thanks, I look forward to the release.
Again, really cool plugin and great efforts, and I look forward to the possibility to load different base maps. Will leave positive remarks, as I am pleased.
Thank you. D.
I’m trying to use your wp plugin (latest version) with wp 4.2.2, but when I edit a new page and insert the code I cannot save nor preview, all I get is this page:
“403
Forbidden
Access to this resource on the server is denied!”
Could you check it please?
Let me know if this helps you. Br, MiKa
Hi Mika !
Thank You, danke schön, merci pour la release 3.3
I enjoy to preset Lon & Lat in osm-config.php ;->)
Is that possible, in the next release, to add :
define (“OSM_default_zoom”, 3);
Cheers,
Marc
Done ! It comes in release 3.3.1 Thank You
Here is the second test post using your shortcode.
I’ve added the EXIF data viewer plugin to read the EXIF data and print it to the page, so I know it’s actually there.
I can see the map, but there are no camera icons or photos on the map.
http://map.savethegreatsouthbay.org/2015/06/01/test-post-2/
I copied the shortcode you provided and the map is empty. It does not load.
http://map.savethegreatsouthbay.org/2015/05/21/hello-world/
Hello
I installed your plugin yesterday. However when I activate your plugin and try to post anything I get the error message:
Forbidden
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.
If I deactivate your plug in, and make the post with the appropriate code I can make a post. If I then reactivate the plugin I get the map and track. However if I try then to make any post I get the same error message.
I am using wordress 4.22 and the sucessful post, made by deactivating the the plugin, making the post, and reactivating the plugin is at: http://tradewind35.co.uk/?page_id=13
To be clear, with the plugin activated I cannot publish any posts 🙁
Thank you for any help your able to offer
Paul
Hello Paul!
Thank you for your information and feedback – I will send you a Betaversion this week.
Br, MiKa
You say in your instructions that if you insert 3 photos into your post, then your plugin will read the exif data of all three photos and insert a map based on the shortcode provided, but if you have a short code with one lat long data example, then that’s not three images. Three different images should have three different lat lon coordinates, right?
Hi Tony Zeoli,
a.) Create a new post
b.) Upload three photos ẃith geotag and insert them to the post
c.) Copy (Strg+c) the shortcode we provided as answere to you question in this forum
d.) Change the view of the WordPress post Editor from Visual to Text (see this blogentry)
e.) Paste (Strg+v) the shortcode in your post
f.) Change the view of the WordPress post Editor from Text to Visual again
g.) Publish the post
h.) Post a link to the created post if you need more support.
Thanks & br, MiKa
Sorry, I didn’t know the word “Antwoten” means to “Reply”
Here is another test post.
http://map.savethegreatsouthbay.org/2015/06/01/test-post-3/
I uploaded two images.
I set the exif data shortcode in the post from the other plugin, to make sure exif data was in the images.
I set your shortcode and the map displays, but not with the camera icon or photos.
Hi Tony Zeoli,
* open test-post-3 to edit
* change the view from visual to text
* copy the shortcode in the article for the map
* past the shortcode for the map in the same post
* add a “*” in the shortcode like [*osm_map
* change the view from text to visual
* you will see the same shortcode twice, but once with “*”
* update the article and post here the info
Thx & Br, Michael
1. I edited the post.
2. I added this shortcode to the post:
[*osm_map lat=”27.368″ lon=”88.223″ zoom=”11″ width=”450″ height=”450″ control=”mouseposition,scaleline” theme=”dark” map_border=”thin solid black” type=”CycleMap” import=”exif_m” marker_name=”mic_photo_icon.png”]
3. Now, there are two shortcodes in the post editor. One with the “*” and one without.
See: http://cl.ly/image/1A1c3i3X0e2v
4. I see shortcode with the “*” in the body of the post. I see the map embedded in the post, but nothing appears on the map and it resolves to the lon / lat somewhere in Asia, not in Asheville, NC in the United States.
http://cl.ly/image/1A1c3i3X0e2v
Any feedback on this? Please check my work and let me know what you see is incorrect.
Try to include the images into the post not resized but 100% (original) size.
Okay, will try that.
Nope, didn’t work. Changed the size of the photos to 100% and reset them in a post.
I don’t understand – why does the OSM code still have a lat lon of – lat=”27.368″ lon=”88.223″?
Are you saying that the lat lon is ignored in the code when the photos have exif data that differs?
It doesn’t make sense.
lat & lon set the center of the map.
the photos with exif-data set the marker on the map.
Okay, thanks.
It doesn’t say that in the instructions.
So, if I want to set the center of the map to Asheville, NC, I need to change the lat lon in the shortcode. Is that correct?
I also inserted full size images, but it’s still not setting the markers from the exif data.
Okay, so now I’m starting to really understand this tool.
This is what the instructions should say.
1. Create a Post or Page in WordPress
2. Find the WP OSM shortcode generator panel that was added to the post editor screen when you installed the plugin
3. Click on the Geotagged tab and make your selections. For Post Type use Post or Page, depending on which Post Type you are working with.
4. Now click into the map and choose the area you want to center on – most likely, the area you took the photos (e.g. a city, town, village) – then zoom in or out until you are satisfied with the area of the map you would like to display in your post or page. If you’re photos are, for example, from a city in the United States and a city in Europe, then you’ll want to make sure both the United States and Europe are in view and centered on the map.
5. Click on the map once to generate the shortcode, which will then appear in the area below the map.
6. Copy and paste the shortcode into the body of your Post or Page.
7. Now click on the Media tab in the post editor to upload your photos with EXIF data. Add each photo to your post.
Remember, only photos that have longitude and latitude in the EXIF data will display on the map. To make sure your photos have the correct EXIF data, there are iPhone and Android apps that will help you view your EXIF data to ensure they contain the longitude and latitude data. Or, there are WordPress plugins that will display EXIF data from a photo in your Post or Page with a shortcode after you’ve uploaded and embedded a photo into a post.
Either way is useful to confirm your photos have EXIF data. Photos taken from a regular camera without the ability to embed latitude and longitude data into the photo will not work with this plugin.
8. Either save or publish your post and view the post on your website. The images you’ve added to the post should appear on the map.
This code:
[osm_map lat="35.5946" lon="-82.553" zoom="11" width="75%" height="450" control="mouseposition,scaleline" theme="dark" map_border="thin solid black" import="exif_m" marker_name="mic_photo_icon.png"]
already has the lat=”35.5946″ lon=”-82.553″data in it.
This is so frustrating, because you’re not being very clear as to how this actually works.
I have three images. I placed the code in the post. The images are not at the lat lon location in your code, so how are they supposed to display then?
These instructions are not very good. Please give me detailed, step by step instructions, like this:
1. Upload photo(s) to media library
2. Select photo(s) to insert into post
3. Insert photos in post
4. Add this shortcode…
5. Change the lat lon data in the shortcode to the lat lon of your first picture
6. To add additional lat lon data in the short code, do this…
Please be more specific. I appreciate your help, but you’re not helping by assuming that I’m just going to get it.
You have lat lon data in your short code that is NOT the lat lon data of the photos in my post. How can I use this code, when I have three photos and they are not where your lat lon data is? And, there are three. Not one.
This is so frustrating.
I’m not sure how a post with exif data should work. The instructions on the website are not clear, because it seems you always have to click on the map to get a shortcode. How do you generate a shortcode of all the photos in a post? Can you better explain that in the example on your website, please?
Checked your site. Exif data is available in photo, use something like this:
[osm_map lat="35.5946" lon="-82.553" zoom="11" width="75%" height="450" control="mouseposition,scaleline" theme="dark" map_border="thin solid black" import="exif_m" marker_name="mic_photo_icon.png"]
to show to the place in your post.
The maps are wonderful. However, the widget does not display on the main page. I tested with several themes, including 2014.
Hello Amgine,
thanks for your feedback! If you like it rate it here:
https://wordpress.org/support/view/plugin-reviews/osm
The widget ist used to display the location of a single post or page. If it is not a single post or page it is turned off automatically. To show locations of posts / pages see the example here:
http://wp-osm-plugin.hanblog.net/examples/display-geotagged-posts/
br, MiKa
Hi, when the osm plugin is installed and activated, I can’t preview or update my wordpress pages. I get the common 404 cannot open page error. If I deactivate the plugin, the problem goes away.
I deactivated all my plugins except for the osm plugin and my Gantry theme plugin (which I have to have activated for the website to load). Could it be an issue with the theme?
Currently I am using a different Google map on my page: http://nwsisu.com/climbing-mt-st-helens/climbers-bivouac/
But I would rather use your osm map.
Hi Juha Tyni,
there will be an update in May and we will add an option that might solve the problem of your website. It would be great if you could test it in advance with the Beta version.
Br, MiKa
Thanks MiKa. Sure, I would be happy to test the Beta version
I would like to test it too if you need 🙂
Same problem: 404 for both articles and pages. Whaiting for the fixing of this beautiful plugin.
Thanx
Hi there,
I’m using your plugin on my localhost.
And I have a problem with the kml file I try to import.
The problem is :
I provide the link where my kml file is.
I select in the combobox “kml file”
I validate with the “update options” button.
Then the page reload and the fied “paste the local URL of file here” is empty (just the http://).
How can I display my kml on this map.
Thanks for helping !!
Best regards
Hi benjamin,
post your osm shortcode here and use relative pahts.
Br, MiKa
I am trying to add some interaction between the text of my page and the OSM map that is in that same page, created from a KML file.
I have links now going from a feature popup in the map to the text (using anchors), and in the text I use javascript to jump to the map and zoom to a specific feature.
Only one thing I would like to add is that the popup of a feature is opened somehow. Now when I click a link the following javascript makes my map zoom to the feature.
map_1.zoomToExtent(map_1.layers[2].getFeaturesByAttribute(‘name’,’someName’)[0].geometry.getBounds())
I would like on the same click also to open the popup that normally opens when I click the feature. How can I do this? I am reasonably comfortable programming OpenLayers (done it before in other applications), but I would like to use the OSM plugin code as much as possible.
Cheers,
Dolf.
Hi Dolf,
I like this kind of feedback by the users and I will support you with some conditions:
* all has to be designed in a generic way to be available for all WP OSM Plugin users.
* it has to be implemented in OpenLayers 3 (shortcode osm_map_v3)
I will be pretty busy until end of cw20 – if you have some running samples outside WordPress I can have already a look to it. You can also contact me directly here:
http://wp-osm-plugin.hanblog.net/contact/
br, MiKa
Hi Mika,
I can’t use the contact form (only 1000 characters allowed and verification image doesn’t show), so I’ll continue here.
Just to show what I did now is make a map using a KML file using the shortcode generator (see link to website as well).
Then in the page where the map is located, I added the following javascript snippet:
function showFeature(name){
feature=map_1.layers[2].getFeaturesByAttribute(‘name’,name)[0]
map_1.moveTo(feature.geometry.getBounds().getCenterLonLat(),13)
}
Then in the text I can link to Location
Possible problems I see with this setup is the amount of layers and maps and feature attributes.
* I hardcoded to get the feature by the attribute “name”. Others might want other attributes. That would be easy to change.
* I have the map variable hardcoded
* I hardcoded the reference to layer number 2 of the map
Right now I do everything just with javascript in the WP page, but if it is for other users, it would be nice to have a second shortcode that creates a link to a feature in the map (zooms the map to it and displays the popup).
For that I guess on the WP-OSM side we would need
* an Id for each map shortcode so we can refer to it from other shortcodes (instead of hardcoding the map variable)
* an anchor at the map we can link/scroll to
* A shortcode to generate the link that scrolls to the map anchor, centers the map on the feature and shows the popup. The arguments to the shortcode should be a map_id (to get the correct map), feature attribute name and feature attribute value (to identify the feature). With that you have enough info to execute the javascript I pasted above. I guess.
I’d be happy to contribute if you want me to (depending on available time of course), but I would need some pointers as to the shortcode generation (I haven’t really developed for WP before, plenty of JS/PHP though) and where the behaviour is defined that shows the popup when the feature is clicked (I know it is an OpenLayers.Popup.FramedCloud).
Cheers,
Dolf.
I have a problem with OSM – OpenStreetMap Version: 3.1.1 (the first time I have installed it). When active I cannot change or write any posts because of this error:
“Forbidden You don’t have permission to access /wp-admin/post.php”
Maps still show up Ok but I have to disable the plugin to modify any post with the editor? Is there a solution to this permissions error?
Thanks
Colin.
Hi Colin,
does ist make a difference if you change the user role?
br, MiKa
No difference what ever role is selected.
Further info – the very first time after you activate the plugin you can save one edit change. After that save the error occurs every time.
Can you post the content of the .htaccess to see if there are any right limitations?
Hi,
I can’t find the map on my page. It is not loading.
🙂
Can you help me?
Hi Radoslav,
1.) create a testpost to test the WP OSM Plugin in your site
2.) create a very simple map without any additional data like:
[*osm_map lat="38.709" lon="-9.135" zoom="14" width="95%" height="300"]
<= without the *
3.) add the Shortcode also as text (with *) in the post
4.) post a link to this post here
br, MiKa
Hi,
I had a map but it is disappeared. The code is the following:
[*osm_map lat=”42.7″ lon=”25.35″ zoom=”7″ width=”100%” height=”360″ import=”osm_l” post_type=”any” marker_name=”mic_red_pinother_02.png”]
The link is http://planinar.org (bottom)
Thanks in advance!
Hi Radoslav,
1.) create a testpost to test the WP OSM Plugin in your site
2.) create a very simple map without any additional data like:
[*osm_map lat="38.709" lon="-9.135" zoom="14" width="95%" height="300"]
<= without the *
3.) add the Shortcode also as text (with *) in the post
4.) post a link to this post here
br, MiKa
Hi,
The result http://planinar.org/osm-test-post-2/
OK, this works fine, can you now replace it with your shortcode on this map:
[*osm_map lat="42.7" lon="25.35" zoom="7" width="100%" height="360" import="osm_l" post_type="any" marker_name="mic_red_pinother_02.png"]
Again addd is as text.
br, michael
I did it, but all elements of the site have gone.
I still can see only one map on this page:
http://planinar.org/osm-test-post-2/
Add the shortcode at the same page and add at it also as text with *. Then post here, that I can have a look at this site.
Replace the second map with:
[*osm_map lat="42.7" lon="25.35" zoom="7" width="100%" height="360" import="osm_l" marker_name="mic_red_pinother_02.png"]
Again add is as text.
br, michael
May be is a cache issue. Now the content of the post is:
[*osm_map lat=”42.7″ lon=”25.35″ zoom=”7″ width=”100%” height=”360″ import=”osm_l” marker_name=”mic_red_pinother_02.png”]
[*osm_map lat=”42.7″ lon=”25.35″ zoom=”7″ width=”100%” height=”360″ import=”osm_l” marker_name=”mic_red_pinother_02.png”]
(the second is without *)
And I don’t see anything.
I see this
http://3.ii.gl/EgM_ca8ix.png
Replace the second map with:
[*osm_map lat="42.7" lon="25.35" zoom="7" width="100%" height="360" import="osm_l" marker_name="mic_red_pinother_02.png"]
Looking at the source code of your page it looks you are still adding post_type Argument to the OSM shortcode.
br, michael
post_type Argument removed. Still no result 🙁
I have not seen this behaviour yet:
* simple map works
* read database for geotag works: http://planinar.org/osm-test-post/
* map and read database does not work: http://planinar.org/osm-test-post-2/
Can you disable all other plugins to see if something else breaks OSM plugin.
You are absolutely right! The problem is in WordPress SEO plugin. Thank you for your time and support! Now all is working properly.
Best regards!
Radoslav
Thanks for the information! And feel free to rate the plugin here:
https://wordpress.org/support/view/plugin-reviews/osm
🙂 MiKa
Hi, I installed and activated your plugin. I was able to upload a GPX file to my media, so at least part of the plugin seems to work.
In the OSM shortcode creator it says I have to click ‘in the map’to adjust the shortcode, but I do not see a map.
What am I doing wrong? Could there be a conflict with my theme?
Thanks! Leonie
Hi Leonie,
can you create a test page and insert these two shortcodes (without :
[*osm_map lat=”38.709″ lon=”-9.135″ zoom=”14″ width=”95%” height=”300″]
[*osm_map_v3 map_center=”45.63,13.62″ zoom=”11″ width=”100%” height=”450″]
Can you see the maps on this page?
Br, MiKa
No, I don’t. I see an error message and below that an empty box where (i think) a map should be:
[OSM-Plugin-Error]:Map Zoomlevel out of range or invalid! (using defaultvalue)
[OSM-Plugin-Error]:Map width or height is out of range or invalid (using defaultsize)!
[OSM-Plugin-Error]:Map width or height is out of range or invalid (using defaultsize)!
[OSM-Plugin-Error]:Map width or height is out of range or invalid (using defaultsize)!
[OSM-Plugin-Error]:Map width or height is out of range or invalid (using defaultsize)!
MiKa, I tried a different browser (Safari instead of Firefox) and now the map does show. I will check firefox first and if -after that- it still does not work, I will let you know!
Thanks-Danke Sehr for you quick response before (I forget to tell you earlier)
Leonie
Hello Leonie,
you have a great blog for a great adventure! I am looking forward to see the WP OSM Plugin running on it. Let me know if you need any help. You know, if you geotag your posts you can draw your route automatically on a map. If a browser does not work you could also check the settings of this browser. Most time the [OSM-Plugin-Error] is shown because the ” are with style information (” instead of “).
br, MiKa
Thank you for the new version (3.1).
kml_file_list seems to be working fine and traces are well clickable.
I’m going tu use this option to make a whole index map pointing to description pages.
Merci
Yves
An example of kml_file_list here: http://www.velocanauxdodo.fr/?page_id=4643
Some problems remain:
1) Only upper overlay is clickable. you have to deactivate a layer to get access to lower one. And some “whim” in closing balloons when multiple layers.
2) rounded corners of baloons and markers are not transparent.
Some add on would be usefull if possible as:
1) track highlight on mouseover
2) only name of kml file without path and extension.
Regards
Yves
Hi Yves,
thanks for your feedback. We are currently working on migration to a new library to display maps. This takes some time but we hope to get KML running with OpenLayers by end of April. We will invest in the new technology and consider your feedback there. Would be great to get some test from you with feedback middle of April with a Beta-Version.
Br, MiKa
OK. Contact me by mail when the beta new version is ready for tests.
Bonne journée
Yves
The plugin is almost working for me with KML but the size of the balloon is wrong – it is too wide and too narrow.
I am using this shortcode:
[osm_map Lat="7.397" Long="151.78" zoom="11" width="100%" height="600" control="mouseposition,scaleline" map_border="thin solid grey" theme="dark" kml_file="../../../../wp-content/uploads/maps/Wrecks.kml"]
How do I configure the height of the balloon?
I have some text and an image in the balloon using this balloon style – the height=”xx” does nothing – I tired several values.
$[name]
$[description]
Hi Matt,
pls send the code here since WP comment does not work with code:
http://wp-osm-plugin.hanblog.net/contact/
Thanks and br,
MiKa
Hi!
First, thank you for this plugin. I see in OSM there is a map called MapQuest Open. It’s posibe to use it with the plugin?
Thanks
Hello Pablo,
thanks for your feedback. MapQuest will be integrated in a version that will be releas end of April.
br, MiKa
I cant’t get the gpx file to show on the map.
This is the gpx file:
http://www.vaeq.com/wp2/wp-content/uploads/2015/03/Traject.gpx
This is the shortcode:
[osm_map lat="52.212" lon="6.551" zoom="9" width="100%" height="450" gpx_file="http://www.vaeq.com/wp2/wp-content/uploads/2015/03/Traject.gpx" gpx_colour="red"]
This is the result:
http://vaeq.com/wp2/?p=37
What do I wrong??
Many thanks.
Eddy
Hi Eddy,
it worked for me, see:
http://wp-osm-plugin.hanblog.net/forum-test-page/
So pls try to use your address without www:
http://vaeq.com/wp2/wp-content/uploads/2015/03/Traject.gpx
And if you like the plugin, feel free to rate it here:
https://wordpress.org/support/view/plugin-reviews/osm
Thanks & br,
MiKa
Excellent MiKa. Removed www and it’s working.
Rated 5 stars.
Cheers,
Eddy
Is there a way to change the olPopup size? even if I change it via stylesheet it get’s overridden by the inline style.
Thanks
Hi,
Am I missing something – is it possible to add Waypoints from a GPX file – not just tracks?
Here is a test page
Below is the map is the file url
Like your plugin otherwise especially the ability to embed more than one gpx track in a map – wonder if its possible to loop for all gpx tracks and make a big composite map.
Hi Ruben,
thanks for your feedbacke. The feature to add multiple GPX tracks in one map will be added by the end of next week. The waypoints will be implemented in a later version in April.
BR, MiKa
Mika that is wonderful.
I look forward to news of your developments, will keep an eye out, if you have any elist please subscribe me!
Thanks for you work
Just stopping by to say thanks for letting us know about the multiple GPX file development! much appreciated.
We are eagerly awaiting the ability to display POI, and will hold out from using another plugin because everything else works beautifully.
Thanks again for your work!
GPX tracks seems not to be clickable but KML are (viewving descrption, link…. in the map).
You provide list of GPX tracks but not for KML.
I would be glad to get GPX (or KML) clickable list of tracks. Is it possible?
Regards
Hi Yves,
OK – you get it with the next version … first half of March a list of KML files 🙂
BR, MiKa
Merci beaucoup.
Yves
Hi Yves,
you got kml-list with version 3.1, feel free to rate the plugin here:
https://wordpress.org/support/view/plugin-reviews/osm
BR, MiKa
Hi MiKa,
it would be nice to get clickable gpx track nevertheless. Thanks for the great plugin!
Hi JB,
it’s in plan for a release end of April.
br, mika
Thanks for your plugin, until now it worked fine but since I
updated WordPress to the version 4.1.1–it_IT there is a problem:
with OSM – OpenStreetMap Version: 3.0 active I cannot change or write new posts because of this error:
this server. Apache Server at gian.mario.navillod.it Port 80
If I deactivate your plugin everything works.
What can I do about it?
Have a nice day
Gian Mario
Hi Mario,
I found posts regarding this issue and most time it is adviced to adapt the .htaccess file. But I really want to know what is the reason in the last update of the OSM Plugin. Can you delete the file:
…/wp-content/plugins/osm/languages/OSM-plugin-it_IT.mo
Since I did not get any other feedback … if it’s not this I will ask you to replace some other files …
Thanks for feedback! BR, MiKa
Hi!
First of all, thanks for the plugin. This is the solution I’ve seeked long time. It is great but I have a big issue. The loading page speed of my map with geotaged posts it is too slow. More than a half minute.
What can I do to increase it?
Thanks in advance!
Hi Radoslav,
the loading time of a page depends on many things. Geotagging includes database operations on your server and there are some topics open which will be improved. And some improvements will be made by a newer JS executed on the client site. Nevertheless it takes really long to load your page and there are not that many pins. Please make a post with this article and post the result here:
[osm_info]
The Site Fotomobil.at has got more than 1.000 posts with geotag. It takes long but not as long as your page … maybe the performance of your host should be tested, too.
BR,
MiKa
Hi MiKa,
Thank you for the answer! Please see the results here – http://planinar.org/osm-test-post/
Hi Radoslav,
there are not that many posts and the speed for database access seems to be OK. I am not sure where the time is lost.
Can you try to deactivate other plugins one after another and try your map with geotags to see if there is a chance?
Hi, my friend!
You are right. The problem is in the Simple Share Buttons Adder plugin. Now the performance is better.
Thank you!
Hi Mika,
Thanks again for the plugin and the recent update.
What do you think of moving the map creation dialog to a new popup, similar to the ‘Add Media’ popup that’s already there in the post/page edit screen? That way you could have a ‘Insert into post/page’ button at the bottom, too, just like in the media screen. GPX files could potentially be uploaded and added to the media library directly and the preview could display such tracks and pre-center on them upon upload. That would be pretty cool.
What do you think?
T
Hello Todd,
thank you for your feedback – I am 100% with you! To copy the string is not state of the art anymore, nevertheless there are priorities. Most people want their maps shown on mobile devices and currently the plugin uses an OpenLayers version that was not optimized for mobile devices … so next step is to bring it to OpenLayers 3.2.1 – which was released this year. Aftwerwards the very next step will be the button in the editor. Since ressources are “limited” there is no parallel development 😉
Thanks for using the plugin for such a long time and still giving feedback!
MiKa
I don’t understand why, I can’t use you plugin on my website http://www.francelysee.com/.
I put exactly [osm_map lat="48.857" lon="2.332" zoom="13" width="100%" height="450" type="Mapnik"], for exemple, and it doesn’t work.
And I can use the plugin in the subdomain, so I know how use it, but not for http://www.francelysee.com.
Have you any idea ?
Thank you
Arnaud
Hello Arnaud,
pls post a link to a testpage on your site.
BR, MiKa
Hello MiKa,
Here you can see the test : http://www.francelysee.com/?p=10513
The code is : [osm_map lat="48.856" lon="2.333" zoom="14" width="100%" height="450" theme="dark"]
Thank you
Hallo Arnaud,
I could not find any reason for the problem just having a look to this site. Did you try to disable your other plugins step by step to see if there is a conflict. Espacially these plugins which are not set active on your page with the subdomain where the plugin is working. Or set the same plugins actice on your subdomain to check whether there is a conflict. It would be interesting to see what makes the page behave like this. Just to be sure it’s not a JS version conflict can you also try:
[osm_ol3js lat="48.856" lon="2.333" zoom="14" width="450" height="450" theme="dark"]
BR, MiKa
It’s work with the code [osm_ol3js lat=”48.856″ lon=”2.333″ zoom=”14″ width=”450″ height=”450″ theme=”dark”].
But I prefer the [osm_map ...].
SO, you think is a JavaScript version conflict ? Have you any idea what can I do ?
Hello Arnaud,
the osm_ol3js is still in Beta-version and should not be used on productive sites this was just to test.
Did you check the plugins (maybe even the theme) that brings the conflict?
Once it’s clear which components are responsible for the conflict we can see how to solve it …
BR, MiKa
Hi Mika;
I have a pair of question/issues:
1. I am displaying geotagged post. Is it possible to show only posts filtered by “category” of post, when I have the following scheme of category:
– Category 1 (Superior)
– Category 2 (depending of Category 1)?
2. In this site
http://www.lasendadelduero.com/rutas-por-el-duero/sendero-gr14/mapas-del-sendero-gr14/
On the second map “MAPAS DEL SENDERO GR14. POI’s (Puntos de Interés)” when I click on the icon, it display a window with the information of the icon. But I can not close it because there is not a X button on the right top. It is possible to implement this utility in the next update?
Thanks for help and support.
Concening to the 1st issue, I am interested on display only the post tagged with Category 2
Hi Santos,
add 1) at the moment you can filter just on the top level – not subcategories and you can not do any logic operations.
add 2) thx for this info … not sure about the reason … will check it.
BR, MiKa
Hi Mika,
have you had the time to look at my “picture-problem” so far?
That would be great. Thanks!
Philipp
Hi Philip,
can you create an KML file with just one placemark inside? Then take a text editor and replace the icon – at style – with an icon of the OSM plugin. And remove the size info of this placemark. Feel free to post again as soon as you have an KML file with just one placemark.
BR,
MiKa
Hi Mika,
done. I put it onto my page.
Philipp
Hi Philipp,
thanks – I can reproduce it but did not find a solution for it up to now. Hope to fix it with the next version – which will be released next week …
BR, MiKa
Hi Philipp,
found a way: You shold use div in your KML file – copied a KML file to the end of this page:
http://wp-osm-plugin.hanblog.net/?p=53
BR, MiKa
Hi Mika,
thanks a lot. That helped me big time!
But I still have the problem that the name of the placemark changes the size of the picture. As soon as I reduce the length below the width of the picture, all is fine. I now started to cut all names to make it look properly.
See my example: all placemarks with green pins have shorter names. As soon as the name is longer, the picture is distorted.
In all examples, there still is a scrolling bar so the window isn’t exactly fit to the content.
Is there a way to solve those two problems?
Best wishes
Philipp
Hello Philipp,
the WP OSM Plugin will change in spring and use OpenLayers 3 by summer – hopefully 😉 It started alread and you can test it like this:
[*osm_ol3js lat="52.802761" lon="14.238281" zoom="4" width="100%" height="600" kml_file="../../../../wp-content/uploads/osm_map/BESTFACT41.kml"].
Remove the * and change the kml address. But keep in mind this is just a prototype and might change in future. The new system is optimized for mobile devices and will also fix many problems of the old version.
So we will not change this in the current version but invest the time for the integration of the new library.
BR, MiKa
Thanks, but it doesn’t work at the moment (see my page). Maybe you’re working on it.
Philipp
I found the problem:
After directing to the css file, the Plugin includes the following parameters hard coded:
#’name of map’_1 img {
border: 0 none;
clear: both;
height: 100%;
margin: 0;
padding: 0;
position: absolute;
width: 100%;
}
As soon as you delete height and width from osm-sc-osm_map.php (line 224 & 225), it works perfectly.
Best wishes
Philipp
Hi Philipp,
thx a for sharing this information! I will work on this with the next release. To be honest, I forget that there are some CSS in the php code … moved most to an extra files some time ago.
BR, MiKa
Hi Mika,
Thanks again for working on this fantastic plugin!.
I am displaying geotagged post according to the following documentation:
http://wp-osm-plugin.hanblog.net/exsamples/display-geotagged-posts/
Concerning to this, I have two question / issues:
1. In my site (firts map)
http://www.lasendadelduero.com/rutas-por-el-duero/sendero-gr14/mapas-del-sendero-gr14/
When I click on the icon, the plugin show the url of the post and when I click in this url, the post is displayed in the navigator. Is it possible to open the window in other tab, using target=”_blank” command?
2. Is it possible to show only posts filtered by “category” of post?
Thanks a lot for help and support!
Hi Santos,
if you like it, rate it her.
add 1.) I will add this somehown in the next version with an argument.
add 2.) Yes, you find a sample here.
Think about optimizing your GPX files for faster loading of your page. You do not need xsi:schemaLocation information and you do not need ele tags. And maybe even optimize the data itself with http://www.gpsbabel.org/.
BR, MiKa
PS: Nice page!
Thanks Mika. Thans for help and support.
many thanks for the advice about the loading gpx file.
I rated your plugin under the nick: lasendadelduero Nice plugin!!! 🙂
Hi Santos,
I checked the target=”_blank” issue. It’s a nice idea but needs a lot of change. Currently I would like to invest the time in the new version of OpenLayers and I will consider it there! It will be part of this plugin.
BR, MiKa
Thanks a lot Mika. We keep in touch!
Hi,
Thanks again for your work on the plug-in. It would be great if support for the OpenMapSurfer theme could be added: http://korona.geog.uni-heidelberg.de:8001/tms_r.ashx?x=${x}&y=${y}&z=${z}
Thanks,
T
Hi T,
do you have a contactperson for the license issues of this data? I would like to add them.
BR, MiKa
There is this: http://129.206.74.245/contact.html
Hope this helps,
T
Hello,
Thank you for this wonderful plugin.
I’m french and I tried it …. but in a page and not an article (post in english), so I was unable to see several Geo tags.
In a post it works fine.
Than’ks again
Bernard
Can you post the link to your page to check it.
Hi Mika,
I’m looking for an alternative to Google My Maps and have spent the day trying your plugin – it looks great. But there are a couple of things I want to do and I’m not sure if they are possible now, or if you will add them in the near future.
1) A major problem with new Google Maps is the position of the icons. If I create a single marker in OSM, I can use marker_focus=”5″ – this is good!. However I loaded one of my kml files (produced in Google) and OSM uses the centre of the icon (like Google). Marker_focus=”5″ doesn’t work. Might you introduce this functionality? Or is there a work around?
2) I want to use OpenSeaMap but I tried this and there seems to be a problem with missing tiles. You can see an example here:
http://www.sailingchoices.com/testpost2/
3) Ideally I’d love to use OpenSeaMap with the optional elevation profile I can select on http://map.openseamap.org/. Is there a way to do this?
4) I will geotag my posts and want to set up a map page for posts in each category (my categories are geographical areas). I understand this is possible but at present all the points have to use the same icon. I believe you plan to add the ability to use different icons. Do you know roughly when this might be available (weeks? months? years?)
5) I would then want to provide navigation from each post to the map page with the icon for that post being highlighted. Might it be possible to highlight a single icon in future versions and if so, how far away (weeks?months? years?)
Thanks for any advice you can give.
Regards
Jeremy
Hi Jeremy,
add 1.) post the link to a sample page with this kml.
add 2.) there is already a work around and I will try to fix this within this year.
add 3.) did not know that up to now, let’s see
add 4.) many people ask for that, I startet alread and will complete it hopefully within this year. You should use already OSM_geo_icon when you geotag your posts / pages.
add 5.) nice idea but not planned right now.
btw, if you like the plugin feel free to rate it here.
Hi Mika,
Thanks for your reply and good news that you are already working on some of the things.
Ref 1) Problem with marker_focus: I’ve put two maps on this page: http://www.sailingchoices.com/testpost2, one using no focus, the other with focus=”5″. I tried other values too. none seem to work. I can send a copy of the kml if it helps.
Ref 3) OpenSeaMap with elevation – this would also give other users a terrain map (which I think someone else was asking for).
6) A small new problem. If you look at the top map on http://www.sailingchoices.com/testpost2, you can see some of the lines are visible through the markers. If you look at the yellow circle A icon in the centre and try to click on it, sometimes you get the bubble for the location (Fort Bay) but if you click a little off centre (but still on the icon) you sometimes get the bubble for one of the two lines (Piskera – Skradin or Zaton – Rogoznica). Is there a way to make the line inactive when it is behind an icon? Or is this a feature (bug!) in the way google has generated the kml file?
Thanks for all your help.
Jeremy
Regarding #1 I wrote a post using your sample: http://tinyurl.com/ltcuu75
Feel free to rate the plugin here: https://wordpress.org/support/view/plugin-reviews/osm
In my previous comment I was wrote some KML directives that seem to have gotten stripped out before my message was posted. So here is what I was saying (minus the angle brackets). In the KML iconstyle, the color and scale directives are ignored. Is this what I should expect?
When I specify a KML file that I created from Google Earth, the placemarks (png files hosted by Google) get rendered OK, but the and directives in the seem to get ignored. Is this the behavior I should expect?
Over the long term I’m trying to reduce my dependence on Google products. At some point I will probably generate my own KML files for some of my maps rather than get them via Google Earth, and for planning purposes would like to know what features I should expect to work.
Hi John,
can you make a sample page and post the link …
BR, MiKa
Thanks for the reply.
Here is a link. http://www.spokesrider.com/testing/four-wisconsin-counties/
The page also includes a link to the google map from which I got the KML file. The original markers had color that didn’t get displayed on the test page.
Is this possibly a geoxml3 vs kmllayer thing? (Those are two terms I just now learned about.)
In the future I may use a markers file instead, as it looks like I can use that to diplay markers with an offset, so that if I use those teardrop type markers, I can center them on the bottom of the point of the teardrop rather than in the center. Now I’m trying to find documentation for those so I can determine whether I can put html in the marker description…
Hi John, your sample – page looks empty …
That’s another issue that has come up recently. I often need to refresh a page in order to get the map to display. I haven’t yet investigated to see whether it’s a caching problem. I at first thought it may have been a google issue, but in this case I’m using the OSM map.
I should also mention that it happens only with the OSM plugin. It does not happen when I use the flexiblemap plugin. But I want to use the OSM plugin in many cases, because it lets me center the map where I want even though I specify my own kml file. The flexiblemap plugin does not let me do that.
Hi John,
find your KML-sample here at the very en: http://wp-osm-plugin.hanblog.net/forum-test-page/ replace the url of the icons inside the blog to our own domain …
BR, MiKa
Firstly thanx for a great plugin!
But one major thing that I miss is the possibility to have different marker icons on a overview map of all geotagged posts. The individual icons could be set on the posts with “OSM_geo_icon” and shown (like with the widget). It seemes like the most of the code is already there.
Big thanx for any effort put into this!
marcus
Thx for your feedback!
Individual icons are on our list 🙂
Great to hear!
Hi again. Great that the individual icons are there now!
Tanks a lot from Sweden.
Hi guys,
many thanks for this fantastic plugin.
I’m trying to display a gpx track to my blog. The blog is locally with MAMP, and I think the wrong path of the track. As result I get the map view but not the gpx track.
This is the path that I insert: “Users / alessio / localhost / fabriano_life_cycles / wp-content / uploads”.
You know tell me where am I wrong ?!
Regards
Alessio
Hi,
do not know about localhost address. As soon as you have a test site online let us know the address to help you!
BR, MiKa
Hi MiKa,
thanks for the quick reply. This is my test site. As you can see, I fixed the scaling down by giving it a fixed size: style=”width:***px !important; height:***px;”. But the bubble still doesn’t show the pictures. How can I adjust them?
Thanks in Advance
Philipp
Hi Philipp,
can you add all the information on your testsite:
OSM Shortcode you use with a *
The changes of your style
I can see the picture in the bubble.
🙂 MiKa
Hi MiKa,
I added the OSM Shortcode.
Each bubble has a similar description such as: “”
I didn’t change any style, only assigned the markers in Google Earth to it.
I can also see the pictures but can I make the bubble higher so the user can see the whole picture and doesn’t have to scroll?
Philipp
Hi MiKa,
can you see my problem now? The “bubbles” are too small for the pictures.
Can I set a bubble size or make them fit to the picture?
Philipp
Yes, I can see it and I will look at it at the weekend.
Hi guys,
thanks a lot for your tool!
I have a problem to display marker bubbles correctly. I created a kml file with markers. In the description, there is a picture (250 x 250px). In my blog however the tool scales it down to 666px x 51px). Even setting the right size as width and heigt in Google Earth doesn’t help.
Philipp
Hi and thanks for a nice plugin!
I say a post from February that you were testing OpenLayers 3.0. How is it going and when we do you think we will see OpenLayers 3.0 “in production”?
Many thanks!
For sure this year, OSM plugin V3.0 will include OpenLaers 3.0 🙂
A second question: can I use create maps which display posts from any post type or can I only display posts from post types : “pages, posts” and both “pages and Posts” via “any”. I have some custom post types which I would like to use to display data from.
… still on the to do list …
is it possible in the dimensions of the displayed map to have it set to 100% rather than a set px value? I do not seen any examples of this in the documentation.
Hi Hugh,
just set it to
width=”100%”
😉
Hi Mika;
After the new version v2.8.1 I have several issues/questions:
1. On the following website the mark do not appear.
http://www.lasendadelduero.com/?page_id=447
The marks are included into a txt file with the structure (lat – lon – title – description – icon – iconSize – iconOffset) and I have not change anything for months
2. In the website http://blog.cupofcoffee.de/?p=4812
In point 3.2 Ausgabe einer Übersichtskarte I need that one mark will be red, other yellow, other blue, etc. Is that possible in version 2.8.1?
3. The OpenWeather does not work. The map does not show nothing
http://wp-osm-plugin.hanblog.net/display-openweathermap/
Could you please check if ia a v2.8.1 question?
I appreciate so much your comments and help. Thanks in advance for your support.
1.) you must not copy any individual markers to the plugin folder but to your upload folder. The plugin folder ist deleted at every update of the plugin.
2.) No – is not implemented there.
3.) The OpenWeatherMap API changed and this service is not supported any more … will be addressed.
Thx for your feedback!
Hi Mika;
Thanks a lot for your quickly answer and your support. Concerning to the first point, my txt file is not in the plugin folder. In fact is the following folder:
http://www.lasendadelduero.com/wp-content/uploads/mapas/GR14LaSendaDelDuero1.txt
I tried update again the txt file, but it does not work fine. The POI’s are not showed on the map.
http://www.lasendadelduero.com/?page_id=447
Any idea?
Thanks a lot!
Hi Santos,
the text file is on the correct place. But in (!) the text file your icons are linked to the OSM plugin folder. If you have individual icons you have to upload them to the upload folder.
BR, MiKa
PS: If you like the plugin rate it here: https://wordpress.org/support/view/plugin-reviews/osm
Hi Mika;
Absolutely. You have reason. I apologize for the mistake. Now, everything is working fine.
Thanks a lot for your help.
Hi! I have a feature request.
That the map zooms to the bounds of the uploaded gps track, and that you can put a small (custom size) map in a post and have it zoom full screen on clicking.
Your site and plugin look very professional. I can see you take a lot of pride in the plugin!
Hi,
I am experimenting with OSM plugin to use it for my geocaching. I have two questions:
– I would like to change the dimensions of the pop up box. I like to change it more to a landscape-format. Where can I change this?
– Where can I change font size and font type inside the popup window
You could extend this, but it is changed again with the next update of the plugin version … we will se how to add this in a generic way …
Hello,
Love the plugin, thanks for your work.
Apart from my 2 problems –
1 –
I can’t get a GPX file to display and I have tried every location permutation I can think of with no success. Even the absolute path doesn’t work although the file does show in my browser (http://www.onanddon.co.uk/blog/wp-content/uploads/gpx/d400.gpx). I have tested the file and it works elsewhere.
Within my domain the GPX files are in /public_html/blog/wp-content/uploads/gpx/ …what am I doing wrong?
2 –
My geotagged posts show as markers on my map at http://www.onanddon.co.uk/map but they are not now linked to the post and it was working until recently. The example page on your website demonstrating this (http://wp-osm-plugin.hanblog.net/exsamples/display-geotagged-posts/) also doesn’t now work for me. Any ideas?
Thanks for your time
Hi dondelion,
Can you add the OSM-short code to the page http://www.onanddon.co.uk/map with a * like [*osm_ma …
And the same for your map with the gpx file.
BR, MiKa
Mika,
Quite a delay in replying to you, sorry! My post markers are showing but I am still having problems with displaying GPX files on a map. My map shortcode is –
[osm_map lat="43.02" lon="44.604" zoom="9" width="600" height="450" gpx_file="http://www.onanddon.co.uk/blog/wp-content/uploads/gpx/vladik3"]
I am trying to show a route on the map on this page (http://onanddon.co.uk/?p=2415). I have also put the shortcode for display there.
Any ideas?
Thanks in advance.
Hi dondelion,
the gpx-Adress should be somehting like:
http://onanddon.co.uk/blog/wp-content/uploads/gpx/vladik3.gpx
(you missed the .gpx). Do you know there is also a widget to show post location?
On your page: http://onanddon.co.uk/?page_id=1482 I have seen an error, could you post the osm-shortcode, so I can see what’s wrong? Did you make ” with some style info?
PS: If you like the plugin, rate it here:
https://wordpress.org/support/view/plugin-reviews/osm
Hi Mika!
The plugin has been working perfectly for almost 8 months.
at the moment all my maps are blank, I don’t know if it’s something wrong with the wordpress update (OSM 2.8.1 wordpress 4.0) or what…
I haven’t changed anything in months!
today I’ve tried do uninstall the plugin and reinstall it, but nothing changed… do you have any suggestions?
two maps are shown here
http://www.geonotari.it/osm/
thanks!
M2
Hi M2,
tests with WordPress 4.0 were not done yet. I will be back next week and release it for WP 4.0. Ifyou did not do anything (eg install another plugin that produces conflicts) this should fix the problem.
ok! thanks, I’ll wait for your update!
I see that this site is already running on WP 4.0… am I right? so I suppose the problem has to be in my site!! in my theme or in my customization of the theme itself..
could you please take a look at it?
http://www.geonotari.it/osm/
thanks again!
M2
Hi M2,
tests with WP 4.0 were done and all is fine. Best way to find the reason why your site brakes would be:
* deactivate all plugins except OSM plugin
* change the WP theme
BR, MiKa
ok, I’ll try! thanks!
M2
it was my fault… sorry! a plugin was blocking the maps!
now I have the maps back, but I don’t get the markers of all the posts! no problem with the single marker, but they don’t show up in the “all posts map”
I didn’t change the code in the page… is always this: [osm_map lat="41.942" long="12.765" zoom="5" width="600" height="450" type="AllGoogle" control="mouseposition,scaleline" map_border="thin solid blue" theme="ol" marker_name="wpttemp-yellow.png" import="osm_l"]
I probably lost something when I re-installed the plugin..
the field name for the post coordinates is “Geotag” instead of “OSM_geo_data”… maybe that is the problem… but it was working before!
Hi Masare2,
good news 🙂
The overall map will be fixed with the next release in this week. There was a change. You need not to do anything it will be fixed.
BR, MiKa
awesome!
I’ve installed the update, how should I change the code in the page to have the old geotags displayed?
could you try import=”osm” instead of import=”osm_l”
I tried to use import=”osm” but had no changes… then I’ve tried to change a field name into OSM_geo_data and that works: this means I have to change the name of all the fields of all the posts! or there is a better solution?
again, thanks for your patience!
Hi Masare2,
no, you will not need to change all the posts – we will fix it 😉
Can you create a test page / post with this shortcode [*osm_info] (without star *) and post a link here.
BR, MiKa
like this?
http://www.geonotari.it/osm-test/
this was the result:
OpenStreetMap Plugin V2.8.2
published posts: 47
geo tagged:001; DB request took: 00:00:00.003
published pages: 16
geo tagged:000; DB request took: 00:00:00.002
it finds the only post that is tagged with “OSM_geo_data” but the not the others!
Hi MiKa, I solved myself by changing the tag in “OSM_geo_data” in mysql… I got back to normal!
I just used this:UPDATE `wp_postmeta` SET `meta_key` = REPLACE(`meta_key`,”Geotag”,”OSM_geo_data”)
now the test page says
OpenStreetMap Plugin V2.8.2
published posts: 47
geo tagged:047; DB request took: 00:00:00.035
published pages: 16
geo tagged:000; DB request took: 00:00:00.033
now it all works smoothly, the popups are all big, but it’s not a problem!
thanks again for your plugin and for your help!!!
M2
Hi M2,
I have been on holidays … thanks for sharing your solution!!!
BR, MiKa
🙂
Hi,
I have been using “XML Google Maps” plugin for travels in the past, but this plugin is not supported anymore (and it does not work :-()
I found the OSM plugin rather interesting, but would like to know if it is possible to load a KML file (containing a route) and have the OSM plugin automatically calculate “lat” and “lon” values + a zoom level that enables all the route to be displayed on the embedded map at the same time?
The “lat” and “lon” values + a zoom level should be calculated based on the route in the KML file.
Best regards
John
Changing the geo plugin is some work in your blog. Beside this, the features you asked for are not support by the OSM plugin.
Sorry & regards, MiKa
Thanks for the reply, and for the nice plugin 🙂
Regards
John
Hello, I need to put several markers on a map without link with a trace. Can I do that ?
many thank’s
hervé
Hi everyone!
I have a wordpress website with the OSM plugin and it works fine. On the map I put several POI’s via “Display Marker File”
But I need to link every POI with a other page into the website, in the same way that this example
http://www.fotomobil.at/openstreetmap
Anyone knows how It can be done?
Thanks in advance for your help and support.
Hi Santos Lorenzo,
this is realized with geotags. Simply add a customfield named OSM_geo_data with lat and lon to the post or page. For details check this site:
http://wp-osm-plugin.hanblog.net/exsamples/display-geotagged-posts/
BTW: If you like it, pls rate it:
http://wordpress.org/support/view/plugin-reviews/osm
Thanks Mika for your answer.
I have an addittional question: is it possible to choose one marker different for every “geotag”?
Thanks in advance for your help and support.
Hello Santos,
can you write an example?
Hi Mika;
In this site
http://www.fotomobil.at/openstreetmap
there is a lot of geotags. Every geotag is displayed with a “photo camera” icon. In particular if you make zoom over Madeira island, for example, you can see two geotags. My question is: Is it possible to show Funchal with a “photo camera” icon and Moniz with other icon different (not “photo camera” icon)?
Thanks in advance for your help and support.
This is planned and prepared. You can assing an icon to every geotagged post/page. It is then shown in the widget and in future it will be used in the overall map, too. Find some more lines (in DE, sorry) here:
http://wp-osm-plugin.hanblog.net/announcement/wordpress-openstreetmap-plugin-osm-v2-7-1-freigegeben/
Thanks Mika for your help and support. I have just look for the web site
http://blog.cupofcoffee.de/?p=4812
In point 3.2 Ausgabe einer Übersichtskarte I need that one mark will be red, other yellow, other blue, etc. I suppose that is no possible in version 2.8.1. But, shall it be possible in the future?
Thanks!
Yes – it’s on my list.
You can use already the OSM_geo_icon shortcode – this icon will be displayed in future.
http://wp-osm-plugin.hanblog.net/announcement/wordpress-openstreetmap-plugin-osm-v2-7-1-freigegeben/
BR, MiKa
I love your plugin and I like to use it on my site but I have one problem. It is not responsive to the browser size. For example if I view my site on a mobile phone the map is too big. There is a similar problem using image maps but it has been resolved by this plugin http://wordpress.org/plugins/responsive-image-maps/ so I was wondering it there migth be a similar solution to the responsive problem for your map plugin?
Hi Helgy, try width=”100%” instead of fix width
I have a map with several Points of Interes ( http://www.lasendadelduero.com/?p=358 ). Each POI is recorded in a txt file according to the rules written in http://wiki.openstreetmap.org/wiki/Openlayers_POI_layer_example
I would like to know if it is possible to link the icon of each POI with a new web page.
Thanks a lot for your help and support.
Hello, I am building a “travelog” and I need a map showing not only the images in one post, but all geotagged images in all posts (eventually – from a certain category).
Is that possible to achieve with the OSM plugin?
Cheers,
Petar
Hello Petar,
currently this feature is not covered by the OSM plugin.
BR, MiKa
I have a wordpress website with the OSM plugin. I want to show all the datapoints from an KML file on a map. I get the map, but no data on it… Below is my code so far:
Can anyone help me?
Thank you!
Fre
[osm_map lat="51.237" lon="4.417" zoom="11" width="450" height="300" control="mouseposition,scaleline" map_border="thin solid orange" theme="ol_orange" kml_file="../../../../wp-content/uploads/OSM/wifioverzicht.kml"]
Hi Fre,
did you make tests with the sample KML file:
wp-osm-plugin.hanblog.net/wp-content/uploads/osm_map/OSM_02.kml
Regards, MiKa
Hi Mika!
Concerning to the las comment, I use one wordpress theme which uses, in addition to the standar input, another one specific from the theme. Only in the specific from the theme, I cannot select geotag at the shortcode generator because the plugin does not target post types for the editor button.
Maybe it will be easy to implement a solution.
Thanks for help and support.
Hi everyone.
First at all, thanks a lot for the plugin!. I’d like to show a list of GPX file and each and one of them will be linked to a post. Is that possible?
Thanks in advance for the support and help.
Hi Santos Lorenzo,
thanks for your feedback, if you like it, please rate it here:
http://wordpress.org/support/view/plugin-reviews/osm
There is no way to connect a GPX file directly with post.
BUT you can combine all the WP OSM shortcode arguments. So, you could geotag your posts and show a map with a marker at all geotagged posts:
http://wp-osm-plugin.hanblog.net/exsamples/display-geotagged-posts/
and in the same(!) map you can show your list of GPX files.
happy mapping, MiKa
Hi MiKa.
If I’ve understood correctly, the OSM widget can only show markres of one post at the time, right? Is there a change that it would be able to show all the markers of posts currently shown? Ie. if we have a list of latest posts (like 5), it would show markers from all of those posts.
I’ve used another plugin with Google Maps which had this kind of widget feature, but would like to very much change to use this OSM plugin instead.
Hello Mikko,
sorry, but this feature is not covered by WP OSM Plugin. The widget shows only one marker if it is a singel post or page.
Of course you know, you can show a map with all geotagged posts.
Any progress on the filtering by category issue ?
I read in the previous comments, it should (and is) “corrected” when there’s only 1 category applied, but that doesn’t really work for our intended use. In fact, it would be great to be able to use more than one category as filter.
E.g. cat=Spain cat=hostel would then display hostels in Spain.
So no hostels in France, no restaurants in Spain.
Hello Koen,
yes – the open issue with the category filter is fixed with V2.8. But it is still limited to one category in the highest hirarchy. As you know and mentioned, categories are quite powerful to group your posts (see also http://en.support.wordpress.com/posts/categories/) in many ways. This is also challenging for filtering a needs to be planed with a generic concept. There are currently some open issues for the widget which will be addressed in May and beginning of June. If you want support the OSM plugin eg with Beta Testing on your site it can be planned vor second half of June.
Is there anyway to make a map with both width and height 100% ? I want my map filling all the window. Thanks.
Hi David,
not yet. But it’s on my list for long time … should be in a next version within May.
Well, I finally did it… Just doing a bit of css. width and height: 100% and position absolute
I have another question… Is it possible to have different pin markers when you geolocalice posts in a map?
Example: I need to show an unactive event (red pin) and also an active event (green pin) in the same map…
Yes, you can use the customfield:
OSM_geo_icon
to add an icon to a page:
http://wp-osm-plugin.hanblog.net/announcement/wordpress-openstreetmap-plugin-osm-v2-7-1-freigegeben/
(sorry only in German, will be translated soon).
Currently the overall map shows still one, but you should assign it already … up to now it is shown if you display the map directly in the post / page.
I need to put in a few markers on the same map. I have tried to use .klm file from GoogleEarth and a .gpx file from Garmin MapSource but they dont seem to work. I was unable to make and upload a .txt file into the WP backend.
My test webpage is http://www.annagt.com/skart/kort5/
Hi Helga,
don’t know where you got your kml file from. If you want to use it, you have to add the marker-information in the beginning of the kml file. Find the modified file hier:
http://wp-osm-plugin.hanblog.net/wp-content/uploads/osm_map/OSM_Plugin_sample_sumar.kml
You have to replace the address of the markers in the kml-file from to your site, like:
http://www.annagt.com/skart/wp-content/plugins/osm/icons/wpttemp-yellow.png
You find your sample with the KML file at the very end of:
http://wp-osm-plugin.hanblog.net/forum-test-page/
If you want to use txt-files, you have to upload them via FTP.
Thank you. This works now. 🙂
Weird problem – don’t know if it’s me or what…
I’ve installed the plugin and got it working nicely. (Thanks!)
But… sometimes the markers don’t display.
Using Ubuntu: Firefox doesn’t show markers, Chromium does.
Using MacOSX: Firefox doesn’t show markers, Safari & Chromium do.
Using Windows7: Firefox DOES show markers. Int.Explorer doesn’t …but IE’s dumb anyway. (Don’t have Chrome on my Win box.)
Why would the markers not show on Firefox on Mac/Ubuntu?
Hello John,
can you setup a testpage, add the shortcode with * on that page and post the link here?
Did you call the page with the same address (eg https vs http)?
Regards,
MiKa
Sorry to bother again but I have a new question..
As previously mentioned I show the map in my sidebar widget where it shows a pin for every geotagged post on my blog. However when I click on some geotagged post I want the map to zoom and focus on the pin for this particular post. Is there any way to do this ?
Thanks
No – that’s not implemented.
Is there a possibility offline usage the plugin using http://switch2osm.org/ as map source?
Hi
Thanks for a great plug-in. It does exactly what I wanted; to display geotagged posts on one map on my travel blog.
However..
I use a plugin to use the shortcode in the sidebar widget area. It’s called “Use Shortcodes in Sidebar Widgets”. It works fine on all pages except my front page. I use the TravelBlogger theme.
Any suggestions or a direction I could go to solve it myself. Right now I’m out of clues.
BR
christian
I should say that on the front page it displays the frame with no contents, only white color.
Nevermind. It started working as soon as I posted here. Magic 🙂
Thanks
After the update all my maps went crazy! in this page (http://www.geonotari.it/?page_id=204) I managed to correct the first map by writing type=” All” instead of type=”All” (without space), but it doesn’t work with the second map..
and I am no more allowed to change the type of map, users can choose only between mapnick and cycle map…
I had changed something in the css to have proper wordwrap but it was working fine until the update! could you help me?
thanks
also the maps in articles are pointing to the wrong place
http://www.geonotari.it/?p=486
sorry to bother again, I solved the main problem in the maps by changing “All” with ” All” in every map (I don’t understand why it works)
I still can choose only between mapnick and cyclemap… no google or others
I lost the word break modification and I forgot how I did it, so I’ll start testing again
Hello Masare 2,
the two map types (OpenStreetMap and Google Maps) are separated from the Version 2.6. You should use ‘AllOsm’ or ‘AllGoogle’. I will check your feedback regarding ‘All’, which should show OpenStreetMaps.
What did you change in the CSS file? Any personal changes in the plugin directories are deleted with an update. If it is usefull for others, it could be added to the public version.
You commented about the pointer to the articles, this feature is used here: http://www.Fotomobil.at and working very well. Can you post the code you are using to integrate the map.
If you were happy with WP OMS Plugin Version 2.5.3 and if you do not want to update, you can also downgrade again, just go to “Download” and “Old Version 2.5.3” to get the old version.
Regards, MiKa
thanks, I didn’t see your answer!
Hi,
pls do not correct to ” All” but to “AllOsm” or “AllGoogle”. I could reproduce it – you found a bug and I will fix it within this week with Version 2.6.1. And I am still curious about the wrong place of the marker, what’s your OSM Plugin code here: http://www.geonotari.it/?p=486
Regards,
MiKa
this time I changed a portion of the base.css of my theme (not of the plugin) this way
pre {
background: #FFFFFF;
padding: 10px;
margin: 0;
border: 0px solid #EBEBEB;
border-radius: 3px;
word-break: keep-all;
word-wrap: break-word;
white-space: pre-line;
overflow: hidden;
line-height: 24px;
}
for not having the words broken in two at the end of the lines in the popup… I’m not good in coding, so maybe there is a better solution!
I think that the type “All” returns an error, while ” All” or anithing else returns the OSM maps
thank you again for this plugin!
Is it possible to add multiple geo-tags to one post? And then add
these tags from all geo-tagged posts to one big map (linking back to
the post)?
What I am trying to do is very much like the story-browser on This
American Life (I would give you a link if you would let me).
I know, I may be asking a lot. But then, the plug-in looks like it
can do so much!
Mark
Will be covered with the next release.
Hi there,
This is great plugin. Although I’ve been trying to use it on my site & it looks fine in Chrome & Safari but in Firefox it seems very ‘laggy’. I also tried it on firefox & safari on another laptop (Macbook Pro) & had the same problem.
Are there any compatability issues with firefox?
Here the link to this page- http://www.rolling-around.com/uncategorized/south-america/
Please view it in firefox & another browswer to see if you see the same effect.
Thanks
Jo
You did not install or activate the OSM plugin, yet.
Great to meet this plugin, thank you!
My usecase is to display a collection of features (points) on an OSM baselayer. The features are available via WMS.
In your module description I understood WMS is supported.
In the examples, all I can find is this shortcode example (excerpt):
extmap_address=”http://b.ooc.openstreetmap.org/os1/${z}/${x}/${y}.jpg”
But my WMS source (geoserver) is offering a map based on requests that conform to WMS standard. So I need to pass a request like this:
http://206.123.107.179:8080/geoserver/acfcgn-geo/wms?service=WMS&version=1.1.0&request=GetMap&layers=acfcgn-geo:directory_listings&styles=&bbox=120.0,-45.0,160.0,-10.0&width=660&height=440&srs=EPSG:4326&format=application/openlayers
AFAIK, you must pass a WMS service these parameters:
service=WMS
version=1.1.0 or better
request=GetMap
layer=namespace:layername
styles=(optional)
bbox=(coords)
width/height=(desired output dimensions)
srs=(projection)
format=application/openlayers
So… how can I use this module to connect with the WMS service? Can you suggest a working approach?
Thanks for your help,
JB
Hello John,
currently it’s not supported by the WP OSM Plugin. If you have a sample page for your geoserver we might consider it for an upcoming release.
Regards,
MiKa
Hi MiKa, thanks for the fast response and clarifying the options. In terms of a sample page from geoserver, that is exactly what is shown in the original message. Is that what you mean?
Cheers,
JB
Hi John,
yes – probably it’s what you have posted. As soon as there is a sample page with this implementation let us know the link.
BR, MiKa
dear all,
i am trying to have my blog posts all geotagged and visible on a single map on a site page. this is the result:
http://www.giornirubati.it/mappamondo/
as you can see, i have a few problems:
1) transparency is not working, both for comics appearing when you click on a marker and for the marker itself (it is supposed to have transparent edges)
2) mouse icon should turn to “clickable” (ie hand instead of arrow) when mouse pointer is on a marker, which doesnt happen.
i cannot find a solution for these two issues in the help page, can you help me?
Hi Luc,
have look to:
http://brainsongimp.blogspot.co.at/2008/03/color-image-to-transparent-png-making.html
to make your faviconGR1.png transparent with GIMP.
BR, MiKa
Dear Mika,
the png actually IS transparent (it is the same i use as a favicon), please note that also the comic clouds with post titles that appear when you click on an icon are not perfectly transparent on their sides, and they were not designed by me, still they are supposed to be transparent as i see in other examples…
Hi Luca,
popup background and icons background are two different issues. If your favicon is stored with transparent background on your blog simply use the URL of your favicon in the map instead of:
http://www.giornirubati.it/wp-content/uploads/2014/01/faviconGR1.png
BR, MiKa
I have managed to install the plugin BUT the webpage now shows errors on loading. so not sure what to do now. ON one page called expat I would like to have a world map and on that map show totals of expats for specific countries.
Hello Peter, how did you install the OSM plugin? How did you activate it? Did you use the backend panel: http://codex.wordpress.org/File:plugins.png I have sent you an e-mail, let me know the result.
I had problems at first with the ftp section once I had sorted that out the installation went ahead and I activated the plugin from within wordpress 3.8.
Is it possible to load map styles from stamen?
e.g. maps.stamen.com/#toner/12/37.7706/-122.3782
Hello Neil,
this feature will be released with V2.5 by the end of January 🙂
Find a preview here:
http://wp-osm-plugin.hanblog.net/display-stamen-maps/
Let me know if you want a Beta Version before release.
BR,
Mika
hi
can i modify (by javascript or pgp code) the popup who is display when the user click on a marker ?
thanks
Do you have any examples on how to use NextGen Gallery with your plugin?
Haben Sie einenge Beispiele die nutzen NextGen Gallery und Ihr OSM Plug-in?
Auch, wirt man automatisch ein Email als Antwort bekommen?
Hello Hugh,
currently there is no interaction with NextGen Gallery implemented. What is your requirement?
Br, MiKa
I use Lightroom to geo-tag my photos and then I upload them to NextGen Gallery. I want to be able to display various geo-tagged photos already uploaded to NextGen (whith the options for: the whole NextGen instance, or per-album, per gallery, or individual photos) on a OSM map. On this same map I want to display GPX traces and KML polygons.
There is a plugin out there which does the maps for NextGen Gallery Photos, http://wordpress.org/plugins/nextgen-gallery-geo/ which does put the photos on a map. But it does not allow for GPX or KLM to also be included.
Marc your solution helped me a lot (I did put some “” in the titles), but now that I see correctly my stuff on the map I have them misplaced in the article! (I have tried to post here some images links but it is signed as spam) I was wondering if using “word-wrap:break-word;” could help but… I’m not that good to make it work!!
Marc your solution helped me a lot (I did put sone “” in the titles), but now that I see correctly my stuff on the map (http://imageshack.us/photo/my-images/35/maz8.jpg) I have them misplaced in the article!(http://imageshack.us/photo/my-images/35/ml66.jpg) I was wondering if using “word-wrap:break-word;” could help but… I’m not that good to make it work!!
some /br
Thanks for the WordPress plugin. I’ve found it easier to use than I had expected. One thing, though. When I specify both a marker file and a kml file, they both work, but the kml stuff is written on top of the markers. My KML file contains bicycle routes and such things – line data, in other words. It would best if markers were drawn on top of the lines from the KML file, instead of behind them. Is this possible?
Thanks for your feedback. If you like it just rate it at WordPress. You are right – I will have a lookt to that issue. Do know, you can also add markers directly to the KML file, see the example here.
BR, MiKa
hi
can i used this code
echo do_shortcode(‘[osm_map lat="45.2875" ...]‘)
in a php page loaded from XMLHttpRequest, not direct in a wordpress page ?
thanks
Hi patxmay,
to be honest: I have never thought about this and I do not know it. Let us know if you made if working. But probably there are easier ways to integrate OpenStreetMap outside WordPress.
BR, MiKa
hi
it’s run with this code
jQuery(‘#mapdiv’).load(“osm.php” )
bye
hi
can i used this code in a php page loaded from XMLHttpRequest, not direct in a wordpress page ?
thanks
Hi,
I added htmlspecialchars_decode($a_ExtAddress) to osm-openlayers.php line 179:
else if (($a_Type == ‘Ext’) || ($a_Type == ‘ext’)) {
$Layer .= ‘var lmap = new OpenLayers.Layer.’.$a_ExtType.'(“‘.$a_ExtName.'”,”‘.htmlspecialchars_decode( $a_ExtAddress ).'”,{‘.$a_ExtInit.’, attribution: ”
That way & and other chars can be used in the address.
T
I used type=’ext’ and the above to add the OpenMapSurfer theme. It works well in Rekonq, but it doesn’t work in Firefox. Do you have any idea what could be wrong?
Also, the attribution line is missing the extmap_name value.
http://onmytodd.org/?p=1016
Hi
i test the osm plugin with this in my wordpress page :
[osm_map lat="48.863" long="2.439" zoom="15" width="800" height="800" marker_file_list="http://localhost/point.txt" type="AllOsm"]
it run very well !
but today, i want to use osm in my php code : in the worpdpress page i have this
and in my webpage_recherche.php , i have this :
<?php
echo "test”;
….
?>
the string ‘test’ display very nice ..
How can i load the osm plugin in php ? which php function with ?
Thanks a lot for you help
Hi patxmay, you can display maps in geotagged posts (customfield) by by functioncall in the theme. See details here: http://wp-osm-plugin.hanblog.net/exsamples/display-map-by-function-call-in-wp-theme/
Hi there,
trying to play around with your promising plugin, i was willing to display custom types posts on a map using shortcode found here : http://wp-osm-plugin.hanblog.net/exsamples/display-geotagged-posts/
but that didn’t work : it works fine with ‘posts’ with the right custom field, but not with ‘custom types posts’..
any clue i could make that work ? add a parameter in the shortcode and some extra query in the plugin code to loop on custom post types ???
thanks 🙂
raf
hi,
i got it working after playing inside the osm.php file :
– added a shortcode attribute named ‘post_type’
– edited the query in function createMarkerList on line 356:
$recentPosts->query(‘meta_key=’.$CustomFieldName.’&post_status=publish’.’&showposts=-1′.’&post_type=’.$a_post_type);
instead of
$recentPosts->query(‘meta_key=’.$CustomFieldName.’&post_status=publish’.’&showposts=-1′);
– passed the ‘post_type’ attribute value to the createMarkerList function
let me know if you guys are interested in having the edited file.
cheers
raf
me again, speaking to myself 😉
after custom posts types, i also added two attributes to shortcode to add to import to dea with custom taxonomies :
– “custom_taxonomy” : to give the taxonomy name to include
– “import_osm_custom_tax_incl_name” : to include a taxonomy by its name
so now my shortcode looks like :
[osm_map ...... import="osm_l" post_type="site" custom_taxonomy="country" import_osm_custom_tax_incl_name="Spain"]
to get the custom post types with a given custom taxonomy 🙂
let me know if you re interested in seeing the code or not..
Hi raf,
this sounds very nice and if the implementation is compatible to old OSM plugin versions we would love to integrate your work and make it available to other OpenStreetmap user with the plugin!
Gtx,
MiKa
hi there,
i put the code for osm.php file here : http://pastebin.com/qsWK7d7z
i m not sure what you mean by :”compatible to old OSM plugin versions”… 🙁
thx for the plugin !
raf
Hi raf,
thanks a lot for your coding – it will be considered in the next version!
Several people adapt the OSM plugin to the need of their personal page – some of them can be used to be added into the published OSM plugin version. There are several thousands installations of the OMS plugin, most of them are autoupdated. Most important is, that these installations do not break with a new OSM plugin version. I was talking about this, released features must not break because of new features.
gtx, MiKa
It seems that popups are not autosized correctly. For example, visible only two lines in popup and two lines hidden http://stalmat.by/%D0%BA%D0%BE%D0%BD%D1%82%D0%B0%D0%BA%D1%82%D1%8B/%D0%B8%D0%B2%D0%B0%D1%86%D0%B5%D0%B2%D0%B8%D1%87%D0%B8/
Hello Dmitri,
I noticed the same behavior, see the second point of my post just behind yours and the reply of Mika.
I’ll manage the font size by adding HTML tags into the descrition field (somethink like YOUR DESCRIPTION).
And I guess somethink more easy will appear into further versions (nices css statements added into osm_map.css ???)
Cheers,
Marc
Hi, thanks for this usefull plugin.
I made a page with marker_list and I noticed that the list_name is used in the overlay selection.
see http://peche-monnaie-locale.fr/carte-osm_map/
1) I wonder if several overlays could be displayed by multiple marker_list arguments ? This feathure would permit visitors to select some of them by enabling (or not) some overlays.
2) You may notice by cliking on the markers that text is too big, is there a way to manage test format and/or box format ?
Thank You,
Hello Marc, I am not sure what you addressing with the first point. Regarding the second point there will be a change in the plugin that is planned for weeks, but … a newer mechanism has to be implemented in the plugin – hope I find some time soon to fix it. Gtx, MiKa
Hello Mika, the main point is the first : I’d like to have, in the same map, several layers defined by several marker_list=text_files. This will be a great improvement (and some extra work !)
Hope You can do this, soon or later, ;->)
Cheers,
Marc,
I looked to the osm.php and found a group of lines beginning by : if ($gpx_file_list …..
I made a mix between this group and the marker_list group.
the result is that You can insert in the shortcode
in function sc_showMap($atts) {
after ‘marker_file_proxy’ => ‘NoFile’, // ‘abs…
add ‘marker_file_list’ => ‘NoFileList’,
after if ($marker_file != ‘NoFile’){
$MarkerName = basename($marker_file, “.txt”);
$output .= Osm_OpenLayers::addTextLayer….
}
add // Add multiple Layers
if ($marker_file_list != ‘NoFileList’){
$MarkerFileListArray = explode( ‘,’, $marker_file_list );
$this->traceText(DEBUG_INFO, “(NumOfMarkerFiles: “.sizeof($MarkerFileListArray).”)!”);
for($x=0;$x)
Marc
Has been added and will be available in the next version, see:
http://wp-osm-plugin.hanblog.net/exsamples/display-marker-file/
Gtx,
MiKa
I now have a nice map and multiple markers (accepting that the descriptions need to be tidied up). However, as the scale of the map changes the markers move relative to the map. As I zoom out from close up to further away, the markers move South.
Is this a feature or is there a workaround? You can see the map at http://www.rudstonheritage.org.uk/web/map
Many thanks
Neil
Hello Niel,
I don’t think your markers move, the marker seems to be balls with a tee (or support). Il You fix the place of the balls (circles) during the zoom in, You can notice they are staying in place. The tee appears smaller (relative to the background) and is botton moving North.
Do You have icon offset in your configuration ?
Cheers,
Marc
This is a great plugin, but I cannot get multiple markers to work.
The map page is at http://rudstonheritage.org.uk/web/map/ . I have downloaded the example and replaced the data item by item, but nothing shows.
My marker file is:
lat lon title description icon iconSize iconOffset
54.0938 -0.32295 All Saints Church http://www.rudstonheritage.org/web/wp-content/plugins/osm/icons/wpttemp-red.png 20,20 0,-20
54.09382 -0.32381 Winifred Holtby’s grave http://www.rudstonheritage.org/web/wp-content/plugins/osm/icons/wpttemp-green.png 20,20 0,-20
Any thoughts?
Many thanks
Neil
Hello Neil,
if you try the link of your icons simply in the browser, you will see they are wrong. You have to remove www.
You do not have any description in the marker text file, so I removed this part in the text file – you can see the sample including the shortcode an the text file here:
http://wp-osm-plugin.hanblog.net/forum-test-page/
If you like the plugin – just rate it at:
http://wordpress.org/plugins/osm/
🙂 MiKa
Many thanks MiKa. It certainly helps if you spell your domain name correctly!
Hello
I have a problem displaying KML-files. Everything works with gpx files, but when i try to show a kml file the data from the kml file does not show. I have tried to copy the text from the KML-example, but even then the KML-file wont load.
I am using the latest version of wordpress.
http://www.andersfrisk.se/mtbo/?p=501
what doesnt work:
[osm_map lat="59.835" long="17.573" zoom="14" width="600" height="450" kml_file="https://dl.dropboxusercontent.com/u/51139918/mtb%20uppsala/n%C3%A5sten/ticket-2-ride/ticket2ride.kml" map_border="thin solid black" marker_file="" type="Mapnik"]
[osm_map lat="38.713" long="-9.136" zoom="16" width="450" height="300" map_border="thin solid orange" theme="ol_orange" kml_file="http://wp-osm-plugin.hanblog.net/wp-content/uploads/osm_map/OSM_02.kml"]
//AF
Hi Anders, did you try to load the kml file from your blogdomain instead of dropbox?
Gtx, MiKa
Hi
Yep – tried it, did not work. The kml file is intact, when showing it on Google-maps everything is ok.
http://goo.gl/ex5m9C
I’ve now displayed the code on my site:
http://www.andersfrisk.se/mtbo/?p=501
Hi Anders,
I can not try it before Monday. Can you copy the sample kml file from hanblog to your domain and try it again. And you do not need the markerfile tag if there is no markerfile.
Gtx, MiKa
Hi, I am trying to show the maps from the norwegian authority. They provide several formats at these URLS:
http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts..
http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps…
I am especially interested in the layer called topo2.
(In a web application I would get the gmap tiles like:
this.getTile = function(coord, zoom, ownerDocument) {
var div = ownerDocument.createElement(‘DIV’);
div.style.width = this.tileSize.width + ‘px’;
div.style.height = this.tileSize.height + ‘px’;
div.style.backgroundImage = “url(http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps?layers=” + this.layer + “&zoom=” + zoom + “&x=” + coord.x + “&y=” + coord.y + “)”;
)
Has anyone gotten this to work in OSM plugin ??
I tried things like:
[*osm_map lat=”59.133″ long=”11.387″ zoom=”14″ width=”450″ height=”300″ map_border=”thin solid black” control=”scaleline,mouseposition”
type=”ext” extmap_type=”topo2″ extmap_name=”myMap” extmap_address=”http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps?name=topo2&layers=topo2&zoom=${z}&x=${x}&y=${y}” extmap_init=”numZoomLevels: 17, transitionEffect: ‘resize’, tileOptions: {crossOriginKeyword: null}, sphericalMercator: true” ov_map=”0″]
But no success
Hi Bård,
can you post a link to site using this map without WordPress?
BR,
MiKa
Dont know if the site is usable, but I guess you can get at the scripts too.
Try as example http://www.laukvik.eu.pn/jakt/drev7.htm
(user/pw: jakt/jakt)
(If you select the Europa map it should have data for your Wien position)
Its my first attempt at google maps location stuff and shows a hunting area and own position.
The main stuff is in the script jaktkart.js.
function initialize creates a maps.map and adds mapTypes through function
StatkartMapType – which again sets a getTile function.
The statkart.no service provides many WMS services,and a cached set of tiles. They are under creative commons – so use shall be marked with origin “Kartverket”.
There are limitations on 300 WMS lookups per day (or 10000 cache lookups) from each IP address.
Now I get more out of my league, but this may help you (but cant find info in english).
The cached tiles are delivered for WMTS, Google maps, Bing maps and WMS-C.
URL to WMTS: http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts? … (GetCapabilities:http://opencache.statkart.no/gatekeeper/gk/gk.open_wmts?Version=1.0.0&service=wmts&request=getcapabilities)
URL to WMS-C: http://opencache.statkart.no/gatekeeper/gk/gk.open? … (GetCapabilities)
URL to Google Maps: http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps?layers=%5Bservice name]&zoom={Z}&x={X}&y={Y}
URL to Bing Maps: http://opencache.statkart.no/gatekeeper/gk/gk.open_ve?layers=%5Bservice name]&quadkey=[keynr]&format=image/png
If you need it:
All the WMS services are listed at http://status.kartverket.no/tjenester/openwms.py
I.e. the topo2 layer is described in: http://openwms.statkart.no/skwms1/wms.topo2?request=GetCapabilities&Service=WMS
Hi, it will take me some time to look at it and I am just with a mobile device … so an answere may take two weeks … BR, MiKa
I would like to read a list of markers from a file (in CSV format preferably).
What is the format of the marker list txt file?
Thanks
Adrian
Hello Adrian,
did you try the sample:
http://wp-osm-plugin.hanblog.net/exsamples/display-marker-file/
You can simply copy the txt-file from this sample to your domain to see what it looks like.
Let me know the link to your test page if it fails to reproduce the sample on your site.
BR, MiKa
Thank you.
I have created a markers file at
http://compton.parish.hants.gov.uk/download/mapinfo/planningcurrentmonthOpenStreetMap.csv
It is displayed on this page:
http://compton.parish.hants.gov.uk/parish-council/planning/planning-applications-osm/
It is nearly OK but I have two questions:
1. There is a formatting problem with the text in the popup
2. How do I close the popup window?
one more question:
When I view the page on an iPad, I cannot click on the markers to display the popup information.
Should this be possible?
Hi Adrian,
the clickhandler for markers from a file is not supported for mobile devices (touch). This will be part of an upcoming version since OpenLayers modifications are needed.
Gtx, MiKa
Hi Adrian,
there are two ways to close a popup:
* click on the icon once again
* Click on the cross in the popup
There are some conflict with the style of your theme, so the frame of the popup is cut (including the cross).
BR, MiKa
I don’t know why the popup frame is cut, but the Chrome developer view tells me that this definition comes from osm_map.css line 26
.olPopupContent {
white-space: nowrap;
}
If I disable white-space nowrap then the text wraps correctly in the popup.
I looked at two examples:
This one displays a nice popup with round corners and an ‘x’ to close
http://wp-osm-plugin.hanblog.net/exsamples/display-a-marker/
This one displays a marker file but the popups have square corners and no ‘x’ to close
http://wp-osm-plugin.hanblog.net/exsamples/display-marker-file/
(this is the same as I am seeing).
Can you explain?
Thank you
Hi Adrian,
you are right, the popup at the text-file are not nice – also on the sample site. Another mechanisme is used to display text files. I will try to change this so all popup look same (like a single marker). Meanwhile you should change it with the style file.
Regards,
MiKa
I would like to use this plugin to map the care homes on my site but cannot make marker_list work. I have uploaded the text file, with latitude and longitude pairs separated by a comma, through new media and used the generated http:// but nothing shows on the map. What am I not doing?
Post a link to the page with the map and a link to txt file with the markers. gtx mika
Hello Mika,
I am so glad I found your awesome plugin. Thank you for developing it.
I am working on my travel blog at roadscraps.com/photos
I have a working map on the homepage sidebar with all the posts marked and a route map on my where page. Now, I hope to make a similar map on the photos page with only the gallery posts marked.
I am trying to use the [ import_osm_cat_incl_name=”photo” ] to select the category “photo”. My posts are categorized as both “gallery” and “photo”, I’ve also tried to select by “id=50” but none of those works. I just get an empty map.
I haven’t been able to find any documentation on how to implement the [import_osm_cat_incl_name=”announcement”] short code. Could you tell me what is the proper syntax for this feature?
Thank you,
Mark
Hi Mark,
thx for your feedback.
I could see your post, but I do not know the exact shortcode you are using. There are two things:
* Change the editor in the WP backend to plain text and make sure there is no style info in the shortcode and you are using the right ”
* Make a testpage including all articles in a map and on the same page map just including photos.
If you checked the first point and you did the second point, let me know the link and add the shortcode at the page.
Gtx,
MiKa
Thanks for being so quick to reply.
Here is the link to the test page: http://roadscraps.com/?page_id=2457&preview=true
I checked to be sure that there was no stray formatting. I put several different maps and shortcodes on the test page but still can’t figure it out.
Also, I noticed that the scaleline is obscured by the google logo in the lower left corner of the map. Is there any way to control its placement-maybe move the scaleline to another corner… not that big a deal, just wondering.
Thanks for the help,
Mark
Hi Mark,
this testpage ist great for fixing! I could not find the reason up to know but there are two more things I ask you to do:
* add one article with only one(!) category “photos” – I could see they are all “gallery” and “photos”
* add one map in the testpage and include “gallery”
Gtx,
MiKa
Mika,
That’s it! You figured it out. When I took away one of the categories it displayed fine. I also ran a test with “gallery” to make sure that having a category with the same name as a post format wasn’t causing a conflict and it worked fine.
Then I tested on the map of all posts to see if a post in two categories would display and it did. So it looks like there is only a display problem if you have posts in two separate categories AND you try to limit the categories with import_osm_cat_incl_name=.
I also tried to include both categories in the shortcode but it would not display any posts. I now realize that the correct shortcode to limit by category requires both import=”osm_l” AND import_osm_cat_incl_name=”photos” to run correctly.
So, the solution for me will be to make sure that they are only in one category. Thanks so much for helping to get to the bottom of it.
Thank you,
Mark
Hi,
Thanks for this great plugin!
I am having troubles with the CSS rules that you are adding in osm_map.css and osm.php to set the max_width for all images to “none”.
This seems dangerous and extreme to me and it’s breaking rules set by other plugins such as nextgen gallery that sets max_width for 100% for images with certain classes.
Isn’t it possible to use more restrictive selectors to set max_width only for images generated by OSM Map?
Thanks,
Eric
Hi Eric,
which WP-Theme are you using, is there a link to a page you are facing problems?
Generally you are right, these style rules should focus only on map info … I will consider it with the next version.
BR, MiKa
Plugin version 2.1
Geotagging not working.
Page always contains “!– OSM plugin V2.1: did not add geo meta tags. –”
I think the problem in the commented line:
[code]
function wp_head($not_used)
…
$lat = ”;
$lon = ”;
…
// list($lat, $lon) = explode(‘,’, $PostLatLon); produced warning on some blogs ToDo
[/code]
To insert geo tags into the page (not post) “is_single” must be replaced with “is_singular” in line:
[code]
if(is_single() && ($lat != ”) && ($lon != ”)){
[/code]
Hi Dmitry!
Thanks for your comment and the fix for pages! It will be considered in the next version.
The geotagging feature is mainly used to tag posts in WordPress an show them on the map. This is working pretty fine and used on many pages. In addition to it, there are some comments when you look on the generated source of your page – you are right, this is not working in the current version, but does not influence the geotagging feature in WordPress.
Gtx,
MiKa
Hi,
First of all, thanks for the great plugin! I have a few comments:
1. I’m using the OSM plugin like this:
My text…
[osm_map ...]
[gallery]
This makes the map overlap slightly with the first row of gallery pictures, i.e. the margin between map and gallery is too small.
2. I’m using the FancyBox Gallery plugin which creates an overlay when a gallery picture is clicked. Unfortunately, in the z-order, the OSM plugin is always above the picure overlay.
3. I was happy to see the ‘No Google API’ feature. Unfortunately, the admin part of the plugin tries to load scripts from Google servers. Blocking those requests (using NoScript) breaks the map display (even for OSM) completely. It would be great if access to Google servers could be switched off completely.
It would be great if you had any ideas how to fix those. 🙂
Thanks,
T
Hi T,
I am no sure about the first issue, since this would need a very generic solution. Propably the easiest way is to put some space between these two shortcodes (linefeed).
For the second point: Did you try the argument z_index=”0″ in the osm-shortcode?
And you are right, the google libraries are called in the backend since the map at the shortcode generator allows you to generate google maps, too. If you do not choose google maps, these libraries are not loaded for your page / posts.
Hi MiKa, thanks for your reply.
Unfortunately, adding vertical whitespace doesn’t help with no. 1, and adding z_index=”0″ doesn’t help with no. 2. I tried to tinker with the CSS but haven’t found a solution yet.
For no. 3 I just commented out all references to Google scripts – I don’t want anything to load from there at any time.
Thanks,
T
Hi T,
without a link to your page it’s difficult. If you modify the plugin by yourself you should also safe it local to be able to update it and add your modifications again to the newer version.
Gtx, MiKa
Hi, ok, no. 1 is fixed with an after the map. A CSS solution would still be nice. 🙂
You can see no. 2 at http://onmytodd.org/?p=1016
Thanks,
T
That should be: “no. 1 is fixed with a br after the map”
Hi T,
by the end of next week I will publish a V2.2 Beta1 that should fix your z-index problem and also remove the requests for the google library in the backened. Check and give feedback here to ensure it fixes your problems.
Gtx, MiKa
Hi Mika,
Thanks for the new version. Unfortunately, the z-index problem is still there.
Thanks,
T
I had a look at this again and it seems like the OpenLayer lib adds a very high z-index (various values ~1000).
I just ‘fixed’ that by changing the fancybox z-index values to 2000+.
Hello T,
there is no OSM map on this site anymore – I can not do any test to analyse your problems if you remove it.
BR,
MiKa
Hi, sorry, I re-added the map there.
Thanks,
T
Hello, thank you for the great plugin. Yet I can’t figure our how to post a map with all my geotagged posts on it.
The corresponding part of your manual is not quite clear – it says “to add a marker with link to the article add a shortcode like this” – yet it doesn’t say, what to do to post the whole map.
I tried posting the suggested code though ([osm_map lat=” etc.), it does create a map, but with no markers, although I have two posts I added OSM_geo_data and the value in custom fields.
Please help.
Hi Dmitry,
thanks for your feedback!
Regarding the documentation we are going to consider your lines and adapt these parts and make it more clear. To solve your issue let us know:
* what is set at settings => osm => at the very end of the page at custom field?
* what is set at settings => osm => at the very end of the page at php interface?
* what is the address of your customfield at the post?
* what exactly looks your osm shortcode like?
Gtx,
MiKa
Hi Mika,
Thank you for the quick answer, sorry for not being as quick on my side.
So:
– custom field in settings – Custom Field Name: OSM_geo_data
– php interface in settings – Map Zoomlevel for the PHP Link (1-17): 7
– address in the customfield – 52.23388,20.96094
– osm shortcode – [osm_map lat="52.795" long="23.51" zoom="3" width="450" height="300" control="mouseposition,scaleline" map_border="thin solid orange" theme="ol_orange" type="CycleMap" marker_name="wpttemp-yellow.png" import="osm" import_osm_cat_incl_name="announcement"]
Thank you very much.
Hi Dmitry,
you have to delete
import_osm_cat_incl_name=”announcement”
from your shortcode, this is just used in the sample on this page to show how to filter to one post category. If oyu delete it, it will display all posts.
Gtx,
MiKa
Oh, I am sorry – it finally worked our after I removed all OSM custom fields from my posts and placed them again. You may want to use this case for your help files.
Thank you very much!
Hi Mika,
Our website is still under construction but now we have a map than works great !
http://vertlhorizon.com/travel/map/
Thanks a lot for your kind help,
Regards, Mickaël
Hello,
I’m having some trouble getting outside tiles to display with the plugin. I’d like to use the ‘transport’ layer that’s on the homepage of openstreetmap.org:
http://www.openstreetmap.org/?lat=39.10859227180481&layers=T&lon=-84.51582670211792&zoom=16
The API for that tileserver is documented here and seems to be in the same format as the extmap_address given in the example here.
I can’t get either the transport layer tile server or the one in the example(nor even the basic OSM Mapnik layer) to show up in the map. It presents variously one of two problems:
1. I get a bunch of blank pink tiles which presumably means it can’t find the data, or
2. with the example exactly like it is(minus the asterix of course) it fails to reconize the shortcode and renders the shortcode as text and I can’t figure that out at all since I don’t see any obvious syntax errors.
Can someone please help me by providing a working shortcode into which I could insert the appropriate values to display the OSM transport layer for my area?
I’m using v2.0 of the plugin.
Thanks!
-Nate
Hello Nate,
there are three answeres:
1.) You found a bug. When I reproduced your lines I recogniced, that – for any reason – a map has to be embedded like “[*osm_map lat=”51.482″ long=”-0.239″ zoom=”14″ control=”scaleline,scale,mouseposition” width=”450″ height=”300″ ov_map=”0″]” before loading an external map (by chance, the example shows two). I will have a look on this issue.
2.) When you insert the OSM shortcode you have to be sure, not to insert any characters for the format. In your editor change from visuell to text and delete all tags like “strong” in your shortcode.
3.) There is another bug reported related to adaptive WP themes which will be fixed within the next two weeks in an OSM Plugin Version 2.1. I will add the transport layer in this version to be called just as map-type and not as external type 😉 In advance I will publish it here as Beta – would be great to get feedback before it is released on WordPress.org.
Gtx,
MiKa
Thanks for the quick response! I feel really stupid…There were indeed a few randomly placed *strong* and *code* tags inside the shortcode. WordPress always seems to find the most unexpected places for those doesn’t it?
I did get it working after removing those with the following shortcode:
[*osm_map lat=”39.099″ long=”-84.51″ zoom=”13″ width=”500″ height=”500″ extmap_type=”OSM” extmap_name=”Cincy_Transport_Layer” extmap_address=”http://tile2.opencyclemap.org/transport/${z}/${x}/${y}.png” extmap_init=”tileOptions: {crossOriginKeyword: null}” type=”ext”]
The reason it was showing up pink(ie failing to retrieve the files) is that there was a *code* element wrapped around the URL of the tile server.
Thanks for your work!
Good day, I followed the plugin installed on my domain WP went on Settings OSM and I loaded my GPS track but when I try to view the post get the message “errorLoadingGML”
my code is as follows:
[* osm_map lat = “45.63” long = “12288” zoom = “12” width = “600” height = “450” gpx_file = “http://www.gavagnin.com/wp-content/uploads/2013/05/Treviso-casale.gpx “gpx_colour =” black “control =” scaleline “theme =” dark “type =” CycleMap “]
Do you have any advice to solve my problem?
Hi Lowa,
you have to correct your GPX-address, just type the address into the browser. As sample have a look to this:
http://wp-osm-plugin.hanblog.net/wp-content/uploads/2010/10/Donauradweg_Passau_Wien.gpx
You can see the GPX text-file. If you type your GPX address, you get just an error. If you know the address of the GPX file in your own blog you have to add it.
BR,
MiKa
Thanks mika actually with my link I can not see the text, if trascno from my desk the gpx on the browser I see correctly using wordpress but there’s no way the load through the media uploader but when I try to view the file gives me error …. Any idea?
If you have FTP access you can upload the file manually to your WordPress uploads folder. There is no need to upload it via WordPress, it just has to be at Blog domain address. Also check upper and lower case of your filename.
Also tried this and the program to load the files on the FTP if I look at the file permissions are set to 000. If I try to change them does not change anything … There must be some other little problem ….
Hi Lowa,
yes, before adding an OSM map with a track to your blog, the issue with the fileupload has to be solved and tested simply by calling the GPX file directly in the browser.
I am working with the OSM_displayOpenStreetMapExt function for automatically geotagged posts and wanted to know, if there is a way to specify my own source for the lat/lon values.
I have a custom field, which provides the position data in a different way than the OSM plugin. Do I have to hack my custom fields or is there a way, to set an own handler for the position data?
Hello Lars,
currently the plugin does not support any other custom fields for geotagged posts – what do your customfield look like and how do you set it?
The workflow to geotag posts / pages is a keyfeature of OSM Plugin Version 2.0 – have a look at:
http://wp-osm-plugin.hanblog.net/exsamples/display-geotagged-posts/
whether this fits for you or not.
Gtx,
MiKa
WordPress OSM Plugin V2.0 Beta 2 is available for download.
Good evening Mika,
I also tried with “http://” instead of “ftp://” but I got no results either.
No, I didn’t modify the coding. (I also made sure all previous osm plugin folder was deleted before I install the beta version).
Also, quite curiously, when the plugin is activated it is not possible to upload any media in the library…
I am not sure what to do now. Thank you for your help,
Regards,
Mickaël
… and add the www. in the address of the kml file, since your blog address is like this. gtx, mika
Yes you’re right. I corrected and double check the link but still no results…
But now the kml file is loaded … I can see it now. gtx, mika
yes it is, good news 🙂 There are still the white bands though. Is this bug only happening to me ?
Best,
Mickaël
You have commented about a message “This is somewhat embarrassing, isn’t it? It seems we can’t find what you’re looking for. Perhaps searching can help.”
Did you modify/change the address of your blog?
Is the URL and the Blog address the same (general settings in the blog) – or does it differ with the www? I am wondering why the controls are not shown in your map.
Gtx, MiKa
Blog and URL address are the same yes.
“This is somewhat embarrassing, isn’t it? It seems we can’t find what you’re looking for” > this is still the message when clicking on settings. It only works when use chrome. (we tried safari, firefox, IE).
And also, it’s not possible to upload images in the library when the plugin is activated… Quite weird…
Best. Mickaël.
If you try to see a OSM plugin icon on this OSM page:
http://wp-osm-plugin.hanblog.net/wp-content/plugins/osm/icons/styria_linux.png
you see it. When you enter your blog address:
http://www.vertlhorizon.com/wp-content/plugins/osm/icons/styria_linux.png
you get an error.
1.) Is the png located at this address and do we have rights to read it?
2.) When you disable the OSM plugin you can see the blog seetings and if you enable the OSM plugin you can not see it – all with Firefox?
3.) When you disable the OSM plugin you can upload images in the library and when you enable it you can not?
Gtx,
MiKa
1) The png is located at the following address:http://www.vertlhorizon.com/wp-content/plugins/OSM20Beta1/icons/styria_linux.png
The OSC plugin has been installed with a different folder name. I tried to brutally rename the folder to osm, but it did not work: the map did not appear anymore.
2) Whether the plugin is activated or not I have this message (“This is somewhat embarrassing…”) when I click on settings, with firefox.
3)That’s correct.
thanks for your help,
Regards, Mickaël
If you can not rename it:
* deactivate it
* delete it
* copy the Beta 1 OSM folder
The pluginhas to be at this location.
gtx mika
Hello Mika,
Finally it worked! Your advices were very good.
I have two more questions, if I may…
– Is it normal to see the tiles on the map (not a big deal though)
– Is there any way we see see the markers’ information (eventhandler?) ? It contains description of the markers and it is something important for us.
Thank you for your kind help and have a good evening ! Best Regards. Mickaël
Hi Mickaël,
add 1.) No, it’s not normal to see the tiles in the map. I will try to fix this in Beta 2 for the wp-theme you use.
add 2.) No, there is no way to see the info (HTML Popup) in the PlaceMarkers. This is part of the eventhandler and will be part of OSM V2.0 Beta 2.
Beta 2 will be released here within the next three weeks.
BR, MiKa
Hi Mickaël,
the Eventhandler has been implemented – you can see it on the KML example page. The plugin will be available for download on Wednesday.
Gtx,
MiKa
PS: Can you upload mediafiles after you renaming the folder name?
Hello Mika,
fantastic ! I am looking forward to try the latest version !
Best regards,
Mickaël
Hello MiKa,
I have attached the link to our map.
It looks great so far. Only one thing, the hyperlink are deleted. Is there anyway to keep them ?
What do you mean by : PS: Can you upload mediafiles after you renaming the folder name?
Thanks again and have a good day.
Mickaël
Hi Mickaël,
if you like the plugin just rate it at WordPress.
In Beta 1 there was a bug when you uploaded mediafiles. It is fixed in Beta 2.
I am not sure about the link in the kml files … I will have a look to it.
Your page with the map is well done – the routes in your kml files are very detailed, so it is quite big and it takes some time to parse it. If you split it (eg between flights), the visitor of your page would see one after another – in the same map or in different maps.
Gtx, MiKa
Dear Mika,
Thanks a lot for having released this V2.0 Beta1 plugin !
After having installed it I couldn’t access the settings. It gave me the message:
This is somewhat embarrassing, isn’t it?
It seems we can’t find what you’re looking for. Perhaps searching can help.
I thought maybe the 1.3 version need to be activated but I cannot activate both version.
Is there any step I missed ?
Thanks for your help,
Best, Mickaël
*I meant I cannot activate both version at the same time (fatal error)
Hello Mickaël,
thanks for this comment, I have added the missing information at the download page. The content of the OSM folder must not be twice in the WP plugins folder. To use the Beta version you have to delete the previous OSM plugin version (rename is not enough). As soon as the Version 2.0 is released you can make the update directly in the backend and WP is deleting / replacing the Beta OSM plugin with the Final for you.
This version covers the feature to display a KML file, the event handler will be part of the final version – which will be released within one month.
Gtx, MiKa
Hello Mika,
After having uninstalled everything and installed the beta version again I still get the same message. What else should I do so that the plugin workd ?
Thanks for your help and good evening,
Mickaël
Hi Mickaël,
this error messages is not generated by the OSM plugin, but a very generic one by WordPress. If you google it, you will find many reasons and solutions.
When you deleted the entire OSM plugin folder (not uninstall, not rename) and you created a new article, do you still see this message?
BR, MiKa
Hello Mika,
Yes, I still saw the page not found after deleting OSM folder. I could only access settings by using chrome (neither safari, IE, Safari worked). also, none of the icon is displayed in the settings page and I don’t get any good results (kml not displayed and map with blank parts).
Here is the map I did, with the code:
http://www.vertlhorizon.com/blog/2013/04/20/premier-post-de-test/
Thanks for your help and for your time,
Regards,
Mickaël
Hello Mickaël,
the message you mentioned was not shown on my browser.
The KML file is not shown because your prefix at the file is “ftp://” instead of “http://”. You should loud your file like:
kml_file="http://vertlhorizon.com/public_html/wp-content/uploads/VertlHorizon2014-LAST.kml"
I could also see the blank parts in your map – you are running V2.0 Beta 1 without any modifications in the coding, aren’t you?
Gtx,
MiKa
The first posting in the new WordPress OpenStreetMap Plugin Forum.