schlumpf / osmodul Goto Github PK
View Code? Open in Web Editor NEWOSModul has moved to Gitlab!
Home Page: https://gitlab.com/schlumpf/osmodul
OSModul has moved to Gitlab!
Home Page: https://gitlab.com/schlumpf/osmodul
Hello,
Setup:
Result:
The paths to the js, css, and other files are wrong. Instead of example.org/my-site/media/mod_osmod/leaflet/leaflet.css the URL example.org/my-site/about/media/mod_osmod/leaflet/leaflet.css is requested by the browser.
Regards
Hi I get the above error when I try to save a few hundred pins and popups using the tab "Additional pins".
Is there a way to avoid this error?
Thanks in advance
TZ
I was quite happy to discover this module and use it instead of Google, I've installed it on several sites and worked perfectly, but in one site, where there are multiple markers (16 of them) the module displays only the start position and it is not clickable, even if I chose "show pop up on click"
I used the default pin and openMaps layout.
When I {loadposition} the module into an article, Leaflet is not loaded, leading to a reference error "L is not defined".
Hi,
I am interested in implementing this style of OpenStreetMap: https://github.com/Zverik/leaflet-grayscale
But I am not sure how to do it.
It is impossible to do it by the module administration.
Would you be so kind as to guide me on how to do it?
Thank you very much in advance.
Stefan
I suspect special characters are not properly escaped in popup text : using apostrophe (that is simple quote) breaks the module code.
Using module latest version with Joomla 3.6.5 and JCE editor 2.6.1
Dear Schlumpf,
first of all thank you for the neat joomla module. It is really helpful and works perfectly for my case.
I just realized, that the Firefox console complains about loading http content in my https secured website.
I just made a quick check to simply replace the http:// entries to openstreetmap by https:// in helper.php. Then the console messages are gone. As openstreetmap uses ssl by default, it should also work for other sites.
Can you update the module accordingly for the next version? :-)
Thanks!
Hi,
this warning I get after update php to version 7.2:
"Warning : count(): Parameter must be an array or an object that implements Countable in ~/modules/mod_osmod/heler.php on line 35"
Since php 7.2 an argument of count may be not NULL or empty.
My workaround is: if (!empty($params->get('scale'))) { .... }
Thank you for this module. Just running it through some tests and find my menu is behind the map. I tried changing the div to article in the advanced settings. I'm hoping you have an easy solution or setting. thank you.
a bit more obvious on this on
Dear Martin,
thanks for your great Joomla Module. I started to build a Site for my opensource guidebook for Rome. I wanted to script about 50 custom pins with images in popups, but after the fifth pin it stopped to display the pins. I cant find a scripting error (I add ascreenshot of the backend)
the website is: http://dominique.turzer.eu/
link to screenshot:
Is there a maximum nr of custom pins?
I would be happy for any hint or help!!
All the best, Dominique
I uploaded a custom marker, resized it to more or less fit the size of the standard marker (24x39, where the standard is 25x41) and added it. As Pin size I set 24x39. Then the below happens. The first picture shows where the marker is correctly set, if I zoom out (pictures 2&3) it seems that the positioning is done with the left upper corner (instead of the needle point) of the marker.
I just installed osmod, which is quite simple to use, but i coud not get the pin locate to the right point. When i changed however the longitude and the latitude it did. And a second issue: when opening the webpage with the module, the pin is not in the center but just outside the right border. How can i change this?
Hello,
I am very happy to have discovered this module which allows to no longer use googlemaps, but I have a small problem: the module does not take into account the GPS coordinates
How do ?
Many thanks
hello,
in order to avoid this PHP error:
"Strict Standards: Only variables should be assigned by reference in..."
I had to modify the line 15 of the "mod_osmod.php" file from:
$document =& JFactory::getDocument();
to:
$document = JFactory::getDocument();
I just downloaded the last version of Joomla (3.4.7) and of the OSModul and I'm in the Italian Aruba host where my configuration is:
http://www.capovaccaio.it/ver.php
after the correction all is working well:
http://www.capovaccaio.it/cms/index.php/contatti
thanks a lot!
good job,
francesco
Martin,
when I define an extra markerpin with the following line it is working properly:
#parking{(52.295082,6.520745),,};
but when I use the following line (to get a text popup with the markerpin) I get a grey frame:
#parking{(52.295082,6.520745),,{#parkpop,immediately}};
I have defined the popup using the following line:
#parkpop{Parkeren};
I made shure that no Caching Optimizer is active within the Joomla-installation.
Any idea what could be the problem? Based on you documentation, I can't see any typos.
Regards,
Arjan.
I use with Joomla 3.7.5 and show a map on my website. Additional Markers are as follows:
e.g.
#onlypin12{(55.3960591,12.8232123),#custom1,{#popup12,click}};
I defined from #onlypin1 to 24 but from 22 onwards the markers are not shown. Are additional markers limited ?
Im Firefox werden keine gpx Dateien mehr geladen, nachdem ich die Seite auf SSL umgestellt habe.
In der Konsole von Firefox bekomme ich folgende Fehler:
Laden von gemischten aktiven Inhalten "http://www.openlayers.org/api/OpenLayers.js" wurde blockiert.[Weitere Informationen] gesamtroute
Laden von gemischten aktiven Inhalten "http://www.openstreetmap.org/openlayers/OpenStreetMap.js" wurde blockiert.[Weitere Informationen]
Sind die URLs im Modul hinterlegt? Wenn ja, wäre eine Umstellung auf https möglich?
Gruß
Patrick
I manage to install your module on several Joomla sites and I really like it. And since Google Maps get rid of users we have to find modules like yours. Keep up the good work :)
But with my last site I dont get any map - just a gray area. I tried every settings and I dont have any optimizing component installed. I tried to halt the JCE editor but nothing helps. Can you give a clue what to do? The url is http://sfro.com/index.php/kontakt/sfro-s-besiktningsman/
Best regards
Hi,
Is it possible to cluster markers based on zoom - the functionality provided by Leaflet.markercluster. Alternatively is it posisble to dip into the JS? Afraid I'm not familiar with Joomla, so don't know if there's an obvious way to just write the javascript myself.
Many thanks
Will
Hi,
I installed this marvellous module on my site and it worked like a charm, but since yesterday it stopped functioning. The problem started after installing Admintools and activating .htaccess file.
Any help?
I installed osmodul in several joomla 4 applications and there is the problem that the pin symbol isn't displayed at all -
you can have a look e.g. at:
https://fewo-gschossmann.de/joomla4/
The map modul is in the section before bottom.
Hello Martin,
we installed your module, but can't get it to view a map... We entered the coordinates and the frame with the zoom-tool is visible, but no map is being displayed, only a grey frame.
You can take a look at http://www.sportclubrijssen.nl/nl/informatie/locatie
For your information: we are using Joomla 3.4.8 with the (latest) Gantry 5 (version 5.2.6) Framework and the (latest) Gantry 5 based template "Hydrogen".
Thanks in advance for looking into it...
Regards,
Arjan.
Are there any possibilities to load custom Markers from an xml/json file.
I have a Database with locations that generates kml-files dynamically.
But to switch from Google to OSModul I have to use files generated out of this DB.
Thank you.
Just for your information: It seems that access to OpenStreetMap using the MapQuest style has changed. Instead of the map the following message ist displayed: "As of July 11, 2016, direct tile access has been discontinued." When using another style (for example: OpenStreetMap DE) in OSModul the map will be displayed as expected.
Hello there,
Very happy to discover this module which will prevent me to give my payment infos to Google which now requests users to do so to use Googlemaps.
Although the module works perfectly on many of the maps I try to add to my website, on some of them it only displayed part of the map on top left corner of the container. If I drag it to fill the container, I can almost see everything but it sometimes does not refresh portions of it etc...
See below how it looks...
However, I just found out what the issue is: I added maps inside tabs from a nice tab plugin and apparently, the two don't get along well...
Solved the issue by taking maps out of the tabs and everything looks fine.
Food for thoughts :-)
Cheers
Philippe
Hi Guys,
can someone tell me how to call particular marker on map to pop-up when button in joomla article was clicked? Suggested tip (Sydney) in osm modul wiki doesn't work for me. I have changed the map & marker IDs and clicking on word "SYDNEY" does nothing...
Thank You in advance for help :-)
I can't find any explanation how to add addition description text on top or below of map. Can you please give hints if this is possilble
Good evening,
I try to get your module working in J4.3.4.
But when I fill in coordinates it shows the sea before Tanazania.... It should be somewhere in Portugal near Alcobaça.
I'm 100% shure that the code is right: 39.497904752190486, -8.983889475533436
Any ideas?
Hi, I noticed that if I set as map style = OpenStreetMap a cookie (qos_token) has to be allowed to see the map. If I use OpenStreetMap DE there are no cookies. Do you know why and if in the future even OpenStreetMap DE will add a cookie? I'm planning to do a big job replacing all Google Maps on my sites using a nocookie map. OpenStreetMap DE is perfect now for me, but I'm wondering if in the future they will add cookies too. Do you know something about it?
Thank you, my best regards
Francesco
Hi,
Many thanks for producing OSModul.
I have tried to integrate it into my website at: https://www.carberysailing.com/other-yacht-sailing-courses/ocean-passages
My problem is that the map is not displaying and when I use Chrome's inspect function I can see that an error is being caught: Uncaught Error: Couldn't autodetect L.Icon.Default.imagePath, set it manually.
I am using JCT and have configured it to exclude leaflet.js as you have suggested.
I would appreciate any pointers to get this working.
Best regards
Chris Forker
Hi!
I'm looking for a way to display names in English from OSM even if it's in a non-English speaking country and found out that using the Cycle Map and the Transport Map show names in English as well as the local name. It's just a matter of adding "&layers=C" at the end of the URL. Is there a way to do that with OSModul?
Thank you.
I just downloaded http://jextensions.hof-ronig.de/mod_osmod/mod_osmod_v27.zip and installed it via package installation, but unfortunately the "images" folder and the "leaflet" folder are not copied to the modules folder.
On first sight this results in a missing tutorial picture in the description.
I guess there is something wrong with the installation script, because the folders exist in the downloaded zip file.
I'm using Joomla 3.4.x
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.